Warning: Permanently added '54.83.136.89' (ED25519) to the list of known hosts. Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-zjgryr_i/glimpse/glimpse.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-zjgryr_i/glimpse --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1738866254.228851 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.0 starting (python version = 3.13.0, NVR = mock-6.0-1.fc41), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-zjgryr_i/glimpse/glimpse.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-zjgryr_i/glimpse --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1738866254.228851 -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-zjgryr_i/glimpse/glimpse.spec) Config(amazonlinux-2023-aarch64) Start: clean chroot Finish: clean chroot Mock Version: 6.0 INFO: Mock Version: 6.0 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/amazonlinux-2023-aarch64-bootstrap-1738866254.228851/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 container image: public.ecr.aws/amazonlinux/amazonlinux:2023 INFO: Pulling image: public.ecr.aws/amazonlinux/amazonlinux:2023 INFO: Tagging container image as mock-bootstrap-341a28bb-5180-4d85-bc56-c647a4e3617d INFO: Checking that be238af37d049ad8bae5fbd54c4bd5166d2bccb3105a3eb6db5a32cd4fbc60aa image matches host's architecture INFO: Copy content of container be238af37d049ad8bae5fbd54c4bd5166d2bccb3105a3eb6db5a32cd4fbc60aa to /var/lib/mock/amazonlinux-2023-aarch64-bootstrap-1738866254.228851/root INFO: mounting be238af37d049ad8bae5fbd54c4bd5166d2bccb3105a3eb6db5a32cd4fbc60aa with podman image mount INFO: image be238af37d049ad8bae5fbd54c4bd5166d2bccb3105a3eb6db5a32cd4fbc60aa as /var/lib/containers/storage/overlay/c0465479f74b257aa993ae5204c2e177d123b2f4f4f04f98db4732f75c866596/merged INFO: umounting image be238af37d049ad8bae5fbd54c4bd5166d2bccb3105a3eb6db5a32cd4fbc60aa (/var/lib/containers/storage/overlay/c0465479f74b257aa993ae5204c2e177d123b2f4f4f04f98db4732f75c866596/merged) with podman image umount INFO: Removing image mock-bootstrap-341a28bb-5180-4d85-bc56-c647a4e3617d INFO: Package manager dnf4 detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 46 MB/s | 2.5 MB 00:00 Amazon Linux 2023 repository - aarch64 71 MB/s | 31 MB 00:00 Package python3-dnf-4.14.0-1.amzn2023.0.5.noarch is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: python3-dnf-plugins-core noarch 4.3.0-13.amzn2023.0.5 amazonlinux 232 k Installing dependencies: dbus-libs aarch64 1:1.12.28-1.amzn2023.0.1 amazonlinux 152 k python3-dateutil noarch 1:2.8.1-3.amzn2023.0.2 amazonlinux 289 k python3-dbus aarch64 1.2.18-1.amzn2023.0.2 amazonlinux 134 k python3-distro noarch 1.5.0-5.amzn2023.0.2 amazonlinux 36 k python3-setuptools noarch 59.6.0-2.amzn2023.0.5 amazonlinux 939 k python3-six noarch 1.15.0-5.amzn2023.0.2 amazonlinux 36 k python3-systemd aarch64 235-51.amzn2023.0.2 amazonlinux 91 k systemd-libs aarch64 252.23-2.amzn2023 amazonlinux 590 k Transaction Summary ================================================================================ Install 9 Packages Total download size: 2.4 M Installed size: 13 M Downloading Packages: (1/9): python3-dbus-1.2.18-1.amzn2023.0.2.aarch 5.7 MB/s | 134 kB 00:00 (2/9): dbus-libs-1.12.28-1.amzn2023.0.1.aarch64 5.9 MB/s | 152 kB 00:00 (3/9): python3-dateutil-2.8.1-3.amzn2023.0.2.no 10 MB/s | 289 kB 00:00 (4/9): python3-distro-1.5.0-5.amzn2023.0.2.noar 5.9 MB/s | 36 kB 00:00 (5/9): python3-dnf-plugins-core-4.3.0-13.amzn20 31 MB/s | 232 kB 00:00 (6/9): python3-six-1.15.0-5.amzn2023.0.2.noarch 4.9 MB/s | 36 kB 00:00 (7/9): python3-setuptools-59.6.0-2.amzn2023.0.5 96 MB/s | 939 kB 00:00 (8/9): python3-systemd-235-51.amzn2023.0.2.aarc 13 MB/s | 91 kB 00:00 (9/9): systemd-libs-252.23-2.amzn2023.aarch64.r 80 MB/s | 590 kB 00:00 -------------------------------------------------------------------------------- Total 7.6 MB/s | 2.4 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : systemd-libs-252.23-2.amzn2023.aarch64 1/9 Installing : dbus-libs-1:1.12.28-1.amzn2023.0.1.aarch64 2/9 Installing : python3-dbus-1.2.18-1.amzn2023.0.2.aarch64 3/9 Installing : python3-systemd-235-51.amzn2023.0.2.aarch64 4/9 Installing : python3-six-1.15.0-5.amzn2023.0.2.noarch 5/9 Installing : python3-dateutil-1:2.8.1-3.amzn2023.0.2.noarch 6/9 Installing : python3-setuptools-59.6.0-2.amzn2023.0.5.noarch 7/9 Installing : python3-distro-1.5.0-5.amzn2023.0.2.noarch 8/9 Installing : python3-dnf-plugins-core-4.3.0-13.amzn2023.0.5.noarc 9/9 Running scriptlet: python3-dnf-plugins-core-4.3.0-13.amzn2023.0.5.noarc 9/9 Verifying : dbus-libs-1:1.12.28-1.amzn2023.0.1.aarch64 1/9 Verifying : python3-dateutil-1:2.8.1-3.amzn2023.0.2.noarch 2/9 Verifying : python3-dbus-1.2.18-1.amzn2023.0.2.aarch64 3/9 Verifying : python3-distro-1.5.0-5.amzn2023.0.2.noarch 4/9 Verifying : python3-dnf-plugins-core-4.3.0-13.amzn2023.0.5.noarc 5/9 Verifying : python3-setuptools-59.6.0-2.amzn2023.0.5.noarch 6/9 Verifying : python3-six-1.15.0-5.amzn2023.0.2.noarch 7/9 Verifying : python3-systemd-235-51.amzn2023.0.2.aarch64 8/9 Verifying : systemd-libs-252.23-2.amzn2023.aarch64 9/9 Installed: dbus-libs-1:1.12.28-1.amzn2023.0.1.aarch64 python3-dateutil-1:2.8.1-3.amzn2023.0.2.noarch python3-dbus-1.2.18-1.amzn2023.0.2.aarch64 python3-distro-1.5.0-5.amzn2023.0.2.noarch python3-dnf-plugins-core-4.3.0-13.amzn2023.0.5.noarch python3-setuptools-59.6.0-2.amzn2023.0.5.noarch python3-six-1.15.0-5.amzn2023.0.2.noarch python3-systemd-235-51.amzn2023.0.2.aarch64 systemd-libs-252.23-2.amzn2023.aarch64 Complete! Finish(bootstrap): installing dnf tooling Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/amazonlinux-2023-aarch64-1738866254.228851/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 dnf4 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.16.1.3-29.amzn2023.0.6.aarch64 python3-dnf-4.14.0-1.amzn2023.0.5.noarch python3-dnf-plugins-core-4.3.0-13.amzn2023.0.5.noarch yum-4.14.0-1.amzn2023.0.5.noarch Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 75 kB/s | 1.5 kB 00:00 Copr repository 48 MB/s | 2.5 MB 00:00 Amazon Linux 2023 repository - aarch64 12 kB/s | 3.6 kB 00:00 Dependencies resolved. ============================================================================================= Package Arch Version Repository Size ============================================================================================= Installing: amazon-rpm-config noarch 228-4.amzn2023.0.1 amazonlinux 67 k bash aarch64 5.2.15-1.amzn2023.0.2 amazonlinux 1.8 M bzip2 aarch64 1.0.8-6.amzn2023.0.2 amazonlinux 53 k coreutils aarch64 8.32-30.amzn2023.0.3 amazonlinux 1.2 M cpio aarch64 2.13-13.amzn2023.0.3 amazonlinux 271 k diffutils aarch64 3.8-1.amzn2023.0.2 amazonlinux 368 k findutils aarch64 1:4.8.0-2.amzn2023.0.2 amazonlinux 541 k gawk aarch64 5.1.0-3.amzn2023.0.3 amazonlinux 984 k glibc-minimal-langpack aarch64 2.34-117.amzn2023.0.1 amazonlinux 21 k grep aarch64 3.8-1.amzn2023.0.4 amazonlinux 282 k gzip aarch64 1.12-1.amzn2023.0.1 amazonlinux 158 k info aarch64 6.7-10.amzn2023.0.2 amazonlinux 224 k patch aarch64 2.7.6-14.amzn2023.0.2 amazonlinux 126 k rpm-build aarch64 4.16.1.3-29.amzn2023.0.6 amazonlinux 61 k sed aarch64 4.8-7.amzn2023.0.2 amazonlinux 295 k system-release noarch 2023.6.20250203-0.amzn2023 amazonlinux 28 k tar aarch64 2:1.34-1.amzn2023.0.4 amazonlinux 869 k unzip aarch64 6.0-57.amzn2023.0.2 amazonlinux 180 k util-linux aarch64 2.37.4-1.amzn2023.0.4 amazonlinux 2.2 M which aarch64 2.21-26.amzn2023.0.2 amazonlinux 42 k xz aarch64 5.2.5-9.amzn2023.0.2 amazonlinux 216 k Installing dependencies: alternatives aarch64 1.15-2.amzn2023.0.2 amazonlinux 36 k amazon-linux-repo-cdn noarch 2023.6.20250203-0.amzn2023 amazonlinux 16 k audit-libs aarch64 3.0.6-1.amzn2023.0.2 amazonlinux 116 k basesystem noarch 11-11.amzn2023.0.2 amazonlinux 7.8 k binutils aarch64 2.39-6.amzn2023.0.10 amazonlinux 4.7 M bzip2-libs aarch64 1.0.8-6.amzn2023.0.2 amazonlinux 44 k ca-certificates noarch 2023.2.68-1.0.amzn2023.0.1 amazonlinux 735 k coreutils-common aarch64 8.32-30.amzn2023.0.3 amazonlinux 2.0 M cracklib aarch64 2.9.6-27.amzn2023.0.2 amazonlinux 83 k crypto-policies noarch 20240828-2.git626aa59.amzn2023.0.1 amazonlinux 56 k curl aarch64 8.5.0-1.amzn2023.0.4 amazonlinux 370 k cyrus-sasl-lib aarch64 2.1.27-18.amzn2023.0.3 amazonlinux 776 k debugedit aarch64 5.0-2.amzn2023.0.3 amazonlinux 76 k dwz aarch64 0.14-6.amzn2023.0.2 amazonlinux 127 k ed aarch64 1.14.2-10.amzn2023.0.2 amazonlinux 74 k efi-srpm-macros noarch 5-4.amzn2023.0.5 amazonlinux 23 k elfutils aarch64 0.188-3.amzn2023.0.2 amazonlinux 519 k elfutils-debuginfod-client aarch64 0.188-3.amzn2023.0.2 amazonlinux 41 k elfutils-default-yama-scope noarch 0.188-3.amzn2023.0.2 amazonlinux 17 k elfutils-libelf aarch64 0.188-3.amzn2023.0.2 amazonlinux 199 k elfutils-libs aarch64 0.188-3.amzn2023.0.2 amazonlinux 257 k file aarch64 5.39-7.amzn2023.0.4 amazonlinux 50 k file-libs aarch64 5.39-7.amzn2023.0.4 amazonlinux 587 k filesystem aarch64 3.14-5.amzn2023.0.3 amazonlinux 22 k fonts-srpm-macros noarch 1:2.0.5-12.amzn2023.0.2 amazonlinux 27 k gdb-minimal aarch64 12.1-5.amzn2023.0.4 amazonlinux 3.5 M gdbm-libs aarch64 1:1.19-2.amzn2023.0.2 amazonlinux 53 k ghc-srpm-macros noarch 1.5.0-4.amzn2023.0.2 amazonlinux 8.5 k glibc aarch64 2.34-117.amzn2023.0.1 amazonlinux 1.7 M glibc-common aarch64 2.34-117.amzn2023.0.1 amazonlinux 284 k glibc-gconv-extra aarch64 2.34-117.amzn2023.0.1 amazonlinux 1.9 M gmp aarch64 1:6.2.1-2.amzn2023.0.2 amazonlinux 276 k go-srpm-macros noarch 3.2.0-37.amzn2023 amazonlinux 26 k jansson aarch64 2.14-0.amzn2023 amazonlinux 47 k kernel-srpm-macros noarch 1.0-14.amzn2023.0.2 amazonlinux 10 k keyutils-libs aarch64 1.6.3-1.amzn2023.0.1 amazonlinux 32 k krb5-libs aarch64 1.21.3-1.amzn2023.0.1 amazonlinux 768 k libacl aarch64 2.3.1-2.amzn2023.0.2 amazonlinux 24 k libarchive aarch64 3.7.4-2.amzn2023.0.2 amazonlinux 411 k libattr aarch64 2.5.1-3.amzn2023.0.2 amazonlinux 19 k libblkid aarch64 2.37.4-1.amzn2023.0.4 amazonlinux 105 k libbrotli aarch64 1.0.9-4.amzn2023.0.2 amazonlinux 316 k libcap aarch64 2.48-2.amzn2023.0.3 amazonlinux 68 k libcap-ng aarch64 0.8.2-4.amzn2023.0.2 amazonlinux 33 k libcom_err aarch64 1.46.5-2.amzn2023.0.2 amazonlinux 27 k libcurl aarch64 8.5.0-1.amzn2023.0.4 amazonlinux 342 k libdb aarch64 5.3.28-49.amzn2023.0.2 amazonlinux 731 k libeconf aarch64 0.4.0-1.amzn2023.0.3 amazonlinux 27 k libfdisk aarch64 2.37.4-1.amzn2023.0.4 amazonlinux 148 k libffi aarch64 3.4.4-1.amzn2023.0.1 amazonlinux 37 k libgcc aarch64 11.4.1-2.amzn2023.0.2 amazonlinux 87 k libgomp aarch64 11.4.1-2.amzn2023.0.2 amazonlinux 262 k libidn2 aarch64 2.3.2-1.amzn2023.0.5 amazonlinux 105 k libmount aarch64 2.37.4-1.amzn2023.0.4 amazonlinux 130 k libnghttp2 aarch64 1.59.0-3.amzn2023.0.1 amazonlinux 78 k libpkgconf aarch64 1.8.0-4.amzn2023.0.2 amazonlinux 37 k libpsl aarch64 0.21.1-3.amzn2023.0.2 amazonlinux 61 k libpwquality aarch64 1.4.4-6.amzn2023.0.2 amazonlinux 106 k libselinux aarch64 3.4-5.amzn2023.0.2 amazonlinux 87 k libsemanage aarch64 3.4-5.amzn2023.0.2 amazonlinux 119 k libsepol aarch64 3.4-3.amzn2023.0.3 amazonlinux 311 k libsigsegv aarch64 2.13-2.amzn2023.0.2 amazonlinux 28 k libsmartcols aarch64 2.37.4-1.amzn2023.0.4 amazonlinux 60 k libssh aarch64 0.10.6-1.amzn2023.0.1 amazonlinux 215 k libssh-config noarch 0.10.6-1.amzn2023.0.1 amazonlinux 11 k libstdc++ aarch64 11.4.1-2.amzn2023.0.2 amazonlinux 691 k libtasn1 aarch64 4.19.0-1.amzn2023.0.4 amazonlinux 75 k libunistring aarch64 0.9.10-10.amzn2023.0.2 amazonlinux 493 k libutempter aarch64 1.2.1-4.amzn2023.0.2 amazonlinux 27 k libuuid aarch64 2.37.4-1.amzn2023.0.4 amazonlinux 26 k libverto aarch64 0.3.2-1.amzn2023.0.2 amazonlinux 22 k libxcrypt aarch64 4.4.33-7.amzn2023 amazonlinux 127 k libxml2 aarch64 2.10.4-1.amzn2023.0.7 amazonlinux 690 k libzstd aarch64 1.5.5-1.amzn2023.0.1 amazonlinux 284 k lua-libs aarch64 5.4.4-3.amzn2023.0.2 amazonlinux 214 k lua-srpm-macros noarch 1-4.amzn2023.0.2 amazonlinux 9.2 k lz4-libs aarch64 1.9.4-1.amzn2023.0.2 amazonlinux 73 k mpfr aarch64 4.1.0-7.amzn2023.0.2 amazonlinux 243 k ncurses-base noarch 6.2-4.20200222.amzn2023.0.6 amazonlinux 60 k ncurses-libs aarch64 6.2-4.20200222.amzn2023.0.6 amazonlinux 318 k ocaml-srpm-macros noarch 6-6.amzn2023.0.2 amazonlinux 8.8 k openblas-srpm-macros noarch 2-9.amzn2023.0.2 amazonlinux 8.2 k openldap aarch64 2.4.57-6.amzn2023.0.6 amazonlinux 254 k openssl-libs aarch64 1:3.0.8-1.amzn2023.0.18 amazonlinux 2.1 M p11-kit aarch64 0.24.1-2.amzn2023.0.3 amazonlinux 346 k p11-kit-trust aarch64 0.24.1-2.amzn2023.0.3 amazonlinux 138 k package-notes-srpm-macros noarch 0.4-18.amzn2023.0.5 amazonlinux 13 k pam aarch64 1.5.1-8.amzn2023.0.4 amazonlinux 553 k pcre2 aarch64 10.40-1.amzn2023.0.3 amazonlinux 220 k pcre2-syntax noarch 10.40-1.amzn2023.0.3 amazonlinux 142 k perl-srpm-macros noarch 1-39.amzn2023.0.2 amazonlinux 8.7 k pkgconf aarch64 1.8.0-4.amzn2023.0.2 amazonlinux 43 k pkgconf-m4 noarch 1.8.0-4.amzn2023.0.2 amazonlinux 15 k pkgconf-pkg-config aarch64 1.8.0-4.amzn2023.0.2 amazonlinux 11 k popt aarch64 1.18-6.amzn2023.0.2 amazonlinux 59 k publicsuffix-list-dafsa noarch 20240212-61.amzn2023 amazonlinux 59 k python-srpm-macros noarch 3.9-41.amzn2023.0.6 amazonlinux 20 k readline aarch64 8.1-2.amzn2023.0.2 amazonlinux 212 k rpm aarch64 4.16.1.3-29.amzn2023.0.6 amazonlinux 485 k rpm-build-libs aarch64 4.16.1.3-29.amzn2023.0.6 amazonlinux 88 k rpm-libs aarch64 4.16.1.3-29.amzn2023.0.6 amazonlinux 308 k rust-srpm-macros noarch 21-42.amzn2023.0.2 amazonlinux 10 k setup noarch 2.13.7-3.amzn2023.0.2 amazonlinux 141 k shadow-utils aarch64 2:4.9-12.amzn2023.0.4 amazonlinux 1.1 M sqlite-libs aarch64 3.40.0-1.amzn2023.0.4 amazonlinux 660 k systemd-libs aarch64 252.23-2.amzn2023 amazonlinux 590 k util-linux-core aarch64 2.37.4-1.amzn2023.0.4 amazonlinux 437 k xxhash-libs aarch64 0.8.0-3.amzn2023.0.2 amazonlinux 32 k xz-libs aarch64 5.2.5-9.amzn2023.0.2 amazonlinux 92 k zip aarch64 3.0-28.amzn2023.0.2 amazonlinux 254 k zlib aarch64 1.2.11-33.amzn2023.0.5 amazonlinux 91 k zstd aarch64 1.5.5-1.amzn2023.0.1 amazonlinux 450 k Transaction Summary ============================================================================================= Install 133 Packages Total size: 45 M Installed size: 284 M Downloading Packages: [SKIPPED] alternatives-1.15-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] amazon-linux-repo-cdn-2023.6.20250203-0.amzn2023.noarch.rpm: Already downloaded [SKIPPED] amazon-rpm-config-228-4.amzn2023.0.1.noarch.rpm: Already downloaded [SKIPPED] audit-libs-3.0.6-1.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] basesystem-11-11.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] bash-5.2.15-1.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] binutils-2.39-6.amzn2023.0.10.aarch64.rpm: Already downloaded [SKIPPED] bzip2-1.0.8-6.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] bzip2-libs-1.0.8-6.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarch.rpm: Already downloaded [SKIPPED] coreutils-8.32-30.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] coreutils-common-8.32-30.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] cpio-2.13-13.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] cracklib-2.9.6-27.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] crypto-policies-20240828-2.git626aa59.amzn2023.0.1.noarch.rpm: Already downloaded [SKIPPED] curl-8.5.0-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] debugedit-5.0-2.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] diffutils-3.8-1.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] dwz-0.14-6.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] ed-1.14.2-10.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] efi-srpm-macros-5-4.amzn2023.0.5.noarch.rpm: Already downloaded [SKIPPED] elfutils-0.188-3.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] elfutils-debuginfod-client-0.188-3.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] elfutils-default-yama-scope-0.188-3.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] elfutils-libelf-0.188-3.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] elfutils-libs-0.188-3.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] file-5.39-7.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] file-libs-5.39-7.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] filesystem-3.14-5.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] findutils-4.8.0-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] fonts-srpm-macros-2.0.5-12.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] gawk-5.1.0-3.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] gdb-minimal-12.1-5.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] gdbm-libs-1.19-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] glibc-2.34-117.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] glibc-common-2.34-117.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] glibc-gconv-extra-2.34-117.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] glibc-minimal-langpack-2.34-117.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] gmp-6.2.1-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] go-srpm-macros-3.2.0-37.amzn2023.noarch.rpm: Already downloaded [SKIPPED] grep-3.8-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] gzip-1.12-1.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] info-6.7-10.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] jansson-2.14-0.amzn2023.aarch64.rpm: Already downloaded [SKIPPED] kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] keyutils-libs-1.6.3-1.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] krb5-libs-1.21.3-1.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] libacl-2.3.1-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libarchive-3.7.4-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libattr-2.5.1-3.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libblkid-2.37.4-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] libbrotli-1.0.9-4.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libcap-2.48-2.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] libcap-ng-0.8.2-4.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libcom_err-1.46.5-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libcurl-8.5.0-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] libdb-5.3.28-49.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libeconf-0.4.0-1.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] libfdisk-2.37.4-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] libffi-3.4.4-1.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] libgcc-11.4.1-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libgomp-11.4.1-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libidn2-2.3.2-1.amzn2023.0.5.aarch64.rpm: Already downloaded [SKIPPED] libmount-2.37.4-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] libnghttp2-1.59.0-3.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] libpkgconf-1.8.0-4.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libpsl-0.21.1-3.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libpwquality-1.4.4-6.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libselinux-3.4-5.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libsemanage-3.4-5.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libsepol-3.4-3.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] libsigsegv-2.13-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libsmartcols-2.37.4-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] libssh-0.10.6-1.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] libssh-config-0.10.6-1.amzn2023.0.1.noarch.rpm: Already downloaded [SKIPPED] libstdc++-11.4.1-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libtasn1-4.19.0-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] libunistring-0.9.10-10.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libutempter-1.2.1-4.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libuuid-2.37.4-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] libverto-0.3.2-1.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] libxcrypt-4.4.33-7.amzn2023.aarch64.rpm: Already downloaded [SKIPPED] libxml2-2.10.4-1.amzn2023.0.7.aarch64.rpm: Already downloaded [SKIPPED] libzstd-1.5.5-1.amzn2023.0.1.aarch64.rpm: Already downloaded [SKIPPED] lua-libs-5.4.4-3.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] lua-srpm-macros-1-4.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] lz4-libs-1.9.4-1.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] mpfr-4.1.0-7.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch.rpm: Already downloaded [SKIPPED] ncurses-libs-6.2-4.20200222.amzn2023.0.6.aarch64.rpm: Already downloaded [SKIPPED] ocaml-srpm-macros-6-6.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] openblas-srpm-macros-2-9.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] openldap-2.4.57-6.amzn2023.0.6.aarch64.rpm: Already downloaded [SKIPPED] openssl-libs-3.0.8-1.amzn2023.0.18.aarch64.rpm: Already downloaded [SKIPPED] p11-kit-0.24.1-2.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] p11-kit-trust-0.24.1-2.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] package-notes-srpm-macros-0.4-18.amzn2023.0.5.noarch.rpm: Already downloaded [SKIPPED] pam-1.5.1-8.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] patch-2.7.6-14.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] pcre2-10.40-1.amzn2023.0.3.aarch64.rpm: Already downloaded [SKIPPED] pcre2-syntax-10.40-1.amzn2023.0.3.noarch.rpm: Already downloaded [SKIPPED] perl-srpm-macros-1-39.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] pkgconf-1.8.0-4.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] popt-1.18-6.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] publicsuffix-list-dafsa-20240212-61.amzn2023.noarch.rpm: Already downloaded [SKIPPED] python-srpm-macros-3.9-41.amzn2023.0.6.noarch.rpm: Already downloaded [SKIPPED] readline-8.1-2.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] rpm-4.16.1.3-29.amzn2023.0.6.aarch64.rpm: Already downloaded [SKIPPED] rpm-build-4.16.1.3-29.amzn2023.0.6.aarch64.rpm: Already downloaded [SKIPPED] rpm-build-libs-4.16.1.3-29.amzn2023.0.6.aarch64.rpm: Already downloaded [SKIPPED] rpm-libs-4.16.1.3-29.amzn2023.0.6.aarch64.rpm: Already downloaded [SKIPPED] rust-srpm-macros-21-42.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] sed-4.8-7.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] setup-2.13.7-3.amzn2023.0.2.noarch.rpm: Already downloaded [SKIPPED] shadow-utils-4.9-12.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] sqlite-libs-3.40.0-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] system-release-2023.6.20250203-0.amzn2023.noarch.rpm: Already downloaded [SKIPPED] systemd-libs-252.23-2.amzn2023.aarch64.rpm: Already downloaded [SKIPPED] tar-1.34-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] unzip-6.0-57.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] util-linux-2.37.4-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] util-linux-core-2.37.4-1.amzn2023.0.4.aarch64.rpm: Already downloaded [SKIPPED] which-2.21-26.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] xxhash-libs-0.8.0-3.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] xz-5.2.5-9.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] xz-libs-5.2.5-9.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] zip-3.0-28.amzn2023.0.2.aarch64.rpm: Already downloaded [SKIPPED] zlib-1.2.11-33.amzn2023.0.5.aarch64.rpm: Already downloaded [SKIPPED] zstd-1.5.5-1.amzn2023.0.1.aarch64.rpm: Already downloaded Amazon Linux 2023 repository - aarch64 1.7 MB/s | 1.8 kB 00:00 Importing GPG key 0xD832C631: Userid : "Amazon Linux " Fingerprint: B21C 50FA 44A9 9720 EAA7 2F7F E951 904A D832 C631 From : /usr/share/distribution-gpg-keys/amazon-linux/RPM-GPG-KEY-amazon-linux-2023 Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.14-5.amzn2023.0.3.aarch64 1/1 Preparing : 1/1 Installing : libgcc-11.4.1-2.amzn2023.0.2.aarch64 1/133 Running scriptlet: libgcc-11.4.1-2.amzn2023.0.2.aarch64 1/133 Installing : rust-srpm-macros-21-42.amzn2023.0.2.noarch 2/133 Installing : publicsuffix-list-dafsa-20240212-61.amzn2023.noa 3/133 Installing : pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch 4/133 Installing : perl-srpm-macros-1-39.amzn2023.0.2.noarch 5/133 Installing : pcre2-syntax-10.40-1.amzn2023.0.3.noarch 6/133 Installing : openblas-srpm-macros-2-9.amzn2023.0.2.noarch 7/133 Installing : ocaml-srpm-macros-6-6.amzn2023.0.2.noarch 8/133 Installing : ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch 9/133 Installing : ncurses-libs-6.2-4.20200222.amzn2023.0.6.aarch64 10/133 Installing : amazon-linux-repo-cdn-2023.6.20250203-0.amzn2023 11/133 Installing : bash-5.2.15-1.amzn2023.0.2.aarch64 12/133 Running scriptlet: bash-5.2.15-1.amzn2023.0.2.aarch64 12/133 Installing : system-release-2023.6.20250203-0.amzn2023.noarch 13/133 Installing : setup-2.13.7-3.amzn2023.0.2.noarch 14/133 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.13.7-3.amzn2023.0.2.noarch 14/133 Installing : filesystem-3.14-5.amzn2023.0.3.aarch64 15/133 Installing : basesystem-11-11.amzn2023.0.2.noarch 16/133 Installing : glibc-gconv-extra-2.34-117.amzn2023.0.1.aarch64 17/133 Running scriptlet: glibc-gconv-extra-2.34-117.amzn2023.0.1.aarch64 17/133 Installing : glibc-minimal-langpack-2.34-117.amzn2023.0.1.aar 18/133 Installing : glibc-common-2.34-117.amzn2023.0.1.aarch64 19/133 Running scriptlet: glibc-2.34-117.amzn2023.0.1.aarch64 20/133 Installing : glibc-2.34-117.amzn2023.0.1.aarch64 20/133 Running scriptlet: glibc-2.34-117.amzn2023.0.1.aarch64 20/133 Installing : zlib-1.2.11-33.amzn2023.0.5.aarch64 21/133 Installing : xz-libs-5.2.5-9.amzn2023.0.2.aarch64 22/133 Installing : bzip2-libs-1.0.8-6.amzn2023.0.2.aarch64 23/133 Installing : elfutils-libelf-0.188-3.amzn2023.0.2.aarch64 24/133 Installing : libuuid-2.37.4-1.amzn2023.0.4.aarch64 25/133 Installing : gmp-1:6.2.1-2.amzn2023.0.2.aarch64 26/133 Installing : libattr-2.5.1-3.amzn2023.0.2.aarch64 27/133 Installing : libacl-2.3.1-2.amzn2023.0.2.aarch64 28/133 Installing : libcap-2.48-2.amzn2023.0.3.aarch64 29/133 Installing : libxcrypt-4.4.33-7.amzn2023.aarch64 30/133 Installing : libzstd-1.5.5-1.amzn2023.0.1.aarch64 31/133 Installing : popt-1.18-6.amzn2023.0.2.aarch64 32/133 Installing : libstdc++-11.4.1-2.amzn2023.0.2.aarch64 33/133 Installing : readline-8.1-2.amzn2023.0.2.aarch64 34/133 Installing : crypto-policies-20240828-2.git626aa59.amzn2023.0 35/133 Running scriptlet: crypto-policies-20240828-2.git626aa59.amzn2023.0 35/133 Installing : systemd-libs-252.23-2.amzn2023.aarch64 36/133 Installing : mpfr-4.1.0-7.amzn2023.0.2.aarch64 37/133 Installing : dwz-0.14-6.amzn2023.0.2.aarch64 38/133 Installing : unzip-6.0-57.amzn2023.0.2.aarch64 39/133 Installing : file-libs-5.39-7.amzn2023.0.4.aarch64 40/133 Installing : file-5.39-7.amzn2023.0.4.aarch64 41/133 Installing : sqlite-libs-3.40.0-1.amzn2023.0.4.aarch64 42/133 Installing : alternatives-1.15-2.amzn2023.0.2.aarch64 43/133 Installing : libcap-ng-0.8.2-4.amzn2023.0.2.aarch64 44/133 Installing : audit-libs-3.0.6-1.amzn2023.0.2.aarch64 45/133 Installing : libcom_err-1.46.5-2.amzn2023.0.2.aarch64 46/133 Installing : libsepol-3.4-3.amzn2023.0.3.aarch64 47/133 Installing : libsmartcols-2.37.4-1.amzn2023.0.4.aarch64 48/133 Installing : libunistring-0.9.10-10.amzn2023.0.2.aarch64 49/133 Installing : libidn2-2.3.2-1.amzn2023.0.5.aarch64 50/133 Installing : lua-libs-5.4.4-3.amzn2023.0.2.aarch64 51/133 Installing : lz4-libs-1.9.4-1.amzn2023.0.2.aarch64 52/133 Installing : pcre2-10.40-1.amzn2023.0.3.aarch64 53/133 Installing : libselinux-3.4-5.amzn2023.0.2.aarch64 54/133 Installing : sed-4.8-7.amzn2023.0.2.aarch64 55/133 Installing : grep-3.8-1.amzn2023.0.4.aarch64 56/133 Installing : findutils-1:4.8.0-2.amzn2023.0.2.aarch64 57/133 Installing : xz-5.2.5-9.amzn2023.0.2.aarch64 58/133 Installing : libsemanage-3.4-5.amzn2023.0.2.aarch64 59/133 Installing : shadow-utils-2:4.9-12.amzn2023.0.4.aarch64 60/133 Running scriptlet: libutempter-1.2.1-4.amzn2023.0.2.aarch64 61/133 Installing : libutempter-1.2.1-4.amzn2023.0.2.aarch64 61/133 Installing : tar-2:1.34-1.amzn2023.0.4.aarch64 62/133 Installing : zstd-1.5.5-1.amzn2023.0.1.aarch64 63/133 Installing : libpsl-0.21.1-3.amzn2023.0.2.aarch64 64/133 Installing : zip-3.0-28.amzn2023.0.2.aarch64 65/133 Installing : bzip2-1.0.8-6.amzn2023.0.2.aarch64 66/133 Installing : libxml2-2.10.4-1.amzn2023.0.7.aarch64 67/133 Installing : info-6.7-10.amzn2023.0.2.aarch64 68/133 Installing : ed-1.14.2-10.amzn2023.0.2.aarch64 69/133 Installing : patch-2.7.6-14.amzn2023.0.2.aarch64 70/133 Installing : cpio-2.13-13.amzn2023.0.3.aarch64 71/133 Installing : diffutils-3.8-1.amzn2023.0.2.aarch64 72/133 Installing : gdbm-libs-1:1.19-2.amzn2023.0.2.aarch64 73/133 Installing : jansson-2.14-0.amzn2023.aarch64 74/133 Installing : keyutils-libs-1.6.3-1.amzn2023.0.1.aarch64 75/133 Installing : libbrotli-1.0.9-4.amzn2023.0.2.aarch64 76/133 Installing : libdb-5.3.28-49.amzn2023.0.2.aarch64 77/133 Installing : libeconf-0.4.0-1.amzn2023.0.3.aarch64 78/133 Installing : libffi-3.4.4-1.amzn2023.0.1.aarch64 79/133 Installing : p11-kit-0.24.1-2.amzn2023.0.3.aarch64 80/133 Installing : libgomp-11.4.1-2.amzn2023.0.2.aarch64 81/133 Installing : libnghttp2-1.59.0-3.amzn2023.0.1.aarch64 82/133 Installing : libpkgconf-1.8.0-4.amzn2023.0.2.aarch64 83/133 Installing : libsigsegv-2.13-2.amzn2023.0.2.aarch64 84/133 Installing : gawk-5.1.0-3.amzn2023.0.3.aarch64 85/133 Installing : libtasn1-4.19.0-1.amzn2023.0.4.aarch64 86/133 Installing : p11-kit-trust-0.24.1-2.amzn2023.0.3.aarch64 87/133 Running scriptlet: p11-kit-trust-0.24.1-2.amzn2023.0.3.aarch64 87/133 Installing : libverto-0.3.2-1.amzn2023.0.2.aarch64 88/133 Installing : xxhash-libs-0.8.0-3.amzn2023.0.2.aarch64 89/133 Installing : elfutils-default-yama-scope-0.188-3.amzn2023.0.2 90/133 Running scriptlet: elfutils-default-yama-scope-0.188-3.amzn2023.0.2 90/133 Installing : package-notes-srpm-macros-0.4-18.amzn2023.0.5.no 91/133 Installing : libssh-config-0.10.6-1.amzn2023.0.1.noarch 92/133 Installing : kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch 93/133 Installing : ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch 94/133 Installing : coreutils-common-8.32-30.amzn2023.0.3.aarch64 95/133 Installing : openssl-libs-1:3.0.8-1.amzn2023.0.18.aarch64 96/133 Installing : coreutils-8.32-30.amzn2023.0.3.aarch64 97/133 Running scriptlet: ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 98/133 Installing : ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 98/133 Running scriptlet: ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 98/133 Installing : libblkid-2.37.4-1.amzn2023.0.4.aarch64 99/133 Running scriptlet: libblkid-2.37.4-1.amzn2023.0.4.aarch64 99/133 Installing : krb5-libs-1.21.3-1.amzn2023.0.1.aarch64 100/133 Installing : libmount-2.37.4-1.amzn2023.0.4.aarch64 101/133 Installing : gzip-1.12-1.amzn2023.0.1.aarch64 102/133 Installing : cracklib-2.9.6-27.amzn2023.0.2.aarch64 103/133 Installing : pam-1.5.1-8.amzn2023.0.4.aarch64 104/133 Installing : libpwquality-1.4.4-6.amzn2023.0.2.aarch64 105/133 Installing : util-linux-core-2.37.4-1.amzn2023.0.4.aarch64 106/133 Running scriptlet: util-linux-core-2.37.4-1.amzn2023.0.4.aarch64 106/133 Installing : cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.aarch64 107/133 Installing : openldap-2.4.57-6.amzn2023.0.6.aarch64 108/133 Installing : libssh-0.10.6-1.amzn2023.0.1.aarch64 109/133 Installing : libcurl-8.5.0-1.amzn2023.0.4.aarch64 110/133 Installing : elfutils-libs-0.188-3.amzn2023.0.2.aarch64 111/133 Installing : elfutils-debuginfod-client-0.188-3.amzn2023.0.2. 112/133 Installing : binutils-2.39-6.amzn2023.0.10.aarch64 113/133 Running scriptlet: binutils-2.39-6.amzn2023.0.10.aarch64 113/133 Installing : elfutils-0.188-3.amzn2023.0.2.aarch64 114/133 Installing : gdb-minimal-12.1-5.amzn2023.0.4.aarch64 115/133 Installing : debugedit-5.0-2.amzn2023.0.3.aarch64 116/133 Installing : curl-8.5.0-1.amzn2023.0.4.aarch64 117/133 Installing : libfdisk-2.37.4-1.amzn2023.0.4.aarch64 118/133 Installing : libarchive-3.7.4-2.amzn2023.0.2.aarch64 119/133 Installing : rpm-4.16.1.3-29.amzn2023.0.6.aarch64 120/133 Installing : rpm-libs-4.16.1.3-29.amzn2023.0.6.aarch64 121/133 Installing : rpm-build-libs-4.16.1.3-29.amzn2023.0.6.aarch64 122/133 Installing : efi-srpm-macros-5-4.amzn2023.0.5.noarch 123/133 Installing : lua-srpm-macros-1-4.amzn2023.0.2.noarch 124/133 Installing : fonts-srpm-macros-1:2.0.5-12.amzn2023.0.2.noarch 125/133 Installing : go-srpm-macros-3.2.0-37.amzn2023.noarch 126/133 Installing : python-srpm-macros-3.9-41.amzn2023.0.6.noarch 127/133 Installing : amazon-rpm-config-228-4.amzn2023.0.1.noarch 128/133 Running scriptlet: amazon-rpm-config-228-4.amzn2023.0.1.noarch 128/133 Installing : pkgconf-1.8.0-4.amzn2023.0.2.aarch64 129/133 Installing : pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.aarch64 130/133 Installing : rpm-build-4.16.1.3-29.amzn2023.0.6.aarch64 131/133 Installing : util-linux-2.37.4-1.amzn2023.0.4.aarch64 132/133 Running scriptlet: util-linux-2.37.4-1.amzn2023.0.4.aarch64 132/133 Installing : which-2.21-26.amzn2023.0.2.aarch64 133/133 Running scriptlet: filesystem-3.14-5.amzn2023.0.3.aarch64 133/133 Running scriptlet: ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 133/133 Running scriptlet: pam-1.5.1-8.amzn2023.0.4.aarch64 133/133 Running scriptlet: rpm-4.16.1.3-29.amzn2023.0.6.aarch64 133/133 Running scriptlet: which-2.21-26.amzn2023.0.2.aarch64 133/133 Verifying : alternatives-1.15-2.amzn2023.0.2.aarch64 1/133 Verifying : amazon-linux-repo-cdn-2023.6.20250203-0.amzn2023 2/133 Verifying : amazon-rpm-config-228-4.amzn2023.0.1.noarch 3/133 Verifying : audit-libs-3.0.6-1.amzn2023.0.2.aarch64 4/133 Verifying : basesystem-11-11.amzn2023.0.2.noarch 5/133 Verifying : bash-5.2.15-1.amzn2023.0.2.aarch64 6/133 Verifying : binutils-2.39-6.amzn2023.0.10.aarch64 7/133 Verifying : bzip2-1.0.8-6.amzn2023.0.2.aarch64 8/133 Verifying : bzip2-libs-1.0.8-6.amzn2023.0.2.aarch64 9/133 Verifying : ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarc 10/133 Verifying : coreutils-8.32-30.amzn2023.0.3.aarch64 11/133 Verifying : coreutils-common-8.32-30.amzn2023.0.3.aarch64 12/133 Verifying : cpio-2.13-13.amzn2023.0.3.aarch64 13/133 Verifying : cracklib-2.9.6-27.amzn2023.0.2.aarch64 14/133 Verifying : crypto-policies-20240828-2.git626aa59.amzn2023.0 15/133 Verifying : curl-8.5.0-1.amzn2023.0.4.aarch64 16/133 Verifying : cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.aarch64 17/133 Verifying : debugedit-5.0-2.amzn2023.0.3.aarch64 18/133 Verifying : diffutils-3.8-1.amzn2023.0.2.aarch64 19/133 Verifying : dwz-0.14-6.amzn2023.0.2.aarch64 20/133 Verifying : ed-1.14.2-10.amzn2023.0.2.aarch64 21/133 Verifying : efi-srpm-macros-5-4.amzn2023.0.5.noarch 22/133 Verifying : elfutils-0.188-3.amzn2023.0.2.aarch64 23/133 Verifying : elfutils-debuginfod-client-0.188-3.amzn2023.0.2. 24/133 Verifying : elfutils-default-yama-scope-0.188-3.amzn2023.0.2 25/133 Verifying : elfutils-libelf-0.188-3.amzn2023.0.2.aarch64 26/133 Verifying : elfutils-libs-0.188-3.amzn2023.0.2.aarch64 27/133 Verifying : file-5.39-7.amzn2023.0.4.aarch64 28/133 Verifying : file-libs-5.39-7.amzn2023.0.4.aarch64 29/133 Verifying : filesystem-3.14-5.amzn2023.0.3.aarch64 30/133 Verifying : findutils-1:4.8.0-2.amzn2023.0.2.aarch64 31/133 Verifying : fonts-srpm-macros-1:2.0.5-12.amzn2023.0.2.noarch 32/133 Verifying : gawk-5.1.0-3.amzn2023.0.3.aarch64 33/133 Verifying : gdb-minimal-12.1-5.amzn2023.0.4.aarch64 34/133 Verifying : gdbm-libs-1:1.19-2.amzn2023.0.2.aarch64 35/133 Verifying : ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch 36/133 Verifying : glibc-2.34-117.amzn2023.0.1.aarch64 37/133 Verifying : glibc-common-2.34-117.amzn2023.0.1.aarch64 38/133 Verifying : glibc-gconv-extra-2.34-117.amzn2023.0.1.aarch64 39/133 Verifying : glibc-minimal-langpack-2.34-117.amzn2023.0.1.aar 40/133 Verifying : gmp-1:6.2.1-2.amzn2023.0.2.aarch64 41/133 Verifying : go-srpm-macros-3.2.0-37.amzn2023.noarch 42/133 Verifying : grep-3.8-1.amzn2023.0.4.aarch64 43/133 Verifying : gzip-1.12-1.amzn2023.0.1.aarch64 44/133 Verifying : info-6.7-10.amzn2023.0.2.aarch64 45/133 Verifying : jansson-2.14-0.amzn2023.aarch64 46/133 Verifying : kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch 47/133 Verifying : keyutils-libs-1.6.3-1.amzn2023.0.1.aarch64 48/133 Verifying : krb5-libs-1.21.3-1.amzn2023.0.1.aarch64 49/133 Verifying : libacl-2.3.1-2.amzn2023.0.2.aarch64 50/133 Verifying : libarchive-3.7.4-2.amzn2023.0.2.aarch64 51/133 Verifying : libattr-2.5.1-3.amzn2023.0.2.aarch64 52/133 Verifying : libblkid-2.37.4-1.amzn2023.0.4.aarch64 53/133 Verifying : libbrotli-1.0.9-4.amzn2023.0.2.aarch64 54/133 Verifying : libcap-2.48-2.amzn2023.0.3.aarch64 55/133 Verifying : libcap-ng-0.8.2-4.amzn2023.0.2.aarch64 56/133 Verifying : libcom_err-1.46.5-2.amzn2023.0.2.aarch64 57/133 Verifying : libcurl-8.5.0-1.amzn2023.0.4.aarch64 58/133 Verifying : libdb-5.3.28-49.amzn2023.0.2.aarch64 59/133 Verifying : libeconf-0.4.0-1.amzn2023.0.3.aarch64 60/133 Verifying : libfdisk-2.37.4-1.amzn2023.0.4.aarch64 61/133 Verifying : libffi-3.4.4-1.amzn2023.0.1.aarch64 62/133 Verifying : libgcc-11.4.1-2.amzn2023.0.2.aarch64 63/133 Verifying : libgomp-11.4.1-2.amzn2023.0.2.aarch64 64/133 Verifying : libidn2-2.3.2-1.amzn2023.0.5.aarch64 65/133 Verifying : libmount-2.37.4-1.amzn2023.0.4.aarch64 66/133 Verifying : libnghttp2-1.59.0-3.amzn2023.0.1.aarch64 67/133 Verifying : libpkgconf-1.8.0-4.amzn2023.0.2.aarch64 68/133 Verifying : libpsl-0.21.1-3.amzn2023.0.2.aarch64 69/133 Verifying : libpwquality-1.4.4-6.amzn2023.0.2.aarch64 70/133 Verifying : libselinux-3.4-5.amzn2023.0.2.aarch64 71/133 Verifying : libsemanage-3.4-5.amzn2023.0.2.aarch64 72/133 Verifying : libsepol-3.4-3.amzn2023.0.3.aarch64 73/133 Verifying : libsigsegv-2.13-2.amzn2023.0.2.aarch64 74/133 Verifying : libsmartcols-2.37.4-1.amzn2023.0.4.aarch64 75/133 Verifying : libssh-0.10.6-1.amzn2023.0.1.aarch64 76/133 Verifying : libssh-config-0.10.6-1.amzn2023.0.1.noarch 77/133 Verifying : libstdc++-11.4.1-2.amzn2023.0.2.aarch64 78/133 Verifying : libtasn1-4.19.0-1.amzn2023.0.4.aarch64 79/133 Verifying : libunistring-0.9.10-10.amzn2023.0.2.aarch64 80/133 Verifying : libutempter-1.2.1-4.amzn2023.0.2.aarch64 81/133 Verifying : libuuid-2.37.4-1.amzn2023.0.4.aarch64 82/133 Verifying : libverto-0.3.2-1.amzn2023.0.2.aarch64 83/133 Verifying : libxcrypt-4.4.33-7.amzn2023.aarch64 84/133 Verifying : libxml2-2.10.4-1.amzn2023.0.7.aarch64 85/133 Verifying : libzstd-1.5.5-1.amzn2023.0.1.aarch64 86/133 Verifying : lua-libs-5.4.4-3.amzn2023.0.2.aarch64 87/133 Verifying : lua-srpm-macros-1-4.amzn2023.0.2.noarch 88/133 Verifying : lz4-libs-1.9.4-1.amzn2023.0.2.aarch64 89/133 Verifying : mpfr-4.1.0-7.amzn2023.0.2.aarch64 90/133 Verifying : ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch 91/133 Verifying : ncurses-libs-6.2-4.20200222.amzn2023.0.6.aarch64 92/133 Verifying : ocaml-srpm-macros-6-6.amzn2023.0.2.noarch 93/133 Verifying : openblas-srpm-macros-2-9.amzn2023.0.2.noarch 94/133 Verifying : openldap-2.4.57-6.amzn2023.0.6.aarch64 95/133 Verifying : openssl-libs-1:3.0.8-1.amzn2023.0.18.aarch64 96/133 Verifying : p11-kit-0.24.1-2.amzn2023.0.3.aarch64 97/133 Verifying : p11-kit-trust-0.24.1-2.amzn2023.0.3.aarch64 98/133 Verifying : package-notes-srpm-macros-0.4-18.amzn2023.0.5.no 99/133 Verifying : pam-1.5.1-8.amzn2023.0.4.aarch64 100/133 Verifying : patch-2.7.6-14.amzn2023.0.2.aarch64 101/133 Verifying : pcre2-10.40-1.amzn2023.0.3.aarch64 102/133 Verifying : pcre2-syntax-10.40-1.amzn2023.0.3.noarch 103/133 Verifying : perl-srpm-macros-1-39.amzn2023.0.2.noarch 104/133 Verifying : pkgconf-1.8.0-4.amzn2023.0.2.aarch64 105/133 Verifying : pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch 106/133 Verifying : pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.aarch64 107/133 Verifying : popt-1.18-6.amzn2023.0.2.aarch64 108/133 Verifying : publicsuffix-list-dafsa-20240212-61.amzn2023.noa 109/133 Verifying : python-srpm-macros-3.9-41.amzn2023.0.6.noarch 110/133 Verifying : readline-8.1-2.amzn2023.0.2.aarch64 111/133 Verifying : rpm-4.16.1.3-29.amzn2023.0.6.aarch64 112/133 Verifying : rpm-build-4.16.1.3-29.amzn2023.0.6.aarch64 113/133 Verifying : rpm-build-libs-4.16.1.3-29.amzn2023.0.6.aarch64 114/133 Verifying : rpm-libs-4.16.1.3-29.amzn2023.0.6.aarch64 115/133 Verifying : rust-srpm-macros-21-42.amzn2023.0.2.noarch 116/133 Verifying : sed-4.8-7.amzn2023.0.2.aarch64 117/133 Verifying : setup-2.13.7-3.amzn2023.0.2.noarch 118/133 Verifying : shadow-utils-2:4.9-12.amzn2023.0.4.aarch64 119/133 Verifying : sqlite-libs-3.40.0-1.amzn2023.0.4.aarch64 120/133 Verifying : system-release-2023.6.20250203-0.amzn2023.noarch 121/133 Verifying : systemd-libs-252.23-2.amzn2023.aarch64 122/133 Verifying : tar-2:1.34-1.amzn2023.0.4.aarch64 123/133 Verifying : unzip-6.0-57.amzn2023.0.2.aarch64 124/133 Verifying : util-linux-2.37.4-1.amzn2023.0.4.aarch64 125/133 Verifying : util-linux-core-2.37.4-1.amzn2023.0.4.aarch64 126/133 Verifying : which-2.21-26.amzn2023.0.2.aarch64 127/133 Verifying : xxhash-libs-0.8.0-3.amzn2023.0.2.aarch64 128/133 Verifying : xz-5.2.5-9.amzn2023.0.2.aarch64 129/133 Verifying : xz-libs-5.2.5-9.amzn2023.0.2.aarch64 130/133 Verifying : zip-3.0-28.amzn2023.0.2.aarch64 131/133 Verifying : zlib-1.2.11-33.amzn2023.0.5.aarch64 132/133 Verifying : zstd-1.5.5-1.amzn2023.0.1.aarch64 133/133 Installed: alternatives-1.15-2.amzn2023.0.2.aarch64 amazon-linux-repo-cdn-2023.6.20250203-0.amzn2023.noarch amazon-rpm-config-228-4.amzn2023.0.1.noarch audit-libs-3.0.6-1.amzn2023.0.2.aarch64 basesystem-11-11.amzn2023.0.2.noarch bash-5.2.15-1.amzn2023.0.2.aarch64 binutils-2.39-6.amzn2023.0.10.aarch64 bzip2-1.0.8-6.amzn2023.0.2.aarch64 bzip2-libs-1.0.8-6.amzn2023.0.2.aarch64 ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarch coreutils-8.32-30.amzn2023.0.3.aarch64 coreutils-common-8.32-30.amzn2023.0.3.aarch64 cpio-2.13-13.amzn2023.0.3.aarch64 cracklib-2.9.6-27.amzn2023.0.2.aarch64 crypto-policies-20240828-2.git626aa59.amzn2023.0.1.noarch curl-8.5.0-1.amzn2023.0.4.aarch64 cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.aarch64 debugedit-5.0-2.amzn2023.0.3.aarch64 diffutils-3.8-1.amzn2023.0.2.aarch64 dwz-0.14-6.amzn2023.0.2.aarch64 ed-1.14.2-10.amzn2023.0.2.aarch64 efi-srpm-macros-5-4.amzn2023.0.5.noarch elfutils-0.188-3.amzn2023.0.2.aarch64 elfutils-debuginfod-client-0.188-3.amzn2023.0.2.aarch64 elfutils-default-yama-scope-0.188-3.amzn2023.0.2.noarch elfutils-libelf-0.188-3.amzn2023.0.2.aarch64 elfutils-libs-0.188-3.amzn2023.0.2.aarch64 file-5.39-7.amzn2023.0.4.aarch64 file-libs-5.39-7.amzn2023.0.4.aarch64 filesystem-3.14-5.amzn2023.0.3.aarch64 findutils-1:4.8.0-2.amzn2023.0.2.aarch64 fonts-srpm-macros-1:2.0.5-12.amzn2023.0.2.noarch gawk-5.1.0-3.amzn2023.0.3.aarch64 gdb-minimal-12.1-5.amzn2023.0.4.aarch64 gdbm-libs-1:1.19-2.amzn2023.0.2.aarch64 ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch glibc-2.34-117.amzn2023.0.1.aarch64 glibc-common-2.34-117.amzn2023.0.1.aarch64 glibc-gconv-extra-2.34-117.amzn2023.0.1.aarch64 glibc-minimal-langpack-2.34-117.amzn2023.0.1.aarch64 gmp-1:6.2.1-2.amzn2023.0.2.aarch64 go-srpm-macros-3.2.0-37.amzn2023.noarch grep-3.8-1.amzn2023.0.4.aarch64 gzip-1.12-1.amzn2023.0.1.aarch64 info-6.7-10.amzn2023.0.2.aarch64 jansson-2.14-0.amzn2023.aarch64 kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch keyutils-libs-1.6.3-1.amzn2023.0.1.aarch64 krb5-libs-1.21.3-1.amzn2023.0.1.aarch64 libacl-2.3.1-2.amzn2023.0.2.aarch64 libarchive-3.7.4-2.amzn2023.0.2.aarch64 libattr-2.5.1-3.amzn2023.0.2.aarch64 libblkid-2.37.4-1.amzn2023.0.4.aarch64 libbrotli-1.0.9-4.amzn2023.0.2.aarch64 libcap-2.48-2.amzn2023.0.3.aarch64 libcap-ng-0.8.2-4.amzn2023.0.2.aarch64 libcom_err-1.46.5-2.amzn2023.0.2.aarch64 libcurl-8.5.0-1.amzn2023.0.4.aarch64 libdb-5.3.28-49.amzn2023.0.2.aarch64 libeconf-0.4.0-1.amzn2023.0.3.aarch64 libfdisk-2.37.4-1.amzn2023.0.4.aarch64 libffi-3.4.4-1.amzn2023.0.1.aarch64 libgcc-11.4.1-2.amzn2023.0.2.aarch64 libgomp-11.4.1-2.amzn2023.0.2.aarch64 libidn2-2.3.2-1.amzn2023.0.5.aarch64 libmount-2.37.4-1.amzn2023.0.4.aarch64 libnghttp2-1.59.0-3.amzn2023.0.1.aarch64 libpkgconf-1.8.0-4.amzn2023.0.2.aarch64 libpsl-0.21.1-3.amzn2023.0.2.aarch64 libpwquality-1.4.4-6.amzn2023.0.2.aarch64 libselinux-3.4-5.amzn2023.0.2.aarch64 libsemanage-3.4-5.amzn2023.0.2.aarch64 libsepol-3.4-3.amzn2023.0.3.aarch64 libsigsegv-2.13-2.amzn2023.0.2.aarch64 libsmartcols-2.37.4-1.amzn2023.0.4.aarch64 libssh-0.10.6-1.amzn2023.0.1.aarch64 libssh-config-0.10.6-1.amzn2023.0.1.noarch libstdc++-11.4.1-2.amzn2023.0.2.aarch64 libtasn1-4.19.0-1.amzn2023.0.4.aarch64 libunistring-0.9.10-10.amzn2023.0.2.aarch64 libutempter-1.2.1-4.amzn2023.0.2.aarch64 libuuid-2.37.4-1.amzn2023.0.4.aarch64 libverto-0.3.2-1.amzn2023.0.2.aarch64 libxcrypt-4.4.33-7.amzn2023.aarch64 libxml2-2.10.4-1.amzn2023.0.7.aarch64 libzstd-1.5.5-1.amzn2023.0.1.aarch64 lua-libs-5.4.4-3.amzn2023.0.2.aarch64 lua-srpm-macros-1-4.amzn2023.0.2.noarch lz4-libs-1.9.4-1.amzn2023.0.2.aarch64 mpfr-4.1.0-7.amzn2023.0.2.aarch64 ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch ncurses-libs-6.2-4.20200222.amzn2023.0.6.aarch64 ocaml-srpm-macros-6-6.amzn2023.0.2.noarch openblas-srpm-macros-2-9.amzn2023.0.2.noarch openldap-2.4.57-6.amzn2023.0.6.aarch64 openssl-libs-1:3.0.8-1.amzn2023.0.18.aarch64 p11-kit-0.24.1-2.amzn2023.0.3.aarch64 p11-kit-trust-0.24.1-2.amzn2023.0.3.aarch64 package-notes-srpm-macros-0.4-18.amzn2023.0.5.noarch pam-1.5.1-8.amzn2023.0.4.aarch64 patch-2.7.6-14.amzn2023.0.2.aarch64 pcre2-10.40-1.amzn2023.0.3.aarch64 pcre2-syntax-10.40-1.amzn2023.0.3.noarch perl-srpm-macros-1-39.amzn2023.0.2.noarch pkgconf-1.8.0-4.amzn2023.0.2.aarch64 pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.aarch64 popt-1.18-6.amzn2023.0.2.aarch64 publicsuffix-list-dafsa-20240212-61.amzn2023.noarch python-srpm-macros-3.9-41.amzn2023.0.6.noarch readline-8.1-2.amzn2023.0.2.aarch64 rpm-4.16.1.3-29.amzn2023.0.6.aarch64 rpm-build-4.16.1.3-29.amzn2023.0.6.aarch64 rpm-build-libs-4.16.1.3-29.amzn2023.0.6.aarch64 rpm-libs-4.16.1.3-29.amzn2023.0.6.aarch64 rust-srpm-macros-21-42.amzn2023.0.2.noarch sed-4.8-7.amzn2023.0.2.aarch64 setup-2.13.7-3.amzn2023.0.2.noarch shadow-utils-2:4.9-12.amzn2023.0.4.aarch64 sqlite-libs-3.40.0-1.amzn2023.0.4.aarch64 system-release-2023.6.20250203-0.amzn2023.noarch systemd-libs-252.23-2.amzn2023.aarch64 tar-2:1.34-1.amzn2023.0.4.aarch64 unzip-6.0-57.amzn2023.0.2.aarch64 util-linux-2.37.4-1.amzn2023.0.4.aarch64 util-linux-core-2.37.4-1.amzn2023.0.4.aarch64 which-2.21-26.amzn2023.0.2.aarch64 xxhash-libs-0.8.0-3.amzn2023.0.2.aarch64 xz-5.2.5-9.amzn2023.0.2.aarch64 xz-libs-5.2.5-9.amzn2023.0.2.aarch64 zip-3.0-28.amzn2023.0.2.aarch64 zlib-1.2.11-33.amzn2023.0.5.aarch64 zstd-1.5.5-1.amzn2023.0.1.aarch64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.15-2.amzn2023.0.2.aarch64 amazon-linux-repo-cdn-2023.6.20250203-0.amzn2023.noarch amazon-rpm-config-228-4.amzn2023.0.1.noarch audit-libs-3.0.6-1.amzn2023.0.2.aarch64 basesystem-11-11.amzn2023.0.2.noarch bash-5.2.15-1.amzn2023.0.2.aarch64 binutils-2.39-6.amzn2023.0.10.aarch64 bzip2-1.0.8-6.amzn2023.0.2.aarch64 bzip2-libs-1.0.8-6.amzn2023.0.2.aarch64 ca-certificates-2023.2.68-1.0.amzn2023.0.1.noarch coreutils-8.32-30.amzn2023.0.3.aarch64 coreutils-common-8.32-30.amzn2023.0.3.aarch64 cpio-2.13-13.amzn2023.0.3.aarch64 cracklib-2.9.6-27.amzn2023.0.2.aarch64 crypto-policies-20240828-2.git626aa59.amzn2023.0.1.noarch curl-8.5.0-1.amzn2023.0.4.aarch64 cyrus-sasl-lib-2.1.27-18.amzn2023.0.3.aarch64 debugedit-5.0-2.amzn2023.0.3.aarch64 diffutils-3.8-1.amzn2023.0.2.aarch64 dwz-0.14-6.amzn2023.0.2.aarch64 ed-1.14.2-10.amzn2023.0.2.aarch64 efi-srpm-macros-5-4.amzn2023.0.5.noarch elfutils-0.188-3.amzn2023.0.2.aarch64 elfutils-debuginfod-client-0.188-3.amzn2023.0.2.aarch64 elfutils-default-yama-scope-0.188-3.amzn2023.0.2.noarch elfutils-libelf-0.188-3.amzn2023.0.2.aarch64 elfutils-libs-0.188-3.amzn2023.0.2.aarch64 file-5.39-7.amzn2023.0.4.aarch64 file-libs-5.39-7.amzn2023.0.4.aarch64 filesystem-3.14-5.amzn2023.0.3.aarch64 findutils-4.8.0-2.amzn2023.0.2.aarch64 fonts-srpm-macros-2.0.5-12.amzn2023.0.2.noarch gawk-5.1.0-3.amzn2023.0.3.aarch64 gdb-minimal-12.1-5.amzn2023.0.4.aarch64 gdbm-libs-1.19-2.amzn2023.0.2.aarch64 ghc-srpm-macros-1.5.0-4.amzn2023.0.2.noarch glibc-2.34-117.amzn2023.0.1.aarch64 glibc-common-2.34-117.amzn2023.0.1.aarch64 glibc-gconv-extra-2.34-117.amzn2023.0.1.aarch64 glibc-minimal-langpack-2.34-117.amzn2023.0.1.aarch64 gmp-6.2.1-2.amzn2023.0.2.aarch64 go-srpm-macros-3.2.0-37.amzn2023.noarch gpg-pubkey-d832c631-6515c85e grep-3.8-1.amzn2023.0.4.aarch64 gzip-1.12-1.amzn2023.0.1.aarch64 info-6.7-10.amzn2023.0.2.aarch64 jansson-2.14-0.amzn2023.aarch64 kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch keyutils-libs-1.6.3-1.amzn2023.0.1.aarch64 krb5-libs-1.21.3-1.amzn2023.0.1.aarch64 libacl-2.3.1-2.amzn2023.0.2.aarch64 libarchive-3.7.4-2.amzn2023.0.2.aarch64 libattr-2.5.1-3.amzn2023.0.2.aarch64 libblkid-2.37.4-1.amzn2023.0.4.aarch64 libbrotli-1.0.9-4.amzn2023.0.2.aarch64 libcap-2.48-2.amzn2023.0.3.aarch64 libcap-ng-0.8.2-4.amzn2023.0.2.aarch64 libcom_err-1.46.5-2.amzn2023.0.2.aarch64 libcurl-8.5.0-1.amzn2023.0.4.aarch64 libdb-5.3.28-49.amzn2023.0.2.aarch64 libeconf-0.4.0-1.amzn2023.0.3.aarch64 libfdisk-2.37.4-1.amzn2023.0.4.aarch64 libffi-3.4.4-1.amzn2023.0.1.aarch64 libgcc-11.4.1-2.amzn2023.0.2.aarch64 libgomp-11.4.1-2.amzn2023.0.2.aarch64 libidn2-2.3.2-1.amzn2023.0.5.aarch64 libmount-2.37.4-1.amzn2023.0.4.aarch64 libnghttp2-1.59.0-3.amzn2023.0.1.aarch64 libpkgconf-1.8.0-4.amzn2023.0.2.aarch64 libpsl-0.21.1-3.amzn2023.0.2.aarch64 libpwquality-1.4.4-6.amzn2023.0.2.aarch64 libselinux-3.4-5.amzn2023.0.2.aarch64 libsemanage-3.4-5.amzn2023.0.2.aarch64 libsepol-3.4-3.amzn2023.0.3.aarch64 libsigsegv-2.13-2.amzn2023.0.2.aarch64 libsmartcols-2.37.4-1.amzn2023.0.4.aarch64 libssh-0.10.6-1.amzn2023.0.1.aarch64 libssh-config-0.10.6-1.amzn2023.0.1.noarch libstdc++-11.4.1-2.amzn2023.0.2.aarch64 libtasn1-4.19.0-1.amzn2023.0.4.aarch64 libunistring-0.9.10-10.amzn2023.0.2.aarch64 libutempter-1.2.1-4.amzn2023.0.2.aarch64 libuuid-2.37.4-1.amzn2023.0.4.aarch64 libverto-0.3.2-1.amzn2023.0.2.aarch64 libxcrypt-4.4.33-7.amzn2023.aarch64 libxml2-2.10.4-1.amzn2023.0.7.aarch64 libzstd-1.5.5-1.amzn2023.0.1.aarch64 lua-libs-5.4.4-3.amzn2023.0.2.aarch64 lua-srpm-macros-1-4.amzn2023.0.2.noarch lz4-libs-1.9.4-1.amzn2023.0.2.aarch64 mpfr-4.1.0-7.amzn2023.0.2.aarch64 ncurses-base-6.2-4.20200222.amzn2023.0.6.noarch ncurses-libs-6.2-4.20200222.amzn2023.0.6.aarch64 ocaml-srpm-macros-6-6.amzn2023.0.2.noarch openblas-srpm-macros-2-9.amzn2023.0.2.noarch openldap-2.4.57-6.amzn2023.0.6.aarch64 openssl-libs-3.0.8-1.amzn2023.0.18.aarch64 p11-kit-0.24.1-2.amzn2023.0.3.aarch64 p11-kit-trust-0.24.1-2.amzn2023.0.3.aarch64 package-notes-srpm-macros-0.4-18.amzn2023.0.5.noarch pam-1.5.1-8.amzn2023.0.4.aarch64 patch-2.7.6-14.amzn2023.0.2.aarch64 pcre2-10.40-1.amzn2023.0.3.aarch64 pcre2-syntax-10.40-1.amzn2023.0.3.noarch perl-srpm-macros-1-39.amzn2023.0.2.noarch pkgconf-1.8.0-4.amzn2023.0.2.aarch64 pkgconf-m4-1.8.0-4.amzn2023.0.2.noarch pkgconf-pkg-config-1.8.0-4.amzn2023.0.2.aarch64 popt-1.18-6.amzn2023.0.2.aarch64 publicsuffix-list-dafsa-20240212-61.amzn2023.noarch python-srpm-macros-3.9-41.amzn2023.0.6.noarch readline-8.1-2.amzn2023.0.2.aarch64 rpm-4.16.1.3-29.amzn2023.0.6.aarch64 rpm-build-4.16.1.3-29.amzn2023.0.6.aarch64 rpm-build-libs-4.16.1.3-29.amzn2023.0.6.aarch64 rpm-libs-4.16.1.3-29.amzn2023.0.6.aarch64 rust-srpm-macros-21-42.amzn2023.0.2.noarch sed-4.8-7.amzn2023.0.2.aarch64 setup-2.13.7-3.amzn2023.0.2.noarch shadow-utils-4.9-12.amzn2023.0.4.aarch64 sqlite-libs-3.40.0-1.amzn2023.0.4.aarch64 system-release-2023.6.20250203-0.amzn2023.noarch systemd-libs-252.23-2.amzn2023.aarch64 tar-1.34-1.amzn2023.0.4.aarch64 unzip-6.0-57.amzn2023.0.2.aarch64 util-linux-2.37.4-1.amzn2023.0.4.aarch64 util-linux-core-2.37.4-1.amzn2023.0.4.aarch64 which-2.21-26.amzn2023.0.2.aarch64 xxhash-libs-0.8.0-3.amzn2023.0.2.aarch64 xz-5.2.5-9.amzn2023.0.2.aarch64 xz-libs-5.2.5-9.amzn2023.0.2.aarch64 zip-3.0-28.amzn2023.0.2.aarch64 zlib-1.2.11-33.amzn2023.0.5.aarch64 zstd-1.5.5-1.amzn2023.0.1.aarch64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1702339200 Wrote: /builddir/build/SRPMS/glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/amazonlinux-2023-aarch64-1738866254.228851/root/var/log/dnf.log /var/lib/mock/amazonlinux-2023-aarch64-1738866254.228851/root/var/log/dnf.librepo.log /var/lib/mock/amazonlinux-2023-aarch64-1738866254.228851/root/var/log/dnf.rpm.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-zjgryr_i/glimpse/glimpse.spec) Config(child) 0 minutes 20 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-1.amzn2023.src.rpm) Config(amazonlinux-2023-aarch64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/amazonlinux-2023-aarch64-bootstrap-1738866254.228851/root. INFO: reusing tmpfs at /var/lib/mock/amazonlinux-2023-aarch64-bootstrap-1738866254.228851/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/amazonlinux-2023-aarch64-1738866254.228851/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.16.1.3-29.amzn2023.0.6.aarch64 python3-dnf-4.14.0-1.amzn2023.0.5.noarch python3-dnf-plugins-core-4.3.0-13.amzn2023.0.5.noarch yum-4.14.0-1.amzn2023.0.5.noarch Finish: chroot init Start: build phase for glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm Start: build setup for glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1702339200 Wrote: /builddir/build/SRPMS/glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 75 kB/s | 1.5 kB 00:00 Amazon Linux 2023 repository - aarch64 11 kB/s | 3.6 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: autoconf noarch 2.69-36.amzn2023.0.3 amazonlinux 666 k autoconf-archive noarch 2019.01.06-7.amzn2023.0.2 amazonlinux 589 k automake noarch 1.16.5-9.amzn2023.0.3 amazonlinux 677 k flex aarch64 2.6.4-7.amzn2023.0.2 amazonlinux 300 k gcc aarch64 11.4.1-2.amzn2023.0.2 amazonlinux 30 M libfl-static aarch64 2.6.4-7.amzn2023.0.2 amazonlinux 12 k make aarch64 1:4.3-5.amzn2023.0.2 amazonlinux 530 k Installing dependencies: annobin-docs noarch 10.93-1.amzn2023.0.1 amazonlinux 92 k annobin-plugin-gcc aarch64 10.93-1.amzn2023.0.1 amazonlinux 886 k cpp aarch64 11.4.1-2.amzn2023.0.2 amazonlinux 9.8 M emacs-filesystem noarch 1:28.2-3.amzn2023.0.8 amazonlinux 10 k gc aarch64 8.0.4-5.amzn2023.0.2 amazonlinux 102 k glibc-devel aarch64 2.34-117.amzn2023.0.1 amazonlinux 444 k groff-base aarch64 1.22.4-7.amzn2023.0.2 amazonlinux 1.0 M guile22 aarch64 2.2.7-2.amzn2023.0.3 amazonlinux 6.4 M kernel-headers aarch64 6.1.127-135.201.amzn2023 amazonlinux 1.4 M libasan aarch64 11.4.1-2.amzn2023.0.2 amazonlinux 401 k libatomic aarch64 11.4.1-2.amzn2023.0.2 amazonlinux 35 k libmpc aarch64 1.2.1-2.amzn2023.0.2 amazonlinux 63 k libtool-ltdl aarch64 2.4.7-1.amzn2023.0.3 amazonlinux 38 k libubsan aarch64 11.4.1-2.amzn2023.0.2 amazonlinux 183 k libxcrypt-devel aarch64 4.4.33-7.amzn2023 amazonlinux 32 k m4 aarch64 1.4.19-2.amzn2023.0.2 amazonlinux 292 k ncurses aarch64 6.2-4.20200222.amzn2023.0.6 amazonlinux 395 k perl-B aarch64 1.80-477.amzn2023.0.6 amazonlinux 180 k perl-Carp noarch 1.50-458.amzn2023.0.2 amazonlinux 29 k perl-Class-Struct noarch 0.66-477.amzn2023.0.6 amazonlinux 22 k perl-Data-Dumper aarch64 2.174-460.amzn2023.0.2 amazonlinux 55 k perl-DynaLoader aarch64 1.47-477.amzn2023.0.6 amazonlinux 26 k perl-Encode aarch64 4:3.15-462.amzn2023.0.2 amazonlinux 1.7 M perl-Errno aarch64 1.30-477.amzn2023.0.6 amazonlinux 15 k perl-Exporter noarch 5.74-459.amzn2023.0.2 amazonlinux 31 k perl-Fcntl aarch64 1.13-477.amzn2023.0.6 amazonlinux 21 k perl-File-Basename noarch 2.85-477.amzn2023.0.6 amazonlinux 18 k perl-File-Compare noarch 1.100.600-477.amzn2023.0.6 amazonlinux 14 k perl-File-Copy noarch 2.34-477.amzn2023.0.6 amazonlinux 20 k perl-File-Find noarch 1.37-477.amzn2023.0.6 amazonlinux 26 k perl-File-Path noarch 2.18-2.amzn2023.0.2 amazonlinux 36 k perl-File-Temp noarch 1:0.231.100-2.amzn2023.0.2 amazonlinux 60 k perl-File-stat noarch 1.09-477.amzn2023.0.6 amazonlinux 17 k perl-Getopt-Long noarch 1:2.52-2.amzn2023.0.2 amazonlinux 60 k perl-Getopt-Std noarch 1.12-477.amzn2023.0.6 amazonlinux 16 k perl-HTTP-Tiny noarch 0.078-1.amzn2023.0.3 amazonlinux 56 k perl-IO aarch64 1.43-477.amzn2023.0.6 amazonlinux 87 k perl-IPC-Open3 noarch 1.21-477.amzn2023.0.6 amazonlinux 23 k perl-MIME-Base64 aarch64 3.16-2.amzn2023.0.2 amazonlinux 31 k perl-POSIX aarch64 1.94-477.amzn2023.0.6 amazonlinux 97 k perl-PathTools aarch64 3.78-459.amzn2023.0.2 amazonlinux 86 k perl-Pod-Escapes noarch 1:1.07-458.amzn2023.0.2 amazonlinux 20 k perl-Pod-Perldoc noarch 3.28.01-459.amzn2023.0.3 amazonlinux 84 k perl-Pod-Simple noarch 1:3.42-2.amzn2023.0.2 amazonlinux 215 k perl-Pod-Usage noarch 4:2.01-2.amzn2023.0.2 amazonlinux 41 k perl-Scalar-List-Utils aarch64 4:1.56-459.amzn2023.0.2 amazonlinux 71 k perl-SelectSaver noarch 1.02-477.amzn2023.0.6 amazonlinux 12 k perl-Socket aarch64 4:2.032-1.amzn2023.0.2 amazonlinux 55 k perl-Storable aarch64 1:3.21-458.amzn2023.0.2 amazonlinux 94 k perl-Symbol noarch 1.08-477.amzn2023.0.6 amazonlinux 15 k perl-Term-ANSIColor noarch 5.01-459.amzn2023.0.2 amazonlinux 48 k perl-Term-Cap noarch 1.17-458.amzn2023.0.2 amazonlinux 22 k perl-Text-ParseWords noarch 3.30-458.amzn2023.0.2 amazonlinux 17 k perl-Text-Tabs+Wrap noarch 2021.0726-1.amzn2023.0.1 amazonlinux 22 k perl-Thread-Queue noarch 3.14-458.amzn2023.0.2 amazonlinux 22 k perl-Time-Local noarch 2:1.300-5.amzn2023.0.2 amazonlinux 34 k perl-constant noarch 1.33-459.amzn2023.0.2 amazonlinux 23 k perl-if noarch 0.60.800-477.amzn2023.0.6 amazonlinux 14 k perl-interpreter aarch64 4:5.32.1-477.amzn2023.0.6 amazonlinux 71 k perl-libs aarch64 4:5.32.1-477.amzn2023.0.6 amazonlinux 2.0 M perl-mro aarch64 1.23-477.amzn2023.0.6 amazonlinux 28 k perl-overload noarch 1.31-477.amzn2023.0.6 amazonlinux 46 k perl-overloading noarch 0.02-477.amzn2023.0.6 amazonlinux 13 k perl-parent noarch 1:0.238-458.amzn2023.0.2 amazonlinux 14 k perl-podlators noarch 1:4.14-458.amzn2023.0.2 amazonlinux 112 k perl-subs noarch 1.03-477.amzn2023.0.6 amazonlinux 12 k perl-threads aarch64 1:2.25-458.amzn2023.0.3 amazonlinux 57 k perl-threads-shared aarch64 1.61-458.amzn2023.0.2 amazonlinux 44 k perl-vars noarch 1.05-477.amzn2023.0.6 amazonlinux 13 k Transaction Summary ================================================================================ Install 76 Packages Total download size: 60 M Installed size: 202 M Downloading Packages: (1/76): annobin-docs-10.93-1.amzn2023.0.1.noarc 4.0 MB/s | 92 kB 00:00 (2/76): annobin-plugin-gcc-10.93-1.amzn2023.0.1 30 MB/s | 886 kB 00:00 (3/76): autoconf-2.69-36.amzn2023.0.3.noarch.rp 21 MB/s | 666 kB 00:00 (4/76): autoconf-archive-2019.01.06-7.amzn2023. 55 MB/s | 589 kB 00:00 (5/76): automake-1.16.5-9.amzn2023.0.3.noarch.r 89 MB/s | 677 kB 00:00 (6/76): emacs-filesystem-28.2-3.amzn2023.0.8.no 1.5 MB/s | 10 kB 00:00 (7/76): gc-8.0.4-5.amzn2023.0.2.aarch64.rpm 17 MB/s | 102 kB 00:00 (8/76): flex-2.6.4-7.amzn2023.0.2.aarch64.rpm 28 MB/s | 300 kB 00:00 (9/76): glibc-devel-2.34-117.amzn2023.0.1.aarch 57 MB/s | 444 kB 00:00 (10/76): cpp-11.4.1-2.amzn2023.0.2.aarch64.rpm 192 MB/s | 9.8 MB 00:00 (11/76): groff-base-1.22.4-7.amzn2023.0.2.aarch 32 MB/s | 1.0 MB 00:00 (12/76): kernel-headers-6.1.127-135.201.amzn202 103 MB/s | 1.4 MB 00:00 (13/76): guile22-2.2.7-2.amzn2023.0.3.aarch64.r 157 MB/s | 6.4 MB 00:00 (14/76): libasan-11.4.1-2.amzn2023.0.2.aarch64. 19 MB/s | 401 kB 00:00 (15/76): libatomic-11.4.1-2.amzn2023.0.2.aarch6 5.9 MB/s | 35 kB 00:00 (16/76): libfl-static-2.6.4-7.amzn2023.0.2.aarc 1.8 MB/s | 12 kB 00:00 (17/76): gcc-11.4.1-2.amzn2023.0.2.aarch64.rpm 239 MB/s | 30 MB 00:00 (18/76): libmpc-1.2.1-2.amzn2023.0.2.aarch64.rp 1.9 MB/s | 63 kB 00:00 (19/76): libtool-ltdl-2.4.7-1.amzn2023.0.3.aarc 1.2 MB/s | 38 kB 00:00 (20/76): libxcrypt-devel-4.4.33-7.amzn2023.aarc 6.5 MB/s | 32 kB 00:00 (21/76): libubsan-11.4.1-2.amzn2023.0.2.aarch64 29 MB/s | 183 kB 00:00 (22/76): m4-1.4.19-2.amzn2023.0.2.aarch64.rpm 39 MB/s | 292 kB 00:00 (23/76): ncurses-6.2-4.20200222.amzn2023.0.6.aa 54 MB/s | 395 kB 00:00 (24/76): make-4.3-5.amzn2023.0.2.aarch64.rpm 55 MB/s | 530 kB 00:00 (25/76): perl-B-1.80-477.amzn2023.0.6.aarch64.r 22 MB/s | 180 kB 00:00 (26/76): perl-Carp-1.50-458.amzn2023.0.2.noarch 6.0 MB/s | 29 kB 00:00 (27/76): perl-Class-Struct-0.66-477.amzn2023.0. 4.7 MB/s | 22 kB 00:00 (28/76): perl-Data-Dumper-2.174-460.amzn2023.0. 12 MB/s | 55 kB 00:00 (29/76): perl-DynaLoader-1.47-477.amzn2023.0.6. 5.8 MB/s | 26 kB 00:00 (30/76): perl-Errno-1.30-477.amzn2023.0.6.aarch 2.0 MB/s | 15 kB 00:00 (31/76): perl-Exporter-5.74-459.amzn2023.0.2.no 4.2 MB/s | 31 kB 00:00 (32/76): perl-Encode-3.15-462.amzn2023.0.2.aarc 119 MB/s | 1.7 MB 00:00 (33/76): perl-Fcntl-1.13-477.amzn2023.0.6.aarch 3.1 MB/s | 21 kB 00:00 (34/76): perl-File-Basename-2.85-477.amzn2023.0 2.6 MB/s | 18 kB 00:00 (35/76): perl-File-Copy-2.34-477.amzn2023.0.6.n 5.8 MB/s | 20 kB 00:00 (36/76): perl-File-Compare-1.100.600-477.amzn20 2.2 MB/s | 14 kB 00:00 (37/76): perl-File-Find-1.37-477.amzn2023.0.6.n 6.0 MB/s | 26 kB 00:00 (38/76): perl-File-Path-2.18-2.amzn2023.0.2.noa 8.3 MB/s | 36 kB 00:00 (39/76): perl-File-stat-1.09-477.amzn2023.0.6.n 4.0 MB/s | 17 kB 00:00 (40/76): perl-File-Temp-0.231.100-2.amzn2023.0. 7.1 MB/s | 60 kB 00:00 (41/76): perl-Getopt-Long-2.52-2.amzn2023.0.2.n 10 MB/s | 60 kB 00:00 (42/76): perl-Getopt-Std-1.12-477.amzn2023.0.6. 4.0 MB/s | 16 kB 00:00 (43/76): perl-HTTP-Tiny-0.078-1.amzn2023.0.3.no 16 MB/s | 56 kB 00:00 (44/76): perl-IO-1.43-477.amzn2023.0.6.aarch64. 20 MB/s | 87 kB 00:00 (45/76): perl-IPC-Open3-1.21-477.amzn2023.0.6.n 5.9 MB/s | 23 kB 00:00 (46/76): perl-MIME-Base64-3.16-2.amzn2023.0.2.a 6.3 MB/s | 31 kB 00:00 (47/76): perl-PathTools-3.78-459.amzn2023.0.2.a 23 MB/s | 86 kB 00:00 (48/76): perl-POSIX-1.94-477.amzn2023.0.6.aarch 15 MB/s | 97 kB 00:00 (49/76): perl-Pod-Escapes-1.07-458.amzn2023.0.2 5.5 MB/s | 20 kB 00:00 (50/76): perl-Pod-Perldoc-3.28.01-459.amzn2023. 20 MB/s | 84 kB 00:00 (51/76): perl-Pod-Simple-3.42-2.amzn2023.0.2.no 36 MB/s | 215 kB 00:00 (52/76): perl-Pod-Usage-2.01-2.amzn2023.0.2.noa 7.9 MB/s | 41 kB 00:00 (53/76): perl-Scalar-List-Utils-1.56-459.amzn20 12 MB/s | 71 kB 00:00 (54/76): perl-SelectSaver-1.02-477.amzn2023.0.6 1.5 MB/s | 12 kB 00:00 (55/76): perl-Socket-2.032-1.amzn2023.0.2.aarch 6.9 MB/s | 55 kB 00:00 (56/76): perl-Storable-3.21-458.amzn2023.0.2.aa 16 MB/s | 94 kB 00:00 (57/76): perl-Symbol-1.08-477.amzn2023.0.6.noar 4.3 MB/s | 15 kB 00:00 (58/76): perl-Term-ANSIColor-5.01-459.amzn2023. 13 MB/s | 48 kB 00:00 (59/76): perl-Text-ParseWords-3.30-458.amzn2023 4.4 MB/s | 17 kB 00:00 (60/76): perl-Text-Tabs+Wrap-2021.0726-1.amzn20 5.4 MB/s | 22 kB 00:00 (61/76): perl-Term-Cap-1.17-458.amzn2023.0.2.no 3.1 MB/s | 22 kB 00:00 (62/76): perl-Thread-Queue-3.14-458.amzn2023.0. 5.5 MB/s | 22 kB 00:00 (63/76): perl-constant-1.33-459.amzn2023.0.2.no 6.5 MB/s | 23 kB 00:00 (64/76): perl-Time-Local-1.300-5.amzn2023.0.2.n 6.9 MB/s | 34 kB 00:00 (65/76): perl-interpreter-5.32.1-477.amzn2023.0 19 MB/s | 71 kB 00:00 (66/76): perl-if-0.60.800-477.amzn2023.0.6.noar 2.2 MB/s | 14 kB 00:00 (67/76): perl-mro-1.23-477.amzn2023.0.6.aarch64 5.2 MB/s | 28 kB 00:00 (68/76): perl-overload-1.31-477.amzn2023.0.6.no 9.9 MB/s | 46 kB 00:00 (69/76): perl-libs-5.32.1-477.amzn2023.0.6.aarc 145 MB/s | 2.0 MB 00:00 (70/76): perl-parent-0.238-458.amzn2023.0.2.noa 2.7 MB/s | 14 kB 00:00 (71/76): perl-overloading-0.02-477.amzn2023.0.6 2.0 MB/s | 13 kB 00:00 (72/76): perl-subs-1.03-477.amzn2023.0.6.noarch 3.4 MB/s | 12 kB 00:00 (73/76): perl-podlators-4.14-458.amzn2023.0.2.n 22 MB/s | 112 kB 00:00 (74/76): perl-threads-2.25-458.amzn2023.0.3.aar 13 MB/s | 57 kB 00:00 (75/76): perl-vars-1.05-477.amzn2023.0.6.noarch 4.0 MB/s | 13 kB 00:00 (76/76): perl-threads-shared-1.61-458.amzn2023. 8.3 MB/s | 44 kB 00:00 -------------------------------------------------------------------------------- Total 103 MB/s | 60 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : m4-1.4.19-2.amzn2023.0.2.aarch64 1/76 Installing : libmpc-1.2.1-2.amzn2023.0.2.aarch64 2/76 Installing : cpp-11.4.1-2.amzn2023.0.2.aarch64 3/76 Installing : ncurses-6.2-4.20200222.amzn2023.0.6.aarch64 4/76 Installing : libubsan-11.4.1-2.amzn2023.0.2.aarch64 5/76 Installing : libtool-ltdl-2.4.7-1.amzn2023.0.3.aarch64 6/76 Installing : libatomic-11.4.1-2.amzn2023.0.2.aarch64 7/76 Installing : libasan-11.4.1-2.amzn2023.0.2.aarch64 8/76 Installing : kernel-headers-6.1.127-135.201.amzn2023.aarch64 9/76 Installing : libxcrypt-devel-4.4.33-7.amzn2023.aarch64 10/76 Installing : glibc-devel-2.34-117.amzn2023.0.1.aarch64 11/76 Running scriptlet: groff-base-1.22.4-7.amzn2023.0.2.aarch64 12/76 Installing : groff-base-1.22.4-7.amzn2023.0.2.aarch64 12/76 Running scriptlet: groff-base-1.22.4-7.amzn2023.0.2.aarch64 12/76 Installing : perl-Text-Tabs+Wrap-2021.0726-1.amzn2023.0.1.noarc 13/76 Installing : perl-if-0.60.800-477.amzn2023.0.6.noarch 14/76 Installing : perl-Time-Local-2:1.300-5.amzn2023.0.2.noarch 15/76 Installing : perl-File-Path-2.18-2.amzn2023.0.2.noarch 16/76 Installing : perl-Pod-Escapes-1:1.07-458.amzn2023.0.2.noarch 17/76 Installing : perl-Class-Struct-0.66-477.amzn2023.0.6.noarch 18/76 Installing : perl-POSIX-1.94-477.amzn2023.0.6.aarch64 19/76 Installing : perl-Term-ANSIColor-5.01-459.amzn2023.0.2.noarch 20/76 Installing : perl-IPC-Open3-1.21-477.amzn2023.0.6.noarch 21/76 Installing : perl-HTTP-Tiny-0.078-1.amzn2023.0.3.noarch 22/76 Installing : perl-subs-1.03-477.amzn2023.0.6.noarch 23/76 Installing : perl-File-Temp-1:0.231.100-2.amzn2023.0.2.noarch 24/76 Installing : perl-Term-Cap-1.17-458.amzn2023.0.2.noarch 25/76 Installing : perl-Pod-Simple-1:3.42-2.amzn2023.0.2.noarch 26/76 Installing : perl-Socket-4:2.032-1.amzn2023.0.2.aarch64 27/76 Installing : perl-SelectSaver-1.02-477.amzn2023.0.6.noarch 28/76 Installing : perl-Symbol-1.08-477.amzn2023.0.6.noarch 29/76 Installing : perl-File-stat-1.09-477.amzn2023.0.6.noarch 30/76 Installing : perl-podlators-1:4.14-458.amzn2023.0.2.noarch 31/76 Installing : perl-Pod-Perldoc-3.28.01-459.amzn2023.0.3.noarch 32/76 Installing : perl-Fcntl-1.13-477.amzn2023.0.6.aarch64 33/76 Installing : perl-Text-ParseWords-3.30-458.amzn2023.0.2.noarch 34/76 Installing : perl-mro-1.23-477.amzn2023.0.6.aarch64 35/76 Installing : perl-IO-1.43-477.amzn2023.0.6.aarch64 36/76 Installing : perl-overloading-0.02-477.amzn2023.0.6.noarch 37/76 Installing : perl-Pod-Usage-4:2.01-2.amzn2023.0.2.noarch 38/76 Installing : perl-Errno-1.30-477.amzn2023.0.6.aarch64 39/76 Installing : perl-File-Basename-2.85-477.amzn2023.0.6.noarch 40/76 Installing : perl-Getopt-Std-1.12-477.amzn2023.0.6.noarch 41/76 Installing : perl-MIME-Base64-3.16-2.amzn2023.0.2.aarch64 42/76 Installing : perl-Scalar-List-Utils-4:1.56-459.amzn2023.0.2.aar 43/76 Installing : perl-constant-1.33-459.amzn2023.0.2.noarch 44/76 Installing : perl-Storable-1:3.21-458.amzn2023.0.2.aarch64 45/76 Installing : perl-overload-1.31-477.amzn2023.0.6.noarch 46/76 Installing : perl-parent-1:0.238-458.amzn2023.0.2.noarch 47/76 Installing : perl-vars-1.05-477.amzn2023.0.6.noarch 48/76 Installing : perl-Getopt-Long-1:2.52-2.amzn2023.0.2.noarch 49/76 Installing : perl-DynaLoader-1.47-477.amzn2023.0.6.aarch64 50/76 Installing : perl-Carp-1.50-458.amzn2023.0.2.noarch 51/76 Installing : perl-Exporter-5.74-459.amzn2023.0.2.noarch 52/76 Installing : perl-PathTools-3.78-459.amzn2023.0.2.aarch64 53/76 Installing : perl-Encode-4:3.15-462.amzn2023.0.2.aarch64 54/76 Installing : perl-libs-4:5.32.1-477.amzn2023.0.6.aarch64 55/76 Installing : perl-interpreter-4:5.32.1-477.amzn2023.0.6.aarch64 56/76 Installing : perl-threads-1:2.25-458.amzn2023.0.3.aarch64 57/76 Installing : perl-threads-shared-1.61-458.amzn2023.0.2.aarch64 58/76 Installing : perl-Thread-Queue-3.14-458.amzn2023.0.2.noarch 59/76 Installing : perl-Data-Dumper-2.174-460.amzn2023.0.2.aarch64 60/76 Installing : perl-B-1.80-477.amzn2023.0.6.aarch64 61/76 Installing : perl-File-Compare-1.100.600-477.amzn2023.0.6.noarc 62/76 Installing : perl-File-Copy-2.34-477.amzn2023.0.6.noarch 63/76 Installing : perl-File-Find-1.37-477.amzn2023.0.6.noarch 64/76 Installing : gc-8.0.4-5.amzn2023.0.2.aarch64 65/76 Installing : guile22-2.2.7-2.amzn2023.0.3.aarch64 66/76 Installing : make-1:4.3-5.amzn2023.0.2.aarch64 67/76 Installing : gcc-11.4.1-2.amzn2023.0.2.aarch64 68/76 Running scriptlet: gcc-11.4.1-2.amzn2023.0.2.aarch64 68/76 Installing : emacs-filesystem-1:28.2-3.amzn2023.0.8.noarch 69/76 Installing : autoconf-2.69-36.amzn2023.0.3.noarch 70/76 Installing : annobin-docs-10.93-1.amzn2023.0.1.noarch 71/76 Installing : annobin-plugin-gcc-10.93-1.amzn2023.0.1.aarch64 72/76 Running scriptlet: annobin-plugin-gcc-10.93-1.amzn2023.0.1.aarch64 72/76 Installing : autoconf-archive-2019.01.06-7.amzn2023.0.2.noarch 73/76 Installing : automake-1.16.5-9.amzn2023.0.3.noarch 74/76 Installing : flex-2.6.4-7.amzn2023.0.2.aarch64 75/76 Installing : libfl-static-2.6.4-7.amzn2023.0.2.aarch64 76/76 Running scriptlet: libfl-static-2.6.4-7.amzn2023.0.2.aarch64 76/76 Verifying : annobin-docs-10.93-1.amzn2023.0.1.noarch 1/76 Verifying : annobin-plugin-gcc-10.93-1.amzn2023.0.1.aarch64 2/76 Verifying : autoconf-2.69-36.amzn2023.0.3.noarch 3/76 Verifying : autoconf-archive-2019.01.06-7.amzn2023.0.2.noarch 4/76 Verifying : automake-1.16.5-9.amzn2023.0.3.noarch 5/76 Verifying : cpp-11.4.1-2.amzn2023.0.2.aarch64 6/76 Verifying : emacs-filesystem-1:28.2-3.amzn2023.0.8.noarch 7/76 Verifying : flex-2.6.4-7.amzn2023.0.2.aarch64 8/76 Verifying : gc-8.0.4-5.amzn2023.0.2.aarch64 9/76 Verifying : gcc-11.4.1-2.amzn2023.0.2.aarch64 10/76 Verifying : glibc-devel-2.34-117.amzn2023.0.1.aarch64 11/76 Verifying : groff-base-1.22.4-7.amzn2023.0.2.aarch64 12/76 Verifying : guile22-2.2.7-2.amzn2023.0.3.aarch64 13/76 Verifying : kernel-headers-6.1.127-135.201.amzn2023.aarch64 14/76 Verifying : libasan-11.4.1-2.amzn2023.0.2.aarch64 15/76 Verifying : libatomic-11.4.1-2.amzn2023.0.2.aarch64 16/76 Verifying : libfl-static-2.6.4-7.amzn2023.0.2.aarch64 17/76 Verifying : libmpc-1.2.1-2.amzn2023.0.2.aarch64 18/76 Verifying : libtool-ltdl-2.4.7-1.amzn2023.0.3.aarch64 19/76 Verifying : libubsan-11.4.1-2.amzn2023.0.2.aarch64 20/76 Verifying : libxcrypt-devel-4.4.33-7.amzn2023.aarch64 21/76 Verifying : m4-1.4.19-2.amzn2023.0.2.aarch64 22/76 Verifying : make-1:4.3-5.amzn2023.0.2.aarch64 23/76 Verifying : ncurses-6.2-4.20200222.amzn2023.0.6.aarch64 24/76 Verifying : perl-B-1.80-477.amzn2023.0.6.aarch64 25/76 Verifying : perl-Carp-1.50-458.amzn2023.0.2.noarch 26/76 Verifying : perl-Class-Struct-0.66-477.amzn2023.0.6.noarch 27/76 Verifying : perl-Data-Dumper-2.174-460.amzn2023.0.2.aarch64 28/76 Verifying : perl-DynaLoader-1.47-477.amzn2023.0.6.aarch64 29/76 Verifying : perl-Encode-4:3.15-462.amzn2023.0.2.aarch64 30/76 Verifying : perl-Errno-1.30-477.amzn2023.0.6.aarch64 31/76 Verifying : perl-Exporter-5.74-459.amzn2023.0.2.noarch 32/76 Verifying : perl-Fcntl-1.13-477.amzn2023.0.6.aarch64 33/76 Verifying : perl-File-Basename-2.85-477.amzn2023.0.6.noarch 34/76 Verifying : perl-File-Compare-1.100.600-477.amzn2023.0.6.noarc 35/76 Verifying : perl-File-Copy-2.34-477.amzn2023.0.6.noarch 36/76 Verifying : perl-File-Find-1.37-477.amzn2023.0.6.noarch 37/76 Verifying : perl-File-Path-2.18-2.amzn2023.0.2.noarch 38/76 Verifying : perl-File-Temp-1:0.231.100-2.amzn2023.0.2.noarch 39/76 Verifying : perl-File-stat-1.09-477.amzn2023.0.6.noarch 40/76 Verifying : perl-Getopt-Long-1:2.52-2.amzn2023.0.2.noarch 41/76 Verifying : perl-Getopt-Std-1.12-477.amzn2023.0.6.noarch 42/76 Verifying : perl-HTTP-Tiny-0.078-1.amzn2023.0.3.noarch 43/76 Verifying : perl-IO-1.43-477.amzn2023.0.6.aarch64 44/76 Verifying : perl-IPC-Open3-1.21-477.amzn2023.0.6.noarch 45/76 Verifying : perl-MIME-Base64-3.16-2.amzn2023.0.2.aarch64 46/76 Verifying : perl-POSIX-1.94-477.amzn2023.0.6.aarch64 47/76 Verifying : perl-PathTools-3.78-459.amzn2023.0.2.aarch64 48/76 Verifying : perl-Pod-Escapes-1:1.07-458.amzn2023.0.2.noarch 49/76 Verifying : perl-Pod-Perldoc-3.28.01-459.amzn2023.0.3.noarch 50/76 Verifying : perl-Pod-Simple-1:3.42-2.amzn2023.0.2.noarch 51/76 Verifying : perl-Pod-Usage-4:2.01-2.amzn2023.0.2.noarch 52/76 Verifying : perl-Scalar-List-Utils-4:1.56-459.amzn2023.0.2.aar 53/76 Verifying : perl-SelectSaver-1.02-477.amzn2023.0.6.noarch 54/76 Verifying : perl-Socket-4:2.032-1.amzn2023.0.2.aarch64 55/76 Verifying : perl-Storable-1:3.21-458.amzn2023.0.2.aarch64 56/76 Verifying : perl-Symbol-1.08-477.amzn2023.0.6.noarch 57/76 Verifying : perl-Term-ANSIColor-5.01-459.amzn2023.0.2.noarch 58/76 Verifying : perl-Term-Cap-1.17-458.amzn2023.0.2.noarch 59/76 Verifying : perl-Text-ParseWords-3.30-458.amzn2023.0.2.noarch 60/76 Verifying : perl-Text-Tabs+Wrap-2021.0726-1.amzn2023.0.1.noarc 61/76 Verifying : perl-Thread-Queue-3.14-458.amzn2023.0.2.noarch 62/76 Verifying : perl-Time-Local-2:1.300-5.amzn2023.0.2.noarch 63/76 Verifying : perl-constant-1.33-459.amzn2023.0.2.noarch 64/76 Verifying : perl-if-0.60.800-477.amzn2023.0.6.noarch 65/76 Verifying : perl-interpreter-4:5.32.1-477.amzn2023.0.6.aarch64 66/76 Verifying : perl-libs-4:5.32.1-477.amzn2023.0.6.aarch64 67/76 Verifying : perl-mro-1.23-477.amzn2023.0.6.aarch64 68/76 Verifying : perl-overload-1.31-477.amzn2023.0.6.noarch 69/76 Verifying : perl-overloading-0.02-477.amzn2023.0.6.noarch 70/76 Verifying : perl-parent-1:0.238-458.amzn2023.0.2.noarch 71/76 Verifying : perl-podlators-1:4.14-458.amzn2023.0.2.noarch 72/76 Verifying : perl-subs-1.03-477.amzn2023.0.6.noarch 73/76 Verifying : perl-threads-1:2.25-458.amzn2023.0.3.aarch64 74/76 Verifying : perl-threads-shared-1.61-458.amzn2023.0.2.aarch64 75/76 Verifying : perl-vars-1.05-477.amzn2023.0.6.noarch 76/76 Installed: annobin-docs-10.93-1.amzn2023.0.1.noarch annobin-plugin-gcc-10.93-1.amzn2023.0.1.aarch64 autoconf-2.69-36.amzn2023.0.3.noarch autoconf-archive-2019.01.06-7.amzn2023.0.2.noarch automake-1.16.5-9.amzn2023.0.3.noarch cpp-11.4.1-2.amzn2023.0.2.aarch64 emacs-filesystem-1:28.2-3.amzn2023.0.8.noarch flex-2.6.4-7.amzn2023.0.2.aarch64 gc-8.0.4-5.amzn2023.0.2.aarch64 gcc-11.4.1-2.amzn2023.0.2.aarch64 glibc-devel-2.34-117.amzn2023.0.1.aarch64 groff-base-1.22.4-7.amzn2023.0.2.aarch64 guile22-2.2.7-2.amzn2023.0.3.aarch64 kernel-headers-6.1.127-135.201.amzn2023.aarch64 libasan-11.4.1-2.amzn2023.0.2.aarch64 libatomic-11.4.1-2.amzn2023.0.2.aarch64 libfl-static-2.6.4-7.amzn2023.0.2.aarch64 libmpc-1.2.1-2.amzn2023.0.2.aarch64 libtool-ltdl-2.4.7-1.amzn2023.0.3.aarch64 libubsan-11.4.1-2.amzn2023.0.2.aarch64 libxcrypt-devel-4.4.33-7.amzn2023.aarch64 m4-1.4.19-2.amzn2023.0.2.aarch64 make-1:4.3-5.amzn2023.0.2.aarch64 ncurses-6.2-4.20200222.amzn2023.0.6.aarch64 perl-B-1.80-477.amzn2023.0.6.aarch64 perl-Carp-1.50-458.amzn2023.0.2.noarch perl-Class-Struct-0.66-477.amzn2023.0.6.noarch perl-Data-Dumper-2.174-460.amzn2023.0.2.aarch64 perl-DynaLoader-1.47-477.amzn2023.0.6.aarch64 perl-Encode-4:3.15-462.amzn2023.0.2.aarch64 perl-Errno-1.30-477.amzn2023.0.6.aarch64 perl-Exporter-5.74-459.amzn2023.0.2.noarch perl-Fcntl-1.13-477.amzn2023.0.6.aarch64 perl-File-Basename-2.85-477.amzn2023.0.6.noarch perl-File-Compare-1.100.600-477.amzn2023.0.6.noarch perl-File-Copy-2.34-477.amzn2023.0.6.noarch perl-File-Find-1.37-477.amzn2023.0.6.noarch perl-File-Path-2.18-2.amzn2023.0.2.noarch perl-File-Temp-1:0.231.100-2.amzn2023.0.2.noarch perl-File-stat-1.09-477.amzn2023.0.6.noarch perl-Getopt-Long-1:2.52-2.amzn2023.0.2.noarch perl-Getopt-Std-1.12-477.amzn2023.0.6.noarch perl-HTTP-Tiny-0.078-1.amzn2023.0.3.noarch perl-IO-1.43-477.amzn2023.0.6.aarch64 perl-IPC-Open3-1.21-477.amzn2023.0.6.noarch perl-MIME-Base64-3.16-2.amzn2023.0.2.aarch64 perl-POSIX-1.94-477.amzn2023.0.6.aarch64 perl-PathTools-3.78-459.amzn2023.0.2.aarch64 perl-Pod-Escapes-1:1.07-458.amzn2023.0.2.noarch perl-Pod-Perldoc-3.28.01-459.amzn2023.0.3.noarch perl-Pod-Simple-1:3.42-2.amzn2023.0.2.noarch perl-Pod-Usage-4:2.01-2.amzn2023.0.2.noarch perl-Scalar-List-Utils-4:1.56-459.amzn2023.0.2.aarch64 perl-SelectSaver-1.02-477.amzn2023.0.6.noarch perl-Socket-4:2.032-1.amzn2023.0.2.aarch64 perl-Storable-1:3.21-458.amzn2023.0.2.aarch64 perl-Symbol-1.08-477.amzn2023.0.6.noarch perl-Term-ANSIColor-5.01-459.amzn2023.0.2.noarch perl-Term-Cap-1.17-458.amzn2023.0.2.noarch perl-Text-ParseWords-3.30-458.amzn2023.0.2.noarch perl-Text-Tabs+Wrap-2021.0726-1.amzn2023.0.1.noarch perl-Thread-Queue-3.14-458.amzn2023.0.2.noarch perl-Time-Local-2:1.300-5.amzn2023.0.2.noarch perl-constant-1.33-459.amzn2023.0.2.noarch perl-if-0.60.800-477.amzn2023.0.6.noarch perl-interpreter-4:5.32.1-477.amzn2023.0.6.aarch64 perl-libs-4:5.32.1-477.amzn2023.0.6.aarch64 perl-mro-1.23-477.amzn2023.0.6.aarch64 perl-overload-1.31-477.amzn2023.0.6.noarch perl-overloading-0.02-477.amzn2023.0.6.noarch perl-parent-1:0.238-458.amzn2023.0.2.noarch perl-podlators-1:4.14-458.amzn2023.0.2.noarch perl-subs-1.03-477.amzn2023.0.6.noarch perl-threads-1:2.25-458.amzn2023.0.3.aarch64 perl-threads-shared-1.61-458.amzn2023.0.2.aarch64 perl-vars-1.05-477.amzn2023.0.6.noarch Complete! Finish: build setup for glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm Start: rpmbuild glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1702339200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yXkhpd + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VYcyFI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh glimpse '4.12.6^git20161025.4945711-1.amzn2023' aarch64 + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + autoconf + CFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-02-06 18:24:43.283763669 +0000 +++ ./configure 2025-02-06 18:24:43.297764018 +0000 @@ -1747,7 +1747,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./glimpse/configure + diff -u ./glimpse/configure.backup ./glimpse/configure --- ./glimpse/configure.backup 2016-10-25 17:28:25.000000000 +0000 +++ ./glimpse/configure 2025-02-06 18:24:43.310764343 +0000 @@ -4138,7 +4138,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -4412,7 +4412,7 @@ #if defined (__stub_connect) || defined (__stub___connect) choke me #else -char (*f) () = connect; +__attribute__ ((used)) char (*f) () = connect; #endif #ifdef __cplusplus } @@ -4549,7 +4549,7 @@ #if defined (__stub_accept) || defined (__stub___accept) choke me #else -char (*f) () = accept; +__attribute__ ((used)) char (*f) () = accept; #endif #ifdef __cplusplus } @@ -4628,7 +4628,7 @@ #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname) choke me #else -char (*f) () = gethostbyname; +__attribute__ ((used)) char (*f) () = gethostbyname; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./glimpse/configure + diff -u ./glimpse/configure.backup ./glimpse/configure + mv ./glimpse/configure.backup ./glimpse/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./glimpse/configure + diff -u ./glimpse/configure.backup ./glimpse/configure + mv ./glimpse/configure.backup ./glimpse/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./glimpse/configure + diff -u ./glimpse/configure.backup ./glimpse/configure + mv ./glimpse/configure.backup ./glimpse/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./glimpse/configure + diff -u ./glimpse/configure.backup ./glimpse/configure + mv ./glimpse/configure.backup ./glimpse/configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-amazon-linux-gnu --host=aarch64-amazon-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-amazon-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for ar... /usr/bin/ar checking for aarch64-amazon-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... 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 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' 'OTHERLIBS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o hash.o hash.c In file included from hash.c:8: hash.c: In function 'insert_hash': defs.h:166:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 166 | else (s) = ((next_free_str >= AVG_WORD_LEN * DEF_MAX_WORDS) ? (NULL) : (&(free_str[next_free_str]))); next_free_str += (len);\ | ^~~~ hash.c:93:17: note: in expansion of macro 'stralloc' 93 | stralloc(e->word, len + 2); | ^~~~~~~~ defs.h:166:119: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 166 | else (s) = ((next_free_str >= AVG_WORD_LEN * DEF_MAX_WORDS) ? (NULL) : (&(free_str[next_free_str]))); next_free_str += (len);\ | ^~~~~~~~~~~~~ hash.c:93:17: note: in expansion of macro 'stralloc' 93 | stralloc(e->word, len + 2); | ^~~~~~~~ hash.c: At top level: hash.c:168:1: warning: return type defaults to 'int' [-Wimplicit-int] 168 | thash4k(word, len) | ^~~~~~~ In file included from hash.c:8: hash.c: In function 'insert_small_hash': defs.h:166:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 166 | else (s) = ((next_free_str >= AVG_WORD_LEN * DEF_MAX_WORDS) ? (NULL) : (&(free_str[next_free_str]))); next_free_str += (len);\ | ^~~~ hash.c:234:17: note: in expansion of macro 'stralloc' 234 | stralloc(e->word, len + 2); | ^~~~~~~~ defs.h:166:119: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 166 | else (s) = ((next_free_str >= AVG_WORD_LEN * DEF_MAX_WORDS) ? (NULL) : (&(free_str[next_free_str]))); next_free_str += (len);\ | ^~~~~~~~~~~~~ hash.c:234:17: note: in expansion of macro 'stralloc' 234 | stralloc(e->word, len + 2); | ^~~~~~~~ hash.c: At top level: hash.c:522:1: warning: return type defaults to 'int' [-Wimplicit-int] 522 | pad_hash_file(filename, FILEBLOCKSIZE) | ^~~~~~~~~~~~~ hash.c: In function 'pad_hash_file': hash.c:636:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 636 | system((const char *)buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o string.o string.c string.c: In function 'dump_string': string.c:28:31: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 28 | if ((stringfp = fopen(string_file, "w")) == NULL) { | ^~~~~~~~~~~ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ string.c:32:30: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 32 | if ((indexfp = fopen(index_file, "r")) == NULL) { | ^~~~~~~~~~ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ string.c: At top level: string.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] 213 | pad_string_file(filename, FILEBLOCKSIZE) | ^~~~~~~~~~~~~~~ string.c: In function 'pad_string_file': string.c:225:27: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 225 | if ((infp = fopen(filename, "r")) == NULL) { | ^~~~~~~~ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ string.c:229:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 229 | sprintf(buf, "%s.index", filename); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from string.c:8: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ string.c:230:30: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 230 | if ((indexfp = fopen(buf, "w")) == NULL) { | ^~~ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ string.c:235:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 235 | sprintf(buf, "%s.%d", filename, pid); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from string.c:8: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ string.c:236:28: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 236 | if ((outfp = fopen(buf, "w")) == NULL) { | ^~~ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ string.c:249:34: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 249 | if ((char *)buf != fgets(buf, MAX_NAME_LEN, infp)) goto end_of_input; | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ string.c:251:15: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 251 | fputs(buf, outfp); | ^~~ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ string.c:256:21: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 256 | while(fgets(buf, MAX_NAME_LEN, infp) == (char *)buf) { | ^~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ string.c:261:31: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 261 | fputs(buf, outfp); | ^~~ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ string.c:265:28: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 265 | else fputs(buf, outfp); | ^~~ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from string.c:8: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ string.c:277:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 277 | sprintf(buf, "exec %s %s.%d %s\n", SYSTEM_MV, tescapesinglequote(filename, es1), pid, tescapesinglequote(filename, es2)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from string.c:8: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ string.c:278:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 278 | system(buf); | ^~~ | | | unsigned char * In file included from ../index/glimpse.h:9, from defs.h:13, from string.c:8: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ string.c:278:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 278 | system(buf); | ^~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o misc.o misc.c misc.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] 34 | set_usemalloc() | ^~~~~~~~~~~~~ misc.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] 39 | unset_usemalloc() | ^~~~~~~~~~~~~~~ misc.c: In function 'mygetc': misc.c:45:1: warning: type of 'maxlen' defaults to 'int' [-Wimplicit-int] 45 | mygetc(fp, buf, maxlen, lenp) | ^~~~~~ misc.c: At top level: misc.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] 61 | myfpcopy(fp, src) | ^~~~~~~~ misc.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] 75 | mystrcpy(dest, src) | ^~~~~~~~ misc.c: In function 'mystrcpy': misc.c:80:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 80 | while(*dest = *src) { | ^ misc.c: At top level: misc.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] 203 | build_freq(freq_words_table, freq_words_strings, freq_words_lens, freq_file, flags) | ^~~~~~~~~~ misc.c: In function 'build_freq': misc.c:203:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] misc.c: At top level: misc.c:274:1: warning: return type defaults to 'int' [-Wimplicit-int] 274 | initialize_common(freq_file, flags) | ^~~~~~~~~~~~~~~~~ misc.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] 291 | uninitialize_common() | ^~~~~~~~~~~~~~~~~~~ misc.c: In function 'uninitialize_common': misc.c:294:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 294 | return; | ^~~~~~ misc.c:291:1: note: declared here 291 | uninitialize_common() | ^~~~~~~~~~~~~~~~~~~ misc.c: In function 'exists_tcompressed_word': misc.c:303:1: warning: type of 'flags' defaults to 'int' [-Wimplicit-int] 303 | exists_tcompressed_word(word, wordlen, line, linelen, flags) | ^~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'set_usemalloc': misc.c:37:1: warning: control reaches end of non-void function [-Wreturn-type] 37 | } | ^ misc.c: In function 'unset_usemalloc': misc.c:42:1: warning: control reaches end of non-void function [-Wreturn-type] 42 | } | ^ misc.c: In function 'build_freq': misc.c:231:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 231 | fscanf(fp, "%d\n", &freq_words); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c: In function 'mygetc': misc.c:58:16: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] 58 | return c; | ^ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o quick.o quick.c quick.c: In function 'quick_tcompress': quick.c:63:25: warning: implicit declaration of function 'uninitialize_tcompress' [-Wimplicit-function-declaration] 63 | uninitialize_tcompress(); | ^~~~~~~~~~~~~~~~~~~~~~ quick.c:68:22: warning: implicit declaration of function 'initialize_common' [-Wimplicit-function-declaration] 68 | if (!initialize_common(freq_file, flags)) return 0; /* don't call initialize_tcompress since that will load the FULL hash table */ | ^~~~~~~~~~~~~~~~~ quick.c:127:9: warning: implicit declaration of function 'build_partial_hash' [-Wimplicit-function-declaration] 127 | build_partial_hash(compress_hash_table, hashfp, hashindexbuf, hashindexsize, pattern, len, blocksize, loaded_hash_table); | ^~~~~~~~~~~~~~~~~~ quick.c:128:18: warning: implicit declaration of function 'tcompress' [-Wimplicit-function-declaration] 128 | newlen = tcompress(pattern, len, newpattern, maxnewlen, flags); | ^~~~~~~~~ quick.c: In function 'quick_tuncompress': quick.c:165:25: warning: implicit declaration of function 'uninitialize_tuncompress' [-Wimplicit-function-declaration] 165 | uninitialize_tuncompress(); | ^~~~~~~~~~~~~~~~~~~~~~~~ quick.c:223:9: warning: implicit declaration of function 'build_partial_string' [-Wimplicit-function-declaration] 223 | build_partial_string(compress_string_table, stringfp, stringindexbuf, stringindexsize, pattern, len, blocksize, loaded_string_table); | ^~~~~~~~~~~~~~~~~~~~ quick.c:224:18: warning: implicit declaration of function 'tuncompress'; did you mean 'quick_tuncompress'? [-Wimplicit-function-declaration] 224 | newlen = tuncompress(pattern, len, newpattern, maxnewlen, flags); | ^~~~~~~~~~~ | quick_tuncompress quick.c: In function 'quick_tcompress': quick.c:87:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 87 | fscanf(hashindexfp, "%d\n", &blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quick.c: In function 'quick_tuncompress': quick.c:189:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 189 | fscanf(stringindexfp, "%d\n", &blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o cast.o cast.c cast.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] 42 | initialize_tcompress(hash_file, freq_file, flags) | ^~~~~~~~~~~~~~~~~~~~ cast.c: In function 'initialize_tcompress': cast.c:48:14: warning: implicit declaration of function 'initialize_common'; did you mean 'initialize_tcompress'? [-Wimplicit-function-declaration] 48 | if (!initialize_common(freq_file, flags)) return 0; | ^~~~~~~~~~~~~~~~~ | initialize_tcompress cast.c:61:14: warning: implicit declaration of function 'tbuild_hash'; did you mean 'build_hash'? [-Wimplicit-function-declaration] 61 | if (!tbuild_hash(compress_hash_table, hashfp, -1)) { /* read all bytes until end */ | ^~~~~~~~~~~ | build_hash cast.c: At top level: cast.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] 69 | uninitialize_tcompress() | ^~~~~~~~~~~~~~~~~~~~~~ cast.c: In function 'uninitialize_tcompress': cast.c:74:9: warning: implicit declaration of function 'uninitialize_common'; did you mean 'uninitialize_tcompress'? [-Wimplicit-function-declaration] 74 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ | uninitialize_tcompress cast.c: In function 'tcompressible': cast.c:121:12: warning: implicit declaration of function 'ttest_binary' [-Wimplicit-function-declaration] 121 | if(ttest_binary(buffer, num_read)) { | ^~~~~~~~~~~~ cast.c:126:12: warning: implicit declaration of function 'ttest_uuencode' [-Wimplicit-function-declaration] 126 | if(ttest_uuencode(buffer, num_read)) { | ^~~~~~~~~~~~~~ cast.c:131:12: warning: implicit declaration of function 'ttest_postscript' [-Wimplicit-function-declaration] 131 | if(ttest_postscript(buffer, num_read)) { | ^~~~~~~~~~~~~~~~ cast.c: At top level: cast.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] 140 | tcompressible_file(name, flags) | ^~~~~~~~~~~~~~~~~~ cast.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] 160 | tcompressible_fp(fp, flags) | ^~~~~~~~~~~~~~~~ trecursive.c: In function 'tcompress_directory': cast.c:730:25: warning: implicit declaration of function 'tcompress_file'; did you mean 'tcompressible'? [-Wimplicit-function-declaration] 730 | #define FUNCTION tcompress_file | ^~~~~~~~~~~~~~ trecursive.c:109:17: note: in expansion of macro 'FUNCTION' 109 | FUNCTION(name, outname, flags); | ^~~~~~~~ cast.c: At top level: cast.c:735:1: warning: return type defaults to 'int' [-Wimplicit-int] 735 | tcompress_file(name, outname, flags) | ^~~~~~~~~~~~~~ cast.c: In function 'uninitialize_tcompress': cast.c:88:1: warning: control reaches end of non-void function [-Wreturn-type] 88 | } | ^ cast.c: In function 'tcompress_file': cast.c:799:25: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 799 | scanf("%c", s); | ^~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o uncast.o uncast.c uncast.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] 39 | initialize_tuncompress(string_file, freq_file, flags) | ^~~~~~~~~~~~~~~~~~~~~~ uncast.c: In function 'initialize_tuncompress': uncast.c:45:14: warning: implicit declaration of function 'initialize_common'; did you mean 'initialize_tuncompress'? [-Wimplicit-function-declaration] 45 | if (!initialize_common(freq_file, flags)) return 0; | ^~~~~~~~~~~~~~~~~ | initialize_tuncompress uncast.c: At top level: uncast.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] 66 | uninitialize_tuncompress() | ^~~~~~~~~~~~~~~~~~~~~~~~ uncast.c: In function 'uninitialize_tuncompress': uncast.c:70:9: warning: implicit declaration of function 'uninitialize_common'; did you mean 'uninitialize_tuncompress'? [-Wimplicit-function-declaration] 70 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ | uninitialize_tuncompress uncast.c: At top level: uncast.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] 128 | tuncompressible_fp(fp) | ^~~~~~~~~~~~~~~~~~ uncast.c: In function 'tuncompress': uncast.c:371:78: warning: implicit declaration of function 'myfpcopy' [-Wimplicit-function-declaration] 371 | if (outfp != NULL) outlen += myfpcopy(outfp, compress_string_table[dindex]); | ^~~~~~~~ uncast.c:373:67: warning: implicit declaration of function 'mystrcpy'; did you mean 'strcpy'? [-Wimplicit-function-declaration] 373 | outlen += mystrcpy(outbuf+outlen, compress_string_table[dindex]); | ^~~~~~~~ | strcpy trecursive.c: In function 'tuncompress_directory': uncast.c:520:25: warning: implicit declaration of function 'tuncompress_file'; did you mean 'tuncompressible'? [-Wimplicit-function-declaration] 520 | #define FUNCTION tuncompress_file | ^~~~~~~~~~~~~~~~ trecursive.c:109:17: note: in expansion of macro 'FUNCTION' 109 | FUNCTION(name, outname, flags); | ^~~~~~~~ uncast.c: In function 'uninitialize_tuncompress': uncast.c:78:1: warning: control reaches end of non-void function [-Wreturn-type] 78 | } | ^ uncast.c: In function 'tuncompress_file': uncast.c:593:25: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result] 593 | scanf("%c", s); | ^~~~~~~~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o tsimpletest.o tsimpletest.c tsimpletest.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] 32 | ttest_binary(buffer, length) | ^~~~~~~~~~~~ tsimpletest.c: In function 'ttest_binary': tsimpletest.c:42:15: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] 42 | if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; | ^~~~~~~ tsimpletest.c:5:1: note: include '' or provide a declaration of 'isgraph' 4 | #include +++ |+#include 5 | #define b_sample_size 2048 /* the number of bytes sampled to determine tsimpletest.c:42:35: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 42 | if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; | ^~~~~~~ tsimpletest.c:42:35: note: include '' or provide a declaration of 'isspace' tsimpletest.c: At top level: tsimpletest.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] 51 | ttest_uuencode(buffer, length) | ^~~~~~~~~~~~~~ tsimpletest.c: In function 'ttest_uuencode': tsimpletest.c:64:13: warning: implicit declaration of function 'tmemlook' [-Wimplicit-function-declaration] 64 | i = tmemlook("\nbegin", buffer, length); | ^~~~~~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o tmemlook.o tmemlook.c tmemlook.c: In function 'tmemlook': tmemlook.c:23:47: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 23 | if(strncmp((char *)pattern+1, text, strlen((char *)pattern) -1) == 0) { | ^~~~ | | | unsigned char * In file included from tmemlook.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o tbuild.o tbuild.c tbuild.c: In function 'compute_dictionary': tbuild.c:30:1: warning: type of 'SPECIAL_WORDS' defaults to 'int' [-Wimplicit-int] 30 | compute_dictionary(THRESHOLD, FILEBLOCKSIZE, SPECIAL_WORDS, comp_dir) | ^~~~~~~~~~~~~~~~~~ tbuild.c:88:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 88 | sprintf(s, "/tmp/temp%d", pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:89:29: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 89 | if ((tempfp = fopen(s, "w")) == NULL) { | ^ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tbuild.c:124:49: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 124 | curfreq += atoi(tempbuf); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ tbuild.c:152:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 152 | sprintf(s, "exec %s -n -r /tmp/temp%d > /tmp/sort%d\n", SYSTEM_SORT, pid, pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:153:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 153 | system(s); | ^ | | | unsigned char * In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ tbuild.c:154:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 154 | sprintf(s, "exec %s /tmp/temp%d\n", SYSTEM_RM, pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:155:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 155 | system(s); | ^ | | | unsigned char * In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ tbuild.c:156:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 156 | sprintf(s, "exec %s -%d /tmp/sort%d > /tmp/temp%d\n", SYSTEM_HEAD, MAX_WORDS, pid, pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:157:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 157 | system(s); | ^ | | | unsigned char * In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ tbuild.c:163:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 163 | sprintf(s, "/tmp/temp%d", pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:164:29: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 164 | if ((tempfp = fopen(s, "r")) == NULL) { | ^ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tbuild.c:209:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 209 | sprintf(s, "%x", rand()); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:229:14: warning: implicit declaration of function 'dump_small_hash'; did you mean 'get_small_hash'? [-Wimplicit-function-declaration] 229 | if (!dump_small_hash(dict_hash_table, hash_file)) return -1; | ^~~~~~~~~~~~~~~ | get_small_hash tbuild.c:237:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 237 | sprintf(s, "/tmp/sort%d.a", pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:238:28: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 238 | if ((awkfp = fopen(s, "w")) == NULL) { | ^ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tbuild.c:242:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 242 | sprintf(s, "BEGIN {}\n{print $3 \" \" $2 \" \" $1}\nEND {}\n"); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:254:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 254 | sprintf(s, "exec %s -f /tmp/sort%d.a < '%s' > /tmp/sort%d\n", SYSTEM_AWK, pid, tescapesinglequote(hash_file, es1), pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:255:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 255 | system(s); | ^ | | | unsigned char * In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ tbuild.c:256:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 256 | sprintf(s, "exec %s -d -f /tmp/sort%d > /tmp/temp%d\n", SYSTEM_SORT, pid, pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:257:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 257 | system(s); | ^ | | | unsigned char * In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ tbuild.c:259:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 259 | sprintf(s, "/tmp/sort%d.a", pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:260:28: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 260 | if ((awkfp = fopen(s, "w")) == NULL) { | ^ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tbuild.c:264:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 264 | sprintf(s, "%s", "BEGIN {}\n{print $3 \" \" NR-1 \" \" $1}\nEND {}\n"); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:269:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 269 | 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 */ | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:270:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 270 | system(s); | ^ | | | unsigned char * In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ tbuild.c:277:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 277 | sprintf(s, "/tmp/sort%d.a", pid); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:278:28: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 278 | if ((awkfp = fopen(s, "w")) == NULL) { | ^ | | | unsigned char * In file included from ../index/glimpse.h:8, from defs.h:13, from tbuild.c:9: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ tbuild.c:282:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 282 | sprintf(s, "%s", "BEGIN {}\n{print $3}\nEND {}\n"); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:290:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 290 | sprintf(s, "exec %s -f /tmp/sort%d.a < '%s' > '%s'\n", SYSTEM_AWK, pid, tescapesinglequote(hash_file, es1), tescapesinglequote(string_file, es2)); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from tbuild.c:9: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tbuild.c:291:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 291 | system(s); | ^ | | | unsigned char * In file included from ../index/glimpse.h:9, from defs.h:13, from tbuild.c:9: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ tbuild.c:304:9: warning: implicit declaration of function 'pad_hash_file' [-Wimplicit-function-declaration] 304 | pad_hash_file(hash_file, FILEBLOCKSIZE); | ^~~~~~~~~~~~~ tbuild.c:305:9: warning: implicit declaration of function 'pad_string_file' [-Wimplicit-function-declaration] 305 | pad_string_file(string_file, FILEBLOCKSIZE); | ^~~~~~~~~~~~~~~ tbuild.c:153:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 153 | system(s); | ^~~~~~~~~ tbuild.c:155:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 155 | system(s); | ^~~~~~~~~ tbuild.c:157:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 157 | system(s); | ^~~~~~~~~ tbuild.c:255:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 255 | system(s); | ^~~~~~~~~ tbuild.c:257:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | system(s); | ^~~~~~~~~ tbuild.c:270:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 270 | system(s); | ^~~~~~~~~ tbuild.c:291:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 291 | system(s); | ^~~~~~~~~ /usr/bin/ar rcv ../lib/libcast.a hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o a - hash.o a - string.o a - misc.o a - quick.o a - cast.o a - uncast.o a - tsimpletest.o a - tmemlook.o a - tbuild.o ranlib ../lib/libcast.a gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o main_tbuild.o main_tbuild.c main_tbuild.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] 17 | usage(progname) | ^~~~~ main_tbuild.c: In function 'main': main_tbuild.c:45:66: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 45 | else if (argv[i][1] == 'H') strcpy(comp_dir, argv[++i]); | ~~~~^~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from defs.h:10, from main_tbuild.c:7: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_tbuild.c:46:66: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 46 | else if (argv[i][1] == 't') threshold = atoi(argv[++i]); | ~~~~^~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ main_tbuild.c:47:69: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 47 | else if (argv[i][1] == 'l') specialwords = atoi(argv[++i]); | ~~~~^~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ main_tbuild.c:56:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 56 | getcwd(comp_dir, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../index/glimpse.h:10, from defs.h:13, from main_tbuild.c:7: In function 'strncpy', inlined from 'main' at main_tbuild.c:59:22: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld -o tbuild hash.o string.o misc.o tbuild.o main_tbuild.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o main_cast.o main_cast.c main_cast.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] 15 | usage(progname) | ^~~~~ main_cast.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] 34 | main(argc, argv) | ^~~~ main_cast.c: In function 'main': main_cast.c:125:14: warning: implicit declaration of function 'initialize_tcompress' [-Wimplicit-function-declaration] 125 | if (!initialize_tcompress(hash_file, freq_file, FLAGS)) exit(2); | ^~~~~~~~~~~~~~~~~~~~ main_cast.c:133:33: warning: implicit declaration of function 'tcompress_file' [-Wimplicit-function-declaration] 133 | tcompress_file(name, outname, FLAGS); | ^~~~~~~~~~~~~~ main_cast.c:136:22: warning: implicit declaration of function 'tcompress' [-Wimplicit-function-declaration] 136 | else tcompress(stdin, -1, stdout, -1, FLAGS); | ^~~~~~~~~ main_cast.c:114:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | getcwd(comp_dir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld gcc -I../index -I../agrep -I../libtemplate/include -O2 -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o main_uncast.o main_uncast.c main_uncast.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] 15 | usage(progname) | ^~~~~ main_uncast.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] 34 | main(argc, argv) | ^~~~ main_uncast.c: In function 'main': main_uncast.c:129:14: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] 129 | if (!initialize_tuncompress(string_file, freq_file, FLAGS)) exit(2); | ^~~~~~~~~~~~~~~~~~~~~~ main_uncast.c:137:33: warning: implicit declaration of function 'tuncompress_file' [-Wimplicit-function-declaration] 137 | tuncompress_file(name, outname, FLAGS); | ^~~~~~~~~~~~~~~~ main_uncast.c:142:30: warning: implicit declaration of function 'tuncompressible' [-Wimplicit-function-declaration] 142 | if (!tuncompressible(buffer, num_read)) { | ^~~~~~~~~~~~~~~ main_uncast.c:146:25: warning: implicit declaration of function 'tuncompress' [-Wimplicit-function-declaration] 146 | tuncompress(stdin, -1, stdout, -1, FLAGS); | ^~~~~~~~~~~ main_uncast.c:118:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 118 | getcwd(comp_dir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o follow.o follow.c gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o asearch.o asearch.c asearch.c: In function 'asearch': asearch.c:47:24: warning: implicit declaration of function 'asearch0'; did you mean 'asearch'? [-Wimplicit-function-declaration] 47 | return asearch0(old_D_pat, text, D); | ^~~~~~~~ | asearch asearch.c:69:29: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 69 | while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ asearch.c:184:67: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] 184 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ asearch.c: In function 'asearch0': asearch.c:717:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 717 | A[0] = (((B[0] >> 1)) & CMask | r1 ) ; | ~~~~~~~~~~~~~~^~~~~~~ asearch.c:962:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 962 | A[0] = (((B[0] >> 1)) & CMask | r1 ) ; | ~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/string.h:519, from agrep.h:15, from asearch.c:2: In function 'strncpy', inlined from 'asearch0' at asearch.c:705:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ asearch.c: In function 'asearch0': asearch.c:679:20: note: length computed here 679 | D_length = strlen((const char *)old_D_pat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from agrep.h:15, from asearch.c:2: In function 'strncpy', inlined from 'asearch' at asearch.c:84:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ asearch.c: In function 'asearch': asearch.c:50:20: note: length computed here 50 | D_length = strlen((const char *)old_D_pat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from agrep.h:15, from asearch.c:2: In function 'strncpy', inlined from 'asearch' at asearch.c:84:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ asearch.c: In function 'asearch': asearch.c:50:20: note: length computed here 50 | D_length = strlen((const char *)old_D_pat); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o asearch1.o asearch1.c asearch1.c: In function 'asearch1': asearch1.c:62:36: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 62 | while ((num_read = fill_buf(Text, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ asearch1.c:77:58: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 77 | strncpy(buffer+Max_record+num_read, old_D_pat, D_length); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch1.c:158:67: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] 158 | if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ asearch1.c:287:50: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 287 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch1.c:287:70: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 287 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ In file included from /usr/include/string.h:519, from agrep.h:15, from asearch1.c:2: In function 'strncpy', inlined from 'asearch1' at asearch1.c:77:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ asearch1.c: In function 'asearch1': asearch1.c:42:20: note: length computed here 42 | D_length = strlen(old_D_pat); | ^~~~~~~~~~~~~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o agrep.o agrep.c agrep.c: In function 'reinit_value': agrep.c:177:38: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] 177 | if (AComplexBoolean) destroy_tree(AParse); | ^~~~~~~~~~~~ agrep.c:209:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 209 | strcpy(D_pattern, original_D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __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] 209 | strcpy(D_pattern, original_D_pattern); | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __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] 211 | strcpy(old_D_pat, original_old_D_pat); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __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] 211 | strcpy(old_D_pat, original_old_D_pat); | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c: In function 'initial_value': agrep.c:264:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 264 | strcpy(tc_D_pattern, "\n"); | ^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c: In function 'compute_next': agrep.c:329:21: warning: implicit declaration of function 'exponen'; did you mean 'popen'? [-Wimplicit-function-declaration] 329 | k = exponen(M); | ^~~~~~~ | popen agrep.c: In function 're1': agrep.c:425:36: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 425 | while ((num_read = fill_buf(Text, buffer + Maxline, BlockSize)) > 0) | ^~~~~~~~ agrep.c:516:59: warning: implicit declaration of function 'r_output' [-Wimplicit-function-declaration] 516 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~~~ agrep.c:524:76: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 524 | r2 = (Next[r3>>hh] | Next1[r3&LL]) & CMask | Init0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ agrep.c:615:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 615 | strncpy(buffer, buffer+num_read, Maxline); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:615:47: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 615 | strncpy(buffer, buffer+num_read, Maxline); | ~~~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:713:76: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 713 | r2 = (Next[r3>>hh] | Next1[r3&LL]) & CMask | Init0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ agrep.c:1106:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1106 | strncpy(buffer, buffer+num_read, Maxline); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1106:47: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1106 | strncpy(buffer, buffer+num_read, Maxline); | ~~~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c: In function 're': agrep.c:1468:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1468 | r2 = Next[r3] & CMask | r1; | ~~~~~~~~~^~~~~~~ agrep.c:1551:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1551 | r3 = Next[r2] & CMask | r1; | ~~~~~~~~~^~~~~~~ agrep.c:1624:47: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1624 | strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1624:67: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1624 | strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1653:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1653 | r2 = Next[r3] & CMask | r1; | ~~~~~~~~~^~~~~~~ agrep.c:1736:55: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 1736 | r3 = Next[r2] & CMask | r1; | ~~~~~~~~~^~~~~~~ agrep.c:2045:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2045 | strncpy(buffer, buffer+num_read, Maxline); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:2045:47: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2045 | strncpy(buffer, buffer+num_read, Maxline); | ~~~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c: In function 'agrep_init': agrep.c:2464:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2464 | strncpy(Progname, argv[0], MAXNAME); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:2465:30: warning: implicit declaration of function 'agrep_usage' [-Wimplicit-function-declaration] 2465 | if (argc < 2) return agrep_usage(); | ^~~~~~~~~~~ agrep.c:2466:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] 2466 | printf(""); /* dummy statement which avoids program crash with | ^~ agrep.c:2634:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2634 | strcpy(D_pattern+1, argv[0]); | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2651:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2651 | strcpy(D_pattern+1, p + 1); | ~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2655:40: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2655 | strcat(D_pattern, ">; "); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2659:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2659 | strcpy(original_D_pattern, D_pattern); | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2659:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2659 | strcpy(original_D_pattern, D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2697:56: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2697 | strcat(Pattern, (argv)[0]); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2699:53: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2699 | else strcat(Pattern, argv[0]); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2705:56: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2705 | strcat(Pattern, p+1); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2707:54: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2707 | else strcat (Pattern, p+1); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2728:48: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2728 | strcat(Pattern, argv[0]); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2748:49: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2748 | strcat (Pattern, p+1); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2801:37: warning: implicit declaration of function 'prepf' [-Wimplicit-function-declaration] 2801 | if (prepf(multifd, NULL, 0) <= -1) { | ^~~~~ agrep.c:3028:9: warning: implicit declaration of function 'initialize_common' [-Wimplicit-function-declaration] 3028 | initialize_common(FREQ_FILE, 0); /* no error msgs */ | ^~~~~~~~~~~~~~~~~ agrep.c:3053:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3053 | strcpy(Pattern, *argv); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3082:59: warning: implicit declaration of function 'check_file' [-Wimplicit-function-declaration] 3082 | if (!glimpse_call && ((filetype = check_file(*argv)) == NOSUCHFILE) && !PRINTNONEXISTENTFILE) { | ^~~~~~~~~~ agrep.c:3095:49: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3095 | strcpy(Textfiles[Numfiles++], *argv++); | ~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3102:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3102 | M = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3127:25: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 3127 | strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:3127:41: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 3127 | strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c: In function 'agrep_search': agrep.c:3186:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3186 | if (strcmp(agrep_saved_pattern, pattern_buffer)) { | ^~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ agrep.c:3186:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 3186 | if (strcmp(agrep_saved_pattern, pattern_buffer)) { | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ agrep.c:3206:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 3206 | strncpy(Pattern, pattern_buffer, pattern_len+1); /* copy \0 */ | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:3206:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 3206 | strncpy(Pattern, pattern_buffer, pattern_len+1); /* copy \0 */ | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:3207:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3207 | M = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3290:27: warning: implicit declaration of function 'checksg' [-Wimplicit-function-declaration] 3290 | if (-1 == checksg(Pattern, D, 1)) return -1; /* check if the pattern is simple */ | ^~~~~~~ agrep.c:3291:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3291 | strcpy(OldPattern, Pattern); | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3291:36: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3291 | strcpy(OldPattern, Pattern); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3294:35: warning: implicit declaration of function 'preprocess' [-Wimplicit-function-declaration] 3294 | if (-1 == preprocess(D_pattern, Pattern)) return -1; | ^~~~~~~~~~ agrep.c:3295:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3295 | strcpy(old_D_pat, D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3295:43: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3295 | strcpy(old_D_pat, D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3297:46: warning: implicit declaration of function 'maskgen' [-Wimplicit-function-declaration] 3297 | if(!AParse && ((M = maskgen(Pattern, D)) == -1)) return -1; | ^~~~~~~ agrep.c:3304:52: warning: implicit declaration of function 'quick_tcompress' [-Wimplicit-function-declaration] 3304 | if ((tc_D_length = quick_tcompress(FREQ_FILE,HASH_FILE,D_pattern,D_length,tc_D_pattern,MaxDelimit*2,TC_EASYSEARCH)) <= 0) { | ^~~~~~~~~~~~~~~ agrep.c:3305:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3305 | strcpy(tc_D_pattern, D_pattern); | ^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3305:62: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3305 | strcpy(tc_D_pattern, D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3310:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3310 | M = strlen(OldPattern); | ^~~~~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3333:42: warning: implicit declaration of function 'exec'; did you mean 'execl'? [-Wimplicit-function-declaration] 3333 | if (agrep_initialfd == -1) ret = exec(execfd, NULL); | ^~~~ | execl agrep.c:3334:35: warning: implicit declaration of function 'recursive' [-Wimplicit-function-declaration] 3334 | else if(RECURSIVE) ret = (recursive(Numfiles, Textfiles)); | ^~~~~~~~~ agrep.c: In function 'exec': agrep.c:3443:20: warning: implicit declaration of function 'compat' [-Wimplicit-function-declaration] 3443 | if ((-1 == compat())) return -1; /* check compatibility between options */ | ^~~~~~ agrep.c:3456:44: warning: implicit declaration of function 'mgrep'; did you mean 'memagrep'? [-Wimplicit-function-declaration] 3456 | if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); | ^~~~~ | memagrep agrep.c:3458:41: warning: implicit declaration of function 'sgrep'; did you mean 'strsep'? [-Wimplicit-function-declaration] 3458 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); | ^~~~~ | strsep agrep.c:3458:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3458 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); | ^~~~~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3459:41: warning: implicit declaration of function 'bitap' [-Wimplicit-function-declaration] 3459 | else ret = bitap(old_D_pat, Pattern, fd, M, D); | ^~~~~ agrep.c:3512:62: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3512 | if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ agrep.c:3513:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3513 | else strcpy(CurrentFileName, file_list[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3519:30: warning: implicit declaration of function 'tuncompressible_filename' [-Wimplicit-function-declaration] 3519 | if (!tuncompressible_filename(file_list[i], strlen(file_list[i]))) TCOMPRESSED = OFF; | ^~~~~~~~~~~~~~~~~~~~~~~~ agrep.c:3528:82: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3528 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, i); | ^~~~~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3700:51: warning: implicit declaration of function 'file_out'; did you mean 'fileno'? [-Wimplicit-function-declaration] 3700 | if (-1 == file_out(file_list[i])) { | ^~~~~~~~ | fileno agrep.c:3722:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3722 | strcpy(old_D_pat, D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3722:51: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3722 | strcpy(old_D_pat, D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3731:70: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3731 | if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ agrep.c:3732:53: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3732 | else strcpy(CurrentFileName, file_list[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3738:97: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3738 | if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); | ^~~~~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3783:70: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3783 | if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ agrep.c:3784:53: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3784 | else strcpy(CurrentFileName, file_list[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/stat.h:25, from agrep.c:6: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3790:97: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3790 | if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); | ^~~~~~~~~~ | | | unsigned char * In file included from agrep.h:15, from agrep.c:7: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c: In function 'agrep_init': agrep.c:3013:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 3013 | getcwd(COMP_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agrep.c: In function 'file_out': agrep.c:3869:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3869 | write(1, buf, num_read); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, 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:95:10: warning: 'strncpy' accessing 1024 bytes at offsets 0 and [1, 2147483647] may overlap up to 1023 bytes at offset [1, 1023] [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 're1' at agrep.c:615:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' accessing 1024 bytes at offsets 0 and [1, 2147483647] may overlap up to 1023 bytes at offset [1, 1023] [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 're' at agrep.c:2045:4: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' accessing 1024 bytes at offsets 0 and [1, 2147483647] may overlap up to 1023 bytes at offset [1, 1023] [-Wrestrict] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'agrep_init' at agrep.c:2464:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'agrep_init' at agrep.c:3016:8: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o bitap.o bitap.c bitap.c: In function 'bitap': bitap.c:70:32: warning: implicit declaration of function 're' [-Wimplicit-function-declaration] 70 | return re(fd, M, D); /* SUN: need to find a even point */ | ^~ bitap.c:73:32: warning: implicit declaration of function 're1' [-Wimplicit-function-declaration] 73 | return re1(fd, M, D); | ^~~ bitap.c:78:24: warning: implicit declaration of function 'asearch1'; did you mean 'bsearch'? [-Wimplicit-function-declaration] 78 | return asearch1(old_D_pat, fd, D); | ^~~~~~~~ | bsearch bitap.c:82:24: warning: implicit declaration of function 'asearch'; did you mean 'bsearch'? [-Wimplicit-function-declaration] 82 | return asearch(old_D_pat, fd, D); | ^~~~~~~ | bsearch bitap.c:104:36: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 104 | while ((num_read = fill_buf(fd, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ bitap.c:122:58: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 122 | strncpy(buffer+Max_record+num_read, old_D_pat, D_length); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ bitap.c:195:67: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] 195 | if (-1 == output(buffer, lasti, print_end, j - (NumBufferFills - 1))) { free_buf(fd, buffer); return -1;} | ^~~~~~ bitap.c:297:50: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 297 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ bitap.c:297:70: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 297 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __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] 498 | fill_buf(fd, buf, record_size) | ^~~~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o checkfile.o checkfile.c checkfile.c: In function 'check_file': checkfile.c:47:13: warning: implicit declaration of function 'my_stat'; did you mean 'lstat'? [-Wimplicit-function-declaration] 47 | if (my_stat(fname, &buf) != 0) { | ^~~~~~~ | lstat gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o compat.o compat.c compat.c:9:8: warning: type defaults to 'int' in declaration of 'FILEOUT' [-Wimplicit-int] 9 | extern FILEOUT; | ^~~~~~~ compat.c:10:8: warning: type defaults to 'int' in declaration of 'REGEX' [-Wimplicit-int] 10 | extern REGEX; | ^~~~~ compat.c:11:8: warning: type defaults to 'int' in declaration of 'DELIMITER' [-Wimplicit-int] 11 | extern DELIMITER; | ^~~~~~~~~ compat.c:12:8: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] 12 | extern WHOLELINE; | ^~~~~~~~~ compat.c:13:8: warning: type defaults to 'int' in declaration of 'LINENUM' [-Wimplicit-int] 13 | extern LINENUM; | ^~~~~~~ compat.c:14:8: warning: type defaults to 'int' in declaration of 'I' [-Wimplicit-int] 14 | extern I, S, DD; | ^ compat.c:14:11: warning: type defaults to 'int' in declaration of 'S' [-Wimplicit-int] 14 | extern I, S, DD; | ^ compat.c:14:14: warning: type defaults to 'int' in declaration of 'DD' [-Wimplicit-int] 14 | extern I, S, DD; | ^~ compat.c:15:8: warning: type defaults to 'int' in declaration of 'JUMP' [-Wimplicit-int] 15 | extern JUMP; | ^~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o maskgen.o maskgen.c maskgen.c:6:8: warning: type defaults to 'int' in declaration of 'Mask' [-Wimplicit-int] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~ maskgen.c:6:16: warning: type defaults to 'int' in declaration of 'Bit' [-Wimplicit-int] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~ maskgen.c:6:23: warning: type defaults to 'int' in declaration of 'Init' [-Wimplicit-int] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~ maskgen.c:6:31: warning: type defaults to 'int' in declaration of 'NO_ERR_MASK' [-Wimplicit-int] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~~~~~~~~ maskgen.c: In function 'maskgen': maskgen.c:34:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 34 | if ((M = strlen(Pattern)) <= 0) return 0; | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from maskgen.c:2: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o parse.o parse.c In file included from parse.c:7: parse.c: In function 'mk_leaf': re.h:75:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 75 | exit(2);\ | ^~~~ parse.c:45:9: note: in expansion of macro 'new_node' 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ parse.c:8:1: note: include '' or provide a declaration of 'exit' 7 | #include "re.h" +++ |+#include 8 | In file included from parse.c:7: re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:45:9: note: in expansion of macro 'new_node' 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:45:9: note: in expansion of macro 'new_node' 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ re.h:77:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:45:9: note: in expansion of macro 'new_node' 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ parse.c:8:1: note: include '' or provide a declaration of 'memset' 7 | #include "re.h" +++ |+#include 8 | In file included from parse.c:7: re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:45:9: note: in expansion of macro 'new_node' 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:45:9: note: in expansion of macro 'new_node' 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:46:9: note: in expansion of macro 'new_node' 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:46:9: note: in expansion of macro 'new_node' 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:46:9: note: in expansion of macro 'new_node' 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:46:9: note: in expansion of macro 'new_node' 46 | new_node(Re_node, node, node); | ^~~~~~~~ parse.c:48:32: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 48 | if (l != NULL) free(l); | ^~~~ parse.c:48:32: note: include '' or provide a declaration of 'free' parse.c:48:32: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] parse.c:48:32: note: include '' or provide a declaration of 'free' parse.c:49:35: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 49 | if (node != NULL) free(node); | ^~~~ parse.c:49:35: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'parse_cset': re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:76:9: note: in expansion of macro 'new_node' 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:76:9: note: in expansion of macro 'new_node' 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:76:9: note: in expansion of macro 'new_node' 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:76:9: note: in expansion of macro 'new_node' 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:79:17: note: in expansion of macro 'new_node' 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:79:17: note: in expansion of macro 'new_node' 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:79:17: note: in expansion of macro 'new_node' 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:79:17: note: in expansion of macro 'new_node' 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ parse.c:83:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 83 | free(range); | ^~~~ parse.c:83:25: note: include '' or provide a declaration of 'free' parse.c:89:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 89 | free(range); | ^~~~ parse.c:89:25: note: include '' or provide a declaration of 'free' parse.c:96:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 96 | free(range); | ^~~~ parse.c:96:33: note: include '' or provide a declaration of 'free' In file included from parse.c:7: re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:104:17: note: in expansion of macro 'new_node' 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:104:17: note: in expansion of macro 'new_node' 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:104:17: note: in expansion of macro 'new_node' 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:104:17: note: in expansion of macro 'new_node' 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ parse.c:112:36: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 112 | if (range != NULL) free(range); | ^~~~ parse.c:112:36: note: include '' or provide a declaration of 'free' parse.c:113:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 113 | free(curr_ptr); | ^~~~ parse.c:113:17: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'parse_wildcard': re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:128:9: note: in expansion of macro 'new_node' 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:128:9: note: in expansion of macro 'new_node' 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:128:9: note: in expansion of macro 'new_node' 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:128:9: note: in expansion of macro 'new_node' 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:131:9: note: in expansion of macro 'new_node' 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:131:9: note: in expansion of macro 'new_node' 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:131:9: note: in expansion of macro 'new_node' 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:131:9: note: in expansion of macro 'new_node' 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ parse.c: In function 'free_tok': parse.c:163:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 163 | free(next_token); | ^~~~ parse.c:163:17: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'get_token': re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:181:9: note: in expansion of macro 'new_node' 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:181:9: note: in expansion of macro 'new_node' 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:181:9: note: in expansion of macro 'new_node' 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:181:9: note: in expansion of macro 'new_node' 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ parse.c: In function 'cat2': re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:245:9: note: in expansion of macro 'new_node' 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:245:9: note: in expansion of macro 'new_node' 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:245:9: note: in expansion of macro 'new_node' 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:245:9: note: in expansion of macro 'new_node' 245 | new_node(Re_node, r, r); | ^~~~~~~~ parse.c:253:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 253 | free(r); | ^~~~ parse.c:253:17: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'wrap': re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:277:9: note: in expansion of macro 'new_node' 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:277:9: note: in expansion of macro 'new_node' 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:277:9: note: in expansion of macro 'new_node' 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:277:9: note: in expansion of macro 'new_node' 277 | new_node(Re_node, r, r); | ^~~~~~~~ parse.c:283:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 283 | free(r); | ^~~~ parse.c:283:17: note: include '' or provide a declaration of 'free' In file included from parse.c:7: parse.c: In function 'mk_alt': re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ parse.c:303:9: note: in expansion of macro 'new_node' 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ parse.c:303:9: note: in expansion of macro 'new_node' 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:303:9: note: in expansion of macro 'new_node' 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:303:9: note: in expansion of macro 'new_node' 303 | new_node(Re_node, node, node); | ^~~~~~~~ parse.c: In function 'parse_re': parse.c:339:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 339 | free(top); | ^~~~ parse.c:339:33: note: include '' or provide a declaration of 'free' parse.c:355:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 355 | free(ret); | ^~~~ parse.c:355:33: note: include '' or provide a declaration of 'free' parse.c:360:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 360 | free(ret); | ^~~~ parse.c:360:33: note: include '' or provide a declaration of 'free' parse.c:370:41: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 370 | free(ret); | ^~~~ parse.c:370:41: note: include '' or provide a declaration of 'free' parse.c:397:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 397 | free(ret); | ^~~~ parse.c:397:33: note: include '' or provide a declaration of 'free' parse.c:402:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 402 | free(ret); | ^~~~ parse.c:402:33: note: include '' or provide a declaration of 'free' parse.c:413:25: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 413 | free(next_token); | ^~~~ parse.c:413:25: note: include '' or provide a declaration of 'free' parse.c: In function 'parse': parse.c:451:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 451 | free(top); | ^~~~ parse.c:451:9: note: include '' or provide a declaration of 'free' parse.c: In function 'parse_cset': parse.c:108:32: warning: 'prev_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 108 | prev_ptr->rest = NULL; | ^ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o checksg.o checksg.c checksg.c: In function 'checksg': checksg.c:24:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 24 | m = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from checksg.c:2: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o preprocess.o preprocess.c preprocess.c: In function 'preprocess': preprocess.c:53:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 53 | if ((m = strlen(Pattern)) <= 0) return 0; | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preprocess.c:67:22: warning: implicit declaration of function 'asplit_pattern' [-Wimplicit-function-declaration] 67 | if (((ret1 = asplit_pattern(Pattern, m, aterminals, &anum_terminals, &AParse)) <= 0) || /* can change the pattern if simple boolean with {} */ | ^~~~~~~~~~~~~~ preprocess.c:68:22: warning: implicit declaration of function 'asplit_terminal' [-Wimplicit-function-declaration] 68 | ((ret2 = asplit_terminal(0, anum_terminals, multibuf, &multilen)) <= 0) || | ^~~~~~~~~~~~~~~ preprocess.c:70:58: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] 70 | if (AComplexBoolean && (AParse != NULL)) destroy_tree(AParse); /* so that direct exec invocations don't use AParse by mistake! */ | ^~~~~~~~~~~~ preprocess.c:80:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 80 | m = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preprocess.c:97:44: warning: implicit declaration of function 'quick_tcompress' [-Wimplicit-function-declaration] 97 | if ((tc_D_length = quick_tcompress(FREQ_FILE, HASH_FILE, D_pattern, D_length, tc_D_pattern, MaxDelimit*2, TC_EASYSEARCH)) <= 0) { | ^~~~~~~~~~~~~~~ preprocess.c:98:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 98 | strcpy(tc_D_pattern, D_pattern); | ^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:98:54: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 98 | strcpy(tc_D_pattern, D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:113:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 113 | r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); /* bug-report, From: Chris Dalton */ | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preprocess.c:113:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 113 | r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); /* bug-report, From: Chris Dalton */ | ^~~~~~~~~ | | | unsigned char * In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preprocess.c:114:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 114 | strcpy(temp, D_pattern); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:114:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 114 | strcpy(temp, D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:115:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 115 | d_end = t = strlen(temp); /* size of D_pattern, including '; ' */ | ^~~~ | | | unsigned char * In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preprocess.c:121:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 121 | strcat(temp, Pattern); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:121:30: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 121 | strcat(temp, Pattern); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:122:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 122 | m = strlen(temp); | ^~~~ | | | unsigned char * In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preprocess.c:135:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 135 | strcat(temp, Pattern); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:128:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:135:30: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 135 | strcat(temp, Pattern); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:128:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:136:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 136 | m = strlen(temp); | ^~~~ | | | unsigned char * In file included from agrep.h:15, from preprocess.c:16: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preprocess.c:186:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 186 | strcpy(D_pattern, old_D_pat); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:186:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 186 | strcpy(D_pattern, old_D_pat); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:322:27: warning: implicit declaration of function 'init' [-Wimplicit-function-declaration] 322 | num_pos = init(r_pat, table); | ^~~~ preprocess.c:341:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 341 | strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preprocess.c:341:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 341 | strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o delim.o delim.c delim.c: In function 'preprocess_delimiter': delim.c:15:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 15 | strcpy(temp, src); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ delim.c:15:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 15 | strcpy(temp, src); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ delim.c:27:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 27 | *pdestlen = strlen(dest); | ^~~~ | | | unsigned char * In file included from agrep.h:15, from delim.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o asplit.o asplit.c In file included from asplit.c:5: putils.c: In function 'print_tree': putils.c:69:1: warning: type of 'level' defaults to 'int' [-Wimplicit-int] 69 | print_tree(t, level) | ^~~~~~~~~~ asplit.c: In function 'asplit_pattern_flat': asplit.c:82:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 82 | while (buffer_pat = aparse_flat(buffer, buffer_end, *pAParse, pAParse)) { | ^~~~~~~~~~ asplit.c: In function 'aparse_tree': asplit.c:254:44: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 254 | strcpy(n->data.leaf.value, oldtokenbuf); | ~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ asplit.c:254:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 254 | strcpy(n->data.leaf.value, oldtokenbuf); | ^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ asplit.c: In function 'eval_tree': asplit.c:344:87: warning: array subscript has type 'char' [-Wchar-subscripts] 344 | if (tree->type == LEAF) return ((tree->op & NOTPAT) ? (!matched_terminals[tree->terminalindex]) : (matched_terminals[tree->terminalindex])); | ~~~~^~~~~~~~~~~~~~~ asplit.c:344:130: warning: array subscript has type 'char' [-Wchar-subscripts] 344 | 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:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 376 | word_length = strlen(aterminals[first].data.leaf.value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from agrep.h:15, from asplit.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ asplit.c:380:71: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 380 | strcpy(&pat_buf[*pat_ptr], aterminals[first].data.leaf.value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o recursive.o recursive.c recursive.c: In function 'recursive': recursive.c:67:17: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 67 | strcpy(name_buf, argv[i]); | ^~~~~~ recursive.c:37:1: note: include '' or provide a declaration of 'strcpy' 36 | #include +++ |+#include 37 | #define BUFSIZE 256 recursive.c:67:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 67 | strcpy(name_buf, argv[i]); | ^~~~~~ recursive.c:67:17: note: include '' or provide a declaration of 'strcpy' recursive.c:71:36: warning: implicit declaration of function 'exec' [-Wimplicit-function-declaration] 71 | if ((ret = exec(3, file_list)) == -1) return -1; | ^~~~ recursive.c:74:33: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 74 | free(file_list[j]); | ^~~~ recursive.c:37:1: note: include '' or provide a declaration of 'free' 36 | #include +++ |+#include 37 | #define BUFSIZE 256 recursive.c:74:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 74 | free(file_list[j]); | ^~~~ recursive.c:74:33: note: include '' or provide a declaration of 'free' recursive.c: In function 'treewalk': recursive.c:114:12: warning: implicit declaration of function 'my_lstat'; did you mean 'lstat'? [-Wimplicit-function-declaration] 114 | if(my_lstat(name, &stbuf) == -1) { | ^~~~~~~~ | lstat recursive.c:37:17: warning: 'malloc' argument 1 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 37 | #define BUFSIZE 256 | ^~~ recursive.c:124:49: note: in expansion of macro 'BUFSIZE' 124 | file_list[fdx] = (char *)malloc(BUFSIZE); | ^~~~~~~ recursive.c:111:22: note: built-in 'malloc' declared here 111 | extern void *malloc(); | ^~~~~~ recursive.c:125:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 125 | strcpy(file_list[fdx++], name); | ^~~~~~ recursive.c:125:17: note: include '' or provide a declaration of 'strcpy' recursive.c:130:51: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 130 | for(i=0; i' or provide a declaration of 'free' recursive.c: In function 'directory': recursive.c:147:22: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 147 | nbp = name + strlen(name); | ^~~~~~ recursive.c:147:22: note: include '' or provide a declaration of 'strlen' recursive.c:147:22: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] recursive.c:147:22: note: include '' or provide a declaration of 'strlen' recursive.c:160:46: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 160 | if (dp->d_name[0] == '\0' || strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..")==0) | ^~~~~~ recursive.c:160:46: note: include '' or provide a declaration of 'strcmp' recursive.c:165:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 165 | strcpy(nbp, dp->d_name); | ^~~~~~ recursive.c:165:17: note: include '' or provide a declaration of 'strcpy' gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o sgrep.o sgrep.c sgrep.c:52:8: warning: type defaults to 'int' in declaration of 'WORDBOUND' [-Wimplicit-int] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ sgrep.c:52:19: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ sgrep.c:52:30: warning: type defaults to 'int' in declaration of 'NOUPPER' [-Wimplicit-int] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~ sgrep.c: In function 'sgrep': sgrep.c:172:1: warning: type of 'samepattern' defaults to 'int' [-Wimplicit-int] 172 | sgrep(in_pat, in_m, fd, D, samepattern) | ^~~~~ sgrep.c:193:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 193 | strncpy(pat, in_pat, MAXLINE); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sgrep.c:193:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 193 | strncpy(pat, in_pat, MAXLINE); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sgrep.c:241:36: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 241 | while( (num_read = fill_buf(fd, text+offset, 2*BlockSize)) > 0) | ^~~~~~~~ sgrep.c:294:51: warning: implicit declaration of function 'monkey' [-Wimplicit-function-declaration] 294 | if (-1 == monkey(pat, m, text+start, text+end, oldpat, oldm)) { | ^~~~~~ sgrep.c:300:51: warning: implicit declaration of function 'bm'; did you mean 'bcmp'? [-Wimplicit-function-declaration] 300 | if (-1 == bm(pat, m, text+start, text+end, oldpat, oldm)) { | ^~ | bcmp sgrep.c:308:51: warning: implicit declaration of function 'monkey4' [-Wimplicit-function-declaration] 308 | if (-1 == monkey4( pat, m, text+start, text+end, D , oldpat, oldm )) { | ^~~~~~~ sgrep.c:315:59: warning: implicit declaration of function 'a_monkey' [-Wimplicit-function-declaration] 315 | if (-1 == a_monkey(pat, m, text+start, text+end, D, oldpat, oldm)) { | ^~~~~~~~ sgrep.c:321:59: warning: implicit declaration of function 'agrep'; did you mean 'sgrep'? [-Wimplicit-function-declaration] 321 | if (-1 == agrep(pat, m, text+start, text+end, D, oldpat, oldm)) { | ^~~~~ | sgrep sgrep.c: In function 'bm': sgrep.c:835:83: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 835 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:835:86: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 835 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:839:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 839 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:839:74: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 839 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function 'agrep': sgrep.c:1157:51: warning: implicit declaration of function 's_output' [-Wimplicit-function-declaration] 1157 | if (-1 == s_output(text, ¤tpos, textbegin, textend, &lastout, pat, M, oldpat, oldM)) return -1; | ^~~~~~~~ sgrep.c: In function 's_output': sgrep.c:1413:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1413 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1413:54: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1413 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1417:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1417 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1417:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1417 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function 'prep_bm': sgrep.c:1478:10: warning: type defaults to 'int' in declaration of 'm' [-Wimplicit-int] 1478 | register m; | ^ sgrep.c: In function 'monkey': sgrep.c:1694:83: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1694 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1694:86: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1694 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1698:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1698 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1698:74: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1698 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function 'a_monkey': sgrep.c:1871:35: warning: implicit declaration of function 'verify' [-Wimplicit-function-declaration] 1871 | if((pos = verify(m, 2*m+D, D, pat, oldtext)) > 0) { | ^~~~~~ sgrep.c:1988:91: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1988 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1988:94: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1988 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1992:79: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 1992 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1992:82: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 1992 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function 'am_preprocess': sgrep.c:2137:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2137 | m = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from sgrep.c:4: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sgrep.c: In function 'verify': sgrep.c:2179:51: warning: operation on 'last' may be undefined [-Wsequence-point] 2179 | if(A[last] < D) A[last+1] = A[last++]+1; | ~~~~^~ sgrep.c:2201:51: warning: operation on 'last' may be undefined [-Wsequence-point] 2201 | if(B[last] < D) B[last+1] = B[last++]+1; | ~~~~^~ sgrep.c: In function 'm_preprocess': sgrep.c:2219:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2219 | m = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from agrep.h:15, from sgrep.c:4: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sgrep.c: In function 'monkey4': sgrep.c:2396:91: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 2396 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:2396:94: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 2396 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:2400:79: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 2400 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:2400:82: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 2400 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function 'prep4': sgrep.c:2547:23: warning: operation on 'char_map[103]' may be undefined [-Wsequence-point] 2547 | char_map['g'] = char_map['g'] = 1; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2548:23: warning: operation on 'char_map[116]' may be undefined [-Wsequence-point] 2548 | char_map['t'] = char_map['t'] = 2; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2549:23: warning: operation on 'char_map[99]' may be undefined [-Wsequence-point] 2549 | char_map['c'] = char_map['c'] = 3; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2550:23: warning: operation on 'char_map[110]' may be undefined [-Wsequence-point] 2550 | char_map['n'] = char_map['n'] = 5; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2552:17: warning: implicit declaration of function 'blog'; did you mean 'log'? [-Wimplicit-function-declaration] 2552 | BSize = blog(4, m); | ^~~~ | log sgrep.c:2564:75: warning: array subscript has type 'char' [-Wchar-subscripts] 2564 | hash = (hash << LOG_DNA) +char_map[Pattern[i-k]]; | ~~~~~~~^~~~~ In file included from /usr/include/string.h:519, from agrep.h:15, from sgrep.c:4: In function 'strncpy', inlined from 'sgrep' at sgrep.c:193:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o newmgrep.o newmgrep.c newmgrep.c:52:8: warning: type defaults to 'int' in declaration of 'COUNT' [-Wimplicit-int] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~ newmgrep.c:52:15: warning: type defaults to 'int' in declaration of 'FNAME' [-Wimplicit-int] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~ newmgrep.c:52:22: warning: type defaults to 'int' in declaration of 'SILENT' [-Wimplicit-int] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~ newmgrep.c:52:30: warning: type defaults to 'int' in declaration of 'FILENAMEONLY' [-Wimplicit-int] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~~~~~~~ newmgrep.c:52:44: warning: type defaults to 'int' in declaration of 'prev_num_of_matched' [-Wimplicit-int] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~~~~~~~~~~~~~~ newmgrep.c:52:65: warning: type defaults to 'int' in declaration of 'num_of_matched' [-Wimplicit-int] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~~~~~~~~~ newmgrep.c:52:81: warning: type defaults to 'int' in declaration of 'PRINTFILETIME' [-Wimplicit-int] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~~~~~~~~ newmgrep.c:53:8: warning: type defaults to 'int' in declaration of 'INVERSE' [-Wimplicit-int] 53 | extern INVERSE, OUTTAIL; | ^~~~~~~ newmgrep.c:53:17: warning: type defaults to 'int' in declaration of 'OUTTAIL' [-Wimplicit-int] 53 | extern INVERSE, OUTTAIL; | ^~~~~~~ newmgrep.c:54:8: warning: type defaults to 'int' in declaration of 'WORDBOUND' [-Wimplicit-int] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ newmgrep.c:54:19: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ newmgrep.c:54:30: warning: type defaults to 'int' in declaration of 'NOUPPER' [-Wimplicit-int] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~ newmgrep.c:59:8: warning: type defaults to 'int' in declaration of 'total_line' [-Wimplicit-int] 59 | extern total_line; | ^~~~~~~~~~ newmgrep.c:60:8: warning: type defaults to 'int' in declaration of 'agrep_initialfd' [-Wimplicit-int] 60 | extern agrep_initialfd; | ^~~~~~~~~~~~~~~ newmgrep.c: In function 'prepf': newmgrep.c:195:35: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 195 | while((num_read = fill_buf(mfp, buf+length, 2*BlockSize)) > 0) { | ^~~~~~~~ newmgrep.c:287:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 287 | p = strlen(patt[i]); | ~~~~^~~ | | | unsigned char * In file included from agrep.h:15, from newmgrep.c:12: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ newmgrep.c: In function 'mgrep': newmgrep.c:485:55: warning: implicit declaration of function 'm_short'; did you mean 'qsort'? [-Wimplicit-function-declaration] 485 | if(SHORT) { if (-1 == m_short(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~~~~ | qsort newmgrep.c:486:55: warning: implicit declaration of function 'monkey1' [-Wimplicit-function-declaration] 486 | else { if (-1 == monkey1(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~~~~ newmgrep.c:543:37: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 543 | strncpy(text+start, text+end, residue); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ newmgrep.c:543:49: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 543 | strncpy(text+start, text+end, residue); | ~~~~^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ newmgrep.c: In function 'print_options': newmgrep.c:845:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 845 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld newmgrep.c:845:54: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 845 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld newmgrep.c:849:39: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 849 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld newmgrep.c:849:42: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] 849 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld newmgrep.c: In function 'monkey1': newmgrep.c:1053:96: warning: implicit declaration of function 'eval_tree' [-Wimplicit-function-declaration] 1053 | if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse, amatched_terminals)) { | ^~~~~~~~~ newmgrep.c: In function 'm_short': newmgrep.c:1388:13: warning: unused variable 'm1' [-Wunused-variable] 1388 | int m1=1; | ^~ newmgrep.c: In function 'acompute_duplicates': newmgrep.c:2001:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2001 | leni = strlen(aterminals[i].data.leaf.value); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from agrep.h:15, from newmgrep.c:12: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ newmgrep.c:2007:62: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2007 | lenj = strlen(aterminals[j].data.leaf.value); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from agrep.h:15, from newmgrep.c:12: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ newmgrep.c:1997:38: warning: unused variable 'initk' [-Wunused-variable] 1997 | int i, j, k, leni, lenj, initk; | ^~~~~ newmgrep.c: In function 'monkey1': newmgrep.c:872:13: warning: 'pat_index' may be used uninitialized in this function [-Wmaybe-uninitialized] 872 | int pat_index; | ^~~~~~~~~ newmgrep.c:1051:71: warning: 'curtextend' may be used uninitialized in this function [-Wmaybe-uninitialized] 1051 | if (DOWITHMASK && (text >= curtextend - 1)) { | ~~~~~~~~~~~^~~ newmgrep.c:1022:96: warning: 'curtextbegin' may be used uninitialized in this function [-Wmaybe-uninitialized] 1022 | fwrite(lastout, 1, curtextbegin-lastout, agrep_finalfp);\ | ^ newmgrep.c: In function 'm_short': newmgrep.c:1390:13: warning: 'pat_index' may be used uninitialized in this function [-Wmaybe-uninitialized] 1390 | int pat_index; | ^~~~~~~~~ newmgrep.c:1488:57: warning: 'curtextbegin' may be used uninitialized in this function [-Wmaybe-uninitialized] 1488 | fwrite(curtextbegin, 1, curtextend - curtextbegin, agrep_finalfp);\ | ^~~~~~ newmgrep.c:1488:92: warning: 'curtextend' may be used uninitialized in this function [-Wmaybe-uninitialized] 1488 | fwrite(curtextbegin, 1, curtextend - curtextbegin, agrep_finalfp);\ | ^ gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o utilities.o utilities.c In file included from utilities.c:7: utilities.c: In function 'Push': re.h:75:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 75 | exit(2);\ | ^~~~ utilities.c:21:9: note: in expansion of macro 'new_node' 21 | new_node(Stack, node, node); | ^~~~~~~~ utilities.c:8:1: note: include '' or provide a declaration of 'exit' 7 | #include "re.h" +++ |+#include 8 | In file included from utilities.c:7: re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ utilities.c:21:9: note: in expansion of macro 'new_node' 21 | new_node(Stack, node, node); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ utilities.c:21:9: note: in expansion of macro 'new_node' 21 | new_node(Stack, node, node); | ^~~~~~~~ re.h:77:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:21:9: note: in expansion of macro 'new_node' 21 | new_node(Stack, node, node); | ^~~~~~~~ utilities.c:8:1: note: include '' or provide a declaration of 'memset' 7 | #include "re.h" +++ |+#include 8 | In file included from utilities.c:7: re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:21:9: note: in expansion of macro 'new_node' 21 | new_node(Stack, node, node); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:21:9: note: in expansion of macro 'new_node' 21 | new_node(Stack, node, node); | ^~~~~~~~ utilities.c: In function 'Pop': utilities.c:42:17: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] 42 | free(temp); | ^~~~ utilities.c:42:17: note: include '' or provide a declaration of 'free' utilities.c:42:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] utilities.c:42:17: note: include '' or provide a declaration of 'free' In file included from utilities.c:7: utilities.c: In function 'pset_union': re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ utilities.c:89:17: note: in expansion of macro 'new_node' 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ utilities.c:89:17: note: in expansion of macro 'new_node' 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:89:17: note: in expansion of macro 'new_node' 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:89:17: note: in expansion of macro 'new_node' 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ utilities.c:102:25: note: in expansion of macro 'new_node' 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ utilities.c:102:25: note: in expansion of macro 'new_node' 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:102:25: note: in expansion of macro 'new_node' 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:102:25: note: in expansion of macro 'new_node' 102 | new_node(Pset, new, new); | ^~~~~~~~ utilities.c: In function 'create_pos': re.h:75:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit(2);\ | ^~~~ utilities.c:124:9: note: in expansion of macro 'new_node' 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:75:17: note: include '' or provide a declaration of 'exit' 75 | exit(2);\ | ^~~~ utilities.c:124:9: note: in expansion of macro 'new_node' 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:77:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:124:9: note: in expansion of macro 'new_node' 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:77:9: note: include '' or provide a declaration of 'memset' 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:124:9: note: in expansion of macro 'new_node' 124 | new_node(Pset, x, x); | ^~~~~~~~ utilities.c: In function 'word_exists': utilities.c:168:30: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 168 | if (!strncmp(line, word, wordlen)) { | ^~~~~~~ utilities.c:168:30: note: include '' or provide a declaration of 'strncmp' utilities.c:168:38: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 168 | if (!strncmp(line, word, wordlen)) { | ^~~~ | | | unsigned char * utilities.c:168:38: note: expected 'const char *' but argument is of type 'unsigned char *' utilities.c:168:44: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 168 | if (!strncmp(line, word, wordlen)) { | ^~~~ | | | unsigned char * utilities.c:168:44: note: expected 'const char *' but argument is of type 'unsigned char *' utilities.c:168:50: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 168 | if (!strncmp(line, word, wordlen)) { | ^~~~~~~ : note: built-in 'strncmp' declared here gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o dummyfilters.o dummyfilters.c /usr/bin/ar rcv ../lib/libagrep.a follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o a - follow.o a - asearch.o a - asearch1.o a - agrep.o a - bitap.o a - checkfile.o a - compat.o a - maskgen.o a - parse.o a - checksg.o a - preprocess.o a - delim.o a - asplit.o a - recursive.o a - sgrep.o a - newmgrep.o a - utilities.o a - dummyfilters.o ranlib ../lib/libagrep.a gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o main.o main.c In file included from main.c:15: dummysyscalls.c: In function 'my_lstat': dummysyscalls.c:25:16: warning: implicit declaration of function 'lstat'; did you mean 'my_lstat'? [-Wimplicit-function-declaration] 25 | return lstat(name, buf); | ^~~~~ | my_lstat dummysyscalls.c: In function 'my_stat': dummysyscalls.c:33:16: warning: implicit declaration of function 'stat'; did you mean 'strcat'? [-Wimplicit-function-declaration] 33 | return stat(name, buf); | ^~~~ | strcat main.c: In function 'main': main.c:29:15: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] 29 | ret = fileagrep(argc, argv, 0, stdout); | ^~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld lto-wrapper: warning: using serial compilation of 3 LTRANS jobs 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 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o buffer.o buffer.c buffer.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | static char rcsid[] = "$Id: buffer.c,v 1.2 2003/11/13 05:17:39 golda Exp $"; | ^~~~~ gcc -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o host.o host.c host.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | static char rcsid[] = "$Id: host.c,v 1.2 2006/03/25 02:13:55 root Exp $"; | ^~~~~ gcc -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o log.o log.c log.c: In function 'fatal': log.c:135:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 135 | exit(1); | ^~~~ log.c:24:1: note: include '' or provide a declaration of 'exit' 23 | #include "util.h" +++ |+#include 24 | log.c:135:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 135 | exit(1); | ^~~~ log.c:135:17: note: include '' or provide a declaration of 'exit' log.c:140:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 140 | exit(1); | ^~~~ log.c:140:17: note: include '' or provide a declaration of 'exit' log.c:149:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 149 | exit(1); | ^~~~ log.c:149:9: note: include '' or provide a declaration of 'exit' At top level: log.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | static char rcsid[] = "$Id: log.c,v 1.5 2006/02/03 16:53:26 golda Exp $"; | ^~~~~ gcc -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o strdup.o strdup.c strdup.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | static char rcsid[] = "$Id: strdup.c,v 1.2 1999/11/19 08:11:49 golda Exp $"; | ^~~~~ gcc -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o system.o system.c system.c: In function 'run_cmd': system.c:70:17: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 70 | memset(argv, '\0', sizeof(char *) * 64); | ^~~~~~ system.c:23:1: note: include '' or provide a declaration of 'memset' 22 | #include "util.h" +++ |+#include 23 | #ifdef HAVE_SETRLIMIT system.c:70:17: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 70 | memset(argv, '\0', sizeof(char *) * 64); | ^~~~~~ system.c:70:17: note: include '' or provide a declaration of 'memset' system.c:85:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 85 | (void) waitpid(pid, &status, (int) NULL); | ^ system.c: In function 'do_system_lifetime': system.c:140:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 140 | (void) waitpid(dsl_pid, (int *) NULL, (int) NULL); | ^ system.c:148:17: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] 148 | memset(argv, '\0', sizeof(char *) * 64); | ^~~~~~ system.c:148:17: note: include '' or provide a declaration of 'memset' system.c:150:33: warning: array subscript has type 'char' [-Wchar-subscripts] 150 | for (i = 0; argv[i] != NULL; i++) { | ^ system.c:151:33: warning: array subscript has type 'char' [-Wchar-subscripts] 151 | if (argv[i][0] == '>' && argv[i + 1] != NULL) { | ^ system.c:152:37: warning: array subscript has type 'char' [-Wchar-subscripts] 152 | argv[i] = NULL; | ^ system.c:153:54: warning: array subscript has type 'char' [-Wchar-subscripts] 153 | redirect_stdout(argv[++i]); | ^~~ At top level: system.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | static char rcsid[] = "$Id: system.c,v 1.2 2003/11/13 05:17:39 golda Exp $"; | ^~~~~ gcc -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o strerror.o strerror.c strerror.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | static char rcsid[] = "$Id: strerror.c,v 1.2 1999/11/19 08:11:49 golda Exp $"; | ^~~~~ gcc -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o string.o string.c string.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | static char rcsid[] = "$Id: string.c,v 1.1 1999/11/03 20:42:14 golda Exp $"; | ^~~~~ gcc -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I../include -c -o xmalloc.o xmalloc.c xmalloc.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | 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 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o template.o template.c template.c:1:13: warning: 'rcsid' defined but not used [-Wunused-variable] 1 | 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 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DBUILDCAST=1 -o buildcast.o buildcast.c buildcast.c:89:8: warning: type defaults to 'int' in declaration of 'set_usemalloc' [-Wimplicit-int] 89 | extern set_usemalloc(); /* compress/misc.c */ | ^~~~~~~~~~~~~ buildcast.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] 98 | cross_boundary(oldnum, newnum) | ^~~~~~~~~~~~~~ buildcast.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] 111 | determine_sync() | ^~~~~~~~~~~~~~ buildcast.c: In function 'determine_sync': buildcast.c:115:17: warning: unused variable 'i' [-Wunused-variable] 115 | int i, ret; | ^ buildcast.c: At top level: buildcast.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] 158 | main(argc, argv) | ^~~~ buildcast.c: In function 'main': buildcast.c:193:5: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] 193 | build_filename_hashtable((char *)NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:201:20: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 201 | return usage(1); | ^~~~~ buildcast.c:536:9: warning: implicit declaration of function 'partition' [-Wimplicit-function-declaration] 536 | partition(argc, argv); | ^~~~~~~~~ buildcast.c:573:5: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] 573 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ buildcast.c:585:5: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] 585 | initialize_tuncompress(string_file, freq_file, 0); | ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:626:5: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] 626 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ buildcast.c:745:5: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] 745 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:747:5: warning: implicit declaration of function 'build_index' [-Wimplicit-function-declaration] 747 | build_index(); | ^~~~~~~~~~~ buildcast.c:749:5: warning: implicit declaration of function 'cleanup' [-Wimplicit-function-declaration] 749 | cleanup(); | ^~~~~~~ buildcast.c:750:5: warning: implicit declaration of function 'save_data_structures' [-Wimplicit-function-declaration] 750 | save_data_structures(); | ^~~~~~~~~~~~~~~~~~~~ buildcast.c:751:5: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] 751 | destroy_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:752:5: warning: implicit declaration of function 'uninitialize_common' [-Wimplicit-function-declaration] 752 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ buildcast.c:753:5: warning: implicit declaration of function 'uninitialize_tcompress' [-Wimplicit-function-declaration] 753 | uninitialize_tcompress(); | ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:754:5: warning: implicit declaration of function 'uninitialize_tuncompress' [-Wimplicit-function-declaration] 754 | uninitialize_tuncompress(); | ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:755:5: warning: implicit declaration of function 'compute_dictionary' [-Wimplicit-function-declaration] 755 | compute_dictionary(threshold, DISKBLOCKSIZE, specialwords, INDEX_DIR); | ^~~~~~~~~~~~~~~~~~ buildcast.c:759:14: warning: implicit declaration of function 'initialize_tcompress' [-Wimplicit-function-declaration] 759 | if (!initialize_tcompress(hash_file, freq_file, TC_ERRORMSGS)) goto docleanup; | ^~~~~~~~~~~~~~~~~~~~ buildcast.c:764:13: warning: argument 2 null where non-null expected [-Wnonnull] 764 | strcpy(name, LIST_GET(name_list, i)); | ^~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/string_fortified.h:77:1: note: in a call to function 'strcpy' declared 'nonnull' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ buildcast.c:765:13: warning: implicit declaration of function 'tcompress_file' [-Wimplicit-function-declaration] 765 | tcompress_file(name, outname, TC_REMOVE | TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT); | ^~~~~~~~~~~~~~ buildcast.c:170:17: warning: unused variable 'stbuf' [-Wunused-variable] 170 | struct stat stbuf; | ^~~~~ buildcast.c:169:10: warning: unused variable 'tmpbuf' [-Wunused-variable] 169 | char tmpbuf[1024]; | ^~~~~~ buildcast.c:167:11: warning: unused variable 'tmpfp' [-Wunused-variable] 167 | FILE *tmpfp; | ^~~~~ buildcast.c:165:27: warning: unused variable 's1' [-Wunused-variable] 165 | 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] 1063 | cleanup() | ^~~~~~~ buildcast.c:1125:1: warning: return type defaults to 'int' [-Wimplicit-int] 1125 | usage(flag) | ^~~~~ buildcast.c: In function 'determine_sync': buildcast.c:120:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | system(S); | ^~~~~~~~~ buildcast.c: In function 'main': buildcast.c:464:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 464 | fgets(buffer, 1024, filefp); /* skip over num. of file names */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:521:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 521 | getcwd(INDEX_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:526:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 526 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:531:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 531 | getcwd(INDEX_DIR, MAX_LINE_LEN - 1); /* must be absolute path name */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:532:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 532 | chdir(working_dir); /* get back to where you were */ | ^~~~~~~~~~~~~~~~~~ buildcast.c:649:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 649 | system(s); | ^~~~~~~~~ buildcast.c:657:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 657 | system(s); | ^~~~~~~~~ buildcast.c:665:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 665 | system(s); | ^~~~~~~~~ buildcast.c:673:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 673 | system(s); | ^~~~~~~~~ buildcast.c:681:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 681 | system(s); | ^~~~~~~~~ buildcast.c:689:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 689 | system(s); | ^~~~~~~~~ buildcast.c:697:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 697 | system(s); | ^~~~~~~~~ buildcast.c:705:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 705 | system(s); | ^~~~~~~~~ buildcast.c:716:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 716 | system(s); | ^~~~~~~~~ buildcast.c:731:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 731 | system(s); | ^~~~~~~~~ buildcast.c:733:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 733 | system(s); | ^~~~~~~~~ buildcast.c:735:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 735 | system(s); | ^~~~~~~~~ buildcast.c:737:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 737 | system(s); | ^~~~~~~~~ buildcast.c:739:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 739 | system(s); | ^~~~~~~~~ buildcast.c:804:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 804 | system(s); | ^~~~~~~~~ buildcast.c:806:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 806 | system(s); | ^~~~~~~~~ buildcast.c:808:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 808 | system(s); | ^~~~~~~~~ buildcast.c:810:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 810 | system(s); | ^~~~~~~~~ buildcast.c:812:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 812 | system(s); | ^~~~~~~~~ buildcast.c:814:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 814 | system(s); | ^~~~~~~~~ buildcast.c:816:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 816 | system(s); | ^~~~~~~~~ buildcast.c:818:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 818 | system(s); | ^~~~~~~~~ buildcast.c:820:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 820 | system(s); | ^~~~~~~~~ buildcast.c: In function 'cleanup': buildcast.c:1067:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1067 | sprintf(s, "%s/%s", INDEX_DIR, I1); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ buildcast.c:1069:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1069 | sprintf(s, "%s/%s", INDEX_DIR, I2); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ buildcast.c:1071:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1071 | sprintf(s, "%s/%s", INDEX_DIR, I3); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ buildcast.c:1073:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1073 | sprintf(s, "%s/%s", INDEX_DIR, O1); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ buildcast.c:1075:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1075 | sprintf(s, "%s/%s", INDEX_DIR, O2); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ buildcast.c:1077:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1077 | sprintf(s, "%s/%s", INDEX_DIR, O3); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ buildcast.c:1079:19: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1079 | sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from buildcast.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from glimpse.h:10, from buildcast.c:3: In function 'strncpy', inlined from 'main' at buildcast.c:189:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at buildcast.c:417:6: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at buildcast.c:524:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection region.c gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection dir.c dir.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] 117 | fsize(name, pat, pat_len, num_pat, inc, inc_len, num_inc, toplevel) | ^~~~~ dir.c: In function 'fsize': dir.c:153:78: warning: implicit declaration of function 'get_filename_index' [-Wimplicit-function-declaration] 153 | if (!IndexableFile && !DeleteFromIndex && FastIndex && ((fileindex = get_filename_index(name, name_list, file_num)) != -1) && (disable_list[block2index(fileindex)] & mask_int[fileindex % (8*sizeof(int))])) { | ^~~~~~~~~~~~~~~~~~ dir.c:170:25: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] 170 | remove_filename(fileindex, new_partition);\ | ^~~~~~~~~~~~~~~ dir.c:268:17: note: in expansion of macro 'PROCESS_EXIT' 268 | PROCESS_EXIT; | ^~~~~~~~~~~~ dir.c:222:30: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] 222 | (memagrep_search(-inc_len[i], inc[i], len_current_dir_buf, current_dir_buf, 0, dummyout) > 0))\ | ^~~~~~~~~~~~~~~ dir.c:280:17: note: in expansion of macro 'PROCESS_INCLUDE' 280 | PROCESS_INCLUDE; | ^~~~~~~~~~~~~~~ dir.c:332:27: warning: implicit declaration of function 'fsize_directory' [-Wimplicit-function-declaration] 332 | if (-1 == fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc)) return -1; | ^~~~~~~~~~~~~~~ dir.c:336:22: warning: implicit declaration of function 'filetype' [-Wimplicit-function-declaration] 336 | if (!filetype(name, IndexEverything?2:1, NULL, NULL)) printf("%s\n", name); | ^~~~~~~~ dir.c:353:21: warning: implicit declaration of function 'tuncompress_file' [-Wimplicit-function-declaration] 353 | if (tuncompress_file(name, outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT) <= 0) return 0; | ^~~~~~~~~~~~~~~~ dir.c:393:29: warning: implicit declaration of function 'change_filename' [-Wimplicit-function-declaration] 393 | change_filename(name, name_len, fileindex, t1); | ^~~~~~~~~~~~~~~ dir.c:427:21: warning: implicit declaration of function 'insert_filename' [-Wimplicit-function-declaration] 427 | insert_filename(LIST_GET(name_list, file_num), file_num); | ^~~~~~~~~~~~~~~ dir.c:330:1: warning: label 'index_everything' defined but not used [-Wunused-label] 330 | index_everything: | ^~~~~~~~~~~~~~~~ dir.c:134:35: warning: unused variable 'temp' [-Wunused-variable] 134 | 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] 492 | fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc) | ^~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection io.c In file included from io.c:12: utils.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] 449 | hashNk(name, len) | ^~~~~~ io.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] 48 | get_array_of_lines(inputfile, table, max_entry, overflow_ok) | ^~~~~~~~~~~~~~~~~~ io.c: In function 'get_array_of_lines': io.c:66:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 66 | fgets(buffer, MAX_NAME_BUF, file_in); | ^~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ io.c:67:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 67 | sscanf(buffer, "%d", &num_lines); | ^~~~~~ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:417:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 417 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ io.c:75:21: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 75 | while(fgets(buffer, MAX_NAME_BUF, file_in)) { | ^~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ io.c:76:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 76 | line_length = strlen(buffer); | ^~~~~~ | | | unsigned char * In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ io.c:107:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 107 | strcpy(np, buffer); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __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] 169 | get_index_type(s, dashn, num, attr, delim) | ^~~~~~~~~~~~~~ io.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] 188 | get_block_numbers(srcbuf, destbuf, partfp) | ^~~~~~~~~~~~~~~~~ io.c: In function 'get_block_numbers': io.c:212:19: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 212 | if (fgets(destbuf, REAL_INDEX_BUF - MAX_WORD_BUF - 1, partfp) == NULL) { | ^~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ io.c: In function 'load_dyn_filters': io.c:266:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 266 | len = strlen(filter_command[i]); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ io.c:272:62: warning: pointer targets in passing argument 1 of 'dlopen' differ in signedness [-Wpointer-sign] 272 | if ((filter_handle[i] = dlopen(filter_command[i], | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from io.c:8: /usr/include/dlfcn.h:56:34: note: expected 'const char *' but argument is of type 'unsigned char *' 56 | 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] 369 | read_filters(index_dir, dofilter) | ^~~~~~~~~~~~ io.c: In function 'read_filters': io.c:387:20: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 387 | if (!dofilter) return; | ^~~~~~ io.c:369:1: note: declared here 369 | read_filters(index_dir, dofilter) | ^~~~~~~~~~~~ io.c: At top level: io.c:449:1: warning: return type defaults to 'int' [-Wimplicit-int] 449 | apply_filter(inname, outname) | ^~~~~~~~~~~~ io.c: In function 'apply_filter': io.c:481:60: warning: pointer targets in passing argument 2 of 'strstr' differ in signedness [-Wpointer-sign] 481 | if ((suffix = strstr(name+1, filter[i])) != NULL) { /* Chris Dalton */ | ~~~~~~^~~ | | | unsigned char * In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:334:58: note: expected 'const char *' but argument is of type 'unsigned char *' 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~ io.c:514:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 514 | if (strcmp(filter[i], suffix) == 0) { | ~~~~~~^~~ | | | unsigned char * In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ io.c:526:30: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] 526 | (memagrep_search(-filter_len[i], filter[i], name_len + 2, name, 0, dummyout) > 0)) { | ^~~~~~~~~~~~~~~ io.c:455:17: warning: unused variable 's' [-Wunused-variable] 455 | char s[MAX_LINE_LEN]; | ^ io.c:453:56: warning: unused variable 'es2' [-Wunused-variable] 453 | char name[MAX_LINE_LEN], es1[MAX_LINE_LEN], es2[MAX_LINE_LEN]; | ^~~ io.c:453:37: warning: unused variable 'es1' [-Wunused-variable] 453 | 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] 566 | static_stop_list(word) | ^~~~~~~~~~~~~~~~ io.c: In function 'my_malloc': io.c:646:16: warning: unused variable 'i' [-Wunused-variable] 646 | static int i=100; | ^ io.c: At top level: io.c:662:1: warning: return type defaults to 'int' [-Wimplicit-int] 662 | my_free(ptr, size) | ^~~~~~~ io.c:709:1: warning: return type defaults to 'int' [-Wimplicit-int] 709 | tokenallfree() | ^~~~~~~~~~~~ io.c:714:1: warning: return type defaults to 'int' [-Wimplicit-int] 714 | tokenfree(e, len) | ^~~~~~~~~ io.c:736:1: warning: return type defaults to 'int' [-Wimplicit-int] 736 | indicesallfree() | ^~~~~~~~~~~~~~ io.c:741:1: warning: return type defaults to 'int' [-Wimplicit-int] 741 | indicesfree(e, len) | ^~~~~~~~~~~ io.c:764:1: warning: return type defaults to 'int' [-Wimplicit-int] 764 | wordallfree() | ^~~~~~~~~~~ io.c:769:1: warning: return type defaults to 'int' [-Wimplicit-int] 769 | wordfree(s, len) | ^~~~~~~~ io.c: In function 'read_mini': io.c:1018:25: warning: unused variable 's' [-Wunused-variable] 1018 | 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] 1049 | dump_mini(indexfile) | ^~~~~~~~~ io.c: In function 'dump_mini': io.c:1073:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1073 | sprintf(s, "%s.tmp", indexfile); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ io.c:1074:33: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 1074 | if ((newindexfp = fopen(s, "w")) == NULL) { | ^ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ io.c:1081:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1081 | fgets(indexnumber, 256, indexfp); | ^~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ io.c:1082:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1082 | fgets(onefileperblock, 256, indexfp); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ io.c:1086:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1086 | while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { | ^ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ io.c:1088:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1088 | linelen = strlen(s); | ^ | | | unsigned char * In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ io.c:1099:27: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 1099 | if (fputs(s, newindexfp) == EOF) { | ^ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ io.c:1110:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1110 | sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ io.c:1111:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 1111 | system(s); | ^ | | | unsigned char * In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ io.c:1117:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1117 | sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ io.c:1119:21: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 1119 | rc = system(s); | ^ | | | unsigned char * In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ io.c:1130:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1130 | sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ io.c:1131:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 1131 | system(s); | ^ | | | unsigned char * In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ io.c:1144:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1144 | sprintf(s, "%s.tmp", indexfile); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ io.c:1145:33: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 1145 | if ((newindexfp = fopen(s, "w")) == NULL) { | ^ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ io.c:1151:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1151 | sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ io.c:1152:29: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] 1152 | if ((minifp = fopen(s, "w")) == NULL) { | ^ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:252:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 252 | extern FILE *fopen (const char *__restrict __filename, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ io.c:1159:15: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 1159 | fputs(indexnumber, newindexfp); | ^~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ io.c:1160:15: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 1160 | fputs(onefileperblock, newindexfp); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ io.c:1167:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1167 | while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { | ^ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ io.c:1168:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1168 | linelen = strlen(s); | ^ | | | unsigned char * In file included from glimpse.h:10, from io.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ io.c:1173:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 1173 | sscanf(s, "%d", &hash_value); | ^ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:417:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 417 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ io.c:1175:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 1175 | fputs(t, newindexfp); | ^ | | | unsigned char * In file included from glimpse.h:8, from io.c:3: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ io.c:1210:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1210 | sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ io.c:1211:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 1211 | system(s); | ^ | | | unsigned char * In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ io.c:1217:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1217 | sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequote(indexfile, es1), escapesinglequote(indexfile, es2)); | ^ | | | unsigned char * In file included from /usr/include/features.h:490, 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:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ io.c:1218:16: warning: pointer targets in passing argument 1 of 'system' differ in signedness [-Wpointer-sign] 1218 | system(s); | ^ | | | unsigned char * In file included from glimpse.h:9, from io.c:3: /usr/include/stdlib.h:789:32: note: expected 'const char *' but argument is of type 'unsigned char *' 789 | extern int system (const char *__command) __wur; | ~~~~~~~~~~~~^~~~~~~~~ io.c:1052:46: warning: unused variable 'word' [-Wunused-variable] 1052 | 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] 1236 | initialize_data_structures(files) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1261:1: warning: return type defaults to 'int' [-Wimplicit-int] 1261 | destroy_data_structures() | ^~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'special_parse_name': io.c:1287:17: warning: unused variable 'index' [-Wunused-variable] 1287 | int index; | ^~~~~ io.c: In function 'get_filename_index': io.c:1427:17: warning: unused variable 'i' [-Wunused-variable] 1427 | int i, begin=-1, end=-1; | ^ io.c: At top level: io.c:1463:1: warning: return type defaults to 'int' [-Wimplicit-int] 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c: In function 'insert_filename': io.c:1474:27: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1474 | if (name == NULL) return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1476:64: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1476 | if (special_parse_name(name, len, &begin, &end) == -1) return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1479:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1479 | return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1496:28: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1496 | if ((*pe) != NULL) return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1469:17: warning: unused variable 'i' [-Wunused-variable] 1469 | int i, begin=-1, end=-1; | ^ io.c: At top level: io.c:1515:1: warning: return type defaults to 'int' [-Wimplicit-int] 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c: In function 'change_filename': io.c:1525:54: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1525 | if (special_get_name(name, len, temp) == -1) return; | ^~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c:1529:28: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1529 | if ((*pe) == NULL) return; | ^~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c:1534:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1534 | return; | ^~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c:1521:33: warning: unused variable 't' [-Wunused-variable] 1521 | name_hashelement **pe, *t; | ^ io.c: At top level: io.c:1537:1: warning: return type defaults to 'int' [-Wimplicit-int] 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c: In function 'delete_filename': io.c:1548:27: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1548 | if (name == NULL) return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1550:64: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1550 | if (special_parse_name(name, len, &begin, &end) == -1) return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1553:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1553 | return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1570:28: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1570 | if ((*pe) == NULL) return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1577:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1577 | return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1543:17: warning: unused variable 'i' [-Wunused-variable] 1543 | int i, begin=-1, end=-1; | ^ io.c: At top level: io.c:1580:1: warning: return type defaults to 'int' [-Wimplicit-int] 1580 | init_filename_hashtable() | ^~~~~~~~~~~~~~~~~~~~~~~ io.c:1587:1: warning: return type defaults to 'int' [-Wimplicit-int] 1587 | build_filename_hashtable(names, num) | ^~~~~~~~~~~~~~~~~~~~~~~~ io.c:1598:1: warning: return type defaults to 'int' [-Wimplicit-int] 1598 | destroy_filename_hashtable() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'get_array_of_lines': io.c:66:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 66 | fgets(buffer, MAX_NAME_BUF, file_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'get_index_type': io.c:180:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 180 | fscanf(fp, "%s\n%%%d\n%%%d%s\n", buf, num, attr, delim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function 'get_block_numbers': io.c:218:1: warning: control reaches end of non-void function [-Wreturn-type] 218 | } | ^ io.c: In function 'my_free': io.c:671:1: warning: control reaches end of non-void function [-Wreturn-type] 671 | } | ^ io.c: In function 'tokenallfree': io.c:712:1: warning: control reaches end of non-void function [-Wreturn-type] 712 | } | ^ io.c: In function 'tokenfree': io.c:719:1: warning: control reaches end of non-void function [-Wreturn-type] 719 | } | ^ io.c: In function 'indicesallfree': io.c:739:1: warning: control reaches end of non-void function [-Wreturn-type] 739 | } | ^ io.c: In function 'indicesfree': io.c:746:1: warning: control reaches end of non-void function [-Wreturn-type] 746 | } | ^ io.c: In function 'wordallfree': io.c:767:1: warning: control reaches end of non-void function [-Wreturn-type] 767 | } | ^ io.c: In function 'wordfree': io.c:774:1: warning: control reaches end of non-void function [-Wreturn-type] 774 | } | ^ io.c: In function 'dump_mini': io.c:1081:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1081 | fgets(indexnumber, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1082:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1082 | fgets(onefileperblock, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1084:17: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 1084 | fscanf(indexfp, "%%%d\n", &attr_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1111:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1111 | system(s); | ^~~~~~~~~ io.c:1131:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1131 | system(s); | ^~~~~~~~~ io.c:1133:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1133 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ io.c:1211:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1211 | system(s); | ^~~~~~~~~ io.c:1218:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1218 | system(s); | ^~~~~~~~~ io.c:1220:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1220 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ io.c:1221:1: warning: control reaches end of non-void function [-Wreturn-type] 1221 | } | ^ io.c: In function 'initialize_data_structures': io.c:1259:1: warning: control reaches end of non-void function [-Wreturn-type] 1259 | } | ^ io.c: In function 'destroy_data_structures': io.c:1273:1: warning: control reaches end of non-void function [-Wreturn-type] 1273 | } | ^ io.c: In function 'init_filename_hashtable': io.c:1584:1: warning: control reaches end of non-void function [-Wreturn-type] 1584 | } | ^ io.c: In function 'build_filename_hashtable': io.c:1596:1: warning: control reaches end of non-void function [-Wreturn-type] 1596 | } | ^ io.c: In function 'destroy_filename_hashtable': io.c:1616:1: warning: control reaches end of non-void function [-Wreturn-type] 1616 | } | ^ io.c: In function 'get_file_time': io.c:1631:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1631 | fread(array, sizeof(long), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: io.c:646:16: warning: 'i' defined but not used [-Wunused-variable] 646 | static int i=100; | ^ io.c: In function 'apply_one_filter.isra.0': io.c:328:43: warning: '%s' directive writing up to 1023 bytes into a region of size between 1013 and 2036 [-Wformat-overflow=] 328 | sprintf(command, "exec %s '%s' > '%s'", filter_command[filter_number], | ^~ 329 | escaped_in, escaped_out); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 14 or more bytes (assuming 2060) into a destination of size 2048 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ io.c: In function 'dump_mini': io.c:1110:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] 1110 | sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ io.c:1117:36: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 1117 | sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, escapesinglequote(INDEX_DIR, es1), escapesinglequote(indexfile, es2), escapesinglequote(indexfile, es3)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 32 or more bytes (assuming 2078) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ io.c:1130:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] 1130 | sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 15 and 1038 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ io.c:1151:24: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1151 | sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ io.c:1210:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1015 [-Wformat-overflow=] 1210 | sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfile, es1)); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from io.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 11 and 1034 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection build_in.c build_in.c:128:1: warning: return type defaults to 'int' [-Wimplicit-int] 128 | build_index() | ^~~~~~~~~~~ build_in.c: In function 'build_index': build_in.c:143:9: warning: implicit declaration of function 'build_hash' [-Wimplicit-function-declaration] 143 | build_hash(); | ^~~~~~~~~~ build_in.c:145:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 145 | return; | ^~~~~~ build_in.c:128:1: note: declared here 128 | build_index() | ^~~~~~~~~~~ build_in.c:130:17: warning: unused variable 'i' [-Wunused-variable] 130 | int i; | ^ build_in.c: At top level: build_in.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] 157 | traverse() | ^~~~~~~~ build_in.c: In function 'traverse': build_in.c:215:33: warning: implicit declaration of function 'encode16b' [-Wimplicit-function-declaration] 215 | attribute = encode16b(tp->attribute); | ^~~~~~~~~ build_in.c:350:44: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration] 350 | temp = encode8b(0); | ^~~~~~~~ build_in.c:379:41: warning: implicit declaration of function 'encode24b' [-Wimplicit-function-declaration] 379 | x = encode24b(ip->index[j]); | ^~~~~~~~~ build_in.c:482:33: warning: implicit declaration of function 'encode12b' [-Wimplicit-function-declaration] 482 | x = encode12b(ip->index[j]); | ^~~~~~~~~ build_in.c:588:5: warning: implicit declaration of function 'tokenallfree'; did you mean 'tokenfree'? [-Wimplicit-function-declaration] 588 | tokenallfree(); | ^~~~~~~~~~~~ | tokenfree build_in.c:589:5: warning: implicit declaration of function 'indicesallfree'; did you mean 'indicesfree'? [-Wimplicit-function-declaration] 589 | indicesallfree(); | ^~~~~~~~~~~~~~ | indicesfree build_in.c:590:5: warning: implicit declaration of function 'wordallfree'; did you mean 'wordfree'? [-Wimplicit-function-declaration] 590 | wordallfree(); | ^~~~~~~~~~~ | wordfree build_in.c:175:9: warning: variable 'fputcerr' set but not used [-Wunused-but-set-variable] 175 | 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] 602 | traverse1() | ^~~~~~~~~ build_in.c: In function 'traverse1': build_in.c:713:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 713 | return; | ^~~~~~ build_in.c:602:1: note: declared here 602 | traverse1() | ^~~~~~~~~ build_in.c:744:5: warning: implicit declaration of function 'merge_in' [-Wimplicit-function-declaration] 744 | merge_in(i2, i1, i3); | ^~~~~~~~ build_in.c:610:9: warning: unused variable 'i' [-Wunused-variable] 610 | int i; | ^ build_in.c: At top level: build_in.c:784:1: warning: return type defaults to 'int' [-Wimplicit-int] 784 | build_hash() | ^~~~~~~~~~ build_in.c: In function 'build_hash': build_in.c:807:26: warning: implicit declaration of function 'region_initialize' [-Wimplicit-function-declaration] 807 | if (StructuredIndex) region_initialize(); | ^~~~~~~~~~~~~~~~~ build_in.c:808:5: warning: implicit declaration of function 'init_hash_table' [-Wimplicit-function-declaration] 808 | init_hash_table(); | ^~~~~~~~~~~~~~~ build_in.c:818:25: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 818 | if (tried_once) return; | ^~~~~~ build_in.c:784:1: note: declared here 784 | build_hash() | ^~~~~~~~~~ build_in.c:831:24: warning: implicit declaration of function 'tuncompress_file' [-Wimplicit-function-declaration] 831 | if ((ret = tuncompress_file(LIST_GET(name_list, i), outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT)) > 0) { /* do not remove old .TZ file */ | ^~~~~~~~~~~~~~~~ build_in.c:832:47: warning: implicit declaration of function 'region_create' [-Wimplicit-function-declaration] 832 | if (StructuredIndex && (-1 == region_create(outname))) { | ^~~~~~~~~~~~~ build_in.c:834:21: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] 834 | remove_filename(i, -1); | ^~~~~~~~~~~~~~~ build_in.c:840:42: warning: implicit declaration of function 'region_destroy' [-Wimplicit-function-declaration] 840 | if (StructuredIndex) region_destroy(); /* cannot happen! */ | ^~~~~~~~~~~~~~ build_in.c:850:24: warning: implicit declaration of function 'apply_filter' [-Wimplicit-function-declaration] 850 | if ((ret = apply_filter(LIST_GET(name_list, i), outname)) == 1) { | ^~~~~~~~~~~~ build_in.c:869:21: warning: implicit declaration of function 'filetype' [-Wimplicit-function-declaration] 869 | if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { /* try to index input file if it satisfies filetype */ | ^~~~~~~~ build_in.c:1021:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1021 | return; | ^~~~~~ build_in.c:784:1: note: declared here 784 | build_hash() | ^~~~~~~~~~ build_in.c:1053:60: warning: argument 1 null where non-null expected [-Wnonnull] 1053 | if (BuildDictionary && CompressAfterBuild) strcpy(LIST_GET(name_list, i), outname); /* name of clear file will be smaller, so enough space */ | ^~~~~~ In file included from /usr/include/features.h:490, 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:77:1: note: in a call to function 'strcpy' declared 'nonnull' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ build_in.c:798:20: warning: unused variable 'last_record' [-Wunused-variable] 798 | 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] 1233 | init_hash_table() | ^~~~~~~~~~~~~~~ build_in.c: In function 'init_hash_table': build_in.c:1238:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1238 | return; | ^~~~~~ build_in.c:1233:1: note: declared here 1233 | init_hash_table() | ^~~~~~~~~~~~~~~ In file included from build_in.c:26: build_in.c: In function 'insert_h': glimpse.h:233:96: warning: implicit declaration of function 'hash64k' [-Wimplicit-function-declaration] 233 | #define hashword(word, wordlen) (((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); | ^~~~~~~ build_in.c:1267:18: note: in expansion of macro 'hashword' 1267 | hash_value = hashword(word, wordlen); | ^~~~~~~~ glimpse.h:233:123: warning: implicit declaration of function 'hash256k' [-Wimplicit-function-declaration] 233 | #define hashword(word, wordlen) (((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); | ^~~~~~~~ build_in.c:1267:18: note: in expansion of macro 'hashword' 1267 | hash_value = hashword(word, wordlen); | ^~~~~~~~ build_in.c: At top level: build_in.c:1459:1: warning: return type defaults to 'int' [-Wimplicit-int] 1459 | scanword(word, buffer, buffer_end, attr) | ^~~~~~~~ build_in.c:1484:1: warning: return type defaults to 'int' [-Wimplicit-int] 1484 | merge_in(f1, f2, f3) | ^~~~~~~~ build_in.c: In function 'merge_in': build_in.c:1507:15: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1507 | if (fgets(dest_index_buf, REAL_INDEX_BUF, f2) == NULL) dest_index_buf[0] = '\0'; | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | 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] 1509 | dest_end_pt = strlen(dest_index_buf); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 1516 | while(fgets(src_index_buf, REAL_INDEX_BUF, f1)) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ build_in.c:1518:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1518 | src_end_pt = strlen(src_index_buf); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ build_in.c:1525:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 1525 | fputs(dest_index_buf, f3); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ build_in.c:1528:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1528 | if(fgets(dest_index_buf, REAL_INDEX_BUF, f2) == NULL) { | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ build_in.c:1534:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1534 | dest_end_pt = strlen(dest_index_buf); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ build_in.c:1557:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1557 | strcpy(merge_index_buf, src_index_buf); /* save the word itself */ | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ build_in.c:1557:49: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1557 | strcpy(merge_index_buf, src_index_buf); /* save the word itself */ | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ build_in.c:1558:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1558 | 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 */ | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ build_in.c:1571:33: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration] 1571 | x = decode8b(src_index_buf[bdx1]); | ^~~~~~~~ build_in.c:1577:37: warning: implicit declaration of function 'decode12b' [-Wimplicit-function-declaration] 1577 | x = decode12b(x); | ^~~~~~~~~ build_in.c:1590:33: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration] 1590 | x = decode16b(x); | ^~~~~~~~~ build_in.c:1595:33: warning: implicit declaration of function 'decode24b' [-Wimplicit-function-declaration] 1595 | x = decode24b(x); | ^~~~~~~~~ build_in.c:1611:36: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1611 | strcpy(merge_index_buf, dest_index_buf); /* save the word itself */ | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ build_in.c:1611:53: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1611 | strcpy(merge_index_buf, dest_index_buf); /* save the word itself */ | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ build_in.c:1612:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1612 | merge_len = strlen(merge_index_buf); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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=] 1756 | fprintf(stderr,"Had to Realloc merge buffer (#3), new size is %d\n",merge_index_buf); | ~^ ~~~~~~~~~~~~~~~ | | | | int unsigned char * | %hhn build_in.c:1771:42: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] 1771 | fprintf(stderr,"Realloc #4, new size is %d\n",merge_index_buf); | ~^ ~~~~~~~~~~~~~~~ | | | | int unsigned char * | %hhn build_in.c:1782:31: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 1782 | fputs(merge_index_buf, f3); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | 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] 1787 | strcpy(merge_index_buf, src_index_buf); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __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] 1787 | strcpy(merge_index_buf, src_index_buf); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __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] 1788 | bdx = strlen(merge_index_buf); /* merge_index_buf[bdx] is '\0', merge_index_buf[bdx-1] is '\n' */ | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 1810 | fputs(merge_index_buf, f3); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ build_in.c:1861:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1861 | if(fgets(dest_index_buf, REAL_INDEX_BUF, f2) == 0) { | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ build_in.c:1867:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1867 | dest_end_pt = strlen(dest_index_buf); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 1871 | fputs(src_index_buf, f3); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | 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] 1876 | if(cmp != 0) fputs(src_index_buf, f3); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | 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] 1878 | while(fgets(src_index_buf, REAL_INDEX_BUF, f1)) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ build_in.c:1880:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1880 | src_end_pt = strlen(src_index_buf); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 1881 | fputs(src_index_buf, f3); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | 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] 1886 | fputs(dest_index_buf, f3); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | 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] 1888 | while(fgets(dest_index_buf, REAL_INDEX_BUF, f2)) { | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ build_in.c:1890:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1890 | dest_end_pt = strlen(dest_index_buf); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:10, from build_in.c:26: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 1891 | fputs(dest_index_buf, f3); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | 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 [-Wreturn-type] 1895 | return; | ^~~~~~ build_in.c:1484:1: note: declared here 1484 | merge_in(f1, f2, f3) | ^~~~~~~~ build_in.c: At top level: build_in.c:1898:1: warning: return type defaults to 'int' [-Wimplicit-int] 1898 | remove_filename(fileindex, new_partition) | ^~~~~~~~~~~~~~~ build_in.c: In function 'remove_filename': build_in.c:1901:67: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 1901 | if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return; | ^~~~~~ build_in.c:1898:1: note: declared here 1898 | remove_filename(fileindex, new_partition) | ^~~~~~~~~~~~~~~ build_in.c: At top level: build_in.c:1946:1: warning: return type defaults to 'int' [-Wimplicit-int] 1946 | get_new_index(deletedlist, oldfileindex) | ^~~~~~~~~~~~~ build_in.c: In function 'get_new_index': build_in.c:1951:17: warning: unused variable 'reduction' [-Wunused-variable] 1951 | int reduction = 0; | ^~~~~~~~~ build_in.c: At top level: build_in.c:1965:1: warning: return type defaults to 'int' [-Wimplicit-int] 1965 | delete_removed_indices(deletedlist) | ^~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function 'delete_removed_indices': build_in.c:1968:17: warning: unused variable 'j' [-Wunused-variable] 1968 | 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] 2034 | while (fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ build_in.c:2056:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 2056 | fputs(dest_index_buf, i_out); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ build_in.c:2216:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 2216 | fputs(dest_index_buf, i_out); | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from build_in.c:26: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ build_in.c:1991:21: warning: unused variable 'index' [-Wunused-variable] 1991 | int offset, index; | ^~~~~ build_in.c:1991:13: warning: unused variable 'offset' [-Wunused-variable] 1991 | int offset, index; | ^~~~~~ build_in.c:1986:14: warning: unused variable 's1' [-Wunused-variable] 1986 | char s1[MAX_LINE_LEN]; | ^~ build_in.c: At top level: build_in.c:2239:1: warning: return type defaults to 'int' [-Wimplicit-int] 2239 | 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] 600 | } | ^ build_in.c: In function 'traverse1': build_in.c:655:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 655 | system(s); | ^~~~~~~~~ build_in.c:657:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 657 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:671:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 671 | system(s); | ^~~~~~~~~ build_in.c:679:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 679 | system(s); | ^~~~~~~~~ build_in.c:685:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 685 | system(s); | ^~~~~~~~~ build_in.c:692:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 692 | system(s); | ^~~~~~~~~ build_in.c:699:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 699 | system(s); | ^~~~~~~~~ build_in.c:712:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 712 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:734:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 734 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:737:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 737 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:740:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 740 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:754:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 754 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:764:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 764 | system(s); | ^~~~~~~~~ build_in.c: In function 'scanword': build_in.c:1474:1: warning: control reaches end of non-void function [-Wreturn-type] 1474 | } | ^ build_in.c: In function 'purge_index': build_in.c:2023:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2023 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2025:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 2025 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2029:14: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 2029 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2232:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2232 | system(s); | ^~~~~~~~~ build_in.c: In function 'initialize_disable_list': build_in.c:2246:1: warning: control reaches end of non-void function [-Wreturn-type] 2246 | } | ^ build_in.c: In function 'traverse': build_in.c:180:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 180 | sprintf(s, "%s/%s", INDEX_DIR, I2); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c: In function 'merge_in': build_in.c:1673:40: warning: 'dest_mark' may be used uninitialized in this function [-Wmaybe-uninitialized] 1673 | (dest_mark == ALL_INDEX_MARK) || | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ build_in.c:1672:39: warning: 'src_mark' may be used uninitialized in this function [-Wmaybe-uninitialized] 1672 | ((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=] 717 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c:722:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 722 | sprintf(s, "%s/%s", INDEX_DIR, I2); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c:727:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 727 | sprintf(s, "%s/%s", INDEX_DIR, I3); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c:683:61: warning: '%s' directive writing up to 1023 bytes into a region of size 1010 [-Wformat-overflow=] 683 | else if (RecordLevelIndex) sprintf(s, "exec %s %%-2 %s >> '%s/%s'\n", SYSTEM_ECHO, old_rdelim, escapesinglequote(INDEX_DIR, es1), INDEX_FILE); | ^~ ~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 37 or more bytes (assuming 1060) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c:640:30: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] 640 | sprintf(s1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", s, __FILE__, __LINE__, errno); | ^~ ~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 59 and 1092 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c: In function 'build_hash': build_in.c:1059:33: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1059 | sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c:849:33: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 849 | sprintf(outname, "%s/.glimpse_apply.%d", INDEX_DIR, pid); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c: In function 'purge_index': build_in.c:2011:24: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 2011 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c:2016:23: warning: '/.glimpse_merge.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 2016 | sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from build_in.c:26: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ build_in.c:2148:35: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 2148 | y |= (x&0x00000f00)>>4; /* msb of x into msb of y */ | ~~^~~~~~~~~~~~~~~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection filetype.c filetype.c: In function 'filetype': filetype.c:71:13: warning: implicit declaration of function 'test_special_suffix' [-Wimplicit-function-declaration] 71 | if (test_special_suffix(tempname)) { | ^~~~~~~~~~~~~~~~~~~ filetype.c:100:13: warning: implicit declaration of function 'test_postscript' [-Wimplicit-function-declaration] 100 | if (test_postscript(buffer, num_read)) { | ^~~~~~~~~~~~~~~ filetype.c:109:18: warning: implicit declaration of function 'test_binary' [-Wimplicit-function-declaration] 109 | BINARY = test_binary(buffer, num_read); | ^~~~~~~~~~~ filetype.c:120:21: warning: implicit declaration of function 'test_uuencode' [-Wimplicit-function-declaration] 120 | UUENCODED = test_uuencode(buffer, num_read); | ^~~~~~~~~~~~~ filetype.c:129:12: warning: implicit declaration of function 'heavy_index' [-Wimplicit-function-declaration] 129 | if(heavy_index(tempname, buffer, num_read)) { | ^~~~~~~~~~~ filetype.c:137:12: warning: implicit declaration of function 'hqx' [-Wimplicit-function-declaration] 137 | if(hqx(tempname, buffer, num_read)) { | ^~~ filetype.c:154:38: warning: implicit declaration of function 'extract_info' [-Wimplicit-function-declaration] 154 | *xinfo_len = extract_info(tempname, buffer, num_read, i, xinfo, MAX_LINE_LEN); | ^~~~~~~~~~~~ filetype.c: In function 'extract_info': filetype.c:204:38: warning: array subscript has type 'char' [-Wchar-subscripts] 204 | if (tr[buffer[j+i]] != tr[begin[j]]) break; | ~~~~~~^~~~~ filetype.c:204:56: warning: array subscript has type 'char' [-Wchar-subscripts] 204 | if (tr[buffer[j+i]] != tr[begin[j]]) break; | ~~~~~^~~ filetype.c:241:38: warning: array subscript has type 'char' [-Wchar-subscripts] 241 | if (tr[buffer[j+i]] != tr[end[j]]) break; | ~~~~~~^~~~~ filetype.c:241:54: warning: array subscript has type 'char' [-Wchar-subscripts] 241 | 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] 276 | heavy_index(name, buffer, num_read) | ^~~~~~~~~~~ filetype.c: In function 'heavy_index': filetype.c:291:30: warning: implicit declaration of function 'hash4k' [-Wimplicit-function-declaration] 291 | hash_value = hash4k(word, strlen(word)); | ^~~~~~ filetype.c: At top level: filetype.c:312:1: warning: return type defaults to 'int' [-Wimplicit-int] 312 | hqx(name, buffer, num_read) | ^~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection simpletest.c simpletest.c:10:8: warning: type defaults to 'int' in declaration of 'UseFilters' [-Wimplicit-int] 10 | extern UseFilters; | ^~~~~~~~~~ simpletest.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] 33 | test_binary(buffer, length) | ^~~~~~~~~~~ simpletest.c:54:1: warning: return type defaults to 'int' [-Wimplicit-int] 54 | test_uuencode(buffer, length) | ^~~~~~~~~~~~~ simpletest.c: In function 'test_uuencode': simpletest.c:67:13: warning: implicit declaration of function 'memlook' [-Wimplicit-function-declaration] 67 | i = memlook("\nbegin", buffer, length); | ^~~~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection getword.c getword.c: In function 'getword': getword.c:245:18: warning: implicit declaration of function 'region_identify' [-Wimplicit-function-declaration] 245 | *pattr = region_identify(ICurrentFileOffset, 0); | ^~~~~~~~~~~~~~~ getword.c:52:16: warning: unused variable 'times' [-Wunused-variable] 52 | static int times = 0; | ^~~~~ getword.c: At top level: getword.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int] 259 | set_indexable_char(indexable_char) | ^~~~~~~~~~~~~~~~~~ getword.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] 273 | set_special_char(special_char) | ^~~~~~~~~~~~~~~~ getword.c: In function 'set_indexable_char': getword.c:271:1: warning: control reaches end of non-void function [-Wreturn-type] 271 | } | ^ getword.c: In function 'set_special_char': getword.c:295:1: warning: control reaches end of non-void function [-Wreturn-type] 295 | } | ^ At top level: getword.c:52:16: warning: 'times' defined but not used [-Wunused-variable] 52 | static int times = 0; | ^~~~~ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection memlook.c gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection lib.c lib.c:5:16: warning: conflicting types for built-in function 'strdup'; expected 'char *(const char *)' [-Wbuiltin-declaration-mismatch] 5 | unsigned char *strdup(str) | ^~~~~~ lib.c: In function 'strdup': lib.c:12:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 12 | len = strlen(str); | ^~~~~~ lib.c:4:1: note: include '' or provide a declaration of 'strlen' 3 | #include +++ |+#include 4 | lib.c:12:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 12 | len = strlen(str); | ^~~~~~ lib.c:12:15: note: include '' or provide a declaration of 'strlen' lib.c:12:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 12 | len = strlen(str); | ^~~ | | | unsigned char * lib.c:12:22: note: expected 'const char *' but argument is of type 'unsigned char *' lib.c:16:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 16 | exit(2); | ^~~~ lib.c:4:1: note: include '' or provide a declaration of 'exit' 3 | #include +++ |+#include 4 | lib.c:16:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 16 | exit(2); | ^~~~ lib.c:16:17: note: include '' or provide a declaration of 'exit' lib.c:19:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 19 | while(*str1++ = *str++); | ^ gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection partition.c partition.c:70:1: warning: return type defaults to 'int' [-Wimplicit-int] 70 | partition(dir_num, dir_name) | ^~~~~~~~~ partition.c: In function 'partition': partition.c:116:21: warning: implicit declaration of function 'memagrep_init' [-Wimplicit-function-declaration] 116 | if ((dummylen = memagrep_init(exin_argc, exin_argv, MAX_PAT, dummypat)) <= 0) return -1; /* exclude/include pattern search */ | ^~~~~~~~~~~~~ partition.c:128:41: warning: implicit declaration of function 'convert2agrepregexp' [-Wimplicit-function-declaration] 128 | if ((pat_len[num_pat] = convert2agrepregexp(patbuf, len-1)) == 0) continue; | ^~~~~~~~~~~~~~~~~~~ partition.c:182:9: warning: implicit declaration of function 'fsize'; did you mean 'dysize'? [-Wimplicit-function-declaration] 182 | fsize(current_dir, pat, pat_len, num_pat, inc, inc_len, num_inc, 0); /* the file names will be in name_list[]: NOT TOP LEVEL!!! Mar/11/96 */ | ^~~~~ | dysize partition.c:162:1: warning: label 'directlytofsize' defined but not used [-Wunused-label] 162 | directlytofsize: | ^~~~~~~~~~~~~~~ partition.c: At top level: partition.c:420:1: warning: return type defaults to 'int' [-Wimplicit-int] 420 | oldpartition(dir_num, dir_name) | ^~~~~~~~~~~~ partition.c:602:1: warning: return type defaults to 'int' [-Wimplicit-int] 602 | save_data_structures() | ^~~~~~~~~~~~~~~~~~~~ partition.c: In function 'save_data_structures': partition.c:691:25: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 691 | while(fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ partition.c:698:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 698 | fputs(src_index_buf, i_out); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ partition.c:700:23: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration] 700 | index=decode16b((src_index_buf[j+1] << 8) | (src_index_buf[j+2])); | ^~~~~~~~~ partition.c:702:26: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration] 702 | putc(encode8b(index), i_out); | ^~~~~~~~ partition.c:709:40: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 709 | if (fputs(src_index_buf+j, i_out) == EOF) { /* Rest of the partitions information */ | ~~~~~~~~~~~~~^~ | | | unsigned char * In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ partition.c:754:21: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 754 | while(fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ partition.c:761:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 761 | fputs(src_index_buf, i_out); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ partition.c:784:22: warning: implicit declaration of function 'encode32b' [-Wimplicit-function-declaration] 784 | offset = encode32b(part_size); | ^~~~~~~~~ partition.c:818:25: warning: implicit declaration of function 'dump_mini' [-Wimplicit-function-declaration] 818 | if (BuildTurbo) dump_mini(s); | ^~~~~~~~~ partition.c:842:63: warning: comparison between pointer and zero character constant [-Wpointer-compare] 842 | if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { | ^~ partition.c:842:50: note: did you mean to dereference the pointer? 842 | if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { | ^ partition.c:848:17: warning: argument 1 null where non-null expected [-Wnonnull] 848 | fputs(LIST_GET(name_list, i), f_out); | ^~~~~ In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:649:12: note: in a call to function 'fputs' declared 'nonnull' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ^~~~~ partition.c:850:27: warning: argument 1 null where non-null expected [-Wnonnull] 850 | offset += strlen(LIST_GET(name_list, i)) + 1; | ^~~~~~ In file included from glimpse.h:10, from partition.c:3: /usr/include/string.h:391:15: note: in a call to function 'strlen' declared 'nonnull' 391 | extern size_t strlen (const char *__s) | ^~~~~~ partition.c:890:36: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] 890 | if (!built_filename_hashtable) build_filename_hashtable(name_list, file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~ partition.c:899:30: warning: implicit declaration of function 'get_new_index' [-Wimplicit-function-declaration] 899 | if ((index = get_new_index(deletedlist, e->index)) < 0) { | ^~~~~~~~~~~~~ partition.c:605:83: warning: unused variable 'es3' [-Wunused-variable] 605 | 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] 605 | 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] 934 | merge_splits() | ^~~~~~~~~~~~ partition.c: In function 'merge_splits': partition.c:1022:22: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1022 | while (fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ partition.c:1029:19: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 1029 | fputs(src_index_buf, i_out); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from glimpse.h:8, from partition.c:3: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | extern int fputs (const char *__restrict __s, FILE *__restrict __stream); | ~~~~~~~~~~~~~~~~~~~~~~~^~~ partition.c:1034:29: warning: implicit declaration of function 'encode16b' [-Wimplicit-function-declaration] 1034 | index = encode16b(decode8b(src_index_buf[j+1])); | ^~~~~~~~~ partition.c:1034:39: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration] 1034 | index = encode16b(decode8b(src_index_buf[j+1])); | ^~~~~~~~ partition.c:1052:13: warning: implicit declaration of function 'get_block_numbers' [-Wimplicit-function-declaration] 1052 | get_block_numbers(&src_index_buf[j+1], &dest_index_buf[0], p_in); | ^~~~~~~~~~~~~~~~~ partition.c:943:47: warning: unused variable 'i' [-Wunused-variable] 943 | int onefileperblock, structuredindex, i, recordlevelindex; | ^ partition.c:939:31: warning: unused variable 's1' [-Wunused-variable] 939 | 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:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:177:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 177 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:178:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 178 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c:193:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 193 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:198:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 198 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:199:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 199 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c: In function 'oldpartition': partition.c:523:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 523 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:528:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 528 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:529:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 529 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c:544:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 544 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:549:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 549 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:550:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 550 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c: In function 'save_data_structures': partition.c:681:13: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 681 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:683:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 683 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:686:18: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 686 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:724:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 724 | system(s); | ^~~~~~~~~ partition.c:742:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 742 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:744:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 744 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:748:16: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 748 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:814:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 814 | system(s); | ^~~~~~~~~ partition.c:816:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 816 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ partition.c:826:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 826 | system(s); | ^~~~~~~~~ partition.c:828:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 828 | system(s); | ^~~~~~~~~ partition.c:876:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 876 | system(s); | ^~~~~~~~~ partition.c:878:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 878 | system(s); | ^~~~~~~~~ partition.c: In function 'merge_splits': partition.c:976:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 976 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:978:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 978 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:981:14: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 981 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:998:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 998 | system(s); | ^~~~~~~~~ partition.c:1005:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1005 | system(s); | ^~~~~~~~~ partition.c:1007:25: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1007 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ partition.c:1016:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1016 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1017:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1017 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1018:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1018 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1075:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1075 | system(s); | ^~~~~~~~~ partition.c:1087:1: warning: control reaches end of non-void function [-Wreturn-type] 1087 | } | ^ partition.c: In function 'partition': partition.c:118:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 118 | sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:139:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 139 | sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:243:24: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 243 | sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:250:24: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 250 | sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:257:24: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 257 | sprintf(S, "%s/%s.index", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:314:24: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 314 | sprintf(S, "%s/%s.tmp", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:235:34: warning: '%s' directive writing up to 1023 bytes into a region of size 1016 [-Wformat-overflow=] 235 | sprintf(S1, "system('%s') failed at:\n\t File=%s, Line=%d, Errno=%d", S, __FILE__, __LINE__, errno); | ^~ ~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 60 and 1093 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:238:28: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 238 | sprintf(S, "%s/%s", INDEX_DIR, DEF_TIME_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c: In function 'oldpartition': partition.c:451:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 451 | sprintf(s, "%s/%s", INDEX_DIR, PROHIBIT_LIST); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:472:20: warning: '%s' directive writing 16 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 472 | sprintf(s, "%s/%s", INDEX_DIR, INCLUDE_LIST); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1041 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c: In function 'save_data_structures': partition.c:633:24: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 633 | sprintf(s, "%s/%s", INDEX_DIR, ATTRIBUTE_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:641:20: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 641 | sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:730:23: warning: '/.glimpse_split.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 730 | sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:735:24: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 735 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:817:24: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 817 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:669:27: warning: '/.glimpse_split.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 669 | sprintf(s, "%s/.glimpse_split.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:674:28: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 674 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:830:20: warning: '%s' directive writing 18 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 830 | sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 20 and 1043 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:835:20: warning: '%s' directive writing 24 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 835 | sprintf(s, "%s/%s", INDEX_DIR, NAME_LIST_INDEX); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 26 and 1049 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:880:20: warning: '%s' directive writing 17 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 880 | sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 19 and 1042 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:885:20: warning: '%s' directive writing 23 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 885 | sprintf(s, "%s/%s", INDEX_DIR, NAME_HASH_INDEX); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 25 and 1048 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c: In function 'merge_splits': partition.c:957:24: warning: '%s' directive writing 19 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 957 | sprintf(s, "%s/%s", INDEX_DIR, P_TABLE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 21 and 1044 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:964:24: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 964 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:969:23: warning: '/.glimpse_merge.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 969 | sprintf(s, "%s/.glimpse_merge.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:991:32: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 991 | sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partition.c:1010:32: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1010 | sprintf(s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from partition.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 4 LTRANS jobs gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DBUILDCAST=0 glimpse.c glimpse.c:89:8: warning: type defaults to 'int' in declaration of 'set_usemalloc' [-Wimplicit-int] 89 | extern set_usemalloc(); /* compress/misc.c */ | ^~~~~~~~~~~~~ glimpse.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] 98 | cross_boundary(oldnum, newnum) | ^~~~~~~~~~~~~~ glimpse.c:111:1: warning: return type defaults to 'int' [-Wimplicit-int] 111 | determine_sync() | ^~~~~~~~~~~~~~ glimpse.c: In function 'determine_sync': glimpse.c:115:17: warning: unused variable 'i' [-Wunused-variable] 115 | int i, ret; | ^ glimpse.c: At top level: glimpse.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] 158 | main(argc, argv) | ^~~~ glimpse.c: In function 'main': glimpse.c:193:5: warning: implicit declaration of function 'build_filename_hashtable' [-Wimplicit-function-declaration] 193 | build_filename_hashtable((char *)NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:201:20: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 201 | return usage(1); | ^~~~~ glimpse.c:536:9: warning: implicit declaration of function 'partition' [-Wimplicit-function-declaration] 536 | partition(argc, argv); | ^~~~~~~~~ glimpse.c:573:5: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] 573 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ glimpse.c:585:5: warning: implicit declaration of function 'initialize_tuncompress' [-Wimplicit-function-declaration] 585 | initialize_tuncompress(string_file, freq_file, 0); | ^~~~~~~~~~~~~~~~~~~~~~ glimpse.c:626:5: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] 626 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ glimpse.c:847:26: warning: implicit declaration of function 'get_index_type' [-Wimplicit-function-declaration] 847 | if ((indextype = get_index_type(s, &indexnumber, &indextype, &structuredindex, temp_rdelim)) < 0) { | ^~~~~~~~~~~~~~ glimpse.c:865:20: warning: implicit declaration of function 'get_array_of_lines' [-Wimplicit-function-declaration] 865 | file_num = get_array_of_lines(s, name_list, MaxNum24bPartition, 1); | ^~~~~~~~~~~~~~~~~~ glimpse.c:866:9: warning: implicit declaration of function 'initialize_disable_list' [-Wimplicit-function-declaration] 866 | initialize_disable_list(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:867:9: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] 867 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:871:28: warning: implicit declaration of function 'get_table' [-Wimplicit-function-declaration] 871 | part_num = get_table(s, p_table, MAX_PARTITION, 1) - 1; /* part_num INCLUDES last partition */ | ^~~~~~~~~ glimpse.c:873:14: warning: implicit declaration of function 'merge_splits' [-Wimplicit-function-declaration] 873 | else merge_splits(); | ^~~~~~~~~~~~ glimpse.c:939:25: warning: implicit declaration of function 'remove_filename' [-Wimplicit-function-declaration] 939 | remove_filename(i, -1); | ^~~~~~~~~~~~~~~ glimpse.c:969:9: warning: implicit declaration of function 'destroy_data_structures' [-Wimplicit-function-declaration] 969 | destroy_data_structures(); | ^~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:972:19: warning: implicit declaration of function 'oldpartition' [-Wimplicit-function-declaration] 972 | if (-1 == oldpartition(argc, argv)) { | ^~~~~~~~~~~~ glimpse.c:1000:44: warning: implicit declaration of function 'build_index' [-Wimplicit-function-declaration] 1000 | if (!DeleteFromIndex || FastIndex) build_index(); | ^~~~~~~~~~~ glimpse.c:1002:45: warning: implicit declaration of function 'purge_index' [-Wimplicit-function-declaration] 1002 | else if (PurgeIndex) new_file_num = purge_index(); | ^~~~~~~~~~~ glimpse.c:831:117: warning: variable 'bytelevelindex' set but not used [-Wunused-but-set-variable] 831 | 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] 1021 | destroy_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:1030:5: warning: implicit declaration of function 'cleanup' [-Wimplicit-function-declaration] 1030 | cleanup(); | ^~~~~~~ glimpse.c:1031:5: warning: implicit declaration of function 'save_data_structures' [-Wimplicit-function-declaration] 1031 | save_data_structures(); | ^~~~~~~~~~~~~~~~~~~~ glimpse.c:174:9: warning: unused variable 'backup' [-Wunused-variable] 174 | int backup; | ^~~~~~ glimpse.c:173:9: warning: variable 'specialwords' set but not used [-Wunused-but-set-variable] 173 | int specialwords, threshold; | ^~~~~~~~~~~~ glimpse.c:172:10: warning: unused variable 'outname' [-Wunused-variable] 172 | char outname[MAX_LINE_LEN]; | ^~~~~~~ glimpse.c:171:10: warning: unused variable 'name' [-Wunused-variable] 171 | char name[MAX_LINE_LEN]; | ^~~~ glimpse.c:165:27: warning: unused variable 's1' [-Wunused-variable] 165 | char s[MAX_LINE_LEN], s1[MAX_LINE_LEN]; | ^~ glimpse.c:164:40: warning: unused variable 'es2' [-Wunused-variable] 164 | char *indexdir, es1[MAX_LINE_LEN], es2[MAX_LINE_LEN]; | ^~~ glimpse.c:164:21: warning: unused variable 'es1' [-Wunused-variable] 164 | 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] 1063 | cleanup() | ^~~~~~~ glimpse.c:1085:1: warning: return type defaults to 'int' [-Wimplicit-int] 1085 | usage(flag) | ^~~~~ glimpse.c: In function 'determine_sync': glimpse.c:120:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 120 | system(S); | ^~~~~~~~~ glimpse.c: In function 'main': glimpse.c:464:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 464 | fgets(buffer, 1024, filefp); /* skip over num. of file names */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:521:13: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 521 | getcwd(INDEX_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:526:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 526 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:531:5: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 531 | getcwd(INDEX_DIR, MAX_LINE_LEN - 1); /* must be absolute path name */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glimpse.c:532:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 532 | chdir(working_dir); /* get back to where you were */ | ^~~~~~~~~~~~~~~~~~ glimpse.c:1045:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1045 | chdir(INDEX_DIR); | ^~~~~~~~~~~~~~~~ glimpse.c:1047:5: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 1047 | system(s); | ^~~~~~~~~ glimpse.c: In function 'cleanup': glimpse.c:1067:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1067 | sprintf(s, "%s/%s", INDEX_DIR, I1); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ glimpse.c:1069:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1069 | sprintf(s, "%s/%s", INDEX_DIR, I2); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ glimpse.c:1071:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1071 | sprintf(s, "%s/%s", INDEX_DIR, I3); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ glimpse.c:1073:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1073 | sprintf(s, "%s/%s", INDEX_DIR, O1); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ glimpse.c:1075:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1075 | sprintf(s, "%s/%s", INDEX_DIR, O2); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ glimpse.c:1077:20: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1077 | sprintf(s, "%s/%s", INDEX_DIR, O3); | ^~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ glimpse.c:1079:19: warning: '/.glimpse_apply.' directive writing 16 bytes into a region of size between 1 and 1024 [-Wformat-overflow=] 1079 | sprintf(s, "%s/.glimpse_apply.%d", INDEX_DIR, getpid()); | ^~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from glimpse.c:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 18 and 1051 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from glimpse.h:10, from glimpse.c:3: In function 'strncpy', inlined from 'main' at glimpse.c:189:5: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at glimpse.c:417:6: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at glimpse.c:524:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 5 LTRANS jobs gcc -I../index -I../agrep -I../libtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c -o convert.o convert.c convert.c: In function 'element2name': convert.c:142:25: warning: unused variable 'k' [-Wunused-variable] 142 | int k, offset, lastoffset = -1, len; | ^ convert.c: In function 'mem_element2name': convert.c:189:53: warning: unused variable 'len' [-Wunused-variable] 189 | int i, offset, lastoffset = -1, len; | ^~~ convert.c: At top level: convert.c:319:1: warning: return type defaults to 'int' [-Wimplicit-int] 319 | mem_name2element(pelement, file, len, filehash_buffer, filehash_index_buffer, files_used) | ^~~~~~~~~~~~~~~~ convert.c: In function 'mem_name2element': convert.c:327:32: warning: unused variable 'ret' [-Wunused-variable] 327 | int lasti, ret, i, k, foundblank=0, offset, lastoffset = -1, hash, size; | ^~~ convert.c: In function 'do_conversion': convert.c:416:25: warning: unused variable 'istbuf' [-Wunused-variable] 416 | struct stat istbuf; | ^~~~~~ convert.c:413:25: warning: unused variable 's' [-Wunused-variable] 413 | char s[MAX_LINE_LEN]; | ^ convert.c: In function 'change_format': convert.c:581:24: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 581 | return usage(); | ^~~~~ convert.c:568:120: warning: variable 'bytelevelindex' set but not used [-Wunused-but-set-variable] 568 | int lastslash, name_len, indextype, indexnumber, structuredindex, recordlevelindex, temp_attr_num, bytelevelindex; /*indextype*/ | ^~~~~~~~~~~~~~ convert.c:568:105: warning: variable 'temp_attr_num' set but not used [-Wunused-but-set-variable] 568 | int lastslash, name_len, indextype, indexnumber, structuredindex, recordlevelindex, temp_attr_num, bytelevelindex; /*indextype*/ | ^~~~~~~~~~~~~ convert.c:568:87: warning: variable 'recordlevelindex' set but not used [-Wunused-but-set-variable] 568 | int lastslash, name_len, indextype, indexnumber, structuredindex, recordlevelindex, temp_attr_num, bytelevelindex; /*indextype*/ | ^~~~~~~~~~~~~~~~ convert.c: In function 'name2element': convert.c:298:39: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] 298 | buffer[k] = FILE_END_MARK; | ^ convert.c: In function 'mem_name2element': convert.c:379:39: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] 379 | buffer[k] = FILE_END_MARK; | ^ convert.c: In function 'change_format': convert.c:794:43: warning: '%s' directive writing up to 1023 bytes into a region of size 1018 [-Wformat-overflow=] 794 | sprintf(s, "mv -f %s %s", outname, realname); | ^~ ~~~~~~~ In file included from /usr/include/stdio.h:900, from glimpse.h:8, from convert.c:10: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output 8 or more bytes (assuming 1031) into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from glimpse.h:10, from convert.c:10: In function 'strncpy', inlined from 'main' at convert.c:899:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'main' at convert.c:891:7: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -lc -lm 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 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c lex.yy.c lex.yy.c:4312:16: warning: 'input' defined but not used [-Wunused-function] 4312 | #else | ^ lex.yy.c:4269:17: warning: 'yyunput' defined but not used [-Wunused-function] 4269 | | ^ gcc -o htuml2txt lex.yy.o -lfl make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/dynfilters' gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DISSERVER=0 -o main.o main.c main.c:204:8: warning: type defaults to 'int' in declaration of 'free_list' [-Wimplicit-int] 204 | extern free_list(); | ^~~~~~~~~ main.c: In function 'glimpse_search': main.c:292:73: warning: "/*" within comment [-Wcomment] 292 | /* beginregionptr = curtextend - GD_length; /* prevent next curtextbegin to go behind previous curtextend (!) */ | main.c:373:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 373 | if (strncmp(curtextbegin, GD_pattern, GD_length)) { | ^~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ main.c:373:43: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 373 | if (strncmp(curtextbegin, GD_pattern, GD_length)) { | ^~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ main.c:400:36: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] 400 | if ((ret = memagrep_search(AM, APattern, curtextend-curtextbegin, curtextbegin, 0, outfp)) > 0) | ^~~~~~~~~~~~~~~ main.c:417:36: warning: implicit declaration of function 'exec'; did you mean 'rexec'? [-Wimplicit-function-declaration] 417 | if ((ret = exec(-1, NULL)) > 0) | ^~~~ | rexec main.c:438:25: warning: implicit declaration of function 'file_out'; did you mean 'fileno'? [-Wimplicit-function-declaration] 438 | file_out(realfilename); | ^~~~~~~~ | fileno main.c:237:25: warning: variable 'MAXTIMES' set but not used [-Wunused-but-set-variable] 237 | static int MAXTIMES, MAXPGTIMES, pagesize; | ^~~~~~~~ main.c:231:60: warning: unused variable 'c' [-Wunused-variable] 231 | CHAR *text, *curtextend, *curtextbegin, c; | ^ main.c:229:25: warning: unused variable 'sig' [-Wunused-variable] 229 | char sig[SIGNATURE_LEN]; | ^~~ main.c: At top level: main.c:466:1: warning: return type defaults to 'int' [-Wimplicit-int] 466 | read_index(indexdir) | ^~~~~~~~~~ main.c: In function 'read_index': main.c:536:34: warning: implicit declaration of function 'get_table' [-Wimplicit-function-declaration] 536 | GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); | ^~~~~~~~~ main.c:562:70: warning: implicit declaration of function 'read_mini'; did you mean 'readline'? [-Wimplicit-function-declaration] 562 | if (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(indexfp, minifp); | ^~~~~~~~~ | readline main.c:563:9: warning: implicit declaration of function 'read_filenames' [-Wimplicit-function-declaration] 563 | read_filenames(); | ^~~~~~~~~~~~~~ main.c:566:9: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] 566 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ main.c:568:9: warning: implicit declaration of function 'set_special_char' [-Wimplicit-function-declaration] 568 | set_special_char(indexable_char); | ^~~~~~~~~~~~~~~~ main.c: At top level: main.c:600:1: warning: return type defaults to 'int' [-Wimplicit-int] 600 | reinitialize_server(argc, argv) | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'reinitialize_server': main.c:593:17: warning: implicit declaration of function 'attr_free_table' [-Wimplicit-function-declaration] 593 | attr_free_table();\ | ^~~~~~~~~~~~~~~ main.c:605:9: note: in expansion of macro 'CLEANUP' 605 | CLEANUP; | ^~~~~~~ main.c:595:9: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] 595 | destroy_filename_hashtable();\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:605:9: note: in expansion of macro 'CLEANUP' 605 | CLEANUP; | ^~~~~~~ main.c:604:20: warning: unused variable 'fd' [-Wunused-variable] 604 | int i, fd; | ^~ main.c:604:17: warning: unused variable 'i' [-Wunused-variable] 604 | int i, fd; | ^ main.c: At top level: main.c:693:1: warning: return type defaults to 'int' [-Wimplicit-int] 693 | main(argc, argv) | ^~~~ main.c: In function 'main': main.c:727:17: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 727 | usage(); /* Client nees at least 1 argument */ | ^~~~~ main.c:743:9: warning: implicit declaration of function 'init_filename_hashtable' [-Wimplicit-function-declaration] 743 | init_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:747:21: warning: pointer targets in passing argument 1 of 'gethostname' differ in signedness [-Wpointer-sign] 747 | gethostname(SERV_HOST, MAXNAME - 2); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/unistd.h:282:1: note: expected 'char *' but argument is of type 'unsigned char *' 282 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~ main.c:751:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 751 | strcpy(&GProgname[0], argv[0]); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:753:9: warning: implicit declaration of function 'region_initialize'; did you mean 'reinitialize'? [-Wimplicit-function-declaration] 753 | region_initialize(); | ^~~~~~~~~~~~~~~~~ | reinitialize main.c:800:60: warning: implicit declaration of function 'usageS' [-Wimplicit-function-declaration] 800 | RETURNMAIN(usageS()); | ^~~~~~ main.c:735:13: note: in definition of macro 'RETURNMAIN' 735 | if (val < 0) exit (2);\ | ^~~ main.c:824:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 824 | strcpy(SERV_HOST, argv[0]); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:828:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 828 | strcpy(SERV_HOST, p+1); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:1214:33: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] 1214 | if ((hp = gethostbyname(SERV_HOST)) == NULL) { | ^~~~~~~~~ | | | unsigned char * In file included from communicate.c:18, from main.c:33: /usr/include/netdb.h:142:51: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern struct hostent *gethostbyname (const char *__name); | ~~~~~~~~~~~~^~~~~~ main.c:1284:15: warning: implicit declaration of function 'process_query' [-Wimplicit-function-declaration] 1284 | ret = process_query(oldargc, oldargv, fileno(stdin)); | ^~~~~~~~~~~~~ main.c:715:17: warning: unused variable 'array' [-Wunused-variable] 715 | char array[4]; | ^~~~~ main.c:713:36: warning: unused variable 'clstderr' [-Wunused-variable] 713 | int clstdin, clstdout, clstderr; | ^~~~~~~~ main.c:713:26: warning: unused variable 'clstdout' [-Wunused-variable] 713 | int clstdin, clstdout, clstderr; | ^~~~~~~~ main.c:713:17: warning: unused variable 'clstdin' [-Wunused-variable] 713 | int clstdin, clstdout, clstderr; | ^~~~~~~ main.c:712:19: warning: unused variable 'clargv' [-Wunused-variable] 712 | char **clargv; | ^~~~~~ main.c:711:17: warning: unused variable 'clargc' [-Wunused-variable] 711 | int clargc; | ^~~~~~ main.c:710:17: warning: unused variable 'cli_len' [-Wunused-variable] 710 | int cli_len; | ^~~~~~~ main.c:707:28: warning: unused variable 'cli_addr' [-Wunused-variable] 707 | struct sockaddr_in cli_addr, serv_addr; | ^~~~~~~~ main.c:703:17: warning: unused variable 'clout' [-Wunused-variable] 703 | int clout; | ^~~~~ main.c:702:49: warning: unused variable 'clpid' [-Wunused-variable] 702 | int sockfd, newsockfd, clilen, len, clpid; | ^~~~~ main.c:702:36: warning: unused variable 'clilen' [-Wunused-variable] 702 | int sockfd, newsockfd, clilen, len, clpid; | ^~~~~~ main.c:702:25: warning: unused variable 'newsockfd' [-Wunused-variable] 702 | int sockfd, newsockfd, clilen, len, clpid; | ^~~~~~~~~ main.c: At top level: main.c:1289:1: warning: return type defaults to 'int' [-Wimplicit-int] 1289 | process_query(argc, argv, newsockfd) | ^~~~~~~~~~~~~ main.c: In function 'process_query': main.c:1387:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1387 | strcpy(&GProgname[0], argv[0]); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:1434:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1434 | strcpy(GD_pattern, "\n"); | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:1435:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1435 | GD_length = strlen(GD_pattern); | ^~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main.c:1462:21: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] 1462 | i = fileagrep(oldargc, oldargv, 0, stdout); | ^~~~~~~~~ main.c:1375:29: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] 1375 | if (ComplexBoolean) destroy_tree(&GParse);\ | ^~~~~~~~~~~~ main.c:1463:17: note: in expansion of macro 'RETURN' 1463 | RETURN(i); | ^~~~~~ main.c:1572:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1572 | strcpy(FileOpt, argv[0]); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:1579:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1579 | strcpy(FileOpt, p+1); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:1735:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1735 | strcpy(SERV_HOST, argv[0]); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:1741:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1741 | strcpy(SERV_HOST, p+1); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2091:17: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] 2091 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ main.c:2095:27: warning: implicit declaration of function 'fileagrep_init' [-Wimplicit-function-declaration] 2095 | if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT, GPattern)) <= 0) { | ^~~~~~~~~~~~~~ main.c:2119:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2119 | strcpy(APattern, GPattern); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2119:42: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2119 | strcpy(APattern, GPattern); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2127:54: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2127 | strcpy(terminals[0].data.leaf.value, GPattern); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2127:62: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2127 | strcpy(terminals[0].data.leaf.value, GPattern); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2130:26: warning: implicit declaration of function 'split_pattern' [-Wimplicit-function-declaration] 2130 | else if (split_pattern(GPattern, GM, APattern, terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); | ^~~~~~~~~~~~~ main.c:2150:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2150 | AM=strlen(APattern); | ^~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main.c:2152:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2152 | strcpy(agrep_argv[patindex], APattern); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2165:46: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2165 | if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ main.c:2167:32: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 2167 | sscanf(&dest_index_buf[strlen("BEGIN")], "%d%d%d", &bestmatcherrors, &NOBYTELEVEL, &OPTIMIZEBYTELEVEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:8, from main.c:6: /usr/include/stdio.h:417:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 417 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ main.c:2172:46: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2172 | if (!strncmp(dest_index_buf, "END", strlen("END"))) break; | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ main.c:2181:96: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2181 | GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:171:34: note: expected 'const char *' but argument is of type 'unsigned char *' 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ main.c:2186:96: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2186 | GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:171:34: note: expected 'const char *' but argument is of type 'unsigned char *' 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ main.c:2273:23: warning: implicit declaration of function 'search_index'; did you mean 'read_index'? [-Wimplicit-function-declaration] 2273 | ret = search_index(GParse); | ^~~~~~~~~~~~ | read_index main.c:2299:44: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2299 | if (src_index_set[iii] & mask_int[jjj]) | ^ main.c:2328:32: warning: unused variable 'len' [-Wunused-variable] 2328 | int i, len = -1, nextchar; | ^~~ main.c:2429:38: warning: implicit declaration of function 'mask_filenames' [-Wimplicit-function-declaration] 2429 | if (FILENAMESINFILE) mask_filenames(src_index_set, filenames_file, file_num, num_blocks); /* keep only those files that are in filenames_file */ | ^~~~~~~~~~~~~~ main.c:2436:52: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2436 | if (src_index_set[iii] & mask_int[jjj]) | ^ main.c:2457:25: warning: implicit declaration of function 'get_filenames'; did you mean 'get_file_time'? [-Wimplicit-function-declaration] 2457 | get_filenames(src_index_set, 0, NULL, dummylen, dummypat, file_num); | ^~~~~~~~~~~~~ | get_file_time main.c:2532:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2532 | strcpy(index_argv[0], GProgname); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2565:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2565 | fileopt_length = strlen(FileOpt); | ^~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main.c:2566:63: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2566 | strncpy(index_argv[index_argc],FileOpt+j,fileopt_length-j); | ~~~~~~~^~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ main.c:2692:79: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2692 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main.c:2693:61: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2693 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2693:88: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2693 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2698:60: warning: implicit declaration of function 'fileagrep_search' [-Wimplicit-function-declaration] 2698 | if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) { | ^~~~~~~~~~~~~~~~ main.c:2721:79: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2721 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main.c:2722:61: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2722 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2722:88: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2722 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2764:45: warning: implicit declaration of function 'apply_filter' [-Wimplicit-function-declaration] 2764 | if (apply_filter(GTextfiles[i], outname[0]) == 1) { | ^~~~~~~~~~~~ main.c:2767:79: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2767 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main.c:2768:61: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2768 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2768:88: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2768 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2812:87: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2812 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main.c:2813:69: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2813 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2813:96: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2813 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2883:71: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2883 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main.c:2884:53: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2884 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2884:80: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2884 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2928:54: warning: implicit declaration of function 'filter_output' [-Wimplicit-function-declaration] 2928 | ret = filter_output(GTextfiles[i], tempfile, GParse, GD_pattern, GD_length, GOUTTAIL, nullfp, StructuredIndex); | ^~~~~~~~~~~~~ main.c:2970:71: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2970 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main.c:2971:53: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2971 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:2971:80: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2971 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main.c:4: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main.c:1317:17: warning: variable 'gprev_num_of_matched' set but not used [-Wunused-but-set-variable] 1317 | int gprev_num_of_matched = 0; | ^~~~~~~~~~~~~~~~~~~~ main.c:1309:17: warning: unused variable 'temp_file' [-Wunused-variable] 1309 | char temp_file[MAX_LINE_LEN]; | ^~~~~~~~~ main.c:1308:17: warning: unused variable 'TEMP_FILE' [-Wunused-variable] 1308 | char TEMP_FILE[MAX_LINE_LEN]; | ^~~~~~~~~ main.c:1303:17: warning: unused variable 'jj' [-Wunused-variable] 1303 | int jj; | ^~ main.c:1296:17: warning: unused variable 'num_read' [-Wunused-variable] 1296 | int num_read; | ^~~~~~~~ main.c: In function 'getbyteoff': main.c:3128:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3128 | *pbyteoff = atoi(temp); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ main.c: In function 'filter_output': main.c:3182:39: warning: implicit declaration of function 'region_create' [-Wimplicit-function-declaration] 3182 | if (StructuredIndex && (-1 == region_create(infile))) { | ^~~~~~~~~~~~~ main.c:3189:46: warning: implicit declaration of function 'region_destroy' [-Wimplicit-function-declaration] 3189 | if (StructuredIndex) region_destroy(); | ^~~~~~~~~~~~~~ main.c:3262:69: warning: implicit declaration of function 'region_identify' [-Wimplicit-function-declaration] 3262 | else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)) < num_attr) && (attribute >= 0)) ) { | ^~~~~~~~~~~~~~~ main.c:3286:102: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3286 | if (memagrep_search( strlen(terminals[i].data.leaf.value), terminals[i].data.leaf.value, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main.c:3341:59: warning: implicit declaration of function 'eval_tree' [-Wimplicit-function-declaration] 3341 | success = eval_tree(GParse, matched_terminals); | ^~~~~~~~~ main.c:3171:17: warning: unused variable 'count' [-Wunused-variable] 3171 | int count = 0; | ^~~~~ main.c: At top level: main.c:3481:1: warning: return type defaults to 'int' [-Wimplicit-int] 3481 | usage() | ^~~~~ main.c:3561:1: warning: return type defaults to 'int' [-Wimplicit-int] 3561 | usageS() | ^~~~~~ main.c: In function 'glimpse_search': main.c:338:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 338 | fread(beginregionptr, 1, num, infp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'process_Y_option': main.c:457:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 457 | fread(arrayend, 1, 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'read_index': main.c:475:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 475 | getcwd(indexdir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:527:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 527 | fgets(indexnumberbuf, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:530:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 530 | fscanf(indexfp, "%%%d\n", &OneFilePerBlock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:538:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 538 | fscanf(indexfp, "%%%d%s\n", &StructuredIndex, old_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'cleanup': main.c:646:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 646 | dup(svstderr); | ^~~~~~~~~~~~~ main.c: In function 'quitrequest': main.c:678:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 678 | write(svstderr, QUITREQUESTMSG, strlen(QUITREQUESTMSG)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:1267:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1267 | write(fileno(stdout), tmpbuf, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'process_query': main.c:1822:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1822 | getcwd(temp_bitfield_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1846:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1846 | getcwd(temp_filenames_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:2467:49: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2467 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2524:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2524 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2595:49: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2595 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2652:33: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 2652 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ At top level: main.c:198:12: warning: 'one' defined but not used [-Wunused-variable] 198 | static int one = 1; /* to set socket option so that glimpseserver releases socket after death */ | ^~~ main.c: In function 'filter_output': main.c:3255:28: warning: 'skiplen' may be used uninitialized in this function [-Wmaybe-uninitialized] 3255 | 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 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -o get_filename.o get_filename.c get_filename.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] 43 | read_filenames() | ^~~~~~~~~~~~~~ get_filename.c: In function 'read_filenames': get_filename.c:63:23: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 63 | fgets(buffer, MAX_NAME_SIZE, fp); | ^~~~~~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from index/glimpse.h:8, from get_filename.c:5: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ get_filename.c:64:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 64 | first_line_len = strlen(buffer); | ^~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from get_filename.c:5: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ get_filename.c:66:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 66 | sscanf(buffer, "%d", &file_num); | ^~~~~~ | | | unsigned char * In file included from index/glimpse.h:8, from get_filename.c:5: /usr/include/stdio.h:417:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 417 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ get_filename.c:77:17: warning: implicit declaration of function 'initialize_data_structures' [-Wimplicit-function-declaration] 77 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ get_filename.c: In function 'mask_filenames': get_filename.c:126:110: warning: implicit declaration of function 'slow_mask_filenames'; did you mean 'mask_filenames'? [-Wimplicit-function-declaration] 126 | if ((num_blocks*100/num_files > DEF_MAX_INDEX_PERCENT/2) && (num_blocks > MaxNum8bPartition)) return slow_mask_filenames(index_vect, infile); | ^~~~~~~~~~~~~~~~~~~ | mask_filenames get_filename.c:173:22: warning: implicit declaration of function 'memagrep' [-Wimplicit-function-declaration] 173 | if ((((ret = memagrep(5, argv, name_list_size, name_list_buffer, outputbuffer_len, outputbuffer)) <= 0) || (agrep_outpointer <= 0)) && (errno != ERANGE)) { | ^~~~~~~~ get_filename.c: At top level: get_filename.c:484:1: warning: return type defaults to 'int' [-Wimplicit-int] 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c: In function 'get_filenames': get_filename.c:539:41: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 539 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:581:41: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 581 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:598:29: warning: implicit declaration of function 'memagrep_init' [-Wimplicit-function-declaration] 598 | if ((dummylen = memagrep_init(argc, argv, MAX_PAT, dummypat)) <= 0) goto end_files; | ^~~~~~~~~~~~~ get_filename.c:600:19: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] 600 | ret = memagrep_search(dummylen, dummypat, dummylen*2, beginptr, outputbuffer_len, outputbuffer); | ^~~~~~~~~~~~~~~ get_filename.c:673:49: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 673 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:752:49: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 752 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:596:44: warning: variable 'myWORDBOUND' set but not used [-Wunused-but-set-variable] 596 | int myREGEX, myFASTREGEX, myD, myWORDBOUND; | ^~~~~~~~~~~ get_filename.c:596:39: warning: variable 'myD' set but not used [-Wunused-but-set-variable] 596 | int myREGEX, myFASTREGEX, myD, myWORDBOUND; | ^~~ get_filename.c:596:26: warning: variable 'myFASTREGEX' set but not used [-Wunused-but-set-variable] 596 | int myREGEX, myFASTREGEX, myD, myWORDBOUND; | ^~~~~~~~~~~ get_filename.c:596:17: warning: variable 'myREGEX' set but not used [-Wunused-but-set-variable] 596 | int myREGEX, myFASTREGEX, myD, myWORDBOUND; | ^~~~~~~ get_filename.c:778:9: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 778 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c: In function 'read_filenames': get_filename.c:63:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 63 | fgets(buffer, MAX_NAME_SIZE, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -o get_index.o get_index.c get_index.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] 43 | free_list(p1) | ^~~~~~~~~ get_index.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c: In function 'sorted_union': get_index.c:66:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 66 | return; | ^~~~~~ get_index.c:56:1: note: declared here 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c:97:25: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 97 | return; | ^~~~~~ get_index.c:56:1: note: declared here 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c: At top level: get_index.c:118:1: warning: return type defaults to 'int' [-Wimplicit-int] 118 | sorted_intersection(filenum, list1, list2, f) | ^~~~~~~~~~~~~~~~~~~ get_index.c: In function 'sorted_intersection': get_index.c:118:1: warning: type of 'filenum' defaults to 'int' [-Wimplicit-int] get_index.c:129:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type] 129 | return; | ^~~~~~ get_index.c:118:1: note: declared here 118 | sorted_intersection(filenum, list1, list2, f) | ^~~~~~~~~~~~~~~~~~~ get_index.c:124:25: warning: unused variable 'tp' [-Wunused-variable] 124 | struct offsets *tp; | ^~ get_index.c: At top level: get_index.c:225:1: warning: return type defaults to 'int' [-Wimplicit-int] 225 | purge_offsets(p1) | ^~~~~~~~~~~~~ get_index.c:241:1: warning: return type defaults to 'int' [-Wimplicit-int] 241 | get_set(buffer, set, offset_table, patlen, pattern, patattr, outfile, partfp, frequency, prevfreq) | ^~~~~~~ get_index.c: In function 'get_set': get_index.c:257:25: warning: implicit declaration of function 'encode8b' [-Wimplicit-function-declaration] 257 | int delim = encode8b(0); | ^~~~~~~~ get_index.c:269:37: warning: implicit declaration of function 'decode8b' [-Wimplicit-function-declaration] 269 | indexattr = decode8b(buffer[bdx2+1]); | ^~~~~~~~ get_index.c:272:37: warning: implicit declaration of function 'decode16b' [-Wimplicit-function-declaration] 272 | indexattr = decode16b((buffer[bdx2+1] << 8) | (buffer[bdx2 + 2])); | ^~~~~~~~~ get_index.c:318:28: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] 318 | if ((ret = memagrep_search(patlen, pattern, bdx2+1, buffer, 0, outfile)) <= 0) return 0; | ^~~~~~~~~~~~~~~ get_index.c:328:13: warning: implicit declaration of function 'get_block_numbers' [-Wimplicit-function-declaration] 328 | get_block_numbers(&buffer[bdx2], &buffer[bdx2], partfp); | ^~~~~~~~~~~~~~~~~ get_index.c:344:29: warning: implicit declaration of function 'decode24b' [-Wimplicit-function-declaration] 344 | x = decode24b(x); | ^~~~~~~~~ get_index.c:355:29: warning: implicit declaration of function 'decode12b' [-Wimplicit-function-declaration] 355 | x = decode12b(x); | ^~~~~~~~~ get_index.c: At top level: get_index.c:489:1: warning: return type defaults to 'int' [-Wimplicit-int] 489 | get_index(infile, index_tab, offset_tab, pattern, patlen, patattr, index_argv, index_argc, outfile, partfp, parse, first_time) | ^~~~~~~~~ get_index.c: In function 'get_index': get_index.c:524:35: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 524 | while(fgets(dest_index_buf+1, REAL_INDEX_BUF-1, f_in)) { | ~~~~~~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ get_index.c:597:17: warning: label 'both_are_1' defined but not used [-Wunused-label] 597 | both_are_1: | ^~~~~~~~~~ get_index.c:562:17: warning: label 'ret_is_1' defined but not used [-Wunused-label] 562 | ret_is_1: | ^~~~~~~~ get_index.c: At top level: get_index.c:697:1: warning: return type defaults to 'int' [-Wimplicit-int] 697 | mgrep_get_index(infile, index_tab, offset_tab, pat_list, pat_lens, pat_attr, mgrep_pat_index, num_mgrep_pat, patbufpos, index_argv, index_argc, outfile, partfp, parse, first_time) | ^~~~~~~~~~~~~~~ get_index.c: In function 'mgrep_get_index': get_index.c:734:20: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] 734 | if ((ret = fileagrep(index_argc, index_argv, 0, f_in)) < 0) { | ^~~~~~~~~ get_index.c:746:25: warning: implicit declaration of function 'memagrep_init' [-Wimplicit-function-declaration] 746 | if ((dummylen = memagrep_init(index_argc, index_argv, MAX_PAT, dummypat)) <= 0) { | ^~~~~~~~~~~~~ get_index.c:779:35: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 779 | while(fgets(dest_index_buf+1, REAL_INDEX_BUF, f_in)) { | ~~~~~~~~~~~~~~^~ | | | unsigned char * In file included from /usr/include/stdio.h:900, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ get_index.c:781:24: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 781 | sscanf(&dest_index_buf[1], "%d-", &patnum); | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:8, from get_index.c:2: /usr/include/stdio.h:417:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 417 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ get_index.c:891:25: warning: label 'both_are_1' defined but not used [-Wunused-label] 891 | both_are_1: | ^~~~~~~~~~ get_index.c:852:25: warning: label 'ret_is_1' defined but not used [-Wunused-label] 852 | ret_is_1: | ^~~~~~~~ get_index.c:717:23: warning: unused variable 'even_words' [-Wunused-variable] 717 | int x=0, y=0, even_words=1; | ^~~~~~~~~~ get_index.c:717:18: warning: unused variable 'y' [-Wunused-variable] 717 | int x=0, y=0, even_words=1; | ^ get_index.c:717:13: warning: unused variable 'x' [-Wunused-variable] 717 | int x=0, y=0, even_words=1; | ^ get_index.c: In function 'mini_agrep': get_index.c:1063:26: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 1063 | if (stat(s, &st) == -1) { | ^ | | | unsigned char * In file included from index/glimpse.h:14, from get_index.c:2: /usr/include/sys/stat.h:205:41: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ get_index.c:1084:14: warning: implicit declaration of function 'get_mini' [-Wimplicit-function-declaration] 1084 | if (!get_mini(word, len, &beginoffset, &endoffset, 0, mini_array_len, minifp)) return 0; | ^~~~~~~~ get_index.c:1091:51: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] 1091 | while ((curroffset < endoffset) && (fgets(s, MAX_LINE_LEN, indexfp) != NULL)) { | ^ | | | unsigned char * In file included from /usr/include/stdio.h:900, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/stdio2.h:209:25: note: expected 'char * restrict' but argument is of type 'unsigned char *' 209 | fgets (char *__restrict __s, int __n, FILE *__restrict __stream) | ~~~~~~~~~~~~~~~~~^~~ get_index.c:1101:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1101 | cmp = strcmp(word, s); | ^~~~ | | | unsigned char * In file included from index/glimpse.h:10, from get_index.c:2: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ get_index.c:1101:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 1101 | cmp = strcmp(word, s); | ^ | | | unsigned char * In file included from index/glimpse.h:10, from get_index.c:2: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ get_index.c:1112:23: warning: pointer targets in passing argument 1 of 'fputs' differ in signedness [-Wpointer-sign] 1112 | fputs(s, outfp); | ^ | | | unsigned char * In file included from index/glimpse.h:8, from get_index.c:2: /usr/include/stdio.h:649:42: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 649 | 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] 1120 | fillup_target(result_index_set, result_offset_table, parse) | ^~~~~~~~~~~~~ get_index.c: In function 'fillup_target': get_index.c:1141:54: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1141 | strcpy(index_argv[patindex], pat_list[i]); /* i-th pattern in its right position */ | ~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ get_index.c: In function 'search_index': get_index.c:1239:29: warning: implicit declaration of function 'split_terminal' [-Wimplicit-function-declaration] 1239 | if (split_terminal(tree->terminalindex, tree->terminalindex+1) <= 0) return -1; | ^~~~~~~~~~~~~~ get_index.c:1329:33: warning: label 'both_are_1' defined but not used [-Wunused-label] 1329 | both_are_1: | ^~~~~~~~~~ get_index.c:1295:33: warning: label 'ret_is_1' defined but not used [-Wunused-label] 1295 | 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] 53 | } | ^ get_index.c: In function 'purge_offsets': get_index.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] 238 | } | ^ get_index.c: In function 'mini_agrep': get_index.c:1062:39: warning: '%s' directive writing 14 bytes into a region of size between 0 and 1023 [-Wformat-overflow=] 1062 | sprintf((char*)s, "%s/%s", INDEX_DIR, INDEX_FILE); | ^~ In file included from /usr/include/stdio.h:900, from index/glimpse.h:8, from get_index.c:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 16 and 1039 bytes into a destination of size 1024 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -o split.o split.c split.c: In function 'split_pattern_flat': split.c:106:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 106 | while (buffer_pat = parse_flat(buffer, buffer_end, *pGParse, pGParse)) { | ^~~~~~~~~~ split.c:168:12: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 168 | 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] 180 | get_attribute_value(pattr, pval, tokenbuf, tokenlen, num_attr) | ^~~~~~~~~~~~~~~~~~~ split.c: At top level: split.c:225:8: warning: type defaults to 'int' in declaration of 'destroy_tree' [-Wimplicit-int] 225 | extern destroy_tree(); /* use the one in agrep/asplit.c */ | ^~~~~~~~~~~~ split.c: In function 'parse_tree': split.c:311:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 311 | strcpy(&apattern[*apatptr], n->data.leaf.value); | ^~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ split.c:311:65: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 311 | strcpy(&apattern[*apatptr], n->data.leaf.value); | ~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ split.c:312:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 312 | *apatptr += strlen(n->data.leaf.value); | ~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from split.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ split.c:387:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 387 | strcpy(&apattern[*apatptr], n->data.leaf.value); | ^~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ split.c:387:65: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 387 | strcpy(&apattern[*apatptr], n->data.leaf.value); | ~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ split.c:388:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 388 | *apatptr += strlen(n->data.leaf.value); | ~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from split.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ split.c: At top level: split.c:496:1: warning: return type defaults to 'int' [-Wimplicit-int] 496 | split_terminal(first, last) | ^~~~~~~~~~~~~~ split.c: In function 'split_terminal': split.c:516:72: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 516 | buffer_end = buffer + strlen(terminals[first].data.leaf.value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from split.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 520 | word_length = strlen(word); | ^~~~ | | | unsigned char * In file included from index/glimpse.h:10, from split.c:3: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | 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] 586 | strcpy(pat_list[num_pat], word); | ~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __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] 586 | strcpy(pat_list[num_pat], word); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ split.c:600:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 600 | strcpy(&pat_buf[pat_ptr], pat_list[i]); | ^~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ split.c:600:51: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 600 | strcpy(&pat_buf[pat_ptr], pat_list[i]); | ~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ split.c:507:18: warning: unused variable 'substring' [-Wunused-variable] 507 | char *substring; /* used with strstr(superstring, substring) */ | ^~~~~~~~~ split.c:506:23: warning: unused variable 'k' [-Wunused-variable] 506 | int i, j, k, attribute; | ^ split.c:506:20: warning: unused variable 'j' [-Wunused-variable] 506 | int i, j, k, attribute; | ^ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 5 LTRANS jobs cp main.c main_server.c gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DISSERVER=1 -o main_server.o main_server.c main_server.c:204:8: warning: type defaults to 'int' in declaration of 'free_list' [-Wimplicit-int] 204 | extern free_list(); | ^~~~~~~~~ main_server.c: In function 'glimpse_search': main_server.c:292:73: warning: "/*" within comment [-Wcomment] 292 | /* beginregionptr = curtextend - GD_length; /* prevent next curtextbegin to go behind previous curtextend (!) */ | main_server.c:373:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 373 | if (strncmp(curtextbegin, GD_pattern, GD_length)) { | ^~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ main_server.c:373:43: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 373 | if (strncmp(curtextbegin, GD_pattern, GD_length)) { | ^~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ main_server.c:400:36: warning: implicit declaration of function 'memagrep_search' [-Wimplicit-function-declaration] 400 | if ((ret = memagrep_search(AM, APattern, curtextend-curtextbegin, curtextbegin, 0, outfp)) > 0) | ^~~~~~~~~~~~~~~ main_server.c:417:36: warning: implicit declaration of function 'exec'; did you mean 'rexec'? [-Wimplicit-function-declaration] 417 | if ((ret = exec(-1, NULL)) > 0) | ^~~~ | rexec main_server.c:438:25: warning: implicit declaration of function 'file_out'; did you mean 'fileno'? [-Wimplicit-function-declaration] 438 | file_out(realfilename); | ^~~~~~~~ | fileno main_server.c:237:25: warning: variable 'MAXTIMES' set but not used [-Wunused-but-set-variable] 237 | static int MAXTIMES, MAXPGTIMES, pagesize; | ^~~~~~~~ main_server.c:231:60: warning: unused variable 'c' [-Wunused-variable] 231 | CHAR *text, *curtextend, *curtextbegin, c; | ^ main_server.c:229:25: warning: unused variable 'sig' [-Wunused-variable] 229 | char sig[SIGNATURE_LEN]; | ^~~ main_server.c: At top level: main_server.c:466:1: warning: return type defaults to 'int' [-Wimplicit-int] 466 | read_index(indexdir) | ^~~~~~~~~~ main_server.c: In function 'read_index': main_server.c:536:34: warning: implicit declaration of function 'get_table' [-Wimplicit-function-declaration] 536 | GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); | ^~~~~~~~~ main_server.c:562:70: warning: implicit declaration of function 'read_mini'; did you mean 'readline'? [-Wimplicit-function-declaration] 562 | if (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(indexfp, minifp); | ^~~~~~~~~ | readline main_server.c:563:9: warning: implicit declaration of function 'read_filenames' [-Wimplicit-function-declaration] 563 | read_filenames(); | ^~~~~~~~~~~~~~ main_server.c:566:9: warning: implicit declaration of function 'set_indexable_char' [-Wimplicit-function-declaration] 566 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ main_server.c:568:9: warning: implicit declaration of function 'set_special_char' [-Wimplicit-function-declaration] 568 | set_special_char(indexable_char); | ^~~~~~~~~~~~~~~~ main_server.c: At top level: main_server.c:600:1: warning: return type defaults to 'int' [-Wimplicit-int] 600 | reinitialize_server(argc, argv) | ^~~~~~~~~~~~~~~~~~~ main_server.c: In function 'reinitialize_server': main_server.c:593:17: warning: implicit declaration of function 'attr_free_table' [-Wimplicit-function-declaration] 593 | attr_free_table();\ | ^~~~~~~~~~~~~~~ main_server.c:605:9: note: in expansion of macro 'CLEANUP' 605 | CLEANUP; | ^~~~~~~ main_server.c:595:9: warning: implicit declaration of function 'destroy_filename_hashtable' [-Wimplicit-function-declaration] 595 | destroy_filename_hashtable();\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:605:9: note: in expansion of macro 'CLEANUP' 605 | CLEANUP; | ^~~~~~~ main_server.c:604:20: warning: unused variable 'fd' [-Wunused-variable] 604 | int i, fd; | ^~ main_server.c:604:17: warning: unused variable 'i' [-Wunused-variable] 604 | int i, fd; | ^ main_server.c: At top level: main_server.c:693:1: warning: return type defaults to 'int' [-Wimplicit-int] 693 | main(argc, argv) | ^~~~ main_server.c: In function 'main': main_server.c:743:9: warning: implicit declaration of function 'init_filename_hashtable' [-Wimplicit-function-declaration] 743 | init_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~ main_server.c:747:21: warning: pointer targets in passing argument 1 of 'gethostname' differ in signedness [-Wpointer-sign] 747 | gethostname(SERV_HOST, MAXNAME - 2); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/unistd.h:282:1: note: expected 'char *' but argument is of type 'unsigned char *' 282 | __NTH (gethostname (char *__buf, size_t __buflen)) | ^~~~~ main_server.c:751:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 751 | strcpy(&GProgname[0], argv[0]); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:753:9: warning: implicit declaration of function 'region_initialize'; did you mean 'reinitialize'? [-Wimplicit-function-declaration] 753 | region_initialize(); | ^~~~~~~~~~~~~~~~~ | reinitialize main_server.c:800:60: warning: implicit declaration of function 'usageS' [-Wimplicit-function-declaration] 800 | RETURNMAIN(usageS()); | ^~~~~~ main_server.c:735:13: note: in definition of macro 'RETURNMAIN' 735 | if (val < 0) exit (2);\ | ^~~ main_server.c:824:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 824 | strcpy(SERV_HOST, argv[0]); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:828:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 828 | strcpy(SERV_HOST, p+1); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:1035:33: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] 1035 | if ((hp = gethostbyname(SERV_HOST)) == NULL) { | ^~~~~~~~~ | | | unsigned char * In file included from communicate.c:18, from main_server.c:33: /usr/include/netdb.h:142:51: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern struct hostent *gethostbyname (const char *__name); | ~~~~~~~~~~~~^~~~~~ main_server.c:1066:28: warning: implicit declaration of function 'do_select'; did you mean 'pselect'? [-Wimplicit-function-declaration] 1066 | if ((ret = do_select(sockfd, 15)) == 0) { | ^~~~~~~~~ | pselect main_server.c:1083:79: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign] 1083 | if ((newsockfd = accept(sockfd, (struct sockaddr *)&cli_addr, &cli_len)) < 0) continue; | ^~~~~~~~ | | | int * In file included from communicate.c:14, from main_server.c:33: /usr/include/sys/socket.h:307:42: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 307 | socklen_t *__restrict __addr_len); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ main_server.c:1135:31: warning: implicit declaration of function 'process_query' [-Wimplicit-function-declaration] 1135 | ret = process_query(clargc, clargv, newsockfd); | ^~~~~~~~~~~~~ main_server.c:715:17: warning: unused variable 'array' [-Wunused-variable] 715 | char array[4]; | ^~~~~ main_server.c:702:36: warning: unused variable 'clilen' [-Wunused-variable] 702 | int sockfd, newsockfd, clilen, len, clpid; | ^~~~~~ main_server.c:697:26: warning: unused variable 'tried' [-Wunused-variable] 697 | int ret = 0, tried = 0; | ^~~~~ main_server.c: At top level: main_server.c:1289:1: warning: return type defaults to 'int' [-Wimplicit-int] 1289 | process_query(argc, argv, newsockfd) | ^~~~~~~~~~~~~ main_server.c: In function 'process_query': main_server.c:1387:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1387 | strcpy(&GProgname[0], argv[0]); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:1388:31: warning: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 1388 | if (argc <= 1) return(usage()); | ^~~~~ main_server.c:1434:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1434 | strcpy(GD_pattern, "\n"); | ^~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:1435:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1435 | GD_length = strlen(GD_pattern); | ^~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main_server.c:1462:21: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] 1462 | i = fileagrep(oldargc, oldargv, 0, stdout); | ^~~~~~~~~ main_server.c:1375:29: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] 1375 | if (ComplexBoolean) destroy_tree(&GParse);\ | ^~~~~~~~~~~~ main_server.c:1463:17: note: in expansion of macro 'RETURN' 1463 | RETURN(i); | ^~~~~~ main_server.c:1572:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1572 | strcpy(FileOpt, argv[0]); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:1579:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1579 | strcpy(FileOpt, p+1); | ^~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2091:17: warning: implicit declaration of function 'read_filters' [-Wimplicit-function-declaration] 2091 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ main_server.c:2095:27: warning: implicit declaration of function 'fileagrep_init' [-Wimplicit-function-declaration] 2095 | if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT, GPattern)) <= 0) { | ^~~~~~~~~~~~~~ main_server.c:2119:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2119 | strcpy(APattern, GPattern); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2119:42: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2119 | strcpy(APattern, GPattern); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2127:54: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2127 | strcpy(terminals[0].data.leaf.value, GPattern); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2127:62: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2127 | strcpy(terminals[0].data.leaf.value, GPattern); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2130:26: warning: implicit declaration of function 'split_pattern' [-Wimplicit-function-declaration] 2130 | else if (split_pattern(GPattern, GM, APattern, terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); | ^~~~~~~~~~~~~ main_server.c:2150:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2150 | AM=strlen(APattern); | ^~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main_server.c:2152:46: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2152 | strcpy(agrep_argv[patindex], APattern); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2165:46: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2165 | if (!strncmp(dest_index_buf, "BEGIN", strlen("BEGIN"))) break; | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ main_server.c:2167:32: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] 2167 | sscanf(&dest_index_buf[strlen("BEGIN")], "%d%d%d", &bestmatcherrors, &NOBYTELEVEL, &OPTIMIZEBYTELEVEL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:8, from main_server.c:6: /usr/include/stdio.h:417:43: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 417 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ main_server.c:2172:46: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2172 | if (!strncmp(dest_index_buf, "END", strlen("END"))) break; | ^~~~~~~~~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ main_server.c:2181:96: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2181 | GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:171:34: note: expected 'const char *' but argument is of type 'unsigned char *' 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ main_server.c:2186:96: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 2186 | GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); | ~~~~~~~~~~~~~~^~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:171:34: note: expected 'const char *' but argument is of type 'unsigned char *' 171 | extern char *strdup (const char *__s) | ~~~~~~~~~~~~^~~ main_server.c:2273:23: warning: implicit declaration of function 'search_index'; did you mean 'read_index'? [-Wimplicit-function-declaration] 2273 | ret = search_index(GParse); | ^~~~~~~~~~~~ | read_index main_server.c:2299:44: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2299 | if (src_index_set[iii] & mask_int[jjj]) | ^ main_server.c:2328:32: warning: unused variable 'len' [-Wunused-variable] 2328 | int i, len = -1, nextchar; | ^~~ main_server.c:2429:38: warning: implicit declaration of function 'mask_filenames' [-Wimplicit-function-declaration] 2429 | if (FILENAMESINFILE) mask_filenames(src_index_set, filenames_file, file_num, num_blocks); /* keep only those files that are in filenames_file */ | ^~~~~~~~~~~~~~ main_server.c:2436:52: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 2436 | if (src_index_set[iii] & mask_int[jjj]) | ^ main_server.c:2457:25: warning: implicit declaration of function 'get_filenames'; did you mean 'get_file_time'? [-Wimplicit-function-declaration] 2457 | get_filenames(src_index_set, 0, NULL, dummylen, dummypat, file_num); | ^~~~~~~~~~~~~ | get_file_time main_server.c:2532:47: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2532 | strcpy(index_argv[0], GProgname); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2565:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2565 | fileopt_length = strlen(FileOpt); | ^~~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main_server.c:2566:63: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 2566 | strncpy(index_argv[index_argc],FileOpt+j,fileopt_length-j); | ~~~~~~~^~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ main_server.c:2692:79: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2692 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main_server.c:2693:61: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2693 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2693:88: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2693 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2698:60: warning: implicit declaration of function 'fileagrep_search' [-Wimplicit-function-declaration] 2698 | if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) { | ^~~~~~~~~~~~~~~~ main_server.c:2721:79: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2721 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main_server.c:2722:61: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2722 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2722:88: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2722 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2764:45: warning: implicit declaration of function 'apply_filter' [-Wimplicit-function-declaration] 2764 | if (apply_filter(GTextfiles[i], outname[0]) == 1) { | ^~~~~~~~~~~~ main_server.c:2767:79: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2767 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main_server.c:2768:61: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2768 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2768:88: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2768 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2812:87: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2812 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main_server.c:2813:69: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2813 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2813:96: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2813 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2883:71: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2883 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main_server.c:2884:53: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2884 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2884:80: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2884 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2928:54: warning: implicit declaration of function 'filter_output' [-Wimplicit-function-declaration] 2928 | ret = filter_output(GTextfiles[i], tempfile, GParse, GD_pattern, GD_length, GOUTTAIL, nullfp, StructuredIndex); | ^~~~~~~~~~~~~ main_server.c:2970:71: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2970 | if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from /usr/include/sys/param.h:25, from main_server.c:4: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ main_server.c:2971:53: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2971 | else strcpy(CurrentFileName, GTextfiles[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:2971:80: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2971 | else strcpy(CurrentFileName, GTextfiles[i]); | ~~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ main_server.c:1317:17: warning: variable 'gprev_num_of_matched' set but not used [-Wunused-but-set-variable] 1317 | int gprev_num_of_matched = 0; | ^~~~~~~~~~~~~~~~~~~~ main_server.c:1309:17: warning: unused variable 'temp_file' [-Wunused-variable] 1309 | char temp_file[MAX_LINE_LEN]; | ^~~~~~~~~ main_server.c:1308:17: warning: unused variable 'TEMP_FILE' [-Wunused-variable] 1308 | char TEMP_FILE[MAX_LINE_LEN]; | ^~~~~~~~~ main_server.c:1305:17: warning: variable 'indexdir' set but not used [-Wunused-but-set-variable] 1305 | char indexdir[MAX_LINE_LEN]; | ^~~~~~~~ main_server.c:1303:17: warning: unused variable 'jj' [-Wunused-variable] 1303 | int jj; | ^~ main_server.c:1296:17: warning: unused variable 'num_read' [-Wunused-variable] 1296 | int num_read; | ^~~~~~~~ main_server.c:1294:17: warning: variable 'searchpercent' set but not used [-Wunused-but-set-variable] 1294 | int searchpercent; | ^~~~~~~~~~~~~ main_server.c: In function 'getbyteoff': main_server.c:3128:26: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] 3128 | *pbyteoff = atoi(temp); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:490, 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 *' 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ main_server.c: In function 'filter_output': main_server.c:3182:39: warning: implicit declaration of function 'region_create' [-Wimplicit-function-declaration] 3182 | if (StructuredIndex && (-1 == region_create(infile))) { | ^~~~~~~~~~~~~ main_server.c:3189:46: warning: implicit declaration of function 'region_destroy' [-Wimplicit-function-declaration] 3189 | if (StructuredIndex) region_destroy(); | ^~~~~~~~~~~~~~ main_server.c:3262:69: warning: implicit declaration of function 'region_identify' [-Wimplicit-function-declaration] 3262 | else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)) < num_attr) && (attribute >= 0)) ) { | ^~~~~~~~~~~~~~~ main_server.c:3286:102: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3286 | if (memagrep_search( strlen(terminals[i].data.leaf.value), terminals[i].data.leaf.value, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from index/glimpse.h:10, from main_server.c:6: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ main_server.c:3341:59: warning: implicit declaration of function 'eval_tree' [-Wimplicit-function-declaration] 3341 | success = eval_tree(GParse, matched_terminals); | ^~~~~~~~~ main_server.c:3171:17: warning: unused variable 'count' [-Wunused-variable] 3171 | int count = 0; | ^~~~~ main_server.c: At top level: main_server.c:3481:1: warning: return type defaults to 'int' [-Wimplicit-int] 3481 | usage() | ^~~~~ main_server.c:3561:1: warning: return type defaults to 'int' [-Wimplicit-int] 3561 | usageS() | ^~~~~~ main_server.c: In function 'glimpse_search': main_server.c:338:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 338 | fread(beginregionptr, 1, num, infp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'process_Y_option': main_server.c:457:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 457 | fread(arrayend, 1, 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'read_index': main_server.c:475:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 475 | getcwd(indexdir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:527:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 527 | fgets(indexnumberbuf, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:530:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 530 | fscanf(indexfp, "%%%d\n", &OneFilePerBlock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:538:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 538 | fscanf(indexfp, "%%%d%s\n", &StructuredIndex, old_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'cleanup': main_server.c:646:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 646 | dup(svstderr); | ^~~~~~~~~~~~~ main_server.c: In function 'quitrequest': main_server.c:678:17: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 678 | write(svstderr, QUITREQUESTMSG, strlen(QUITREQUESTMSG)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'main': main_server.c:1117:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1117 | dup(clstdout); | ^~~~~~~~~~~~~ main_server.c:1118:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1118 | dup(clstderr); | ^~~~~~~~~~~~~ main_server.c:1155:25: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1155 | dup(clout); | ^~~~~~~~~~ main_server.c:1162:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1162 | dup(svstdout); | ^~~~~~~~~~~~~ main_server.c:1166:17: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 1166 | dup(svstderr); | ^~~~~~~~~~~~~ main_server.c: In function 'process_query': main_server.c:1822:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1822 | getcwd(temp_bitfield_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c:1846:41: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1846 | getcwd(temp_filenames_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main_server.c: In function 'filter_output': main_server.c:3255:28: warning: 'skiplen' may be used uninitialized in this function [-Wmaybe-uninitialized] 3255 | 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 7 LTRANS jobs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dog8fY + umask 022 + cd /builddir/build/BUILD + '[' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64' '!=' / ']' + rm -rf '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64' ++ dirname '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64' + mkdir -p /builddir/build/BUILDROOT + mkdir '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64' + CFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + make install 'prefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr' 'exec_prefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr' 'manprefix=/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/man' [ -d bin ] || mkdir bin [ -d lib ] || mkdir lib for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; make ); \ done make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 lto-wrapper: warning: using serial compilation of 3 LTRANS jobs 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 4 LTRANS jobs gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 5 LTRANS jobs gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -lc -lm 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 5 LTRANS jobs gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 7 LTRANS jobs ./mkinstalldirs /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/man mkdir /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/man/man1 for d in glimpse.1 glimpseindex.1 glimpseserver.1 ; do \ /usr/bin/install -c -m 444 $d /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/man/man1 ; \ done for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; make install ); \ done make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' for i in tbuild cast uncast ; do \ /usr/bin/install -c $i /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin ; \ done make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/compress' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 lto-wrapper: warning: using serial compilation of 3 LTRANS jobs /usr/bin/install -c -m 444 agrep.1 /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/man/man1 /usr/bin/install -c agrep /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/agrep' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate' Making install in util make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/util' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/util' Making install in template make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/template' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/template' Making install in lib make[2]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/lib' make[2]: Nothing to be done for 'install'. make[2]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate/lib' make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/libtemplate' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/index' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 4 LTRANS jobs gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.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 -lc -lm lto-wrapper: warning: using serial compilation of 5 LTRANS jobs gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/.package_note-glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.ld -L../lib -o ../bin/wgconvert convert.o io.o simpletest.o filetype.o region.o memlook.o getword.o -lagrep -lc -lm for i in ../bin/buildcast ../bin/glimpseindex ../bin/wgconvert ; do \ /usr/bin/install -c $i /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin ; \ done make[1]: Leaving directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/index' make[1]: Entering directory '/builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc/dynfilters' gcc -O3 -fomit-frame-pointer -O2 -ftree-vectorize -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv8.2-a+crypto -mtune=neoverse-n1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DSHARED_OBJECT -c lex.yy.c lex.yy.c:4312:16: warning: 'input' defined but not used [-Wunused-function] 4312 | #else | ^ lex.yy.c:4269:17: warning: 'yyunput' defined but not used [-Wunused-function] 4269 | | ^ 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-1.amzn2023.aarch64/usr/bin ; \ done + mkdir -p '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse' + mv '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/buildcast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/cast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/uncast' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/tbuild' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/wgconvert' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse' + rm -v '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/agrep' '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/man/man1/agrep.1' removed '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/agrep' removed '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/man/man1/agrep.1' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed '4.12.6^git20161025.4945711-1.amzn2023' --unique-debug-suffix '-4.12.6^git20161025.4945711-1.amzn2023.aarch64' --unique-debug-src-base 'glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64' --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/glimpse-49457116bb0796636fd1bc84f39006fb102bfafc explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/glimpseindex explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/glimpse explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/glimpseserver explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/buildcast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/buildcast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/glimpse extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/glimpseindex extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/bin/glimpseserver explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/cast explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/tbuild extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/cast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/tbuild explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/uncast explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/wgconvert extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/uncast extracting debug info from /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/libexec/glimpse/wgconvert original debug info size: 3596kB, size after compression: 3076kB /usr/bin/sepdebugcrcfix: Updated 8 CRC32s, 0 CRC32s did match. 2456 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-python-bytecompile '' 0 1 Processing files: glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.YcsIEf + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + DOCDIR='/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/doc/glimpse' + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/doc/glimpse' + cp -pr README '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/doc/glimpse' + cp -pr KNOWN_BUGS '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/doc/glimpse' + cp -pr ChangeLog '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/doc/glimpse' + cp -pr CHANGES '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/doc/glimpse' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PmpKSO + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + LICENSEDIR='/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/licenses/glimpse' + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/licenses/glimpse' + cp -pr LICENSE '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64/usr/share/licenses/glimpse' + RPM_EC=0 ++ jobs -p + exit 0 Provides: glimpse = 4.12.6^git20161025.4945711-1.amzn2023 glimpse(aarch-64) = 4.12.6^git20161025.4945711-1.amzn2023 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: glimpse-debugsource-4.12.6^git20161025.4945711-1.amzn2023.aarch64 Provides: glimpse-debugsource = 4.12.6^git20161025.4945711-1.amzn2023 glimpse-debugsource(aarch-64) = 4.12.6^git20161025.4945711-1.amzn2023 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-1.amzn2023.aarch64 Provides: debuginfo(build-id) = 00e34f17a455ea3aed5d0c7d633325310b28547b debuginfo(build-id) = 0e7d00ef7a5bd81064143ba7bceaa48d2682fcbf debuginfo(build-id) = 3793db308a4bb079152b793374ee2f35c89ad2e0 debuginfo(build-id) = 398bf2f6a13ce9e8045c7e75d71bea4070b97759 debuginfo(build-id) = 3b8ef780e463d1042bb7ce2d9cde7f42e49ebc3a debuginfo(build-id) = 40fe293eeae1bf8dc86704156c3340fe4eae2397 debuginfo(build-id) = 49f769c9e6a185676431dc5b9eb0d1ee01944ad5 debuginfo(build-id) = 52426a1ca45d6132a2b939996361e4f2ae346a59 glimpse-debuginfo = 4.12.6^git20161025.4945711-1.amzn2023 glimpse-debuginfo(aarch-64) = 4.12.6^git20161025.4945711-1.amzn2023 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: glimpse-debugsource(aarch-64) = 4.12.6^git20161025.4945711-1.amzn2023 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64 Wrote: /builddir/build/RPMS/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64.rpm Wrote: /builddir/build/RPMS/glimpse-debugsource-4.12.6^git20161025.4945711-1.amzn2023.aarch64.rpm Wrote: /builddir/build/RPMS/glimpse-debuginfo-4.12.6^git20161025.4945711-1.amzn2023.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7MLM5x + umask 022 + cd /builddir/build/BUILD + cd glimpse-49457116bb0796636fd1bc84f39006fb102bfafc + /usr/bin/rm -rf '/builddir/build/BUILDROOT/glimpse-4.12.6^git20161025.4945711-1.amzn2023.aarch64' + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm Finish: build phase for glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/amazonlinux-2023-aarch64-1738866254.228851/root/var/log/dnf.log /var/lib/mock/amazonlinux-2023-aarch64-1738866254.228851/root/var/log/dnf.librepo.log /var/lib/mock/amazonlinux-2023-aarch64-1738866254.228851/root/var/log/dnf.rpm.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/glimpse-4.12.6^git20161025.4945711-1.amzn2023.src.rpm) Config(child) 2 minutes 0 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running RPMResults tool Package info: { "packages": [ { "name": "glimpse", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "1.amzn2023", "arch": "aarch64" }, { "name": "glimpse-debugsource", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "1.amzn2023", "arch": "aarch64" }, { "name": "glimpse-debuginfo", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "1.amzn2023", "arch": "aarch64" }, { "name": "glimpse", "epoch": null, "version": "4.12.6^git20161025.4945711", "release": "1.amzn2023", "arch": "src" } ] } RPMResults finished