Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c2a0' (ED25519) to the list of known hosts. Dload Upload Total Spent Left Speed 100 724k 100 724k 0 0 3809k 0 --:--:-- --:--:-- --:--:-- 3833k INFO: Reading stdout from command: md5sum testdisk-7.1.tar.bz2 Running (timeout=115200): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-wpkjcd0e/testdisk/testdisk.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-wpkjcd0e/testdisk --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1704906473.600591 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.4 starting (python version = 3.11.3, NVR = mock-5.4-1.fc38), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-wpkjcd0e/testdisk/testdisk.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-wpkjcd0e/testdisk --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1704906473.600591 -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-wpkjcd0e/testdisk/testdisk.spec) Config(fedora-rawhide-ppc64le) Start: clean chroot Finish: clean chroot Mock Version: 5.4 INFO: Mock Version: 5.4 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-ppc64le-bootstrap-1704906473.600591/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-ppc64le-bootstrap-1704906473.600591/root INFO: Checking that registry.fedoraproject.org/fedora:rawhide image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/36aad7604483530856a0ff1d07856fd71ada9d8c03721965d26e29889a2d1e37/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/36aad7604483530856a0ff1d07856fd71ada9d8c03721965d26e29889a2d1e37/merged) with podman image umount INFO: Using 'dnf' instead of 'dnf5' for bootstrap chroot INFO: Package manager dnf detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf5 tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 13 MB/s | 3.3 MB 00:00 fedora 7.1 MB/s | 67 MB 00:09 Last metadata expiration check: 0:00:01 ago on Wed Jan 10 17:08:06 2024. Dependencies resolved. ================================================================================ Package Architecture Version Repository Size ================================================================================ Installing: dnf5 ppc64le 5.1.10-3.fc40 fedora 535 k dnf5-plugins ppc64le 5.1.10-3.fc40 fedora 333 k Installing dependencies: fmt ppc64le 10.1.1-1.fc40 fedora 151 k libdnf5 ppc64le 5.1.10-3.fc40 fedora 934 k libdnf5-cli ppc64le 5.1.10-3.fc40 fedora 226 k sdbus-cpp ppc64le 1.4.0-1.fc40 copr_base 107 k Transaction Summary ================================================================================ Install 6 Packages Total download size: 2.2 M Installed size: 7.8 M Downloading Packages: (1/6): sdbus-cpp-1.4.0-1.fc40.ppc64le.rpm 1.7 MB/s | 107 kB 00:00 (2/6): dnf5-plugins-5.1.10-3.fc40.ppc64le.rpm 634 kB/s | 333 kB 00:00 (3/6): fmt-10.1.1-1.fc40.ppc64le.rpm 324 kB/s | 151 kB 00:00 (4/6): dnf5-5.1.10-3.fc40.ppc64le.rpm 813 kB/s | 535 kB 00:00 (5/6): libdnf5-cli-5.1.10-3.fc40.ppc64le.rpm 1.2 MB/s | 226 kB 00:00 (6/6): libdnf5-5.1.10-3.fc40.ppc64le.rpm 3.9 MB/s | 934 kB 00:00 -------------------------------------------------------------------------------- Total 2.8 MB/s | 2.2 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : fmt-10.1.1-1.fc40.ppc64le 1/6 Installing : libdnf5-5.1.10-3.fc40.ppc64le 2/6 Installing : libdnf5-cli-5.1.10-3.fc40.ppc64le 3/6 Installing : dnf5-5.1.10-3.fc40.ppc64le 4/6 Installing : sdbus-cpp-1.4.0-1.fc40.ppc64le 5/6 Installing : dnf5-plugins-5.1.10-3.fc40.ppc64le 6/6 Running scriptlet: dnf5-plugins-5.1.10-3.fc40.ppc64le 6/6 Installed: dnf5-5.1.10-3.fc40.ppc64le dnf5-plugins-5.1.10-3.fc40.ppc64le fmt-10.1.1-1.fc40.ppc64le libdnf5-5.1.10-3.fc40.ppc64le libdnf5-cli-5.1.10-3.fc40.ppc64le sdbus-cpp-1.4.0-1.fc40.ppc64le Complete! INFO: Switching package manager from dnf to the dnf5 (direct choice) Finish(bootstrap): installing dnf5 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/fedora-rawhide-ppc64le-1704906473.600591/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 dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.1-2.fc40.ppc64le rpm-sequoia-1.5.0-2.fc40.ppc64le python3-dnf-4.18.2-1.fc40.noarch yum-4.18.2-1.fc40.noarch dnf5-5.1.10-3.fc40.ppc64le dnf5-plugins-5.1.10-3.fc40.ppc64le Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 6.5 MiB/s | 18.7 MiB | 00m03s Copr repository 100% | 1.4 MiB/s | 770.3 KiB | 00m01s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash ppc64le 5.2.21-2.fc40 fedora 8.7 MiB bzip2 ppc64le 1.0.8-16.fc39 fedora 427.3 KiB coreutils ppc64le 9.4-1.fc40 fedora 22.2 MiB cpio ppc64le 2.14-5.fc40 fedora 1.1 MiB diffutils ppc64le 3.10-3.fc39 fedora 2.1 MiB fedora-release-common noarch 40-0.26 fedora 19.0 KiB findutils ppc64le 1:4.9.0-6.fc40 fedora 1.8 MiB gawk ppc64le 5.2.2-2.fc39 fedora 4.5 MiB glibc-minimal-langpack ppc64le 2.38.9000-30.fc40 fedora 0.0 B grep ppc64le 3.11-5.fc40 fedora 1.1 MiB gzip ppc64le 1.12-6.fc39 fedora 539.7 KiB info ppc64le 7.1-1.fc40 fedora 677.3 KiB patch ppc64le 2.7.6-22.fc39 fedora 390.4 KiB redhat-rpm-config noarch 275-1.fc40 fedora 180.7 KiB rpm-build ppc64le 4.19.1-2.fc40 fedora 1.2 MiB sed ppc64le 4.8-14.fc39 fedora 941.6 KiB shadow-utils ppc64le 2:4.14.0-2.fc40 fedora 7.2 MiB tar ppc64le 2:1.35-2.fc40 fedora 3.2 MiB unzip ppc64le 6.0-62.fc39 fedora 854.2 KiB util-linux ppc64le 2.39.3-1.fc40 fedora 16.9 MiB which ppc64le 2.21-40.fc39 fedora 248.0 KiB xz ppc64le 5.4.5-1.fc40 fedora 2.3 MiB Installing dependencies: alternatives ppc64le 1.25-1.fc39 fedora 218.1 KiB ansible-srpm-macros noarch 1-11.fc39 fedora 35.5 KiB audit-libs ppc64le 3.1.2-5.fc40 fedora 610.9 KiB authselect ppc64le 1.4.3-1.fc40 fedora 312.3 KiB authselect-libs ppc64le 1.4.3-1.fc40 fedora 1.1 MiB basesystem noarch 11-18.fc39 fedora 0.0 B binutils ppc64le 2.41-20.fc40 fedora 31.9 MiB binutils-gold ppc64le 2.41-20.fc40 fedora 3.8 MiB bzip2-libs ppc64le 1.0.8-16.fc39 fedora 264.6 KiB ca-certificates noarch 2023.2.62_v7.0.401-4.fc40 fedora 2.3 MiB coreutils-common ppc64le 9.4-1.fc40 fedora 11.4 MiB cracklib ppc64le 2.9.11-2.fc39 fedora 933.9 KiB crypto-policies noarch 20231204-1.git1e3a2e4.fc40 fedora 149.3 KiB curl ppc64le 8.5.0-1.fc40 fedora 922.3 KiB cyrus-sasl-lib ppc64le 2.1.28-11.fc39 fedora 3.5 MiB debugedit ppc64le 5.0-12.fc40 fedora 498.6 KiB dwz ppc64le 0.15-3.fc39 fedora 450.7 KiB ed ppc64le 1.19-4.fc39 fedora 280.1 KiB efi-srpm-macros noarch 5-9.fc39 fedora 40.1 KiB elfutils ppc64le 0.190-4.fc40 copr_base 5.3 MiB elfutils-debuginfod-client ppc64le 0.190-4.fc40 copr_base 396.5 KiB elfutils-default-yama-scope noarch 0.190-4.fc40 copr_base 1.8 KiB elfutils-libelf ppc64le 0.190-4.fc40 copr_base 1.1 MiB elfutils-libs ppc64le 0.190-4.fc40 copr_base 1.0 MiB fedora-gpg-keys noarch 40-0.2 fedora 123.2 KiB fedora-release noarch 40-0.26 fedora 0.0 B fedora-release-identity-basic noarch 40-0.26 fedora 694.0 B fedora-repos noarch 40-0.2 fedora 4.9 KiB fedora-repos-rawhide noarch 40-0.2 fedora 2.2 KiB file ppc64le 5.45-1.fc40 fedora 267.3 KiB file-libs ppc64le 5.45-1.fc40 fedora 10.1 MiB filesystem ppc64le 3.18-6.fc39 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-12.fc39 fedora 55.3 KiB forge-srpm-macros noarch 0.2.0-1.fc40 fedora 37.4 KiB fpc-srpm-macros noarch 1.3-8.fc39 fedora 144.0 B gdb-minimal ppc64le 14.1-1.fc40 copr_base 13.3 MiB gdbm ppc64le 1:1.23-4.fc39 fedora 928.1 KiB gdbm-libs ppc64le 1:1.23-4.fc39 fedora 425.3 KiB ghc-srpm-macros noarch 1.6.1-3.fc40 fedora 369.0 B glibc ppc64le 2.38.9000-30.fc40 fedora 11.6 MiB glibc-common ppc64le 2.38.9000-30.fc40 fedora 2.6 MiB glibc-gconv-extra ppc64le 2.38.9000-30.fc40 fedora 48.9 MiB gmp ppc64le 1:6.2.1-5.fc39 fedora 849.5 KiB gnat-srpm-macros noarch 6-3.fc39 fedora 1.0 KiB go-srpm-macros noarch 3.3.1-1.fc40 fedora 60.6 KiB jansson ppc64le 2.13.1-7.fc39 fedora 220.2 KiB kernel-srpm-macros noarch 1.0-20.fc39 fedora 1.9 KiB keyutils-libs ppc64le 1.6.3-1.fc40 fedora 226.0 KiB krb5-libs ppc64le 1.21.2-2.fc40 fedora 3.9 MiB libacl ppc64le 2.3.1-11.fc40 fedora 195.7 KiB libarchive ppc64le 3.7.2-1.fc40 fedora 1.3 MiB libattr ppc64le 2.5.1-9.fc40 fedora 196.2 KiB libblkid ppc64le 2.39.3-1.fc40 fedora 456.9 KiB libbrotli ppc64le 1.1.0-1.fc40 fedora 1.3 MiB libcap ppc64le 2.69-1.fc40 fedora 1.4 MiB libcap-ng ppc64le 0.8.4-2.fc40 fedora 416.5 KiB libcom_err ppc64le 1.47.0-2.fc39 fedora 239.0 KiB libcurl ppc64le 8.5.0-1.fc40 fedora 1.0 MiB libeconf ppc64le 0.5.2-1.fc40 fedora 203.9 KiB libevent ppc64le 2.1.12-9.fc39 fedora 1.6 MiB libfdisk ppc64le 2.39.3-1.fc40 fedora 559.0 KiB libffi ppc64le 3.4.4-5.fc40 fedora 217.2 KiB libgcc ppc64le 13.2.1-6.fc40 fedora 350.3 KiB libgomp ppc64le 13.2.1-6.fc40 fedora 673.6 KiB libidn2 ppc64le 2.3.4-3.fc39 fedora 450.7 KiB libmount ppc64le 2.39.3-1.fc40 fedora 548.2 KiB libnghttp2 ppc64le 1.58.0-1.fc40 fedora 262.0 KiB libnsl2 ppc64le 2.0.0-6.fc39 fedora 221.7 KiB libpkgconf ppc64le 1.9.5-2.fc39 fedora 197.8 KiB libpsl ppc64le 0.21.2-4.fc39 fedora 196.2 KiB libpwquality ppc64le 1.4.5-6.fc39 fedora 1.1 MiB librtas ppc64le 2.0.4-3.fc39 fedora 459.2 KiB libselinux ppc64le 3.6-2.fc40 fedora 329.0 KiB libsemanage ppc64le 3.6-1.fc40 fedora 489.5 KiB libsepol ppc64le 3.6-1.fc40 fedora 1.1 MiB libsigsegv ppc64le 2.14-5.fc39 fedora 225.0 KiB libsmartcols ppc64le 2.39.3-1.fc40 fedora 287.9 KiB libssh ppc64le 0.10.6-2.fc40 fedora 709.3 KiB libssh-config noarch 0.10.6-2.fc40 fedora 277.0 B libstdc++ ppc64le 13.2.1-6.fc40 fedora 3.8 MiB libtasn1 ppc64le 4.19.0-3.fc39 fedora 347.3 KiB libtirpc ppc64le 1.3.4-1.rc1.fc40 fedora 338.7 KiB libunistring ppc64le 1.1-5.fc40 fedora 1.9 MiB libutempter ppc64le 1.2.1-10.fc39 fedora 417.3 KiB libuuid ppc64le 2.39.3-1.fc40 fedora 197.2 KiB libverto ppc64le 0.3.2-6.fc39 fedora 197.1 KiB libxcrypt ppc64le 4.4.36-3.fc40 fedora 398.5 KiB libxml2 ppc64le 2.12.3-1.fc40 fedora 2.6 MiB libzstd ppc64le 1.5.5-4.fc39 fedora 988.1 KiB lua-libs ppc64le 5.4.6-3.fc39 fedora 456.9 KiB lua-srpm-macros noarch 1-9.fc39 fedora 1.3 KiB lz4-libs ppc64le 1.9.4-4.fc39 fedora 325.0 KiB mpfr ppc64le 4.2.1-1.fc40 fedora 976.8 KiB ncurses-base noarch 6.4-8.20231001.fc40 fedora 324.7 KiB ncurses-libs ppc64le 6.4-8.20231001.fc40 fedora 2.4 MiB ocaml-srpm-macros noarch 9-1.fc40 fedora 1.9 KiB openblas-srpm-macros noarch 2-14.fc39 fedora 104.0 B openldap ppc64le 2.6.6-1.fc40 copr_base 1.1 MiB openssl-libs ppc64le 1:3.1.4-1.fc40 fedora 8.3 MiB p11-kit ppc64le 0.25.3-1.fc40 fedora 3.3 MiB p11-kit-trust ppc64le 0.25.3-1.fc40 fedora 655.4 KiB package-notes-srpm-macros noarch 0.5-9.fc39 fedora 1.6 KiB pam ppc64le 1.5.3-9.fc40 fedora 10.8 MiB pam-libs ppc64le 1.5.3-9.fc40 fedora 606.3 KiB pcre2 ppc64le 10.42-2.fc40 fedora 968.9 KiB pcre2-syntax noarch 10.42-2.fc40 fedora 235.1 KiB perl-srpm-macros noarch 1-51.fc39 fedora 861.0 B pkgconf ppc64le 1.9.5-2.fc39 fedora 235.6 KiB pkgconf-m4 noarch 1.9.5-2.fc39 fedora 13.9 KiB pkgconf-pkg-config ppc64le 1.9.5-2.fc39 fedora 990.0 B popt ppc64le 1.19-3.fc39 fedora 272.7 KiB publicsuffix-list-dafsa noarch 20230812-1.fc40 fedora 66.7 KiB pyproject-srpm-macros noarch 1.11.0-1.fc40 fedora 1.5 KiB python-srpm-macros noarch 3.12-5.fc40 fedora 50.1 KiB qt5-srpm-macros noarch 5.15.12-1.fc40 fedora 492.0 B qt6-srpm-macros noarch 6.6.1-3.fc40 fedora 456.0 B readline ppc64le 8.2-4.fc39 fedora 816.9 KiB rpm ppc64le 4.19.1-2.fc40 fedora 4.9 MiB rpm-build-libs ppc64le 4.19.1-2.fc40 fedora 326.2 KiB rpm-libs ppc64le 4.19.1-2.fc40 fedora 1.2 MiB rpm-sequoia ppc64le 1.5.0-2.fc40 fedora 5.0 MiB rust-srpm-macros noarch 25.2-2.fc40 fedora 5.1 KiB setup noarch 2.14.5-1.fc40 fedora 720.4 KiB sqlite-libs ppc64le 3.44.2-1.fc40 fedora 1.9 MiB systemd-libs ppc64le 255.2-2.fc40 fedora 2.8 MiB util-linux-core ppc64le 2.39.3-1.fc40 fedora 6.1 MiB xxhash-libs ppc64le 0.8.2-1.fc39 fedora 211.9 KiB xz-libs ppc64le 5.4.5-1.fc40 fedora 329.4 KiB zig-srpm-macros noarch 1-1.fc40 fedora 1.1 KiB zip ppc64le 3.0-39.fc40 fedora 1.2 MiB zlib-ng-compat ppc64le 2.1.5-2.fc40 fedora 261.4 KiB zstd ppc64le 1.5.5-4.fc39 fedora 2.1 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 154 packages Total size of inbound packages is 56 MiB. Need to download 56 MiB. After this operation 323 MiB will be used (install 323 MiB, remove 0 B). [ 1/154] bzip2-0:1.0.8-16.fc39.ppc64le 100% | 156.9 KiB/s | 53.3 KiB | 00m00s [ 2/154] coreutils-0:9.4-1.fc40.ppc64l 100% | 2.7 MiB/s | 1.4 MiB | 00m01s [ 3/154] bash-0:5.2.21-2.fc40.ppc64le 100% | 3.4 MiB/s | 1.9 MiB | 00m01s [ 4/154] fedora-release-common-0:40-0. 100% | 613.1 KiB/s | 20.2 KiB | 00m00s [ 5/154] cpio-0:2.14-5.fc40.ppc64le 100% | 1.1 MiB/s | 286.3 KiB | 00m00s [ 6/154] diffutils-0:3.10-3.fc39.ppc64 100% | 3.9 MiB/s | 408.2 KiB | 00m00s [ 7/154] glibc-minimal-langpack-0:2.38 100% | 1.3 MiB/s | 88.9 KiB | 00m00s [ 8/154] findutils-1:4.9.0-6.fc40.ppc6 100% | 3.6 MiB/s | 540.4 KiB | 00m00s [ 9/154] grep-0:3.11-5.fc40.ppc64le 100% | 5.8 MiB/s | 307.8 KiB | 00m00s [ 10/154] gzip-0:1.12-6.fc39.ppc64le 100% | 2.0 MiB/s | 169.9 KiB | 00m00s [ 11/154] gawk-0:5.2.2-2.fc39.ppc64le 100% | 4.6 MiB/s | 1.1 MiB | 00m00s [ 12/154] info-0:7.1-1.fc40.ppc64le 100% | 1.8 MiB/s | 203.2 KiB | 00m00s [ 13/154] redhat-rpm-config-0:275-1.fc4 100% | 2.3 MiB/s | 80.8 KiB | 00m00s [ 14/154] patch-0:2.7.6-22.fc39.ppc64le 100% | 1.6 MiB/s | 136.5 KiB | 00m00s [ 15/154] rpm-build-0:4.19.1-2.fc40.ppc 100% | 1.9 MiB/s | 81.2 KiB | 00m00s [ 16/154] sed-0:4.8-14.fc39.ppc64le 100% | 4.1 MiB/s | 312.2 KiB | 00m00s [ 17/154] unzip-0:6.0-62.fc39.ppc64le 100% | 1.4 MiB/s | 189.9 KiB | 00m00s [ 18/154] tar-2:1.35-2.fc40.ppc64le 100% | 4.0 MiB/s | 883.6 KiB | 00m00s [ 19/154] shadow-utils-2:4.14.0-2.fc40. 100% | 4.8 MiB/s | 1.3 MiB | 00m00s [ 20/154] which-0:2.21-40.fc39.ppc64le 100% | 1.1 MiB/s | 43.0 KiB | 00m00s [ 21/154] util-linux-0:2.39.3-1.fc40.pp 100% | 6.2 MiB/s | 1.3 MiB | 00m00s [ 22/154] xz-0:5.4.5-1.fc40.ppc64le 100% | 3.7 MiB/s | 560.1 KiB | 00m00s [ 23/154] filesystem-0:3.18-6.fc39.ppc6 100% | 4.0 MiB/s | 1.1 MiB | 00m00s [ 24/154] ncurses-libs-0:6.4-8.20231001 100% | 2.6 MiB/s | 381.5 KiB | 00m00s [ 25/154] bzip2-libs-0:1.0.8-16.fc39.pp 100% | 658.5 KiB/s | 47.4 KiB | 00m00s [ 26/154] glibc-0:2.38.9000-30.fc40.ppc 100% | 6.8 MiB/s | 2.3 MiB | 00m00s [ 27/154] gmp-1:6.2.1-5.fc39.ppc64le 100% | 2.4 MiB/s | 304.0 KiB | 00m00s [ 28/154] libacl-0:2.3.1-11.fc40.ppc64l 100% | 735.5 KiB/s | 26.5 KiB | 00m00s [ 29/154] libattr-0:2.5.1-9.fc40.ppc64l 100% | 545.8 KiB/s | 18.6 KiB | 00m00s [ 30/154] libcap-0:2.69-1.fc40.ppc64le 100% | 813.0 KiB/s | 89.4 KiB | 00m00s [ 31/154] coreutils-common-0:9.4-1.fc40 100% | 4.5 MiB/s | 2.1 MiB | 00m00s [ 32/154] fedora-repos-0:40-0.2.noarch 100% | 275.0 KiB/s | 9.3 KiB | 00m00s [ 33/154] libsigsegv-0:2.14-5.fc39.ppc6 100% | 809.8 KiB/s | 27.5 KiB | 00m00s [ 34/154] mpfr-0:4.2.1-1.fc40.ppc64le 100% | 4.5 MiB/s | 353.1 KiB | 00m00s [ 35/154] libselinux-0:3.6-2.fc40.ppc64 100% | 229.5 KiB/s | 100.8 KiB | 00m00s [ 36/154] openssl-libs-1:3.1.4-1.fc40.p 100% | 6.6 MiB/s | 2.3 MiB | 00m00s [ 37/154] readline-0:8.2-4.fc39.ppc64le 100% | 3.1 MiB/s | 228.9 KiB | 00m00s [ 38/154] pcre2-0:10.42-2.fc40.ppc64le 100% | 4.1 MiB/s | 241.1 KiB | 00m00s [ 39/154] ed-0:1.19-4.fc39.ppc64le 100% | 1.9 MiB/s | 81.3 KiB | 00m00s [ 40/154] glibc-common-0:2.38.9000-30.f 100% | 3.6 MiB/s | 385.4 KiB | 00m00s [ 41/154] dwz-0:0.15-3.fc39.ppc64le 100% | 2.8 MiB/s | 146.7 KiB | 00m00s [ 42/154] ansible-srpm-macros-0:1-11.fc 100% | 215.7 KiB/s | 20.7 KiB | 00m00s [ 43/154] efi-srpm-macros-0:5-9.fc39.no 100% | 342.3 KiB/s | 22.2 KiB | 00m00s [ 44/154] file-0:5.45-1.fc40.ppc64le 100% | 1.4 MiB/s | 50.0 KiB | 00m00s [ 45/154] fonts-srpm-macros-1:2.0.5-12. 100% | 734.9 KiB/s | 26.5 KiB | 00m00s [ 46/154] fpc-srpm-macros-0:1.3-8.fc39. 100% | 216.9 KiB/s | 7.4 KiB | 00m00s [ 47/154] ghc-srpm-macros-0:1.6.1-3.fc4 100% | 238.0 KiB/s | 8.1 KiB | 00m00s [ 48/154] forge-srpm-macros-0:0.2.0-1.f 100% | 263.8 KiB/s | 18.5 KiB | 00m00s [ 49/154] gnat-srpm-macros-0:6-3.fc39.n 100% | 259.5 KiB/s | 8.8 KiB | 00m00s [ 50/154] lua-srpm-macros-0:1-9.fc39.no 100% | 253.5 KiB/s | 8.6 KiB | 00m00s [ 51/154] ocaml-srpm-macros-0:9-1.fc40. 100% | 290.4 KiB/s | 9.0 KiB | 00m00s [ 52/154] openblas-srpm-macros-0:2-14.f 100% | 260.3 KiB/s | 7.5 KiB | 00m00s [ 53/154] package-notes-srpm-macros-0:0 100% | 328.9 KiB/s | 11.2 KiB | 00m00s [ 54/154] kernel-srpm-macros-0:1.0-20.f 100% | 61.7 KiB/s | 10.5 KiB | 00m00s [ 55/154] go-srpm-macros-0:3.3.1-1.fc40 100% | 133.9 KiB/s | 27.7 KiB | 00m00s [ 56/154] pyproject-srpm-macros-0:1.11. 100% | 421.5 KiB/s | 14.8 KiB | 00m00s [ 57/154] perl-srpm-macros-0:1-51.fc39. 100% | 105.4 KiB/s | 8.0 KiB | 00m00s [ 58/154] qt5-srpm-macros-0:5.15.12-1.f 100% | 254.7 KiB/s | 8.4 KiB | 00m00s [ 59/154] python-srpm-macros-0:3.12-5.f 100% | 134.3 KiB/s | 24.9 KiB | 00m00s [ 60/154] rpm-0:4.19.1-2.fc40.ppc64le 100% | 2.9 MiB/s | 539.0 KiB | 00m00s [ 61/154] zig-srpm-macros-0:1-1.fc40.no 100% | 332.4 KiB/s | 8.0 KiB | 00m00s [ 62/154] rust-srpm-macros-0:25.2-2.fc4 100% | 154.5 KiB/s | 13.0 KiB | 00m00s [ 63/154] zip-0:3.0-39.fc40.ppc64le 100% | 3.9 MiB/s | 273.8 KiB | 00m00s [ 64/154] debugedit-0:5.0-12.fc40.ppc64 100% | 2.2 MiB/s | 81.1 KiB | 00m00s [ 65/154] pkgconf-pkg-config-0:1.9.5-2. 100% | 399.3 KiB/s | 9.6 KiB | 00m00s [ 66/154] qt6-srpm-macros-0:6.6.1-3.fc4 100% | 22.2 KiB/s | 8.8 KiB | 00m00s [ 67/154] popt-0:1.19-3.fc39.ppc64le 100% | 2.0 MiB/s | 71.2 KiB | 00m00s [ 68/154] rpm-libs-0:4.19.1-2.fc40.ppc6 100% | 4.6 MiB/s | 356.9 KiB | 00m00s [ 69/154] zstd-0:1.5.5-4.fc39.ppc64le 100% | 5.3 MiB/s | 499.3 KiB | 00m00s [ 70/154] audit-libs-0:3.1.2-5.fc40.ppc 100% | 3.2 MiB/s | 132.2 KiB | 00m00s [ 71/154] libeconf-0:0.5.2-1.fc40.ppc64 100% | 1.0 MiB/s | 34.0 KiB | 00m00s [ 72/154] libsemanage-0:3.6-1.fc40.ppc6 100% | 2.8 MiB/s | 127.9 KiB | 00m00s [ 73/154] libxcrypt-0:4.4.36-3.fc40.ppc 100% | 3.1 MiB/s | 130.9 KiB | 00m00s [ 74/154] setup-0:2.14.5-1.fc40.noarch 100% | 3.4 MiB/s | 154.7 KiB | 00m00s [ 75/154] authselect-libs-0:1.4.3-1.fc4 100% | 4.3 MiB/s | 253.3 KiB | 00m00s [ 76/154] libblkid-0:2.39.3-1.fc40.ppc6 100% | 3.2 MiB/s | 133.8 KiB | 00m00s [ 77/154] libcap-ng-0:0.8.4-2.fc40.ppc6 100% | 1.2 MiB/s | 33.5 KiB | 00m00s [ 78/154] libfdisk-0:2.39.3-1.fc40.ppc6 100% | 3.5 MiB/s | 178.7 KiB | 00m00s [ 79/154] libmount-0:2.39.3-1.fc40.ppc6 100% | 3.4 MiB/s | 176.5 KiB | 00m00s [ 80/154] librtas-0:2.0.4-3.fc39.ppc64l 100% | 1.8 MiB/s | 69.9 KiB | 00m00s [ 81/154] libsmartcols-0:2.39.3-1.fc40. 100% | 2.2 MiB/s | 73.7 KiB | 00m00s [ 82/154] libutempter-0:1.2.1-10.fc39.p 100% | 1.0 MiB/s | 26.6 KiB | 00m00s [ 83/154] rpm-build-libs-0:4.19.1-2.fc4 100% | 144.3 KiB/s | 103.4 KiB | 00m01s [ 84/154] libuuid-0:2.39.3-1.fc40.ppc64 100% | 1.1 MiB/s | 29.7 KiB | 00m00s [ 85/154] pam-libs-0:1.5.3-9.fc40.ppc64 100% | 2.1 MiB/s | 63.4 KiB | 00m00s [ 86/154] systemd-libs-0:255.2-2.fc40.p 100% | 6.9 MiB/s | 738.8 KiB | 00m00s [ 87/154] util-linux-core-0:2.39.3-1.fc 100% | 7.0 MiB/s | 549.9 KiB | 00m00s [ 88/154] xz-libs-0:5.4.5-1.fc40.ppc64l 100% | 1.2 MiB/s | 121.5 KiB | 00m00s [ 89/154] glibc-gconv-extra-0:2.38.9000 100% | 10.6 MiB/s | 2.0 MiB | 00m00s [ 90/154] basesystem-0:11-18.fc39.noarc 100% | 300.2 KiB/s | 7.2 KiB | 00m00s [ 91/154] libgcc-0:13.2.1-6.fc40.ppc64l 100% | 3.6 MiB/s | 107.4 KiB | 00m00s [ 92/154] ncurses-base-0:6.4-8.20231001 100% | 2.9 MiB/s | 88.2 KiB | 00m00s [ 93/154] libsepol-0:3.6-1.fc40.ppc64le 100% | 7.7 MiB/s | 369.8 KiB | 00m00s [ 94/154] ca-certificates-0:2023.2.62_v 100% | 11.5 MiB/s | 862.6 KiB | 00m00s [ 95/154] binutils-0:2.41-20.fc40.ppc64 100% | 3.9 MiB/s | 6.4 MiB | 00m02s [ 96/154] crypto-policies-0:20231204-1. 100% | 1.8 MiB/s | 99.7 KiB | 00m00s [ 97/154] fedora-repos-rawhide-0:40-0.2 100% | 371.8 KiB/s | 8.9 KiB | 00m00s [ 98/154] fedora-gpg-keys-0:40-0.2.noar 100% | 4.1 MiB/s | 130.0 KiB | 00m00s [ 99/154] pam-0:1.5.3-9.fc40.ppc64le 100% | 712.8 KiB/s | 591.6 KiB | 00m01s [100/154] pcre2-syntax-0:10.42-2.fc40.n 100% | 4.5 MiB/s | 143.1 KiB | 00m00s [101/154] alternatives-0:1.25-1.fc39.pp 100% | 1.6 MiB/s | 40.8 KiB | 00m00s [102/154] file-libs-0:5.45-1.fc40.ppc64 100% | 11.6 MiB/s | 774.4 KiB | 00m00s [103/154] jansson-0:2.13.1-7.fc39.ppc64 100% | 1.9 MiB/s | 49.5 KiB | 00m00s [104/154] binutils-gold-0:2.41-20.fc40. 100% | 13.1 MiB/s | 1.1 MiB | 00m00s [105/154] libstdc++-0:13.2.1-6.fc40.ppc 100% | 13.0 MiB/s | 998.0 KiB | 00m00s [106/154] pkgconf-0:1.9.5-2.fc39.ppc64l 100% | 1.3 MiB/s | 43.2 KiB | 00m00s [107/154] pkgconf-m4-0:1.9.5-2.fc39.noa 100% | 555.2 KiB/s | 13.9 KiB | 00m00s [108/154] libgomp-0:13.2.1-6.fc40.ppc64 100% | 8.4 MiB/s | 334.9 KiB | 00m00s [109/154] lua-libs-0:5.4.6-3.fc39.ppc64 100% | 4.3 MiB/s | 149.4 KiB | 00m00s [110/154] libzstd-0:1.5.5-4.fc39.ppc64l 100% | 5.1 MiB/s | 335.7 KiB | 00m00s [111/154] libarchive-0:3.7.2-1.fc40.ppc 100% | 1.5 MiB/s | 476.5 KiB | 00m00s [112/154] rpm-sequoia-0:1.5.0-2.fc40.pp 100% | 14.9 MiB/s | 1.6 MiB | 00m00s [113/154] sqlite-libs-0:3.44.2-1.fc40.p 100% | 11.2 MiB/s | 804.2 KiB | 00m00s [114/154] lz4-libs-0:1.9.4-4.fc39.ppc64 100% | 757.8 KiB/s | 84.9 KiB | 00m00s [115/154] gdbm-1:1.23-4.fc39.ppc64le 100% | 1.7 MiB/s | 161.3 KiB | 00m00s [116/154] libnsl2-0:2.0.0-6.fc39.ppc64l 100% | 1.2 MiB/s | 31.8 KiB | 00m00s [117/154] gdbm-libs-1:1.23-4.fc39.ppc64 100% | 1.1 MiB/s | 62.1 KiB | 00m00s [118/154] libpwquality-0:1.4.5-6.fc39.p 100% | 4.3 MiB/s | 122.9 KiB | 00m00s [119/154] authselect-0:1.4.3-1.fc40.ppc 100% | 813.4 KiB/s | 150.5 KiB | 00m00s [120/154] p11-kit-0:0.25.3-1.fc40.ppc64 100% | 9.8 MiB/s | 521.1 KiB | 00m00s [121/154] p11-kit-trust-0:0.25.3-1.fc40 100% | 4.6 MiB/s | 156.5 KiB | 00m00s [122/154] libtirpc-0:1.3.4-1.rc1.fc40.p 100% | 1.3 MiB/s | 108.4 KiB | 00m00s [123/154] libpkgconf-0:1.9.5-2.fc39.ppc 100% | 1.6 MiB/s | 42.3 KiB | 00m00s [124/154] libxml2-0:2.12.3-1.fc40.ppc64 100% | 12.4 MiB/s | 772.6 KiB | 00m00s [125/154] cracklib-0:2.9.11-2.fc39.ppc6 100% | 1.3 MiB/s | 95.8 KiB | 00m00s [126/154] libffi-0:3.4.4-5.fc40.ppc64le 100% | 823.3 KiB/s | 37.9 KiB | 00m00s [127/154] krb5-libs-0:1.21.2-2.fc40.ppc 100% | 8.0 MiB/s | 849.6 KiB | 00m00s [128/154] keyutils-libs-0:1.6.3-1.fc40. 100% | 1.0 MiB/s | 32.5 KiB | 00m00s [129/154] libtasn1-0:4.19.0-3.fc39.ppc6 100% | 1.2 MiB/s | 79.6 KiB | 00m00s [130/154] libverto-0:0.3.2-6.fc39.ppc64 100% | 729.2 KiB/s | 21.9 KiB | 00m00s [131/154] zlib-ng-compat-0:2.1.5-2.fc40 100% | 1.2 MiB/s | 79.4 KiB | 00m00s [132/154] elfutils-libelf-0:0.190-4.fc4 100% | 1.6 MiB/s | 203.7 KiB | 00m00s [133/154] elfutils-libs-0:0.190-4.fc40. 100% | 3.4 MiB/s | 289.9 KiB | 00m00s [134/154] libcom_err-0:1.47.0-2.fc39.pp 100% | 89.9 KiB/s | 26.6 KiB | 00m00s [135/154] elfutils-0:0.190-4.fc40.ppc64 100% | 14.0 MiB/s | 545.1 KiB | 00m00s [136/154] elfutils-debuginfod-client-0: 100% | 2.4 MiB/s | 40.0 KiB | 00m00s [137/154] elfutils-default-yama-scope-0 100% | 737.8 KiB/s | 13.3 KiB | 00m00s [138/154] fedora-release-0:40-0.26.noar 100% | 336.1 KiB/s | 9.7 KiB | 00m00s [139/154] xxhash-libs-0:0.8.2-1.fc39.pp 100% | 1.4 MiB/s | 36.9 KiB | 00m00s [140/154] fedora-release-identity-basic 100% | 405.2 KiB/s | 10.5 KiB | 00m00s [141/154] curl-0:8.5.0-1.fc40.ppc64le 100% | 9.2 MiB/s | 375.5 KiB | 00m00s [142/154] gdb-minimal-0:14.1-1.fc40.ppc 100% | 41.0 MiB/s | 4.1 MiB | 00m00s [143/154] libcurl-0:8.5.0-1.fc40.ppc64l 100% | 8.2 MiB/s | 384.0 KiB | 00m00s [144/154] libbrotli-0:1.1.0-1.fc40.ppc6 100% | 7.7 MiB/s | 380.2 KiB | 00m00s [145/154] libnghttp2-0:1.58.0-1.fc40.pp 100% | 3.0 MiB/s | 85.1 KiB | 00m00s [146/154] libpsl-0:0.21.2-4.fc39.ppc64l 100% | 2.4 MiB/s | 64.6 KiB | 00m00s [147/154] libssh-0:0.10.6-2.fc40.ppc64l 100% | 6.9 MiB/s | 240.0 KiB | 00m00s [148/154] libidn2-0:2.3.4-3.fc39.ppc64l 100% | 1.5 MiB/s | 120.6 KiB | 00m00s [149/154] libunistring-0:1.1-5.fc40.ppc 100% | 11.1 MiB/s | 577.5 KiB | 00m00s [150/154] publicsuffix-list-dafsa-0:202 100% | 2.2 MiB/s | 57.4 KiB | 00m00s [151/154] openldap-0:2.6.6-1.fc40.ppc64 100% | 20.1 MiB/s | 287.5 KiB | 00m00s [152/154] libssh-config-0:0.10.6-2.fc40 100% | 302.4 KiB/s | 9.1 KiB | 00m00s [153/154] libevent-0:2.1.12-9.fc39.ppc6 100% | 7.3 MiB/s | 275.3 KiB | 00m00s [154/154] cyrus-sasl-lib-0:2.1.28-11.fc 100% | 13.6 MiB/s | 876.9 KiB | 00m00s -------------------------------------------------------------------------------- [154/154] Total 100% | 9.3 MiB/s | 56.2 MiB | 00m06s Running transaction Importing PGP key 0xA15B79CC: Userid : "Fedora (40) " Fingerprint: 115DF9AEF857853EE8445D0A0727707EA15B79CC From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary The key was successfully imported. Importing PGP key 0xA15B79CC: Userid : "Fedora (40) " Fingerprint: 115DF9AEF857853EE8445D0A0727707EA15B79CC From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary The key was successfully imported. Importing PGP key 0x18B8E74C: Userid : "Fedora (39) " Fingerprint: E8F23996F23218640CB44CBE75CF5AC418B8E74C From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-39-primary The key was successfully imported. [ 1/156] Verify package files 100% | 117.0 B/s | 154.0 B | 00m01s >>> Running pre-transaction scriptlet: filesystem-0:3.18-6.fc39.ppc64le >>> Stop pre-transaction scriptlet: filesystem-0:3.18-6.fc39.ppc64le [ 2/156] Prepare transaction 100% | 594.0 B/s | 154.0 B | 00m00s [ 3/156] Installing libgcc-0:13.2.1-6. 100% | 43.0 MiB/s | 352.0 KiB | 00m00s >>> Running post-install scriptlet: libgcc-0:13.2.1-6.fc40.ppc64le >>> Stop post-install scriptlet: libgcc-0:13.2.1-6.fc40.ppc64le [ 4/156] Installing crypto-policies-0: 100% | 5.2 MiB/s | 181.7 KiB | 00m00s >>> Running post-install scriptlet: crypto-policies-0:20231204-1.git1e3a2e4.fc40 >>> Stop post-install scriptlet: crypto-policies-0:20231204-1.git1e3a2e4.fc40.no [ 5/156] Installing fedora-release-ide 100% | 929.7 KiB/s | 952.0 B | 00m00s [ 6/156] Installing fedora-repos-rawhi 100% | 806.0 KiB/s | 2.4 KiB | 00m00s [ 7/156] Installing fedora-gpg-keys-0: 100% | 6.8 MiB/s | 167.6 KiB | 00m00s [ 8/156] Installing fedora-repos-0:40- 100% | 1.9 MiB/s | 5.7 KiB | 00m00s [ 9/156] Installing fedora-release-com 100% | 3.8 MiB/s | 23.1 KiB | 00m00s [ 10/156] Installing fedora-release-0:4 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 11/156] Installing setup-0:2.14.5-1.f 100% | 12.7 MiB/s | 725.8 KiB | 00m00s >>> Running post-install scriptlet: setup-0:2.14.5-1.fc40.noarch >>> Stop post-install scriptlet: setup-0:2.14.5-1.fc40.noarch [ 12/156] Installing filesystem-0:3.18- 100% | 659.5 KiB/s | 212.4 KiB | 00m00s [ 13/156] Installing basesystem-0:11-18 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 14/156] Installing libssh-config-0:0. 100% | 796.9 KiB/s | 816.0 B | 00m00s [ 15/156] Installing publicsuffix-list- 100% | 32.9 MiB/s | 67.4 KiB | 00m00s [ 16/156] Installing pkgconf-m4-0:1.9.5 100% | 14.0 MiB/s | 14.3 KiB | 00m00s [ 17/156] Installing pcre2-syntax-0:10. 100% | 46.4 MiB/s | 237.6 KiB | 00m00s [ 18/156] Installing ncurses-base-0:6.4 100% | 19.0 MiB/s | 350.1 KiB | 00m00s [ 19/156] Installing glibc-minimal-lang 100% | 121.1 KiB/s | 124.0 B | 00m00s [ 20/156] Installing ncurses-libs-0:6.4 100% | 115.9 MiB/s | 2.4 MiB | 00m00s >>> Running pre-install scriptlet: glibc-0:2.38.9000-30.fc40.ppc64le >>> Stop pre-install scriptlet: glibc-0:2.38.9000-30.fc40.ppc64le [ 21/156] Installing glibc-0:2.38.9000- 100% | 124.9 MiB/s | 11.6 MiB | 00m00s >>> Running post-install scriptlet: glibc-0:2.38.9000-30.fc40.ppc64le >>> Stop post-install scriptlet: glibc-0:2.38.9000-30.fc40.ppc64le [ 22/156] Installing bash-0:5.2.21-2.fc 100% | 125.9 MiB/s | 8.7 MiB | 00m00s >>> Running post-install scriptlet: bash-0:5.2.21-2.fc40.ppc64le >>> Stop post-install scriptlet: bash-0:5.2.21-2.fc40.ppc64le [ 23/156] Installing glibc-common-0:2.3 100% | 75.4 MiB/s | 2.6 MiB | 00m00s [ 24/156] Installing glibc-gconv-extra- 100% | 124.3 MiB/s | 49.0 MiB | 00m00s >>> Running post-install scriptlet: glibc-gconv-extra-0:2.38.9000-30.fc40.ppc64l >>> Stop post-install scriptlet: glibc-gconv-extra-0:2.38.9000-30.fc40.ppc64le [ 25/156] Installing zlib-ng-compat-0:2 100% | 85.3 MiB/s | 262.2 KiB | 00m00s [ 26/156] Installing xz-libs-0:5.4.5-1. 100% | 80.7 MiB/s | 330.5 KiB | 00m00s [ 27/156] Installing bzip2-libs-0:1.0.8 100% | 86.5 MiB/s | 265.7 KiB | 00m00s [ 28/156] Installing readline-0:8.2-4.f 100% | 114.3 MiB/s | 819.1 KiB | 00m00s [ 29/156] Installing popt-0:1.19-3.fc39 100% | 27.3 MiB/s | 279.3 KiB | 00m00s [ 30/156] Installing libuuid-0:2.39.3-1 100% | 64.6 MiB/s | 198.4 KiB | 00m00s [ 31/156] Installing libstdc++-0:13.2.1 100% | 125.9 MiB/s | 3.8 MiB | 00m00s [ 32/156] Installing libzstd-0:1.5.5-4. 100% | 74.3 MiB/s | 989.4 KiB | 00m00s [ 33/156] Installing elfutils-libelf-0: 100% | 70.6 MiB/s | 1.1 MiB | 00m00s [ 34/156] Installing libblkid-0:2.39.3- 100% | 74.6 MiB/s | 458.0 KiB | 00m00s [ 35/156] Installing gmp-1:6.2.1-5.fc39 100% | 104.0 MiB/s | 851.7 KiB | 00m00s [ 36/156] Installing libattr-0:2.5.1-9. 100% | 48.1 MiB/s | 197.1 KiB | 00m00s [ 37/156] Installing libacl-0:2.3.1-11. 100% | 48.0 MiB/s | 196.5 KiB | 00m00s [ 38/156] Installing libxcrypt-0:4.4.36 100% | 43.5 MiB/s | 401.2 KiB | 00m00s [ 39/156] Installing libeconf-0:0.5.2-1 100% | 40.1 MiB/s | 205.6 KiB | 00m00s [ 40/156] Installing lz4-libs-0:1.9.4-4 100% | 53.1 MiB/s | 326.1 KiB | 00m00s [ 41/156] Installing gdbm-libs-1:1.23-4 100% | 59.6 MiB/s | 427.0 KiB | 00m00s [ 42/156] Installing mpfr-0:4.2.1-1.fc4 100% | 68.2 MiB/s | 978.3 KiB | 00m00s [ 43/156] Installing dwz-0:0.15-3.fc39. 100% | 55.2 MiB/s | 452.1 KiB | 00m00s [ 44/156] Installing unzip-0:6.0-62.fc3 100% | 64.4 MiB/s | 857.7 KiB | 00m00s [ 45/156] Installing file-libs-0:5.45-1 100% | 140.1 MiB/s | 10.1 MiB | 00m00s [ 46/156] Installing file-0:5.45-1.fc40 100% | 65.6 MiB/s | 268.8 KiB | 00m00s [ 47/156] Installing pcre2-0:10.42-2.fc 100% | 135.4 MiB/s | 970.3 KiB | 00m00s [ 48/156] Installing grep-0:3.11-5.fc40 100% | 68.2 MiB/s | 1.2 MiB | 00m00s [ 49/156] Installing xz-0:5.4.5-1.fc40. 100% | 78.7 MiB/s | 2.3 MiB | 00m00s [ 50/156] Installing libcap-ng-0:0.8.4- 100% | 102.1 MiB/s | 418.4 KiB | 00m00s [ 51/156] Installing audit-libs-0:3.1.2 100% | 99.8 MiB/s | 612.9 KiB | 00m00s [ 52/156] Installing pam-libs-0:1.5.3-9 100% | 118.9 MiB/s | 608.7 KiB | 00m00s [ 53/156] Installing libcap-0:2.69-1.fc 100% | 124.6 MiB/s | 1.4 MiB | 00m00s [ 54/156] Installing systemd-libs-0:255 100% | 128.7 MiB/s | 2.8 MiB | 00m00s [ 55/156] Installing libsmartcols-0:2.3 100% | 70.6 MiB/s | 289.2 KiB | 00m00s [ 56/156] Installing libsepol-0:3.6-1.f 100% | 92.1 MiB/s | 1.1 MiB | 00m00s [ 57/156] Installing libselinux-0:3.6-2 100% | 80.6 MiB/s | 330.3 KiB | 00m00s [ 58/156] Installing sed-0:4.8-14.fc39. 100% | 58.0 MiB/s | 949.7 KiB | 00m00s [ 59/156] Installing findutils-1:4.9.0- 100% | 92.7 MiB/s | 1.9 MiB | 00m00s [ 60/156] Installing libmount-0:2.39.3- 100% | 89.4 MiB/s | 549.4 KiB | 00m00s [ 61/156] Installing alternatives-0:1.2 100% | 71.5 MiB/s | 219.8 KiB | 00m00s [ 62/156] Installing jansson-0:2.13.1-7 100% | 72.1 MiB/s | 221.6 KiB | 00m00s [ 63/156] Installing lua-libs-0:5.4.6-3 100% | 111.8 MiB/s | 458.1 KiB | 00m00s [ 64/156] Installing libcom_err-0:1.47. 100% | 117.3 MiB/s | 240.2 KiB | 00m00s [ 65/156] Installing libtasn1-0:4.19.0- 100% | 68.2 MiB/s | 349.1 KiB | 00m00s [ 66/156] Installing libunistring-0:1.1 100% | 120.9 MiB/s | 1.9 MiB | 00m00s [ 67/156] Installing libidn2-0:2.3.4-3. 100% | 44.6 MiB/s | 456.7 KiB | 00m00s [ 68/156] Installing libpsl-0:0.21.2-4. 100% | 48.2 MiB/s | 197.3 KiB | 00m00s [ 69/156] Installing util-linux-core-0: 100% | 132.5 MiB/s | 6.1 MiB | 00m00s [ 70/156] Installing tar-2:1.35-2.fc40. 100% | 103.0 MiB/s | 3.2 MiB | 00m00s [ 71/156] Installing libsemanage-0:3.6- 100% | 60.0 MiB/s | 491.2 KiB | 00m00s [ 72/156] Installing shadow-utils-2:4.1 100% | 55.8 MiB/s | 7.3 MiB | 00m00s >>> Running pre-install scriptlet: libutempter-0:1.2.1-10.fc39.ppc64le >>> Stop pre-install scriptlet: libutempter-0:1.2.1-10.fc39.ppc64le [ 73/156] Installing libutempter-0:1.2. 100% | 81.9 MiB/s | 419.3 KiB | 00m00s [ 74/156] Installing zip-0:3.0-39.fc40. 100% | 96.0 MiB/s | 1.2 MiB | 00m00s [ 75/156] Installing gdbm-1:1.23-4.fc39 100% | 43.4 MiB/s | 933.0 KiB | 00m00s [ 76/156] Installing cyrus-sasl-lib-0:2 100% | 84.4 MiB/s | 3.5 MiB | 00m00s [ 77/156] Installing zstd-0:1.5.5-4.fc3 100% | 128.8 MiB/s | 2.1 MiB | 00m00s [ 78/156] Installing libfdisk-0:2.39.3- 100% | 91.2 MiB/s | 560.3 KiB | 00m00s [ 79/156] Installing bzip2-0:1.0.8-16.f 100% | 38.3 MiB/s | 431.8 KiB | 00m00s [ 80/156] Installing libxml2-0:2.12.3-1 100% | 99.2 MiB/s | 2.6 MiB | 00m00s [ 81/156] Installing sqlite-libs-0:3.44 100% | 120.8 MiB/s | 1.9 MiB | 00m00s [ 82/156] Installing ed-0:1.19-4.fc39.p 100% | 68.9 MiB/s | 282.4 KiB | 00m00s [ 83/156] Installing patch-0:2.7.6-22.f 100% | 95.7 MiB/s | 391.9 KiB | 00m00s [ 84/156] Installing elfutils-default-y 100% | 255.4 KiB/s | 2.0 KiB | 00m00s >>> Running post-install scriptlet: elfutils-default-yama-scope-0:0.190-4.fc40.n >>> Stop post-install scriptlet: elfutils-default-yama-scope-0:0.190-4.fc40.noar [ 85/156] Installing cpio-0:2.14-5.fc40 100% | 72.0 MiB/s | 1.2 MiB | 00m00s [ 86/156] Installing diffutils-0:3.10-3 100% | 100.4 MiB/s | 2.1 MiB | 00m00s [ 87/156] Installing libsigsegv-0:2.14- 100% | 73.8 MiB/s | 226.7 KiB | 00m00s [ 88/156] Installing gawk-0:5.2.2-2.fc3 100% | 128.7 MiB/s | 4.5 MiB | 00m00s [ 89/156] Installing librtas-0:2.0.4-3. 100% | 22.5 MiB/s | 461.3 KiB | 00m00s >>> Running post-install scriptlet: librtas-0:2.0.4-3.fc39.ppc64le >>> Stop post-install scriptlet: librtas-0:2.0.4-3.fc39.ppc64le [ 90/156] Installing libgomp-0:13.2.1-6 100% | 109.9 MiB/s | 675.0 KiB | 00m00s [ 91/156] Installing libpkgconf-0:1.9.5 100% | 64.8 MiB/s | 199.0 KiB | 00m00s [ 92/156] Installing pkgconf-0:1.9.5-2. 100% | 58.1 MiB/s | 238.1 KiB | 00m00s [ 93/156] Installing pkgconf-pkg-config 100% | 1.7 MiB/s | 1.8 KiB | 00m00s [ 94/156] Installing libffi-0:3.4.4-5.f 100% | 42.7 MiB/s | 218.6 KiB | 00m00s [ 95/156] Installing p11-kit-0:0.25.3-1 100% | 93.4 MiB/s | 3.3 MiB | 00m00s [ 96/156] Installing p11-kit-trust-0:0. 100% | 37.7 MiB/s | 657.1 KiB | 00m00s >>> Running post-install scriptlet: p11-kit-trust-0:0.25.3-1.fc40.ppc64le >>> Stop post-install scriptlet: p11-kit-trust-0:0.25.3-1.fc40.ppc64le [ 97/156] Installing keyutils-libs-0:1. 100% | 55.5 MiB/s | 227.4 KiB | 00m00s [ 98/156] Installing libverto-0:0.3.2-6 100% | 64.7 MiB/s | 198.9 KiB | 00m00s [ 99/156] Installing xxhash-libs-0:0.8. 100% | 69.4 MiB/s | 213.3 KiB | 00m00s [100/156] Installing libbrotli-0:1.1.0- 100% | 97.3 MiB/s | 1.3 MiB | 00m00s [101/156] Installing libnghttp2-0:1.58. 100% | 64.2 MiB/s | 263.1 KiB | 00m00s [102/156] Installing rust-srpm-macros-0 100% | 5.6 MiB/s | 5.8 KiB | 00m00s [103/156] Installing qt6-srpm-macros-0: 100% | 714.8 KiB/s | 732.0 B | 00m00s [104/156] Installing qt5-srpm-macros-0: 100% | 750.0 KiB/s | 768.0 B | 00m00s [105/156] Installing perl-srpm-macros-0 100% | 1.1 MiB/s | 1.1 KiB | 00m00s [106/156] Installing package-notes-srpm 100% | 2.0 MiB/s | 2.0 KiB | 00m00s [107/156] Installing openblas-srpm-macr 100% | 375.0 KiB/s | 384.0 B | 00m00s [108/156] Installing ocaml-srpm-macros- 100% | 2.1 MiB/s | 2.2 KiB | 00m00s [109/156] Installing kernel-srpm-macros 100% | 2.3 MiB/s | 2.3 KiB | 00m00s [110/156] Installing gnat-srpm-macros-0 100% | 1.2 MiB/s | 1.3 KiB | 00m00s [111/156] Installing ghc-srpm-macros-0: 100% | 632.8 KiB/s | 648.0 B | 00m00s [112/156] Installing fpc-srpm-macros-0: 100% | 410.2 KiB/s | 420.0 B | 00m00s [113/156] Installing ansible-srpm-macro 100% | 7.1 MiB/s | 36.1 KiB | 00m00s [114/156] Installing coreutils-common-0 100% | 112.4 MiB/s | 11.5 MiB | 00m00s [115/156] Installing openssl-libs-1:3.1 100% | 109.5 MiB/s | 8.3 MiB | 00m00s [116/156] Installing coreutils-0:9.4-1. 100% | 159.9 MiB/s | 22.2 MiB | 00m00s >>> Running pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-4.fc40.n >>> Stop pre-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-4.fc40.noar [117/156] Installing ca-certificates-0: 100% | 1.1 MiB/s | 2.3 MiB | 00m02s >>> Running post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-4.fc40. >>> Stop post-install scriptlet: ca-certificates-0:2023.2.62_v7.0.401-4.fc40.noa [118/156] Installing krb5-libs-0:1.21.2 100% | 122.0 MiB/s | 3.9 MiB | 00m00s [119/156] Installing libtirpc-0:1.3.4-1 100% | 83.1 MiB/s | 340.5 KiB | 00m00s [120/156] Installing gzip-0:1.12-6.fc39 100% | 41.0 MiB/s | 545.3 KiB | 00m00s >>> Running pre-install scriptlet: authselect-libs-0:1.4.3-1.fc40.ppc64le >>> Stop pre-install scriptlet: authselect-libs-0:1.4.3-1.fc40.ppc64le [121/156] Installing authselect-libs-0: 100% | 49.5 MiB/s | 1.1 MiB | 00m00s [122/156] Installing authselect-0:1.4.3 100% | 23.8 MiB/s | 316.7 KiB | 00m00s [123/156] Installing cracklib-0:2.9.11- 100% | 31.8 MiB/s | 945.3 KiB | 00m00s [124/156] Installing libpwquality-0:1.4 100% | 38.2 MiB/s | 1.1 MiB | 00m00s [125/156] Installing libnsl2-0:2.0.0-6. 100% | 31.1 MiB/s | 222.8 KiB | 00m00s [126/156] Installing pam-0:1.5.3-9.fc40 100% | 108.2 MiB/s | 10.8 MiB | 00m00s [127/156] Installing libssh-0:0.10.6-2. 100% | 99.2 MiB/s | 711.4 KiB | 00m00s [128/156] Installing libarchive-0:3.7.2 100% | 120.8 MiB/s | 1.3 MiB | 00m00s [129/156] Installing rpm-sequoia-0:1.5. 100% | 134.9 MiB/s | 5.0 MiB | 00m00s [130/156] Installing rpm-libs-0:4.19.1- 100% | 128.4 MiB/s | 1.2 MiB | 00m00s [131/156] Installing libevent-0:2.1.12- 100% | 121.9 MiB/s | 1.6 MiB | 00m00s [132/156] Installing openldap-0:2.6.6-1 100% | 105.6 MiB/s | 1.1 MiB | 00m00s [133/156] Installing libcurl-0:8.5.0-1. 100% | 113.9 MiB/s | 1.0 MiB | 00m00s [134/156] Installing elfutils-debuginfo 100% | 97.3 MiB/s | 398.5 KiB | 00m00s [135/156] Installing elfutils-libs-0:0. 100% | 108.9 MiB/s | 1.0 MiB | 00m00s [136/156] Installing binutils-gold-0:2. 100% | 91.9 MiB/s | 3.8 MiB | 00m00s >>> Running post-install scriptlet: binutils-gold-0:2.41-20.fc40.ppc64le >>> Stop post-install scriptlet: binutils-gold-0:2.41-20.fc40.ppc64le [137/156] Installing binutils-0:2.41-20 100% | 136.0 MiB/s | 32.0 MiB | 00m00s >>> Running post-install scriptlet: binutils-0:2.41-20.fc40.ppc64le >>> Stop post-install scriptlet: binutils-0:2.41-20.fc40.ppc64le [138/156] Installing elfutils-0:0.190-4 100% | 150.4 MiB/s | 5.3 MiB | 00m00s [139/156] Installing gdb-minimal-0:14.1 100% | 139.0 MiB/s | 13.3 MiB | 00m00s [140/156] Installing debugedit-0:5.0-12 100% | 97.9 MiB/s | 501.3 KiB | 00m00s [141/156] Installing rpm-build-libs-0:4 100% | 106.5 MiB/s | 327.1 KiB | 00m00s [142/156] Installing curl-0:8.5.0-1.fc4 100% | 33.4 MiB/s | 924.6 KiB | 00m00s >>> Running pre-install scriptlet: rpm-0:4.19.1-2.fc40.ppc64le >>> Stop pre-install scriptlet: rpm-0:4.19.1-2.fc40.ppc64le [143/156] Installing rpm-0:4.19.1-2.fc4 100% | 31.5 MiB/s | 3.4 MiB | 00m00s [144/156] Installing efi-srpm-macros-0: 100% | 10.0 MiB/s | 41.2 KiB | 00m00s [145/156] Installing lua-srpm-macros-0: 100% | 925.8 KiB/s | 1.9 KiB | 00m00s [146/156] Installing zig-srpm-macros-0: 100% | 832.0 KiB/s | 1.7 KiB | 00m00s [147/156] Installing fonts-srpm-macros- 100% | 13.8 MiB/s | 56.5 KiB | 00m00s [148/156] Installing forge-srpm-macros- 100% | 9.4 MiB/s | 38.6 KiB | 00m00s [149/156] Installing go-srpm-macros-0:3 100% | 15.1 MiB/s | 61.6 KiB | 00m00s [150/156] Installing python-srpm-macros 100% | 10.0 MiB/s | 51.3 KiB | 00m00s [151/156] Installing redhat-rpm-config- 100% | 15.2 MiB/s | 186.9 KiB | 00m00s [152/156] Installing rpm-build-0:4.19.1 100% | 54.7 MiB/s | 1.2 MiB | 00m00s [153/156] Installing pyproject-srpm-mac 100% | 345.7 KiB/s | 2.1 KiB | 00m00s [154/156] Installing util-linux-0:2.39. 100% | 67.4 MiB/s | 17.0 MiB | 00m00s [155/156] Installing which-0:2.21-40.fc 100% | 22.2 MiB/s | 250.2 KiB | 00m00s [156/156] Installing info-0:7.1-1.fc40. 100% | 204.3 KiB/s | 677.7 KiB | 00m03s >>> Running post-transaction scriptlet: filesystem-0:3.18-6.fc39.ppc64le >>> Stop post-transaction scriptlet: filesystem-0:3.18-6.fc39.ppc64le >>> Running post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-4.f >>> Stop post-transaction scriptlet: ca-certificates-0:2023.2.62_v7.0.401-4.fc40 >>> Running post-transaction scriptlet: authselect-libs-0:1.4.3-1.fc40.ppc64le >>> Stop post-transaction scriptlet: authselect-libs-0:1.4.3-1.fc40.ppc64le >>> Running post-transaction scriptlet: rpm-0:4.19.1-2.fc40.ppc64le >>> Stop post-transaction scriptlet: rpm-0:4.19.1-2.fc40.ppc64le >>> Running trigger-install scriptlet: glibc-common-0:2.38.9000-30.fc40.ppc64le >>> Stop trigger-install scriptlet: glibc-common-0:2.38.9000-30.fc40.ppc64le >>> Running trigger-install scriptlet: info-0:7.1-1.fc40.ppc64le >>> Stop trigger-install scriptlet: info-0:7.1-1.fc40.ppc64le Warning: skipped PGP checks for 7 package(s). Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: alternatives-1.25-1.fc39.ppc64le ansible-srpm-macros-1-11.fc39.noarch audit-libs-3.1.2-5.fc40.ppc64le authselect-1.4.3-1.fc40.ppc64le authselect-libs-1.4.3-1.fc40.ppc64le basesystem-11-18.fc39.noarch bash-5.2.21-2.fc40.ppc64le binutils-2.41-20.fc40.ppc64le binutils-gold-2.41-20.fc40.ppc64le bzip2-1.0.8-16.fc39.ppc64le bzip2-libs-1.0.8-16.fc39.ppc64le ca-certificates-2023.2.62_v7.0.401-4.fc40.noarch coreutils-9.4-1.fc40.ppc64le coreutils-common-9.4-1.fc40.ppc64le cpio-2.14-5.fc40.ppc64le cracklib-2.9.11-2.fc39.ppc64le crypto-policies-20231204-1.git1e3a2e4.fc40.noarch curl-8.5.0-1.fc40.ppc64le cyrus-sasl-lib-2.1.28-11.fc39.ppc64le debugedit-5.0-12.fc40.ppc64le diffutils-3.10-3.fc39.ppc64le dwz-0.15-3.fc39.ppc64le ed-1.19-4.fc39.ppc64le efi-srpm-macros-5-9.fc39.noarch elfutils-0.190-4.fc40.ppc64le elfutils-debuginfod-client-0.190-4.fc40.ppc64le elfutils-default-yama-scope-0.190-4.fc40.noarch elfutils-libelf-0.190-4.fc40.ppc64le elfutils-libs-0.190-4.fc40.ppc64le fedora-gpg-keys-40-0.2.noarch fedora-release-40-0.26.noarch fedora-release-common-40-0.26.noarch fedora-release-identity-basic-40-0.26.noarch fedora-repos-40-0.2.noarch fedora-repos-rawhide-40-0.2.noarch file-5.45-1.fc40.ppc64le file-libs-5.45-1.fc40.ppc64le filesystem-3.18-6.fc39.ppc64le findutils-4.9.0-6.fc40.ppc64le fonts-srpm-macros-2.0.5-12.fc39.noarch forge-srpm-macros-0.2.0-1.fc40.noarch fpc-srpm-macros-1.3-8.fc39.noarch gawk-5.2.2-2.fc39.ppc64le gdb-minimal-14.1-1.fc40.ppc64le gdbm-1.23-4.fc39.ppc64le gdbm-libs-1.23-4.fc39.ppc64le ghc-srpm-macros-1.6.1-3.fc40.noarch glibc-2.38.9000-30.fc40.ppc64le glibc-common-2.38.9000-30.fc40.ppc64le glibc-gconv-extra-2.38.9000-30.fc40.ppc64le glibc-minimal-langpack-2.38.9000-30.fc40.ppc64le gmp-6.2.1-5.fc39.ppc64le gnat-srpm-macros-6-3.fc39.noarch go-srpm-macros-3.3.1-1.fc40.noarch gpg-pubkey-18b8e74c-62f2920f gpg-pubkey-a15b79cc-63d04c2c grep-3.11-5.fc40.ppc64le gzip-1.12-6.fc39.ppc64le info-7.1-1.fc40.ppc64le jansson-2.13.1-7.fc39.ppc64le kernel-srpm-macros-1.0-20.fc39.noarch keyutils-libs-1.6.3-1.fc40.ppc64le krb5-libs-1.21.2-2.fc40.ppc64le libacl-2.3.1-11.fc40.ppc64le libarchive-3.7.2-1.fc40.ppc64le libattr-2.5.1-9.fc40.ppc64le libblkid-2.39.3-1.fc40.ppc64le libbrotli-1.1.0-1.fc40.ppc64le libcap-2.69-1.fc40.ppc64le libcap-ng-0.8.4-2.fc40.ppc64le libcom_err-1.47.0-2.fc39.ppc64le libcurl-8.5.0-1.fc40.ppc64le libeconf-0.5.2-1.fc40.ppc64le libevent-2.1.12-9.fc39.ppc64le libfdisk-2.39.3-1.fc40.ppc64le libffi-3.4.4-5.fc40.ppc64le libgcc-13.2.1-6.fc40.ppc64le libgomp-13.2.1-6.fc40.ppc64le libidn2-2.3.4-3.fc39.ppc64le libmount-2.39.3-1.fc40.ppc64le libnghttp2-1.58.0-1.fc40.ppc64le libnsl2-2.0.0-6.fc39.ppc64le libpkgconf-1.9.5-2.fc39.ppc64le libpsl-0.21.2-4.fc39.ppc64le libpwquality-1.4.5-6.fc39.ppc64le librtas-2.0.4-3.fc39.ppc64le libselinux-3.6-2.fc40.ppc64le libsemanage-3.6-1.fc40.ppc64le libsepol-3.6-1.fc40.ppc64le libsigsegv-2.14-5.fc39.ppc64le libsmartcols-2.39.3-1.fc40.ppc64le libssh-0.10.6-2.fc40.ppc64le libssh-config-0.10.6-2.fc40.noarch libstdc++-13.2.1-6.fc40.ppc64le libtasn1-4.19.0-3.fc39.ppc64le libtirpc-1.3.4-1.rc1.fc40.ppc64le libunistring-1.1-5.fc40.ppc64le libutempter-1.2.1-10.fc39.ppc64le libuuid-2.39.3-1.fc40.ppc64le libverto-0.3.2-6.fc39.ppc64le libxcrypt-4.4.36-3.fc40.ppc64le libxml2-2.12.3-1.fc40.ppc64le libzstd-1.5.5-4.fc39.ppc64le lua-libs-5.4.6-3.fc39.ppc64le lua-srpm-macros-1-9.fc39.noarch lz4-libs-1.9.4-4.fc39.ppc64le mpfr-4.2.1-1.fc40.ppc64le ncurses-base-6.4-8.20231001.fc40.noarch ncurses-libs-6.4-8.20231001.fc40.ppc64le ocaml-srpm-macros-9-1.fc40.noarch openblas-srpm-macros-2-14.fc39.noarch openldap-2.6.6-1.fc40.ppc64le openssl-libs-3.1.4-1.fc40.ppc64le p11-kit-0.25.3-1.fc40.ppc64le p11-kit-trust-0.25.3-1.fc40.ppc64le package-notes-srpm-macros-0.5-9.fc39.noarch pam-1.5.3-9.fc40.ppc64le pam-libs-1.5.3-9.fc40.ppc64le patch-2.7.6-22.fc39.ppc64le pcre2-10.42-2.fc40.ppc64le pcre2-syntax-10.42-2.fc40.noarch perl-srpm-macros-1-51.fc39.noarch pkgconf-1.9.5-2.fc39.ppc64le pkgconf-m4-1.9.5-2.fc39.noarch pkgconf-pkg-config-1.9.5-2.fc39.ppc64le popt-1.19-3.fc39.ppc64le publicsuffix-list-dafsa-20230812-1.fc40.noarch pyproject-srpm-macros-1.11.0-1.fc40.noarch python-srpm-macros-3.12-5.fc40.noarch qt5-srpm-macros-5.15.12-1.fc40.noarch qt6-srpm-macros-6.6.1-3.fc40.noarch readline-8.2-4.fc39.ppc64le redhat-rpm-config-275-1.fc40.noarch rpm-4.19.1-2.fc40.ppc64le rpm-build-4.19.1-2.fc40.ppc64le rpm-build-libs-4.19.1-2.fc40.ppc64le rpm-libs-4.19.1-2.fc40.ppc64le rpm-sequoia-1.5.0-2.fc40.ppc64le rust-srpm-macros-25.2-2.fc40.noarch sed-4.8-14.fc39.ppc64le setup-2.14.5-1.fc40.noarch shadow-utils-4.14.0-2.fc40.ppc64le sqlite-libs-3.44.2-1.fc40.ppc64le systemd-libs-255.2-2.fc40.ppc64le tar-1.35-2.fc40.ppc64le unzip-6.0-62.fc39.ppc64le util-linux-2.39.3-1.fc40.ppc64le util-linux-core-2.39.3-1.fc40.ppc64le which-2.21-40.fc39.ppc64le xxhash-libs-0.8.2-1.fc39.ppc64le xz-5.4.5-1.fc40.ppc64le xz-libs-5.4.5-1.fc40.ppc64le zig-srpm-macros-1-1.fc40.noarch zip-3.0-39.fc40.ppc64le zlib-ng-compat-2.1.5-2.fc40.ppc64le zstd-1.5.5-4.fc39.ppc64le Start: buildsrpm Start: rpmbuild -bs Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/testdisk-7.1-11.fc40.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-ppc64le-1704906473.600591/root/var/log/dnf5.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-wpkjcd0e/testdisk/testdisk.spec) Config(child) 1 minutes 37 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/testdisk-7.1-11.fc40.src.rpm) Config(fedora-rawhide-ppc64le) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-ppc64le-bootstrap-1704906473.600591/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-ppc64le-bootstrap-1704906473.600591/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/fedora-rawhide-ppc64le-1704906473.600591/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.19.1-2.fc40.ppc64le rpm-sequoia-1.5.0-2.fc40.ppc64le python3-dnf-4.18.2-1.fc40.noarch yum-4.18.2-1.fc40.noarch dnf5-5.1.10-3.fc40.ppc64le dnf5-plugins-5.1.10-3.fc40.ppc64le Finish: chroot init Start: build phase for testdisk-7.1-11.fc40.src.rpm Start: build setup for testdisk-7.1-11.fc40.src.rpm Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/testdisk-7.1-11.fc40.src.rpm Updating and loading repositories: fedora 100% | 105.5 KiB/s | 5.6 KiB | 00m00s Copr repository 100% | 19.6 KiB/s | 1.5 KiB | 00m00s Copr repository 100% | 4.3 MiB/s | 772.9 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: desktop-file-utils ppc64le 0.26-9.fc39 fedora 637.4 KiB e2fsprogs-devel ppc64le 1.47.0-2.fc39 fedora 195.0 KiB libewf-devel ppc64le 20140608-26.fc39 fedora 149.0 KiB libjpeg-turbo-devel ppc64le 2.1.4-3.fc39 fedora 343.2 KiB libuuid-devel ppc64le 2.39.3-1.fc40 fedora 13.5 KiB make ppc64le 1:4.4.1-2.fc39 fedora 1.9 MiB ncurses-devel ppc64le 6.4-8.20231001.fc40 fedora 853.2 KiB ntfs-3g-devel ppc64le 2:2022.10.3-3.fc39 fedora 276.1 KiB qt5-linguist ppc64le 5.15.12-1.fc40 fedora 4.1 MiB qt5-qtbase-devel ppc64le 5.15.12-1.fc40 fedora 22.4 MiB zlib-ng-compat-devel ppc64le 2.1.5-2.fc40 fedora 98.4 KiB Installing dependencies: abattis-cantarell-vf-fonts noarch 0.301-10.fc39 fedora 192.3 KiB annobin-docs noarch 12.35-1.fc40 fedora 95.6 KiB annobin-plugin-gcc ppc64le 12.35-1.fc40 fedora 1.1 MiB avahi-libs ppc64le 0.8-24.fc39 fedora 613.6 KiB cairo ppc64le 1.18.0-1.fc40 fedora 2.3 MiB cmake ppc64le 3.27.7-1.fc40 copr_base 33.1 MiB cmake-data noarch 3.27.7-1.fc40 copr_base 7.8 MiB cmake-filesystem ppc64le 3.27.7-1.fc40 copr_base 0.0 B cmake-rpm-macros noarch 3.27.7-1.fc40 copr_base 7.4 KiB cpp ppc64le 13.2.1-6.fc40 fedora 29.9 MiB cups-libs ppc64le 1:2.4.7-6.fc40 fedora 1.1 MiB dbus-libs ppc64le 1:1.14.10-1.fc40 fedora 553.1 KiB default-fonts-core-sans noarch 4.0-9.fc40 fedora 11.9 KiB double-conversion ppc64le 3.1.5-9.fc39 fedora 202.5 KiB duktape ppc64le 2.7.0-5.fc39 fedora 1.0 MiB e2fsprogs-libs ppc64le 1.47.0-2.fc39 fedora 890.9 KiB emacs-filesystem noarch 1:29.1-15.fc40 fedora 0.0 B expat ppc64le 2.5.0-3.fc39 fedora 590.3 KiB fontconfig ppc64le 2.15.0-1.fc40 fedora 2.5 MiB fonts-filesystem noarch 1:2.0.5-12.fc39 fedora 0.0 B freetype ppc64le 2.13.1-2.fc39 fedora 1.1 MiB gc ppc64le 8.2.2-4.fc39 fedora 913.6 KiB gcc ppc64le 13.2.1-6.fc40 fedora 87.1 MiB gcc-c++ ppc64le 13.2.1-6.fc40 fedora 33.6 MiB gcc-plugin-annobin ppc64le 13.2.1-6.fc40 fedora 196.8 KiB glib2 ppc64le 2.78.3-1.fc40 fedora 16.2 MiB glibc-devel ppc64le 2.38.9000-30.fc40 fedora 2.5 MiB glx-utils ppc64le 9.0.0-4.fc40 fedora 846.6 KiB gnutls ppc64le 3.8.2-2.fc40 fedora 3.7 MiB google-noto-fonts-common noarch 20230801-4.fc40 fedora 17.4 KiB google-noto-sans-vf-fonts noarch 20230801-4.fc40 fedora 1.2 MiB graphite2 ppc64le 1.3.14-13.fc40 fedora 495.4 KiB groff-base ppc64le 1.23.0-3.fc40 fedora 5.6 MiB guile22 ppc64le 2.2.7-9.fc39 fedora 44.5 MiB harfbuzz ppc64le 8.3.0-2.fc40 fedora 3.4 MiB jsoncpp ppc64le 1.9.5-5.fc39 fedora 335.7 KiB kernel-headers ppc64le 6.7.0-68.fc40 fedora 6.1 MiB libICE ppc64le 1.1.1-1.fc40 fedora 337.0 KiB libSM ppc64le 1.2.4-1.fc40 fedora 253.1 KiB libX11 ppc64le 1.8.7-1.fc40 fedora 1.6 MiB libX11-common noarch 1.8.7-1.fc40 fedora 1.1 MiB libX11-devel ppc64le 1.8.7-1.fc40 fedora 1.0 MiB libX11-xcb ppc64le 1.8.7-1.fc40 fedora 194.6 KiB libXau ppc64le 1.0.11-4.fc40 fedora 242.4 KiB libXau-devel ppc64le 1.0.11-4.fc40 fedora 6.4 KiB libXext ppc64le 1.3.5-4.fc40 fedora 273.7 KiB libXfixes ppc64le 6.0.1-1.fc40 fedora 198.0 KiB libXrender ppc64le 0.9.11-4.fc40 fedora 197.9 KiB libXxf86vm ppc64le 1.1.5-4.fc40 fedora 197.1 KiB libasan ppc64le 13.2.1-6.fc40 fedora 1.9 MiB libatomic ppc64le 13.2.1-6.fc40 fedora 196.2 KiB libb2 ppc64le 0.98.1-9.fc39 fedora 202.0 KiB libcom_err-devel ppc64le 1.47.0-2.fc39 fedora 16.7 KiB libdrm ppc64le 2.4.117-1.fc40 fedora 866.5 KiB libevdev ppc64le 1.13.1-2.fc39 fedora 198.0 KiB libewf ppc64le 20140608-26.fc39 fedora 1.8 MiB libglvnd ppc64le 1:1.7.0-1.fc40 fedora 1.3 MiB libglvnd-core-devel ppc64le 1:1.7.0-1.fc40 fedora 40.3 KiB libglvnd-devel ppc64le 1:1.7.0-1.fc40 fedora 2.1 MiB libglvnd-egl ppc64le 1:1.7.0-1.fc40 fedora 196.7 KiB libglvnd-gles ppc64le 1:1.7.0-1.fc40 fedora 649.8 KiB libglvnd-glx ppc64le 1:1.7.0-1.fc40 fedora 1.2 MiB libglvnd-opengl ppc64le 1:1.7.0-1.fc40 fedora 456.7 KiB libgudev ppc64le 238-2.fc39 fedora 231.7 KiB libicu ppc64le 73.2-3.fc40 fedora 38.2 MiB libinput ppc64le 1.24.0-1.fc40 fedora 1.7 MiB libjpeg-turbo ppc64le 2.1.4-3.fc39 fedora 708.1 KiB libmpc ppc64le 1.3.1-3.fc39 fedora 345.5 KiB libpng ppc64le 2:1.6.40-1.fc40 fedora 397.7 KiB libproxy ppc64le 0.5.3-3.fc40 fedora 430.9 KiB libstdc++-devel ppc64le 13.2.1-6.fc40 fedora 14.0 MiB libtool-ltdl ppc64le 2.4.7-8.fc40 fedora 222.0 KiB libubsan ppc64le 13.2.1-6.fc40 fedora 667.9 KiB libuv ppc64le 1:1.47.0-3.fc40 fedora 647.1 KiB libwacom ppc64le 2.9.0-1.fc40 fedora 406.2 KiB libwacom-data noarch 2.9.0-1.fc40 fedora 605.9 KiB libwayland-client ppc64le 1.22.0-2.fc39 fedora 197.9 KiB libwayland-server ppc64le 1.22.0-2.fc39 fedora 198.4 KiB libxcb ppc64le 1.16-2.fc40 fedora 5.1 MiB libxcb-devel ppc64le 1.16-2.fc40 fedora 2.7 MiB libxcrypt-devel ppc64le 4.4.36-3.fc40 fedora 30.3 KiB libxkbcommon ppc64le 1.6.0-1.fc40 fedora 659.8 KiB libxkbcommon-x11 ppc64le 1.6.0-1.fc40 fedora 195.2 KiB libxshmfence ppc64le 1.3.2-1.fc40 fedora 195.0 KiB mesa-libEGL ppc64le 23.3.2-8.fc40 fedora 523.8 KiB mesa-libEGL-devel ppc64le 23.3.2-8.fc40 fedora 20.5 KiB mesa-libGL ppc64le 23.3.2-8.fc40 fedora 726.2 KiB mesa-libgbm ppc64le 23.3.2-8.fc40 fedora 197.3 KiB mesa-libglapi ppc64le 23.3.2-8.fc40 fedora 332.5 KiB mpdecimal ppc64le 2.5.1-7.fc39 fedora 328.8 KiB mtdev ppc64le 1.1.6-6.fc39 fedora 196.9 KiB ncurses ppc64le 6.4-8.20231001.fc40 fedora 1.7 MiB ncurses-c++-libs ppc64le 6.4-8.20231001.fc40 fedora 393.2 KiB nettle ppc64le 3.9.1-2.fc39 fedora 1.0 MiB ntfs-3g-libs ppc64le 2:2022.10.3-3.fc39 fedora 536.9 KiB pcre2-utf16 ppc64le 10.42-2.fc40 fedora 709.8 KiB perl-AutoLoader noarch 5.74-503.fc40 fedora 20.5 KiB perl-B ppc64le 1.88-503.fc40 fedora 604.2 KiB perl-Carp noarch 1.54-500.fc39 fedora 46.5 KiB perl-Class-Struct noarch 0.68-503.fc40 fedora 25.4 KiB perl-Data-Dumper ppc64le 2.188-501.fc39 fedora 263.3 KiB perl-Digest noarch 1.20-500.fc39 fedora 35.2 KiB perl-Digest-MD5 ppc64le 2.59-1.fc40 fedora 231.4 KiB perl-DynaLoader ppc64le 1.54-503.fc40 fedora 32.1 KiB perl-Encode ppc64le 4:3.20-501.fc40 fedora 10.9 MiB perl-English noarch 1.11-503.fc40 fedora 6.2 KiB perl-Errno ppc64le 1.37-503.fc40 fedora 8.4 KiB perl-Exporter noarch 5.78-1.fc40 fedora 54.2 KiB perl-Fcntl ppc64le 1.15-503.fc40 fedora 200.2 KiB perl-File-Basename noarch 2.86-503.fc40 fedora 14.0 KiB perl-File-Find noarch 1.43-503.fc40 fedora 41.9 KiB perl-File-Path noarch 2.18-501.fc40 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-501.fc40 fedora 162.3 KiB perl-File-stat noarch 1.13-503.fc40 fedora 12.7 KiB perl-FileHandle noarch 2.05-503.fc40 fedora 9.3 KiB perl-Getopt-Long noarch 1:2.57-1.fc40 fedora 144.1 KiB perl-Getopt-Std noarch 1.13-503.fc40 fedora 11.1 KiB perl-HTTP-Tiny noarch 0.088-3.fc39 fedora 152.1 KiB perl-IO ppc64le 1.52-503.fc40 fedora 318.6 KiB perl-IO-Socket-IP noarch 0.42-1.fc39 fedora 98.6 KiB perl-IO-Socket-SSL noarch 2.084-1.fc40 fedora 619.8 KiB perl-IPC-Open3 noarch 1.22-503.fc40 fedora 22.4 KiB perl-MIME-Base64 ppc64le 3.16-501.fc40 fedora 221.7 KiB perl-Mozilla-CA noarch 20231213-1.fc40 fedora 9.2 KiB perl-Net-SSLeay ppc64le 1.94-1.fc40 fedora 1.5 MiB perl-POSIX ppc64le 2.13-503.fc40 fedora 389.8 KiB perl-PathTools ppc64le 3.89-500.fc39 fedora 351.4 KiB perl-Pod-Escapes noarch 1:1.07-501.fc40 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-501.fc39 fedora 163.1 KiB perl-Pod-Simple noarch 1:3.45-4.fc39 fedora 559.8 KiB perl-Pod-Usage noarch 4:2.03-500.fc39 fedora 84.7 KiB perl-Scalar-List-Utils ppc64le 5:1.63-500.fc39 fedora 277.1 KiB perl-SelectSaver noarch 1.02-503.fc40 fedora 2.2 KiB perl-Socket ppc64le 4:2.037-3.fc39 fedora 271.2 KiB perl-Storable ppc64le 1:3.32-500.fc39 fedora 372.2 KiB perl-Symbol noarch 1.09-503.fc40 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-502.fc40 fedora 97.5 KiB perl-Term-Cap noarch 1.18-500.fc39 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-500.fc39 fedora 13.5 KiB perl-Text-Tabs+Wrap noarch 2023.0511-3.fc39 fedora 23.4 KiB perl-Time-Local noarch 2:1.350-3.fc39 fedora 68.9 KiB perl-URI noarch 5.21-1.fc40 fedora 225.2 KiB perl-base noarch 2.27-503.fc40 fedora 12.5 KiB perl-constant noarch 1.33-501.fc39 fedora 26.2 KiB perl-if noarch 0.61.000-503.fc40 fedora 5.8 KiB perl-interpreter ppc64le 4:5.38.2-503.fc40 fedora 299.5 KiB perl-libnet noarch 3.15-501.fc39 fedora 289.0 KiB perl-libs ppc64le 4:5.38.2-503.fc40 fedora 11.8 MiB perl-locale noarch 1.10-503.fc40 fedora 6.2 KiB perl-mro ppc64le 1.28-503.fc40 fedora 209.2 KiB perl-overload noarch 1.37-503.fc40 fedora 71.5 KiB perl-overloading noarch 0.02-503.fc40 fedora 4.8 KiB perl-parent noarch 1:0.241-500.fc39 fedora 9.7 KiB perl-podlators noarch 1:5.01-500.fc39 fedora 308.1 KiB perl-vars noarch 1.05-503.fc40 fedora 3.9 KiB pixman ppc64le 0.43.0-1.fc40 fedora 717.1 KiB python-pip-wheel noarch 23.3.1-2.fc40 fedora 1.5 MiB python3 ppc64le 3.12.1-2.fc40 fedora 211.7 KiB python3-libs ppc64le 3.12.1-2.fc40 fedora 52.8 MiB qt-settings noarch 39.1-3.fc40 fedora 1.1 KiB qt5-qtbase ppc64le 5.15.12-1.fc40 fedora 13.6 MiB qt5-qtbase-common noarch 5.15.12-1.fc40 fedora 78.0 B qt5-qtbase-gui ppc64le 5.15.12-1.fc40 fedora 28.9 MiB qt5-qttools-common noarch 5.15.12-1.fc40 fedora 7.5 KiB qt5-rpm-macros noarch 5.15.12-1.fc40 fedora 1.6 KiB rhash ppc64le 1.4.3-3.fc39 fedora 648.5 KiB tzdata noarch 2023d-1.fc40 fedora 1.6 MiB vim-filesystem noarch 2:9.1.016-1.fc40 fedora 40.0 B vulkan-headers noarch 1.3.268.0-1.fc40 fedora 24.3 MiB vulkan-loader ppc64le 1.3.268.0-1.fc40 fedora 869.4 KiB vulkan-loader-devel ppc64le 1.3.268.0-1.fc40 fedora 5.1 KiB xcb-util ppc64le 0.4.1-3.fc39 fedora 198.0 KiB xcb-util-image ppc64le 0.4.1-3.fc39 fedora 197.8 KiB xcb-util-keysyms ppc64le 0.4.1-3.fc39 fedora 196.3 KiB xcb-util-renderutil ppc64le 0.3.10-3.fc39 fedora 200.3 KiB xcb-util-wm ppc64le 0.4.2-3.fc39 fedora 392.6 KiB xkeyboard-config noarch 2.40-2.fc40 fedora 6.6 MiB xml-common noarch 0.6.3-62.fc40 fedora 78.4 KiB xorg-x11-proto-devel noarch 2023.2-3.fc40 fedora 1.7 MiB Transaction Summary: Installing: 190 packages Total size of inbound packages is 146 MiB. Need to download 146 MiB. After this operation 578 MiB will be used (install 578 MiB, remove 0 B). [ 1/190] desktop-file-utils-0:0.26-9.f 100% | 816.4 KiB/s | 78.4 KiB | 00m00s [ 2/190] libewf-devel-0:20140608-26.fc 100% | 249.6 KiB/s | 26.5 KiB | 00m00s [ 3/190] e2fsprogs-devel-0:1.47.0-2.fc 100% | 549.8 KiB/s | 59.4 KiB | 00m00s [ 4/190] libjpeg-turbo-devel-0:2.1.4-3 100% | 3.4 MiB/s | 97.6 KiB | 00m00s [ 5/190] libuuid-devel-0:2.39.3-1.fc40 100% | 945.0 KiB/s | 24.6 KiB | 00m00s [ 6/190] make-1:4.4.1-2.fc39.ppc64le 100% | 6.3 MiB/s | 604.3 KiB | 00m00s [ 7/190] ncurses-devel-0:6.4-8.2023100 100% | 4.5 MiB/s | 554.6 KiB | 00m00s [ 8/190] ntfs-3g-devel-2:2022.10.3-3.f 100% | 699.1 KiB/s | 80.4 KiB | 00m00s [ 9/190] qt5-linguist-0:5.15.12-1.fc40 100% | 15.5 MiB/s | 938.4 KiB | 00m00s [ 10/190] zlib-ng-compat-devel-0:2.1.5- 100% | 2.6 MiB/s | 34.3 KiB | 00m00s [ 11/190] emacs-filesystem-1:29.1-15.fc 100% | 832.1 KiB/s | 7.5 KiB | 00m00s [ 12/190] e2fsprogs-libs-0:1.47.0-2.fc3 100% | 8.3 MiB/s | 255.1 KiB | 00m00s [ 13/190] libcom_err-devel-0:1.47.0-2.f 100% | 411.1 KiB/s | 15.6 KiB | 00m00s [ 14/190] qt5-qtbase-devel-0:5.15.12-1. 100% | 21.9 MiB/s | 3.7 MiB | 00m00s [ 15/190] glib2-0:2.78.3-1.fc40.ppc64le 100% | 16.9 MiB/s | 2.9 MiB | 00m00s [ 16/190] libewf-0:20140608-26.fc39.ppc 100% | 5.7 MiB/s | 588.2 KiB | 00m00s [ 17/190] libjpeg-turbo-0:2.1.4-3.fc39. 100% | 9.7 MiB/s | 208.5 KiB | 00m00s [ 18/190] ncurses-c++-libs-0:6.4-8.2023 100% | 1.9 MiB/s | 39.2 KiB | 00m00s [ 19/190] ntfs-3g-libs-2:2022.10.3-3.fc 100% | 8.2 MiB/s | 194.0 KiB | 00m00s [ 20/190] qt5-qtbase-0:5.15.12-1.fc40.p 100% | 18.1 MiB/s | 3.8 MiB | 00m00s [ 21/190] qt5-qtbase-gui-0:5.15.12-1.fc 100% | 22.2 MiB/s | 7.0 MiB | 00m00s [ 22/190] qt5-qttools-common-0:5.15.12- 100% | 86.6 KiB/s | 11.1 KiB | 00m00s [ 23/190] guile22-0:2.2.7-9.fc39.ppc64l 100% | 15.4 MiB/s | 6.6 MiB | 00m00s [ 24/190] libglvnd-devel-1:1.7.0-1.fc40 100% | 2.8 MiB/s | 162.3 KiB | 00m00s [ 25/190] mesa-libEGL-devel-0:23.3.2-8. 100% | 413.5 KiB/s | 21.9 KiB | 00m00s [ 26/190] perl-English-0:1.11-503.fc40. 100% | 769.2 KiB/s | 13.8 KiB | 00m00s [ 27/190] perl-File-Find-0:1.43-503.fc4 100% | 1.3 MiB/s | 25.6 KiB | 00m00s [ 28/190] perl-File-Basename-0:2.86-503 100% | 829.6 KiB/s | 17.4 KiB | 00m00s [ 29/190] perl-File-Path-0:2.18-501.fc4 100% | 2.1 MiB/s | 34.9 KiB | 00m00s [ 30/190] perl-Getopt-Long-1:2.57-1.fc4 100% | 3.4 MiB/s | 63.2 KiB | 00m00s [ 31/190] perl-IO-0:1.52-503.fc40.ppc64 100% | 4.1 MiB/s | 83.1 KiB | 00m00s [ 32/190] perl-PathTools-0:3.89-500.fc3 100% | 4.8 MiB/s | 87.7 KiB | 00m00s [ 33/190] perl-interpreter-4:5.38.2-503 100% | 3.3 MiB/s | 72.0 KiB | 00m00s [ 34/190] python3-0:3.12.1-2.fc40.ppc64 100% | 1.2 MiB/s | 26.7 KiB | 00m00s [ 35/190] qt5-rpm-macros-0:5.15.12-1.fc 100% | 460.0 KiB/s | 10.1 KiB | 00m00s [ 36/190] vulkan-loader-devel-0:1.3.268 100% | 368.7 KiB/s | 11.4 KiB | 00m00s [ 37/190] gc-0:8.2.2-4.fc39.ppc64le 100% | 2.6 MiB/s | 121.7 KiB | 00m00s [ 38/190] gnutls-0:3.8.2-2.fc40.ppc64le 100% | 10.8 MiB/s | 1.1 MiB | 00m00s [ 39/190] perl-libs-4:5.38.2-503.fc40.p 100% | 14.6 MiB/s | 2.4 MiB | 00m00s [ 40/190] libtool-ltdl-0:2.4.7-8.fc40.p 100% | 707.6 KiB/s | 40.3 KiB | 00m00s [ 41/190] dbus-libs-1:1.14.10-1.fc40.pp 100% | 6.4 MiB/s | 177.4 KiB | 00m00s [ 42/190] double-conversion-0:3.1.5-9.f 100% | 2.7 MiB/s | 53.1 KiB | 00m00s [ 43/190] libproxy-0:0.5.3-3.fc40.ppc64 100% | 2.6 MiB/s | 50.1 KiB | 00m00s [ 44/190] pcre2-utf16-0:10.42-2.fc40.pp 100% | 7.7 MiB/s | 219.9 KiB | 00m00s [ 45/190] qt-settings-0:39.1-3.fc40.noa 100% | 351.6 KiB/s | 9.8 KiB | 00m00s [ 46/190] qt5-qtbase-common-0:5.15.12-1 100% | 545.5 KiB/s | 12.0 KiB | 00m00s [ 47/190] cups-libs-1:2.4.7-6.fc40.ppc6 100% | 9.0 MiB/s | 321.0 KiB | 00m00s [ 48/190] fontconfig-0:2.15.0-1.fc40.pp 100% | 9.0 MiB/s | 314.2 KiB | 00m00s [ 49/190] freetype-0:2.13.1-2.fc39.ppc6 100% | 10.8 MiB/s | 474.2 KiB | 00m00s [ 50/190] glx-utils-0:9.0.0-4.fc40.ppc6 100% | 1.3 MiB/s | 73.8 KiB | 00m00s [ 51/190] libICE-0:1.1.1-1.fc40.ppc64le 100% | 2.2 MiB/s | 80.6 KiB | 00m00s [ 52/190] harfbuzz-0:8.3.0-2.fc40.ppc64 100% | 14.1 MiB/s | 1.0 MiB | 00m00s [ 53/190] libSM-0:1.2.4-1.fc40.ppc64le 100% | 2.2 MiB/s | 44.2 KiB | 00m00s [ 54/190] libX11-0:1.8.7-1.fc40.ppc64le 100% | 17.1 MiB/s | 698.7 KiB | 00m00s [ 55/190] libX11-xcb-0:1.8.7-1.fc40.ppc 100% | 388.5 KiB/s | 12.0 KiB | 00m00s [ 56/190] libicu-0:73.2-3.fc40.ppc64le 100% | 30.9 MiB/s | 10.7 MiB | 00m00s [ 57/190] libdrm-0:2.4.117-1.fc40.ppc64 100% | 1.2 MiB/s | 109.7 KiB | 00m00s [ 58/190] libglvnd-egl-1:1.7.0-1.fc40.p 100% | 440.4 KiB/s | 41.0 KiB | 00m00s [ 59/190] libpng-2:1.6.40-1.fc40.ppc64l 100% | 8.4 MiB/s | 137.4 KiB | 00m00s [ 60/190] libinput-0:1.24.0-1.fc40.ppc6 100% | 11.2 MiB/s | 229.9 KiB | 00m00s [ 61/190] libglvnd-glx-1:1.7.0-1.fc40.p 100% | 6.6 MiB/s | 147.9 KiB | 00m00s [ 62/190] libxcb-0:1.16-2.fc40.ppc64le 100% | 16.7 MiB/s | 256.1 KiB | 00m00s [ 63/190] libxkbcommon-0:1.6.0-1.fc40.p 100% | 9.5 MiB/s | 155.7 KiB | 00m00s [ 64/190] libxkbcommon-x11-0:1.6.0-1.fc 100% | 1.5 MiB/s | 21.9 KiB | 00m00s [ 65/190] mesa-libgbm-0:23.3.2-8.fc40.p 100% | 4.5 MiB/s | 51.1 KiB | 00m00s [ 66/190] xcb-util-image-0:0.4.1-3.fc39 100% | 1.9 MiB/s | 19.7 KiB | 00m00s [ 67/190] xcb-util-keysyms-0:0.4.1-3.fc 100% | 1.4 MiB/s | 14.6 KiB | 00m00s [ 68/190] xcb-util-renderutil-0:0.3.10- 100% | 1.3 MiB/s | 17.9 KiB | 00m00s [ 69/190] xcb-util-wm-0:0.4.2-3.fc39.pp 100% | 2.6 MiB/s | 32.2 KiB | 00m00s [ 70/190] libglvnd-core-devel-1:1.7.0-1 100% | 1.2 MiB/s | 17.1 KiB | 00m00s [ 71/190] libglvnd-1:1.7.0-1.fc40.ppc64 100% | 6.1 MiB/s | 130.7 KiB | 00m00s [ 72/190] libX11-devel-0:1.8.7-1.fc40.p 100% | 20.0 MiB/s | 1.0 MiB | 00m00s [ 73/190] libglvnd-gles-1:1.7.0-1.fc40. 100% | 806.0 KiB/s | 32.2 KiB | 00m00s [ 74/190] libglvnd-opengl-1:1.7.0-1.fc4 100% | 1.2 MiB/s | 44.6 KiB | 00m00s [ 75/190] mesa-libEGL-0:23.3.2-8.fc40.p 100% | 5.6 MiB/s | 150.0 KiB | 00m00s [ 76/190] perl-Carp-0:1.54-500.fc39.noa 100% | 2.6 MiB/s | 28.7 KiB | 00m00s [ 77/190] perl-Exporter-0:5.78-1.fc40.n 100% | 2.5 MiB/s | 30.8 KiB | 00m00s [ 78/190] perl-vars-0:1.05-503.fc40.noa 100% | 1.3 MiB/s | 13.3 KiB | 00m00s [ 79/190] perl-Pod-Usage-4:2.03-500.fc3 100% | 4.3 MiB/s | 39.3 KiB | 00m00s [ 80/190] perl-Text-ParseWords-0:3.31-5 100% | 1.6 MiB/s | 15.9 KiB | 00m00s [ 81/190] perl-base-0:2.27-503.fc40.noa 100% | 1.2 MiB/s | 16.5 KiB | 00m00s [ 82/190] perl-constant-0:1.33-501.fc39 100% | 2.0 MiB/s | 22.4 KiB | 00m00s [ 83/190] perl-overload-0:1.37-503.fc40 100% | 3.2 MiB/s | 45.8 KiB | 00m00s [ 84/190] perl-Errno-0:1.37-503.fc40.pp 100% | 1.6 MiB/s | 15.1 KiB | 00m00s [ 85/190] perl-Fcntl-0:1.15-503.fc40.pp 100% | 2.1 MiB/s | 21.3 KiB | 00m00s [ 86/190] perl-File-stat-0:1.13-503.fc4 100% | 1.7 MiB/s | 17.4 KiB | 00m00s [ 87/190] perl-SelectSaver-0:1.02-503.f 100% | 1.3 MiB/s | 12.0 KiB | 00m00s [ 88/190] perl-Socket-4:2.037-3.fc39.pp 100% | 4.2 MiB/s | 56.2 KiB | 00m00s [ 89/190] perl-Symbol-0:1.09-503.fc40.n 100% | 1.3 MiB/s | 14.5 KiB | 00m00s [ 90/190] perl-Scalar-List-Utils-5:1.63 100% | 6.1 MiB/s | 75.5 KiB | 00m00s [ 91/190] perl-DynaLoader-0:1.54-503.fc 100% | 2.6 MiB/s | 26.2 KiB | 00m00s [ 92/190] perl-Encode-4:3.20-501.fc40.p 100% | 17.9 MiB/s | 1.7 MiB | 00m00s [ 93/190] vulkan-headers-0:1.3.268.0-1. 100% | 3.5 MiB/s | 1.2 MiB | 00m00s [ 94/190] python3-libs-0:3.12.1-2.fc40. 100% | 19.3 MiB/s | 9.4 MiB | 00m00s [ 95/190] gcc-c++-0:13.2.1-6.fc40.ppc64 100% | 21.7 MiB/s | 11.9 MiB | 00m01s [ 96/190] vulkan-loader-0:1.3.268.0-1.f 100% | 1.4 MiB/s | 182.9 KiB | 00m00s [ 97/190] nettle-0:3.9.1-2.fc39.ppc64le 100% | 7.0 MiB/s | 460.0 KiB | 00m00s [ 98/190] avahi-libs-0:0.8-24.fc39.ppc6 100% | 7.0 MiB/s | 71.8 KiB | 00m00s [ 99/190] duktape-0:2.7.0-5.fc39.ppc64l 100% | 11.9 MiB/s | 183.3 KiB | 00m00s [100/190] default-fonts-core-sans-0:4.0 100% | 2.4 MiB/s | 32.1 KiB | 00m00s [101/190] fonts-filesystem-1:2.0.5-12.f 100% | 1.0 MiB/s | 8.2 KiB | 00m00s [102/190] xml-common-0:0.6.3-62.fc40.no 100% | 3.0 MiB/s | 31.0 KiB | 00m00s [103/190] libX11-common-0:1.8.7-1.fc40. 100% | 8.6 MiB/s | 176.0 KiB | 00m00s [104/190] cairo-0:1.18.0-1.fc40.ppc64le 100% | 22.9 MiB/s | 796.3 KiB | 00m00s [105/190] graphite2-0:1.3.14-13.fc40.pp 100% | 3.2 MiB/s | 104.7 KiB | 00m00s [106/190] libXext-0:1.3.5-4.fc40.ppc64l 100% | 3.3 MiB/s | 40.8 KiB | 00m00s [107/190] mesa-libGL-0:23.3.2-8.fc40.pp 100% | 14.8 MiB/s | 196.5 KiB | 00m00s [108/190] libevdev-0:1.13.1-2.fc39.ppc6 100% | 3.1 MiB/s | 44.4 KiB | 00m00s [109/190] libwacom-0:2.9.0-1.fc40.ppc64 100% | 3.9 MiB/s | 47.4 KiB | 00m00s [110/190] mtdev-0:1.1.6-6.fc39.ppc64le 100% | 2.2 MiB/s | 22.4 KiB | 00m00s [111/190] libXau-0:1.0.11-4.fc40.ppc64l 100% | 3.1 MiB/s | 32.2 KiB | 00m00s [112/190] expat-0:2.5.0-3.fc39.ppc64le 100% | 9.5 MiB/s | 116.5 KiB | 00m00s [113/190] libwayland-server-0:1.22.0-2. 100% | 3.4 MiB/s | 45.7 KiB | 00m00s [114/190] xkeyboard-config-0:2.40-2.fc4 100% | 27.1 MiB/s | 972.0 KiB | 00m00s [115/190] xcb-util-0:0.4.1-3.fc39.ppc64 100% | 997.0 KiB/s | 18.9 KiB | 00m00s [116/190] libwayland-client-0:1.22.0-2. 100% | 1.7 MiB/s | 35.6 KiB | 00m00s [117/190] xorg-x11-proto-devel-0:2023.2 100% | 6.8 MiB/s | 297.6 KiB | 00m00s [118/190] libxcb-devel-0:1.16-2.fc40.pp 100% | 21.4 MiB/s | 1.4 MiB | 00m00s [119/190] libxshmfence-0:1.3.2-1.fc40.p 100% | 432.3 KiB/s | 12.1 KiB | 00m00s [120/190] mesa-libglapi-0:23.3.2-8.fc40 100% | 4.2 MiB/s | 51.9 KiB | 00m00s [121/190] perl-Pod-Perldoc-0:3.28.01-50 100% | 8.4 MiB/s | 86.3 KiB | 00m00s [122/190] perl-podlators-1:5.01-500.fc3 100% | 9.4 MiB/s | 125.1 KiB | 00m00s [123/190] perl-mro-0:1.28-503.fc40.ppc6 100% | 2.9 MiB/s | 29.5 KiB | 00m00s [124/190] perl-overloading-0:0.02-503.f 100% | 1.3 MiB/s | 13.2 KiB | 00m00s [125/190] perl-Class-Struct-0:0.68-503. 100% | 2.2 MiB/s | 22.3 KiB | 00m00s [126/190] perl-Getopt-Std-0:1.13-503.fc 100% | 1.7 MiB/s | 15.9 KiB | 00m00s [127/190] perl-MIME-Base64-0:3.16-501.f 100% | 3.0 MiB/s | 30.3 KiB | 00m00s [128/190] perl-parent-1:0.241-500.fc39. 100% | 1.6 MiB/s | 14.3 KiB | 00m00s [129/190] perl-Storable-1:3.32-500.fc39 100% | 8.4 MiB/s | 102.6 KiB | 00m00s [130/190] libb2-0:0.98.1-9.fc39.ppc64le 100% | 2.5 MiB/s | 25.2 KiB | 00m00s [131/190] mpdecimal-0:2.5.1-7.fc39.ppc6 100% | 8.4 MiB/s | 103.5 KiB | 00m00s [132/190] tzdata-0:2023d-1.fc40.noarch 100% | 16.7 MiB/s | 718.0 KiB | 00m00s [133/190] python-pip-wheel-0:23.3.1-2.f 100% | 22.3 MiB/s | 1.5 MiB | 00m00s [134/190] libmpc-0:1.3.1-3.fc39.ppc64le 100% | 2.6 MiB/s | 94.5 KiB | 00m00s [135/190] abattis-cantarell-vf-fonts-0: 100% | 1.6 MiB/s | 120.6 KiB | 00m00s [136/190] libstdc++-devel-0:13.2.1-6.fc 100% | 13.8 MiB/s | 2.6 MiB | 00m00s [137/190] google-noto-sans-vf-fonts-0:2 100% | 4.5 MiB/s | 583.4 KiB | 00m00s [138/190] libXrender-0:0.9.11-4.fc40.pp 100% | 348.8 KiB/s | 28.9 KiB | 00m00s [139/190] pixman-0:0.43.0-1.fc40.ppc64l 100% | 2.6 MiB/s | 229.5 KiB | 00m00s [140/190] libXfixes-0:6.0.1-1.fc40.ppc6 100% | 161.0 KiB/s | 19.5 KiB | 00m00s [141/190] libXxf86vm-0:1.1.5-4.fc40.ppc 100% | 138.3 KiB/s | 18.1 KiB | 00m00s [142/190] libgudev-0:238-2.fc39.ppc64le 100% | 308.8 KiB/s | 34.3 KiB | 00m00s [143/190] libwacom-data-0:2.9.0-1.fc40. 100% | 2.2 MiB/s | 194.4 KiB | 00m00s [144/190] gcc-0:13.2.1-6.fc40.ppc64le 100% | 36.9 MiB/s | 30.5 MiB | 00m01s [145/190] libXau-devel-0:1.0.11-4.fc40. 100% | 52.8 KiB/s | 13.5 KiB | 00m00s [146/190] groff-base-0:1.23.0-3.fc40.pp 100% | 4.6 MiB/s | 1.2 MiB | 00m00s [147/190] perl-File-Temp-1:0.231.100-50 100% | 1.4 MiB/s | 58.9 KiB | 00m00s [148/190] perl-IPC-Open3-0:1.22-503.fc4 100% | 450.8 KiB/s | 22.1 KiB | 00m00s [149/190] perl-HTTP-Tiny-0:0.088-3.fc39 100% | 941.0 KiB/s | 55.5 KiB | 00m00s [150/190] perl-Pod-Simple-1:3.45-4.fc39 100% | 5.8 MiB/s | 218.5 KiB | 00m00s [151/190] perl-Term-ANSIColor-0:5.01-50 100% | 2.3 MiB/s | 47.5 KiB | 00m00s [152/190] perl-POSIX-0:2.13-503.fc40.pp 100% | 3.0 MiB/s | 117.6 KiB | 00m00s [153/190] perl-Term-Cap-0:1.18-500.fc39 100% | 1.2 MiB/s | 21.8 KiB | 00m00s [154/190] libasan-0:13.2.1-6.fc40.ppc64 100% | 8.6 MiB/s | 495.9 KiB | 00m00s [155/190] glibc-devel-0:2.38.9000-30.fc 100% | 9.4 MiB/s | 609.1 KiB | 00m00s [156/190] libatomic-0:13.2.1-6.fc40.ppc 100% | 1.1 MiB/s | 38.1 KiB | 00m00s [157/190] libubsan-0:13.2.1-6.fc40.ppc6 100% | 6.2 MiB/s | 253.2 KiB | 00m00s [158/190] google-noto-fonts-common-0:20 100% | 691.2 KiB/s | 17.3 KiB | 00m00s [159/190] perl-IO-Socket-SSL-0:2.084-1. 100% | 9.6 MiB/s | 225.4 KiB | 00m00s [160/190] perl-Mozilla-CA-0:20231213-1. 100% | 865.2 KiB/s | 13.8 KiB | 00m00s [161/190] perl-Time-Local-2:1.350-3.fc3 100% | 2.1 MiB/s | 34.3 KiB | 00m00s [162/190] perl-Net-SSLeay-0:1.94-1.fc40 100% | 14.3 MiB/s | 394.7 KiB | 00m00s [163/190] cpp-0:13.2.1-6.fc40.ppc64le 100% | 38.6 MiB/s | 9.8 MiB | 00m00s [164/190] perl-Pod-Escapes-1:1.07-501.f 100% | 240.7 KiB/s | 19.5 KiB | 00m00s [165/190] perl-Text-Tabs+Wrap-0:2023.05 100% | 298.5 KiB/s | 22.4 KiB | 00m00s [166/190] perl-if-0:0.61.000-503.fc40.n 100% | 365.6 KiB/s | 14.3 KiB | 00m00s [167/190] perl-locale-0:1.10-503.fc40.n 100% | 366.4 KiB/s | 13.9 KiB | 00m00s [168/190] ncurses-0:6.4-8.20231001.fc40 100% | 10.2 MiB/s | 426.3 KiB | 00m00s [169/190] libxcrypt-devel-0:4.4.36-3.fc 100% | 1.8 MiB/s | 28.8 KiB | 00m00s [170/190] perl-IO-Socket-IP-0:0.42-1.fc 100% | 2.4 MiB/s | 41.6 KiB | 00m00s [171/190] kernel-headers-0:6.7.0-68.fc4 100% | 21.8 MiB/s | 1.5 MiB | 00m00s [172/190] perl-URI-0:5.21-1.fc40.noarch 100% | 2.2 MiB/s | 125.3 KiB | 00m00s [173/190] perl-AutoLoader-0:5.74-503.fc 100% | 398.0 KiB/s | 21.5 KiB | 00m00s [174/190] perl-Data-Dumper-0:2.188-501. 100% | 4.7 MiB/s | 57.5 KiB | 00m00s [175/190] perl-B-0:1.88-503.fc40.ppc64l 100% | 9.8 MiB/s | 180.9 KiB | 00m00s [176/190] perl-libnet-0:3.15-501.fc39.n 100% | 6.3 MiB/s | 128.5 KiB | 00m00s [177/190] perl-Digest-MD5-0:2.59-1.fc40 100% | 2.5 MiB/s | 36.1 KiB | 00m00s [178/190] perl-FileHandle-0:2.05-503.fc 100% | 1.4 MiB/s | 15.8 KiB | 00m00s [179/190] perl-Digest-0:1.20-500.fc39.n 100% | 2.0 MiB/s | 24.7 KiB | 00m00s [180/190] jsoncpp-0:1.9.5-5.fc39.ppc64l 100% | 7.5 MiB/s | 99.4 KiB | 00m00s [181/190] cmake-filesystem-0:3.27.7-1.f 100% | 592.2 KiB/s | 19.5 KiB | 00m00s [182/190] libuv-1:1.47.0-3.fc40.ppc64le 100% | 14.1 MiB/s | 260.2 KiB | 00m00s [183/190] rhash-0:1.4.3-3.fc39.ppc64le 100% | 9.1 MiB/s | 205.5 KiB | 00m00s [184/190] vim-filesystem-2:9.1.016-1.fc 100% | 652.5 KiB/s | 17.6 KiB | 00m00s [185/190] cmake-data-0:3.27.7-1.fc40.no 100% | 14.1 MiB/s | 1.7 MiB | 00m00s [186/190] annobin-plugin-gcc-0:12.35-1. 100% | 11.6 MiB/s | 960.0 KiB | 00m00s [187/190] annobin-docs-0:12.35-1.fc40.n 100% | 6.3 MiB/s | 90.8 KiB | 00m00s [188/190] gcc-plugin-annobin-0:13.2.1-6 100% | 3.2 MiB/s | 52.4 KiB | 00m00s [189/190] cmake-rpm-macros-0:3.27.7-1.f 100% | 1.5 MiB/s | 19.0 KiB | 00m00s [190/190] cmake-0:3.27.7-1.fc40.ppc64le 100% | 33.7 MiB/s | 10.7 MiB | 00m00s -------------------------------------------------------------------------------- [190/190] Total 100% | 35.6 MiB/s | 146.1 MiB | 00m04s Running transaction [ 1/192] Verify package files 100% | 81.0 B/s | 190.0 B | 00m02s [ 2/192] Prepare transaction 100% | 487.0 B/s | 190.0 B | 00m00s [ 3/192] Installing cmake-filesystem-0 100% | 1.4 MiB/s | 7.3 KiB | 00m00s [ 4/192] Installing expat-0:2.5.0-3.fc 100% | 96.4 MiB/s | 592.4 KiB | 00m00s [ 5/192] Installing libglvnd-1:1.7.0-1 100% | 158.5 MiB/s | 1.3 MiB | 00m00s [ 6/192] Installing libdrm-0:2.4.117-1 100% | 121.3 MiB/s | 869.8 KiB | 00m00s [ 7/192] Installing libX11-xcb-0:1.8.7 100% | 95.4 MiB/s | 195.5 KiB | 00m00s [ 8/192] Installing libmpc-0:1.3.1-3.f 100% | 84.7 MiB/s | 347.0 KiB | 00m00s [ 9/192] Installing fonts-filesystem-1 100% | 769.5 KiB/s | 788.0 B | 00m00s [ 10/192] Installing libpng-2:1.6.40-1. 100% | 97.4 MiB/s | 399.0 KiB | 00m00s [ 11/192] Installing mesa-libglapi-0:23 100% | 108.5 MiB/s | 333.3 KiB | 00m00s [ 12/192] Installing libxshmfence-0:1.3 100% | 63.7 MiB/s | 195.8 KiB | 00m00s [ 13/192] Installing xorg-x11-proto-dev 100% | 70.3 MiB/s | 1.8 MiB | 00m00s [ 14/192] Installing libwayland-server- 100% | 65.0 MiB/s | 199.6 KiB | 00m00s [ 15/192] Installing libXau-0:1.0.11-4. 100% | 79.4 MiB/s | 244.0 KiB | 00m00s [ 16/192] Installing libxcb-0:1.16-2.fc 100% | 151.8 MiB/s | 5.2 MiB | 00m00s [ 17/192] Installing mesa-libgbm-0:23.3 100% | 96.7 MiB/s | 198.1 KiB | 00m00s [ 18/192] Installing libevdev-0:1.13.1- 100% | 64.8 MiB/s | 199.1 KiB | 00m00s [ 19/192] Installing libICE-0:1.1.1-1.f 100% | 110.1 MiB/s | 338.3 KiB | 00m00s [ 20/192] Installing dbus-libs-1:1.14.1 100% | 108.3 MiB/s | 554.2 KiB | 00m00s [ 21/192] Installing libjpeg-turbo-0:2. 100% | 115.5 MiB/s | 709.8 KiB | 00m00s [ 22/192] Installing emacs-filesystem-1 100% | 531.2 KiB/s | 544.0 B | 00m00s [ 23/192] Installing avahi-libs-0:0.8-2 100% | 120.3 MiB/s | 616.0 KiB | 00m00s [ 24/192] Installing libSM-0:1.2.4-1.fc 100% | 82.9 MiB/s | 254.5 KiB | 00m00s [ 25/192] Installing xcb-util-keysyms-0 100% | 96.4 MiB/s | 197.4 KiB | 00m00s [ 26/192] Installing xcb-util-renderuti 100% | 65.7 MiB/s | 201.7 KiB | 00m00s [ 27/192] Installing xcb-util-wm-0:0.4. 100% | 96.3 MiB/s | 394.6 KiB | 00m00s [ 28/192] Installing xcb-util-0:0.4.1-3 100% | 97.4 MiB/s | 199.4 KiB | 00m00s [ 29/192] Installing xcb-util-image-0:0 100% | 64.9 MiB/s | 199.3 KiB | 00m00s [ 30/192] Installing libXau-devel-0:1.0 100% | 633.7 KiB/s | 8.2 KiB | 00m00s [ 31/192] Installing libxcb-devel-0:1.1 100% | 18.1 MiB/s | 3.1 MiB | 00m00s [ 32/192] Installing abattis-cantarell- 100% | 47.4 MiB/s | 194.1 KiB | 00m00s [ 33/192] Installing cpp-0:13.2.1-6.fc4 100% | 141.1 MiB/s | 29.9 MiB | 00m00s [ 34/192] Installing libglvnd-opengl-1: 100% | 111.7 MiB/s | 457.5 KiB | 00m00s [ 35/192] Installing annobin-docs-0:12. 100% | 47.2 MiB/s | 96.6 KiB | 00m00s [ 36/192] Installing vim-filesystem-2:9 100% | 1.5 MiB/s | 4.7 KiB | 00m00s [ 37/192] Installing rhash-0:1.4.3-3.fc 100% | 91.2 MiB/s | 653.6 KiB | 00m00s [ 38/192] Installing libuv-1:1.47.0-3.f 100% | 90.7 MiB/s | 650.0 KiB | 00m00s [ 39/192] Installing jsoncpp-0:1.9.5-5. 100% | 36.6 MiB/s | 337.2 KiB | 00m00s [ 40/192] Installing kernel-headers-0:6 100% | 57.5 MiB/s | 6.2 MiB | 00m00s [ 41/192] Installing libxcrypt-devel-0: 100% | 5.3 MiB/s | 32.6 KiB | 00m00s [ 42/192] Installing glibc-devel-0:2.38 100% | 53.0 MiB/s | 2.6 MiB | 00m00s [ 43/192] Installing ncurses-0:6.4-8.20 100% | 134.0 MiB/s | 1.7 MiB | 00m00s [ 44/192] Installing google-noto-fonts- 100% | 17.7 MiB/s | 18.1 KiB | 00m00s [ 45/192] Installing google-noto-sans-v 100% | 111.9 MiB/s | 1.2 MiB | 00m00s [ 46/192] Installing default-fonts-core 100% | 4.4 MiB/s | 18.2 KiB | 00m00s [ 47/192] Installing libubsan-0:13.2.1- 100% | 108.8 MiB/s | 668.7 KiB | 00m00s [ 48/192] Installing libatomic-0:13.2.1 100% | 64.1 MiB/s | 197.0 KiB | 00m00s [ 49/192] Installing libasan-0:13.2.1-6 100% | 87.0 MiB/s | 1.9 MiB | 00m00s >>> Running pre-install scriptlet: groff-base-0:1.23.0-3.fc40.ppc64le >>> Stop pre-install scriptlet: groff-base-0:1.23.0-3.fc40.ppc64le [ 50/192] Installing groff-base-0:1.23. 100% | 97.2 MiB/s | 5.6 MiB | 00m00s >>> Running post-install scriptlet: groff-base-0:1.23.0-3.fc40.ppc64le >>> Stop post-install scriptlet: groff-base-0:1.23.0-3.fc40.ppc64le [ 51/192] Installing perl-Digest-0:1.20 100% | 18.0 MiB/s | 37.0 KiB | 00m00s [ 52/192] Installing perl-B-0:1.88-503. 100% | 98.9 MiB/s | 607.6 KiB | 00m00s [ 53/192] Installing perl-FileHandle-0: 100% | 9.5 MiB/s | 9.8 KiB | 00m00s [ 54/192] Installing perl-Digest-MD5-0: 100% | 75.9 MiB/s | 233.3 KiB | 00m00s [ 55/192] Installing perl-Data-Dumper-0 100% | 64.8 MiB/s | 265.2 KiB | 00m00s [ 56/192] Installing perl-libnet-0:3.15 100% | 57.5 MiB/s | 294.3 KiB | 00m00s [ 57/192] Installing perl-AutoLoader-0: 100% | 10.2 MiB/s | 20.9 KiB | 00m00s [ 58/192] Installing perl-URI-0:5.21-1. 100% | 25.7 MiB/s | 236.6 KiB | 00m00s [ 59/192] Installing perl-File-Path-0:2 100% | 31.5 MiB/s | 64.5 KiB | 00m00s [ 60/192] Installing perl-Mozilla-CA-0: 100% | 9.9 MiB/s | 10.2 KiB | 00m00s [ 61/192] Installing perl-Time-Local-2: 100% | 34.4 MiB/s | 70.5 KiB | 00m00s [ 62/192] Installing perl-Pod-Escapes-1 100% | 25.3 MiB/s | 25.9 KiB | 00m00s [ 63/192] Installing perl-Text-Tabs+Wra 100% | 12.1 MiB/s | 24.7 KiB | 00m00s [ 64/192] Installing perl-if-0:0.61.000 100% | 6.1 MiB/s | 6.2 KiB | 00m00s [ 65/192] Installing perl-locale-0:1.10 100% | 6.5 MiB/s | 6.6 KiB | 00m00s [ 66/192] Installing perl-IO-Socket-IP- 100% | 32.7 MiB/s | 100.4 KiB | 00m00s [ 67/192] Installing perl-Net-SSLeay-0: 100% | 82.0 MiB/s | 1.6 MiB | 00m00s [ 68/192] Installing perl-IO-Socket-SSL 100% | 87.0 MiB/s | 623.9 KiB | 00m00s [ 69/192] Installing perl-Class-Struct- 100% | 25.3 MiB/s | 25.9 KiB | 00m00s [ 70/192] Installing perl-Term-ANSIColo 100% | 48.4 MiB/s | 99.1 KiB | 00m00s [ 71/192] Installing perl-Term-Cap-0:1. 100% | 14.9 MiB/s | 30.5 KiB | 00m00s [ 72/192] Installing perl-File-Temp-1:0 100% | 53.4 MiB/s | 164.0 KiB | 00m00s [ 73/192] Installing perl-IPC-Open3-0:1 100% | 22.7 MiB/s | 23.3 KiB | 00m00s [ 74/192] Installing perl-POSIX-0:2.13- 100% | 76.4 MiB/s | 391.1 KiB | 00m00s [ 75/192] Installing perl-Pod-Simple-1: 100% | 61.8 MiB/s | 569.4 KiB | 00m00s [ 76/192] Installing perl-HTTP-Tiny-0:0 100% | 50.2 MiB/s | 154.2 KiB | 00m00s [ 77/192] Installing perl-Socket-4:2.03 100% | 66.7 MiB/s | 273.3 KiB | 00m00s [ 78/192] Installing perl-SelectSaver-0 100% | 2.5 MiB/s | 2.6 KiB | 00m00s [ 79/192] Installing perl-Symbol-0:1.09 100% | 7.0 MiB/s | 7.2 KiB | 00m00s [ 80/192] Installing perl-File-stat-0:1 100% | 12.9 MiB/s | 13.2 KiB | 00m00s [ 81/192] Installing perl-podlators-1:5 100% | 60.9 MiB/s | 312.1 KiB | 00m00s [ 82/192] Installing perl-Pod-Perldoc-0 100% | 41.2 MiB/s | 168.6 KiB | 00m00s [ 83/192] Installing perl-Text-ParseWor 100% | 14.2 MiB/s | 14.5 KiB | 00m00s [ 84/192] Installing perl-base-0:2.27-5 100% | 12.6 MiB/s | 12.9 KiB | 00m00s [ 85/192] Installing perl-Fcntl-0:1.15- 100% | 65.5 MiB/s | 201.4 KiB | 00m00s [ 86/192] Installing perl-mro-0:1.28-50 100% | 102.7 MiB/s | 210.3 KiB | 00m00s [ 87/192] Installing perl-overloading-0 100% | 5.4 MiB/s | 5.5 KiB | 00m00s [ 88/192] Installing perl-IO-0:1.52-503 100% | 63.1 MiB/s | 322.9 KiB | 00m00s [ 89/192] Installing perl-Pod-Usage-4:2 100% | 42.1 MiB/s | 86.3 KiB | 00m00s [ 90/192] Installing perl-vars-0:1.05-5 100% | 4.2 MiB/s | 4.3 KiB | 00m00s [ 91/192] Installing perl-constant-0:1. 100% | 13.4 MiB/s | 27.4 KiB | 00m00s [ 92/192] Installing perl-Errno-0:1.37- 100% | 8.6 MiB/s | 8.8 KiB | 00m00s [ 93/192] Installing perl-Scalar-List-U 100% | 54.8 MiB/s | 280.4 KiB | 00m00s [ 94/192] Installing perl-overload-0:1. 100% | 35.1 MiB/s | 71.9 KiB | 00m00s [ 95/192] Installing perl-Getopt-Std-0: 100% | 11.4 MiB/s | 11.6 KiB | 00m00s [ 96/192] Installing perl-MIME-Base64-0 100% | 72.9 MiB/s | 223.9 KiB | 00m00s [ 97/192] Installing perl-Storable-1:3. 100% | 91.3 MiB/s | 373.8 KiB | 00m00s [ 98/192] Installing perl-parent-1:0.24 100% | 10.2 MiB/s | 10.4 KiB | 00m00s [ 99/192] Installing perl-Getopt-Long-1 100% | 47.8 MiB/s | 146.7 KiB | 00m00s [100/192] Installing perl-File-Basename 100% | 14.2 MiB/s | 14.6 KiB | 00m00s [101/192] Installing perl-Carp-0:1.54-5 100% | 23.3 MiB/s | 47.7 KiB | 00m00s [102/192] Installing perl-Exporter-0:5. 100% | 27.1 MiB/s | 55.5 KiB | 00m00s [103/192] Installing perl-PathTools-0:3 100% | 69.5 MiB/s | 356.0 KiB | 00m00s [104/192] Installing perl-DynaLoader-0: 100% | 15.9 MiB/s | 32.5 KiB | 00m00s [105/192] Installing perl-Encode-4:3.20 100% | 145.4 MiB/s | 10.9 MiB | 00m00s [106/192] Installing perl-libs-4:5.38.2 100% | 92.4 MiB/s | 11.9 MiB | 00m00s [107/192] Installing perl-interpreter-4 100% | 98.1 MiB/s | 301.2 KiB | 00m00s [108/192] Installing perl-English-0:1.1 100% | 6.5 MiB/s | 6.6 KiB | 00m00s [109/192] Installing perl-File-Find-0:1 100% | 13.8 MiB/s | 42.4 KiB | 00m00s [110/192] Installing libwacom-data-0:2. 100% | 17.9 MiB/s | 678.8 KiB | 00m00s [111/192] Installing pixman-0:0.43.0-1. 100% | 70.1 MiB/s | 718.2 KiB | 00m00s [112/192] Installing libstdc++-devel-0: 100% | 96.2 MiB/s | 14.1 MiB | 00m00s [113/192] Installing tzdata-0:2023d-1.f 100% | 16.3 MiB/s | 1.9 MiB | 00m00s [114/192] Installing python-pip-wheel-0 100% | 168.8 MiB/s | 1.5 MiB | 00m00s [115/192] Installing mpdecimal-0:2.5.1- 100% | 107.4 MiB/s | 330.0 KiB | 00m00s [116/192] Installing libb2-0:0.98.1-9.f 100% | 15.3 MiB/s | 203.1 KiB | 00m00s [117/192] Installing python3-libs-0:3.1 100% | 85.2 MiB/s | 53.3 MiB | 00m01s [118/192] Installing python3-0:3.12.1-2 100% | 41.7 MiB/s | 213.4 KiB | 00m00s [119/192] Installing cmake-rpm-macros-0 100% | 2.6 MiB/s | 8.0 KiB | 00m00s [120/192] Installing vulkan-headers-0:1 100% | 126.2 MiB/s | 24.4 MiB | 00m00s [121/192] Installing libwayland-client- 100% | 48.6 MiB/s | 199.1 KiB | 00m00s [122/192] Installing libglvnd-egl-1:1.7 100% | 38.7 MiB/s | 198.4 KiB | 00m00s [123/192] Installing mesa-libEGL-0:23.3 100% | 56.9 MiB/s | 524.8 KiB | 00m00s [124/192] Installing libglvnd-gles-1:1. 100% | 70.7 MiB/s | 651.2 KiB | 00m00s [125/192] Installing xkeyboard-config-0 100% | 59.3 MiB/s | 6.6 MiB | 00m00s [126/192] Installing libxkbcommon-0:1.6 100% | 64.6 MiB/s | 661.5 KiB | 00m00s [127/192] Installing libxkbcommon-x11-0 100% | 47.9 MiB/s | 196.1 KiB | 00m00s [128/192] Installing mtdev-0:1.1.6-6.fc 100% | 38.7 MiB/s | 198.1 KiB | 00m00s [129/192] Installing libX11-common-0:1. 100% | 22.8 MiB/s | 1.2 MiB | 00m00s [130/192] Installing libX11-0:1.8.7-1.f 100% | 72.4 MiB/s | 1.6 MiB | 00m00s [131/192] Installing libXext-0:1.3.5-4. 100% | 53.7 MiB/s | 275.0 KiB | 00m00s [132/192] Installing libXxf86vm-0:1.1.5 100% | 21.5 MiB/s | 198.4 KiB | 00m00s [133/192] Installing libX11-devel-0:1.8 100% | 12.2 MiB/s | 1.1 MiB | 00m00s [134/192] Installing libXrender-0:0.9.1 100% | 48.6 MiB/s | 199.2 KiB | 00m00s [135/192] Installing libXfixes-0:6.0.1- 100% | 48.7 MiB/s | 199.4 KiB | 00m00s [136/192] Installing libglvnd-glx-1:1.7 100% | 86.4 MiB/s | 1.2 MiB | 00m00s [137/192] Installing mesa-libGL-0:23.3. 100% | 64.6 MiB/s | 727.2 KiB | 00m00s [138/192] Installing glx-utils-0:9.0.0- 100% | 82.8 MiB/s | 847.8 KiB | 00m00s [139/192] Installing graphite2-0:1.3.14 100% | 34.7 MiB/s | 497.5 KiB | 00m00s >>> Running pre-install scriptlet: xml-common-0:0.6.3-62.fc40.noarch >>> Stop pre-install scriptlet: xml-common-0:0.6.3-62.fc40.noarch [140/192] Installing xml-common-0:0.6.3 100% | 13.2 MiB/s | 81.1 KiB | 00m00s [141/192] Installing duktape-0:2.7.0-5. 100% | 73.9 MiB/s | 1.0 MiB | 00m00s [142/192] Installing nettle-0:3.9.1-2.f 100% | 66.5 MiB/s | 1.0 MiB | 00m00s [143/192] Installing gnutls-0:3.8.2-2.f 100% | 78.1 MiB/s | 3.7 MiB | 00m00s [144/192] Installing glib2-0:2.78.3-1.f 100% | 78.4 MiB/s | 16.2 MiB | 00m00s [145/192] Installing cairo-0:1.18.0-1.f 100% | 67.2 MiB/s | 2.3 MiB | 00m00s [146/192] Installing harfbuzz-0:8.3.0-2 100% | 78.1 MiB/s | 3.4 MiB | 00m00s [147/192] Installing freetype-0:2.13.1- 100% | 55.5 MiB/s | 1.1 MiB | 00m00s [148/192] Installing fontconfig-0:2.15. 100% | 2.3 MiB/s | 2.5 MiB | 00m01s >>> Running post-install scriptlet: fontconfig-0:2.15.0-1.fc40.ppc64le >>> Stop post-install scriptlet: fontconfig-0:2.15.0-1.fc40.ppc64le [149/192] Installing libproxy-0:0.5.3-3 100% | 47.0 MiB/s | 433.3 KiB | 00m00s [150/192] Installing libgudev-0:238-2.f 100% | 38.0 MiB/s | 233.2 KiB | 00m00s [151/192] Installing libwacom-0:2.9.0-1 100% | 44.3 MiB/s | 408.3 KiB | 00m00s [152/192] Installing libinput-0:1.24.0- 100% | 52.3 MiB/s | 1.7 MiB | 00m00s >>> Running post-install scriptlet: libinput-0:1.24.0-1.fc40.ppc64le >>> Stop post-install scriptlet: libinput-0:1.24.0-1.fc40.ppc64le [153/192] Installing cups-libs-1:2.4.7- 100% | 68.1 MiB/s | 1.1 MiB | 00m00s [154/192] Installing vulkan-loader-0:1. 100% | 60.8 MiB/s | 872.0 KiB | 00m00s [155/192] Installing vulkan-loader-deve 100% | 1.9 MiB/s | 5.9 KiB | 00m00s [156/192] Installing libglvnd-core-deve 100% | 13.4 MiB/s | 41.1 KiB | 00m00s [157/192] Installing libglvnd-devel-1:1 100% | 88.4 MiB/s | 2.1 MiB | 00m00s [158/192] Installing mesa-libEGL-devel- 100% | 10.3 MiB/s | 21.0 KiB | 00m00s [159/192] Installing qt-settings-0:39.1 100% | 559.9 KiB/s | 1.7 KiB | 00m00s [160/192] Installing pcre2-utf16-0:10.4 100% | 77.1 MiB/s | 710.6 KiB | 00m00s [161/192] Installing libicu-0:73.2-3.fc 100% | 87.5 MiB/s | 38.2 MiB | 00m00s [162/192] Installing double-conversion- 100% | 24.9 MiB/s | 204.1 KiB | 00m00s [163/192] Installing qt5-qtbase-common- 100% | 31.6 KiB/s | 356.0 B | 00m00s >>> Running pre-install scriptlet: qt5-qtbase-0:5.15.12-1.fc40.ppc64le >>> Stop pre-install scriptlet: qt5-qtbase-0:5.15.12-1.fc40.ppc64le [164/192] Installing qt5-qtbase-0:5.15. 100% | 73.5 MiB/s | 13.7 MiB | 00m00s >>> Running post-install scriptlet: qt5-qtbase-0:5.15.12-1.fc40.ppc64le >>> Stop post-install scriptlet: qt5-qtbase-0:5.15.12-1.fc40.ppc64le [165/192] Installing qt5-qtbase-gui-0:5 100% | 92.0 MiB/s | 28.9 MiB | 00m00s [166/192] Installing libtool-ltdl-0:2.4 100% | 12.8 MiB/s | 223.2 KiB | 00m00s [167/192] Installing gc-0:8.2.2-4.fc39. 100% | 52.6 MiB/s | 916.2 KiB | 00m00s [168/192] Installing guile22-0:2.2.7-9. 100% | 88.0 MiB/s | 44.6 MiB | 00m01s [169/192] Installing make-1:4.4.1-2.fc3 100% | 51.7 MiB/s | 1.9 MiB | 00m00s [170/192] Installing gcc-0:13.2.1-6.fc4 100% | 88.9 MiB/s | 87.1 MiB | 00m01s >>> Running trigger-install scriptlet: redhat-rpm-config-0:275-1.fc40.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:275-1.fc40.noarch [171/192] Installing cmake-data-0:3.27. 100% | 19.0 MiB/s | 8.4 MiB | 00m00s [172/192] Installing cmake-0:3.27.7-1.f 100% | 86.8 MiB/s | 33.2 MiB | 00m00s [173/192] Installing gcc-c++-0:13.2.1-6 100% | 84.0 MiB/s | 33.6 MiB | 00m00s [174/192] Installing qt5-rpm-macros-0:5 100% | 798.2 KiB/s | 2.4 KiB | 00m00s [175/192] Installing qt5-qttools-common 100% | 3.9 MiB/s | 7.9 KiB | 00m00s [176/192] Installing ntfs-3g-libs-2:202 100% | 58.4 MiB/s | 538.0 KiB | 00m00s [177/192] Installing ncurses-c++-libs-0 100% | 64.2 MiB/s | 394.3 KiB | 00m00s [178/192] Installing libewf-0:20140608- 100% | 73.6 MiB/s | 1.8 MiB | 00m00s [179/192] Installing libcom_err-devel-0 100% | 4.5 MiB/s | 18.3 KiB | 00m00s [180/192] Installing e2fsprogs-libs-0:1 100% | 67.1 MiB/s | 892.6 KiB | 00m00s [181/192] Installing zlib-ng-compat-dev 100% | 24.2 MiB/s | 99.2 KiB | 00m00s [182/192] Installing libewf-devel-0:201 100% | 29.4 MiB/s | 150.6 KiB | 00m00s [183/192] Installing e2fsprogs-devel-0: 100% | 19.3 MiB/s | 197.8 KiB | 00m00s [184/192] Installing ncurses-devel-0:6. 100% | 12.3 MiB/s | 998.9 KiB | 00m00s [185/192] Installing ntfs-3g-devel-2:20 100% | 25.0 MiB/s | 282.1 KiB | 00m00s [186/192] Installing qt5-linguist-0:5.1 100% | 57.3 MiB/s | 4.1 MiB | 00m00s [187/192] Installing qt5-qtbase-devel-0 100% | 43.2 MiB/s | 22.8 MiB | 00m01s [188/192] Installing annobin-plugin-gcc 100% | 27.7 MiB/s | 1.1 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:275-1.fc40.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:275-1.fc40.noarch [189/192] Installing gcc-plugin-annobin 100% | 6.1 MiB/s | 198.4 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:275-1.fc40.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:275-1.fc40.noarch [190/192] Installing desktop-file-utils 100% | 48.2 MiB/s | 641.1 KiB | 00m00s [191/192] Installing libjpeg-turbo-deve 100% | 48.3 MiB/s | 345.9 KiB | 00m00s [192/192] Installing libuuid-devel-0:2. 100% | 26.3 KiB/s | 15.9 KiB | 00m01s >>> Running post-transaction scriptlet: fontconfig-0:2.15.0-1.fc40.ppc64le >>> Stop post-transaction scriptlet: fontconfig-0:2.15.0-1.fc40.ppc64le >>> Running trigger-install scriptlet: glibc-common-0:2.38.9000-30.fc40.ppc64le >>> Stop trigger-install scriptlet: glibc-common-0:2.38.9000-30.fc40.ppc64le >>> Running trigger-install scriptlet: info-0:7.1-1.fc40.ppc64le >>> Stop trigger-install scriptlet: info-0:7.1-1.fc40.ppc64le >>> Running trigger-install scriptlet: glib2-0:2.78.3-1.fc40.ppc64le >>> Stop trigger-install scriptlet: glib2-0:2.78.3-1.fc40.ppc64le >>> Running trigger-install scriptlet: fontconfig-0:2.15.0-1.fc40.ppc64le >>> Stop trigger-install scriptlet: fontconfig-0:2.15.0-1.fc40.ppc64le >>> Running trigger-install scriptlet: desktop-file-utils-0:0.26-9.fc39.ppc64le >>> Stop trigger-install scriptlet: desktop-file-utils-0:0.26-9.fc39.ppc64le Warning: skipped PGP checks for 4 package(s). Finish: build setup for testdisk-7.1-11.fc40.src.rpm Start: rpmbuild testdisk-7.1-11.fc40.src.rpm Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SqJpcG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf testdisk-7.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/testdisk-7.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd testdisk-7.1 + rm -rf /builddir/build/BUILD/testdisk-7.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/testdisk-7.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.THeeUy + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd testdisk-7.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 2019-07-07 14:26:06.000000000 +0000 +++ ./configure 2024-01-10 17:10:08.343317854 +0000 @@ -2107,7 +2107,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 + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=ppc64le-redhat-linux --host=ppc64le-redhat-linux --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 checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu checking target system type... powerpc64le-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for ppc64le-redhat-linux-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 whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for ppc64le-redhat-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ppc64le-redhat-linux-windres... no checking for windres... no configure: WARNING: Could not find a windres tool in your PATH. checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no 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/wait.h that is POSIX.1 compatible... 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 byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cygwin/fs.h usability... no checking cygwin/fs.h presence... no checking for cygwin/fs.h... no checking cygwin/version.h usability... no checking cygwin/version.h presence... no checking for cygwin/version.h... no checking dal/file_dal.h usability... no checking dal/file_dal.h presence... no checking for dal/file_dal.h... no checking dal/file.h usability... no checking dal/file.h presence... no checking for dal/file.h... no checking ddk/ntddstor.h usability... no checking ddk/ntddstor.h presence... no checking for ddk/ntddstor.h... no checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking giconv.h usability... no checking giconv.h presence... no checking for giconv.h... no checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking io.h usability... no checking io.h presence... no checking for io.h... no checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/fs.h usability... yes checking linux/fs.h presence... yes checking for linux/fs.h... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking machine/endian.h usability... no checking machine/endian.h presence... no checking for machine/endian.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/curses.h usability... yes checking ncurses/curses.h presence... yes checking for ncurses/curses.h... yes checking ncurses/ncurses.h usability... yes checking ncurses/ncurses.h presence... yes checking for ncurses/ncurses.h... yes checking ncursesw/curses.h usability... yes checking ncursesw/curses.h presence... yes checking for ncursesw/curses.h... yes checking ncursesw/ncurses.h usability... yes checking ncursesw/ncurses.h presence... yes checking for ncursesw/ncurses.h... yes checking ntfs/version.h usability... no checking ntfs/version.h presence... no checking for ntfs/version.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking scsi/scsi.h usability... yes checking scsi/scsi.h presence... yes checking for scsi/scsi.h... yes checking scsi/scsi_ioctl.h usability... yes checking scsi/scsi_ioctl.h presence... yes checking for scsi/scsi_ioctl.h... yes checking scsi/sg.h usability... yes checking scsi/sg.h presence... yes checking for scsi/sg.h... yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/cygwin.h usability... no checking sys/cygwin.h presence... no checking for sys/cygwin.h... no checking sys/disk.h usability... no checking sys/disk.h presence... no checking for sys/disk.h... no checking sys/disklabel.h usability... no checking sys/disklabel.h presence... no checking for sys/disklabel.h... no checking sys/dkio.h usability... no checking sys/dkio.h presence... no checking for sys/dkio.h... no checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking sys/vtoc.h usability... no checking sys/vtoc.h presence... no checking for sys/vtoc.h... no checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking w32api/ddk/ntdddisk.h usability... no checking w32api/ddk/ntdddisk.h presence... no checking for w32api/ddk/ntdddisk.h... no checking windef.h usability... no checking windef.h presence... no checking for windef.h... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking iconv support... yes, in libc checking for sys/mount.h... yes checking for winbase.h... no checking for winioctl.h... no checking for w32api/winioctl.h... no checking for ext2fs/ext2_fs.h... yes checking for ext2fs/ext2fs.h... yes checking for off64_t... yes checking libewf.h usability... yes checking libewf.h presence... yes checking for libewf.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking ntfs/attrib.h usability... no checking ntfs/attrib.h presence... no checking for ntfs/attrib.h... no configure: WARNING: Disable use of ntfs library checking ntfs/volume.h usability... no checking ntfs/volume.h presence... no checking for ntfs/volume.h... no configure: WARNING: Disable use of ntfs library checking ntfs-3g/attrib.h usability... yes checking ntfs-3g/attrib.h presence... yes checking for ntfs-3g/attrib.h... yes checking ntfs-3g/volume.h usability... yes checking ntfs-3g/volume.h presence... yes checking for ntfs-3g/volume.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for inline... inline checking for off_t... yes checking for size_t... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blksize... yes checking for struct stat.st_rdev... yes checking for dal_t.block_size... no checking for dal_t.error... no checking for dal_t.entity... no checking for dal_t.name... no checking for struct dal_ops.dev... no checking for struct struct_io_manager.set_option... yes checking for struct struct_io_manager.read_blk64... yes checking for struct struct_io_manager.write_blk64... yes checking for struct tm.tm_gmtoff... no checking whether gcc needs -traditional... no checking for initscr in -lncursesw... yes checking for keypad in -ltinfow... no checking for keypad in -ltinfo... yes checking for assume_default_colors... yes checking for com_err in -lcom_err... yes checking for ext2fs_open in -lext2fs... yes checking for ext2fs_get_generic_bitmap_start... yes checking for jpeg_std_error in -ljpeg... yes checking for ntfs_device_mount in -lntfs-3g... yes checking for libreiserfs_get_version in -lreiserfs... no configure: WARNING: No reiserfs library detected checking sys/uuid.h usability... no checking sys/uuid.h presence... no checking for sys/uuid.h... no checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking uuid.h usability... no checking uuid.h presence... no checking for uuid.h... no checking for uuidgen... no checking for library containing uuid_generate... -luuid checking for uuid_create... no checking for uuid_generate... yes checking for compress2 in -lz... yes checking for libewf_check_file_signature in -lewf... yes checking for libewf_handle_t... yes checking whether gcc understands -Wdeclaration-after-statement... yes checking whether gcc understands -Wall... yes checking whether gcc understands -Wextra... yes checking whether gcc understands -MD... yes checking whether gcc understands -Wpointer-arith... yes checking whether gcc understands -Wmissing-declarations... yes checking whether gcc understands -Wmissing-prototypes... yes checking whether gcc understands -Wstrict-prototypes... yes checking whether gcc understands -Wshadow... yes checking whether gcc understands -Wwrite-strings... yes checking whether gcc understands -W... yes checking whether gcc understands -Wcast-align... yes checking whether gcc understands -Waggregate-return... yes checking whether gcc understands -Wbad-function-cast... yes checking whether gcc understands -Wcast-qual... yes checking whether gcc understands -Wundef... yes checking whether gcc understands -Wredundant-decls... yes checking whether gcc understands -Wsign-compare... yes checking whether gcc understands -Wnested-externs... yes checking whether gcc understands -Winline... yes checking whether gcc understands -Wdisabled-optimization... yes checking whether gcc understands -Wfloat-equal... yes checking whether gcc understands -Wmissing-format-attribute... yes checking whether gcc understands -Wmultichar... yes checking whether gcc understands -Wc++-compat... yes checking whether gcc understands -Wformat=2... yes checking whether gcc understands -Wunreachable-code... yes checking whether gcc understands -Wvla... yes checking whether g++ understands -Wall... yes checking whether g++ understands -MD... yes checking whether g++ understands -Wpointer-arith... yes checking whether g++ understands -Wmissing-declarations... yes checking whether g++ understands -Wshadow... yes checking whether g++ understands -Wwrite-strings... yes checking whether g++ understands -W... yes checking whether g++ understands -Wcast-align... yes checking whether g++ understands -Wcast-qual... yes checking whether g++ understands -Wundef... yes checking whether g++ understands -Wredundant-decls... yes checking whether g++ understands -Wsign-compare... yes checking whether g++ understands -Wdisabled-optimization... yes checking whether g++ understands -Wmissing-format-attribute... yes checking whether g++ understands -Wmultichar... yes checking whether g++ understands -Wformat=2... yes checking whether g++ understands -fvisibility=hidden... yes checking whether g++ understands -fvisibility-inlines-hidden... yes checking whether g++ understands -fPIC... yes checking whether g++ understands -Wvla... yes checking for pread... yes checking for atexit... yes checking for atoll... yes checking for chdir... yes checking for chmod... yes checking for delscreen... no checking for dirname... yes checking for dup2... yes checking for execv... yes checking for fdatasync... yes checking for fseeko... yes checking for fsync... yes checking for ftello... yes checking for ftruncate... yes checking for getcwd... yes checking for geteuid... yes checking for getpwuid... yes checking for libewf_handle_read_buffer_at_offset... no checking for libewf_handle_write_buffer_at_offset... no checking for localtime_r... yes checking for lstat... yes checking for memalign... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for posix_fadvise... yes checking for posix_memalign... yes checking for pwrite... yes checking for readlink... yes checking for setenv... yes checking for setlocale... yes checking for sigaction... yes checking for signal... yes checking for sleep... yes checking for snprintf... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strptime... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking for touchwin... no checking for uname... yes checking for utime... yes checking for vsnprintf... yes checking for wctomb... yes checking for reiserfs_fs_open_fast... no checking for ntfs_libntfs_version... no checking for ntfs_volume_startup... yes checking for QT5GUI... yes checking for QT5WIDGETS... yes checking whether Qt5 is using --std=c++14... yes checking whether g++ understands --std=c++14... yes checking for ppc64le-redhat-linux-moc-qt5... no checking for ppc64le-redhat-linux-moc... no checking for moc-qt5... moc-qt5 checking for ppc64le-redhat-linux-rcc-qt5... no checking for ppc64le-redhat-linux-rcc... no checking for rcc-qt5... rcc-qt5 checking for ppc64le-redhat-linux-lrelease-qt5... no checking for ppc64le-redhat-linux-lrelease... no checking for lrelease-qt5... lrelease-qt5 checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... no checking whether pthreads work with -pthreads... no checking whether pthreads work with -mthreads... no checking for the pthreads library -lpthread... no checking whether pthreads work with --thread-safe... no checking whether pthreads work with -mt... no checking for pthread-config... no checking whether stack protection works with gcc... yes checking whether stack protection works with g++... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating icons/Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating man/testdisk.8 config.status: creating man/photorec.8 config.status: creating man/qphotorec.8 config.status: creating man/fidentify.8 config.status: creating man/zh_CN/Makefile config.status: creating man/zh_CN/testdisk.8 config.status: creating man/zh_CN/photorec.8 config.status: creating man/zh_CN/qphotorec.8 config.status: creating man/zh_CN/fidentify.8 config.status: creating linux/testdisk.spec config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j5 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in icons make[2]: Nothing to be done for 'all'. Making all in man Making all in zh_CN make[3]: Nothing to be done for 'all'. make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o crc.o crc.c In file included from crc.c:26: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o autoset.o autoset.c In file included from autoset.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o common.o common.c In file included from common.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdwin32.o hdwin32.c In file included from hdwin32.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ewf.o ewf.c In file included from ewf.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition ewf.c: In function ‘fewf_sync’: ewf.c:427:30: warning: unused parameter ‘disk’ [-Wunused-parameter] 427 | static int fewf_sync(disk_t *disk) | ~~~~~~~~^~~~ ewf.c: In function ‘fewf_nopwrite’: ewf.c:507:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 507 | static int fewf_nopwrite(disk_t *disk, const void *buffer, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdcache.o hdcache.c In file included from hdcache.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hidden.o hidden.c In file included from hidden.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fnctdsk.o fnctdsk.c In file included from fnctdsk.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o iso.o iso.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from iso.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o list_sort.o list_sort.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from list_sort.c:22: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpa_dco.o hpa_dco.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from hpa_dco.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrf.o intrf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from intrf.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o msdos.o msdos.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from msdos.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o log_part.o log_part.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from log_part.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o misc.o misc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from misc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o log.o log.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from log.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parthumax.o parthumax.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from parthumax.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition parthumax.c: In function ‘read_part_humax’: parthumax.c:109:65: warning: unused parameter ‘verbose’ [-Wunused-parameter] 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~ parthumax.c:109:84: warning: unused parameter ‘saveheader’ [-Wunused-parameter] 109 | static list_part_t *read_part_humax(disk_t *disk_car, const int verbose, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ parthumax.c: In function ‘write_part_humax’: parthumax.c:159:37: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ parthumax.c:159:66: warning: unused parameter ‘list_part’ [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ parthumax.c:159:101: warning: unused parameter ‘verbose’ [-Wunused-parameter] 159 | static int write_part_humax(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function ‘init_part_order_humax’: parthumax.c:167:57: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 167 | static list_part_t *init_part_order_humax(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function ‘set_next_status_humax’: parthumax.c:235:49: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 235 | static void set_next_status_humax(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ parthumax.c: In function ‘init_structure_humax’: parthumax.c:271:91: warning: unused parameter ‘verbose’ [-Wunused-parameter] 271 | static void init_structure_humax(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ parthumax.c: In function ‘get_partition_typename_humax’: parthumax.c:305:68: warning: unused parameter ‘partition’ [-Wunused-parameter] 305 | static const char *get_partition_typename_humax(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hdaccess.o hdaccess.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from hdaccess.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition hdaccess.c: In function ‘disk_get_model’: hdaccess.c:991:76: warning: unused parameter ‘verbose’ [-Wunused-parameter] 991 | static void disk_get_model(const int hd_h, disk_t *dev, const unsigned int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~ hdaccess.c: In function ‘file_nopwrite’: hdaccess.c:1346:56: warning: unused parameter ‘buf’ [-Wunused-parameter] 1346 | static int file_nopwrite(disk_t *disk_car, const void *buf, const unsigned int count, const uint64_t offset) | ~~~~~~~~~~~~^~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmac.o partmac.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partmac.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition partmac.c: In function ‘write_part_mac’: partmac.c:200:35: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partmac.c:200:64: warning: unused parameter ‘list_part’ [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partmac.c:200:99: warning: unused parameter ‘verbose’ [-Wunused-parameter] 200 | static int write_part_mac(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partmac.c: In function ‘init_part_order_mac’: partmac.c:208:55: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 208 | static list_part_t *init_part_order_mac(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function ‘set_next_status_mac’: partmac.c:272:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 272 | static void set_next_status_mac(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partmac.c: In function ‘init_structure_mac’: partmac.c:305:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 305 | static void init_structure_mac(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ In file included from partmac.c:38: partmac.c: In function ‘read_part_mac’: partmac.c:133:17: warning: array subscript ‘struct mac_DPME[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 133 | if(be16(dpme->dpme_signature) != DPME_SIGNATURE) | ^~ partmac.c:112:17: note: object ‘buffer’ of size 512 112 | unsigned char buffer[DEFAULT_SECTOR_SIZE]; | ^~~~~~ partmac.c:183:53: warning: array subscript ‘struct mac_DPME[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 183 | new_partition->part_offset=(uint64_t)be32(dpme->dpme_pblock_start)*PBLOCK_SIZE; | ^~ partmac.c:112:17: note: object ‘buffer’ of size 512 112 | unsigned char buffer[DEFAULT_SECTOR_SIZE]; | ^~~~~~ partmac.c:184:51: warning: array subscript ‘struct mac_DPME[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 184 | new_partition->part_size=(uint64_t)be32(dpme->dpme_pblocks)*PBLOCK_SIZE; | ^~ partmac.c:112:17: note: object ‘buffer’ of size 512 112 | unsigned char buffer[DEFAULT_SECTOR_SIZE]; | ^~~~~~ partmac.c:193:24: warning: array subscript ‘struct mac_DPME[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 193 | limit=be32(dpme->dpme_map_entries); | ^~ partmac.c:112:17: note: object ‘buffer’ of size 512 112 | unsigned char buffer[DEFAULT_SECTOR_SIZE]; | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsun.o partsun.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partsun.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition partsun.c: In function ‘write_part_sun’: partsun.c:178:35: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partsun.c:178:64: warning: unused parameter ‘list_part’ [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partsun.c:178:99: warning: unused parameter ‘verbose’ [-Wunused-parameter] 178 | static int write_part_sun(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partsun.c: In function ‘set_next_status_sun’: partsun.c:269:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 269 | static void set_next_status_sun(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partsun.c: In function ‘init_structure_sun’: partsun.c:301:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 301 | static void init_structure_sun(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgpt.o partgpt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partgpt.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition partgpt.c: In function ‘init_part_order_gpt’: partgpt.c:327:55: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 327 | static list_part_t *init_part_order_gpt(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function ‘set_next_status_gpt’: partgpt.c:400:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 400 | static void set_next_status_gpt(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partgpt.c: In function ‘init_structure_gpt’: partgpt.c:423:89: warning: unused parameter ‘verbose’ [-Wunused-parameter] 423 | static void init_structure_gpt(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partnone.o partnone.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partnone.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition partnone.c: In function ‘get_geometry_from_nonembr’: partnone.c:176:77: warning: unused parameter ‘verbose’ [-Wunused-parameter] 176 | static int get_geometry_from_nonembr(const unsigned char *buffer, const int verbose, CHSgeometry_t *geometry) | ~~~~~~~~~~^~~~~~~ partnone.c: In function ‘init_part_order_none’: partnone.c:306:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 306 | static list_part_t *init_part_order_none(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c: In function ‘set_next_status_none’: partnone.c:312:48: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:312:71: warning: unused parameter ‘partition’ [-Wunused-parameter] 312 | static void set_next_status_none(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘test_structure_none’: partnone.c:316:45: warning: unused parameter ‘list_part’ [-Wunused-parameter] 316 | static int test_structure_none(list_part_t *list_part) | ~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘is_part_known_none’: partnone.c:327:50: warning: unused parameter ‘partition’ [-Wunused-parameter] 327 | static int is_part_known_none(const partition_t *partition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partnone.c: In function ‘init_structure_none’: partnone.c:332:47: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~~~~~^~~~~~~~ partnone.c:332:90: warning: unused parameter ‘verbose’ [-Wunused-parameter] 332 | static void init_structure_none(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ partnone.c: In function ‘check_part_none’: partnone.c:341:97: warning: unused parameter ‘saveheader’ [-Wunused-parameter] 341 | static int check_part_none(disk_t *disk_car,const int verbose,partition_t *partition, const int saveheader) | ~~~~~~~~~~^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_io.o ntfs_io.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_io.c:26: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition ntfs_io.c: In function ‘ntfs_device_testdisk_io_stat’: ntfs_io.c:148:61: warning: unused parameter ‘dev’ [-Wunused-parameter] 148 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:148:79: warning: unused parameter ‘buf’ [-Wunused-parameter] 148 | static int ntfs_device_testdisk_io_stat(struct ntfs_device *dev, struct stat *buf) | ~~~~~~~~~~~~~^~~ ntfs_io.c: In function ‘ntfs_device_testdisk_io_ioctl’: ntfs_io.c:157:62: warning: unused parameter ‘dev’ [-Wunused-parameter] 157 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~~~~~~~~~~~~~~~~~^~~ ntfs_io.c:157:71: warning: unused parameter ‘request’ [-Wunused-parameter] 157 | static int ntfs_device_testdisk_io_ioctl(struct ntfs_device *dev, int request, | ~~~~^~~~~~~ ntfs_io.c:158:23: warning: unused parameter ‘argp’ [-Wunused-parameter] 158 | void *argp) | ~~~~~~^~~~ ntfs_io.c: At top level: ntfs_io.c:180:27: warning: initialization of ‘int (*)(struct ntfs_device *, long unsigned int, void *)’ from incompatible pointer type ‘int (*)(struct ntfs_device *, int, void *)’ [-Wincompatible-pointer-types] 180 | .ioctl = &ntfs_device_testdisk_io_ioctl, | ^ ntfs_io.c:180:27: note: (near initialization for ‘ntfs_device_testdisk_io_ops.ioctl’) make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxbox.o partxbox.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partxbox.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition partxbox.c: In function ‘write_part_xbox’: partxbox.c:135:36: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partxbox.c:135:65: warning: unused parameter ‘list_part’ [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partxbox.c:135:100: warning: unused parameter ‘verbose’ [-Wunused-parameter] 135 | static int write_part_xbox(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ partxbox.c: In function ‘init_part_order_xbox’: partxbox.c:143:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 143 | static list_part_t *init_part_order_xbox(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function ‘set_next_status_xbox’: partxbox.c:207:48: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 207 | static void set_next_status_xbox(const disk_t *disk_car, partition_t *partition) | ~~~~~~~~~~~~~~^~~~~~~~ partxbox.c: In function ‘init_structure_xbox’: partxbox.c:240:90: warning: unused parameter ‘verbose’ [-Wunused-parameter] 240 | static void init_structure_xbox(const disk_t *disk_car,list_part_t *list_part, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sudo.o sudo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from sudo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o io_redir.o io_redir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from io_redir.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o win32.o win32.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from win32.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partauto.o partauto.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partauto.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o unicode.o unicode.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from unicode.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_utl.o ntfs_utl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_utl.c:27: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o bfs.o bfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from bfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o btrfs.o btrfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from btrfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o bsd.o bsd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from bsd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o cramfs.o cramfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from cramfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat.o exfat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from exfat.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386.o parti386.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from parti386.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition parti386.c: In function ‘init_part_order_i386’: parti386.c:329:56: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 329 | static list_part_t *init_part_order_i386(const disk_t *disk_car, list_part_t *list_part) | ~~~~~~~~~~~~~~^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_common.o ext2_common.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ext2_common.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o analyse.o analyse.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from analyse.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_common.o fat_common.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from fat_common.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2.o ext2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ext2.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatx.o fatx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from fatx.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o jfs.o jfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from jfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition In file included from gfs2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o gfs2.o gfs2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o f2fs.o f2fs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from f2fs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition f2fs.c: In function ‘recover_f2fs’: f2fs.c:90:32: warning: unused parameter ‘disk’ [-Wunused-parameter] 90 | int recover_f2fs(const disk_t *disk, const struct f2fs_super_block *hdr, partition_t *partition) | ~~~~~~~~~~~~~~^~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfs.o hfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from hfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o luks.o luks.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from luks.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hpfs.o hpfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from hpfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hfsp.o hfsp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from hfsp.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o netware.o netware.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from netware.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o lvm.o lvm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from lvm.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o refs.o refs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from refs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs.o ntfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs.c:28: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition ntfs.c: In function ‘ntfs_searchattribute’: ntfs.c:204:25: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] 204 | le32(attrib->type)!= -1) | ^~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs.o rfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from rfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o savehdr.o savehdr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from savehdr.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sun.o sun.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from sun.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o md.o md.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from md.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o swap.o swap.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from swap.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sysv.o sysv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from sysv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat.o fat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from fat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o vmfs.o vmfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from vmfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o wbfs.o wbfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from wbfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpart.o addpart.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from addpart.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o xfs.o xfs.c In file included from xfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o zfs.o zfs.c In file included from zfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o addpartn.o addpartn.c In file included from addpartn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ufs.o ufs.c In file included from ufs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtype.o chgtype.c In file included from chgtype.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarch.o chgarch.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from chgarch.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgarchn.o chgarchn.c In file included from chgarchn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o askloc.o askloc.c In file included from askloc.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition askloc.c: In function ‘ask_location’: askloc.c:314:9: warning: format not a string literal, argument types not checked [-Wformat-nonliteral] 314 | line_directory=aff_txt(2, window, msg, src_dir); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dimage.o dimage.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from dimage.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o adv.o adv.c In file included from adv.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskacc.o diskacc.c In file included from diskacc.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o chgtypen.o chgtypen.c In file included from chgtypen.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirpart.o dirpart.c In file included from dirpart.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o diskcapa.o diskcapa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from diskcapa.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o edit.o edit.c In file included from edit.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sb.o ext2_sb.c In file included from ext2_sb.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat1x.o fat1x.c In file included from fat1x.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_sbn.o ext2_sbn.c In file included from ext2_sbn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat32.o fat32.c In file included from fat32.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatn.o fatn.c In file included from fatn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_cluster.o fat_cluster.c In file included from fat_cluster.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometry.o geometry.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from geometry.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o geometryn.o geometryn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from geometryn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dirn.o dirn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from dirn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o hiddenn.o hiddenn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from hiddenn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o nodisk.o nodisk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from nodisk.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrface.o intrface.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from intrface.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_adv.o ntfs_adv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_adv.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition ntfs_adv.c: In function ‘create_ntfs_boot_sector’: ntfs_adv.c:271:40: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 271 | mft_record_size / cluster_size : -(testdisk_ffs(mft_record_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ntfs_adv.c:273:41: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘uint32_t’ {aka ‘unsigned int’} due to unsignedness of other operand [-Wsign-compare] 273 | index_block_size / cluster_size : -(testdisk_ffs(index_block_size) - 1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_fix.o ntfs_fix.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from ntfs_fix.c:21: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o intrfn.o intrfn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from intrfn.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o parti386n.o parti386n.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from parti386n.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptn.o partgptn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from partgptn.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partmacn.o partmacn.c In file included from partmacn.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partsunn.o partsunn.c In file included from partsunn.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partxboxn.o partxboxn.c In file included from partxboxn.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tanalyse.o tanalyse.c In file included from tanalyse.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdelete.o tdelete.c In file included from tdelete.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tbanner.o tbanner.c In file included from tbanner.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o godmode.o godmode.c In file included from godmode.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition godmode.c: In function ‘search_part’: godmode.c:605:44: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 605 | wprintw(stdscr,"Analyse cylinder %5u/%u: %02u%%", | ~~^ | | | unsigned int | %5lu 606 | start.cylinder, disk_car->geom.cylinders-1, | ~~~~~~~~~~~~~~ | | | long unsigned int godmode.c:605:47: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] 605 | wprintw(stdscr,"Analyse cylinder %5u/%u: %02u%%", | ~^ | | | unsigned int | %lu 606 | start.cylinder, disk_car->geom.cylinders-1, | ~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int In file included from godmode.c:35: lang.h:24:27: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 24 | #define msg_READ_ERROR_AT "Read error at %u/%u/%u (lba=%lu)\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ godmode.c:849:26: note: in expansion of macro ‘msg_READ_ERROR_AT’ 849 | wprintw(stdscr,msg_READ_ERROR_AT, start.cylinder,start.head,start.sector,(unsigned long)(partition->part_offset/disk_car->sector_size)); | ^~~~~~~~~~~~~~~~~ lang.h:24:43: note: format string is defined here 24 | #define msg_READ_ERROR_AT "Read error at %u/%u/%u (lba=%lu)\n" | ~^ | | | unsigned int | %lu make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_udl.o ntfs_udl.c In file included from ntfs_udl.c:28: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition ntfs_udl.c: In function ‘get_parent_name’: ntfs_udl.c:305:40: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member] 305 | if (ntfs_ucstombs(filename_attr->file_name, | ~~~~~~~~~~~~~^~~~~~~~~~~ ntfs_udl.c: In function ‘get_filenames’: ntfs_udl.c:394:36: warning: taking address of packed member of ‘struct ’ may result in an unaligned pointer value [-Waddress-of-packed-member] 394 | name->uname = attr->file_name; | ^~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdiskop.o tdiskop.c In file included from tdiskop.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tdisksel.o tdisksel.c In file included from tdisksel.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o texfat.o texfat.c In file included from texfat.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o thfs.o thfs.c In file included from thfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tlog.o tlog.c In file included from tlog.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tmbrcode.o tmbrcode.c In file included from tmbrcode.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tload.o tload.c In file included from tload.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o testdisk.o testdisk.c In file included from testdisk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tntfs.o tntfs.c In file included from tntfs.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o toptions.o toptions.c In file included from toptions.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o tpartwr.o tpartwr.c In file included from tpartwr.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_adv.o fat_adv.c In file included from fat_adv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition fat_adv.c: In function ‘file2entry’: fat_adv.c:626:44: warning: taking address of packed member of ‘struct msdos_dir_entry’ may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ fat_adv.c:626:54: warning: taking address of packed member of ‘struct msdos_dir_entry’ may result in an unaligned pointer value [-Waddress-of-packed-member] 626 | fat_date_unix2dos(current_file->td_mtime,&de->time,&de->date); | ^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfat_dir.o exfat_dir.c In file included from exfat_dir.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition exfat_dir.c: In function ‘exfat_ucstoutf8’: exfat_dir.c:93:17: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 93 | if (iconv(cd, (char **)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dir.o dir.c In file included from dir.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2_dir.o ext2_dir.c In file included from ext2_dir.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition ext2_dir.c: In function ‘alloc_io_channel’: ext2_dir.c:108:44: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 108 | static io_channel alloc_io_channel(disk_t *disk_car,my_data_t *my_data) | ~~~~~~~~^~~~~~~~ ext2_dir.c: In function ‘my_open’: ext2_dir.c:135:38: warning: unused parameter ‘dev’ [-Wunused-parameter] 135 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~~~~~~~~~^~~ ext2_dir.c:135:47: warning: unused parameter ‘flags’ [-Wunused-parameter] 135 | static errcode_t my_open(const char *dev, int flags, io_channel *channel) | ~~~~^~~~~ ext2_dir.c: In function ‘my_flush’: ext2_dir.c:209:38: warning: unused parameter ‘channel’ [-Wunused-parameter] 209 | static errcode_t my_flush(io_channel channel) | ~~~~~~~~~~~^~~~~~~ ext2_dir.c: In function ‘list_dir_proc2’: ext2_dir.c:214:38: warning: unused parameter ‘dir’ [-Wunused-parameter] 214 | static int list_dir_proc2(ext2_ino_t dir, | ~~~~~~~~~~~^~~ ext2_dir.c:217:33: warning: unused parameter ‘offset’ [-Wunused-parameter] 217 | int offset, | ~~~~~~~^~~~~~ ext2_dir.c:218:33: warning: unused parameter ‘blocksize’ [-Wunused-parameter] 218 | int blocksize, | ~~~~~~~^~~~~~~~~ ext2_dir.c:219:34: warning: unused parameter ‘buf’ [-Wunused-parameter] 219 | char *buf, | ~~~~~~~~^~~ ext2_dir.c: In function ‘ext2_dir’: ext2_dir.c:267:29: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 267 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ext2_dir.c:267:58: warning: unused parameter ‘partition’ [-Wunused-parameter] 267 | static int ext2_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ext2_dir.c: In function ‘ext2_copy’: ext2_dir.c:288:30: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 288 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ext2_dir.c:288:59: warning: unused parameter ‘partition’ [-Wunused-parameter] 288 | static int ext2_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o rfs_dir.o rfs_dir.c In file included from rfs_dir.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition rfs_dir.c: In function ‘dir_partition_reiser_init’: rfs_dir.c:548:51: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~^~~~~~~~ rfs_dir.c:548:80: warning: unused parameter ‘partition’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ rfs_dir.c:548:103: warning: unused parameter ‘dir_data’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~~~^~~~~~~~ rfs_dir.c:548:123: warning: unused parameter ‘verbose’ [-Wunused-parameter] 548 | dir_partition_t dir_partition_reiser_init(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o setdate.o setdate.c In file included from setdate.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptw.o partgptw.c In file included from partgptw.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition partgptw.c: In function ‘write_part_gpt’: partgptw.c:244:87: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 244 | if(disk_car->pread(disk_car, gpt_org, disk_car->sector_size, disk_car->sector_size) == disk_car->sector_size) | ^~ partgptw.c:219:92: warning: unused parameter ‘verbose’ [-Wunused-parameter] 219 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o next.o next.c In file included from next.c:28: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfs_dir.o ntfs_dir.c In file included from ntfs_dir.c:27: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition ntfs_dir.c: In function ‘ntfs_ucstoutf8’: ntfs_dir.c:151:19: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 151 | if (iconv(cd, (char**)&inp, &inb_left, &outp, &outb_left) == (size_t)(-1)) | ^ ntfs_dir.c: In function ‘ntfs_td_list_entry’: ntfs_dir.c:167:68: warning: unused parameter ‘pos’ [-Wunused-parameter] 167 | const int name_len, const int name_type, const s64 pos, | ~~~~~~~~~~^~~ ntfs_dir.c: In function ‘ntfs_dir’: ntfs_dir.c:299:29: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 299 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:299:58: warning: unused parameter ‘partition’ [-Wunused-parameter] 299 | static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const unsigned long int cluster, file_info_t *dir_list) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ ntfs_dir.c: In function ‘ntfs_copy’: ntfs_dir.c:334:30: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 334 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~^~~~~~~~ ntfs_dir.c:334:59: warning: unused parameter ‘partition’ [-Wunused-parameter] 334 | static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_dir.o fat_dir.c In file included from fat_dir.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition fat_dir.c: In function ‘dir_fat_aux’: fat_dir.c:102:24: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 102 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:109:26: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 109 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:126:26: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 126 | ds = (const struct msdos_dir_slot *) de_initial; | ^~~~~~~~~~~~~~ fat_dir.c:160:24: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 160 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ fat_dir.c:191:28: warning: converting a packed ‘const struct msdos_dir_entry’ pointer (alignment 1) to a ‘const struct msdos_dir_slot’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 191 | ds = (const struct msdos_dir_slot *) de; | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o exfatp.o exfatp.c In file included from exfatp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcfg.o phcfg.c In file included from phcfg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2grp.o ext2grp.c In file included from ext2grp.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phmain.o phmain.c In file included from phmain.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ext2p.o ext2p.c In file included from ext2p.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_found.o file_found.c In file included from file_found.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fatp.o fatp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from fatp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdisksel.o pdisksel.c In file included from pdisksel.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ntfsp.o ntfsp.c In file included from ntfsp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o poptions.o poptions.c In file included from poptions.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phcli.o phcli.c In file included from phcli.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pbanner.o pbanner.c In file included from pbanner.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o sessionp.o sessionp.c In file included from sessionp.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition sessionp.c: In function ‘session_save’: sessionp.c:291:60: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 291 | if(params->status!=STATUS_FIND_OFFSET && params->offset!=-1) | ^~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pblocksize.o pblocksize.c In file included from pblocksize.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o photorec.o photorec.c In file included from photorec.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition photorec.c: In function ‘set_search_start’: photorec.c:744:20: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 744 | if(params->offset!=-1) | ^~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pfree_whole.o pfree_whole.c In file included from pfree_whole.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o dfxml.o dfxml.c In file included from dfxml.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o pdiskseln.o pdiskseln.c In file included from pdiskseln.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fat_unformat.o fat_unformat.c In file included from fat_unformat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbs.o phbs.c In file included from phbs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phnc.o phnc.c In file included from phnc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o ppartseln.o ppartseln.c In file included from ppartseln.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_list.o file_list.c In file included from file_list.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o psearchn.o psearchn.c In file included from psearchn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_1cd.o file_1cd.c In file included from file_1cd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_1cd.c: In function ‘header_check_1cd’: file_1cd.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_1cd.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_1cd.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_1cd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_3dm.o file_3dm.c In file included from file_3dm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_3dm.c: In function ‘header_check_3dm’: file_3dm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_3dm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_3dm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_DB.o file_DB.c In file included from file_DB.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_DB.c: In function ‘header_check_DB’: file_DB.c:43:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_DB.c:43:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_DB.c:43:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_DB.c:43:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_DB(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_7z.o file_7z.c In file included from file_7z.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_7z.c: In function ‘header_check_7z’: file_7z.c:55:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_7z.c:55:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_7z.c:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_7z(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phbf.o phbf.c In file included from phbf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_a.o file_a.c In file included from file_a.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_a.c: In function ‘header_check_a’: file_a.c:55:75: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_a.c:55:107: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_a.c:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_a(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o phrecn.o phrecn.c In file included from phrecn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ab.o file_ab.c In file included from file_ab.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ab.c: In function ‘header_check_addressbook’: file_ab.c:71:85: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ab.c:71:117: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ab.c:71:158: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_addressbook(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_abr.o file_abr.c In file included from file_abr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_abr.c: In function ‘header_check_abr’: file_abr.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_abr.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_abr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_acb.o file_acb.c In file included from file_acb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_acb.c: In function ‘header_check_acb’: file_acb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_acb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_acb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_acb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_acb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ace.o file_ace.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ace.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ace.c: In function ‘header_check_ace’: file_ace.c:173:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ace.c:173:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ace.c:173:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 173 | static int header_check_ace(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ado.o file_ado.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ado.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ado.c: In function ‘header_check_ado’: file_ado.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ado.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ado.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ado(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ahn.o file_ahn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ahn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ahn.c: In function ‘header_check_ahn’: file_ahn.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ahn.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ahn.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ahn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_afdesign.o file_afdesign.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_afdesign.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_afdesign.c: In function ‘header_check_afdesign’: file_afdesign.c:63:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_afdesign.c:63:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_afdesign.c:63:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_afdesign(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_aif.o file_aif.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_aif.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_aif.c: In function ‘header_check_aif’: file_aif.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_aif.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_aif.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_aif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_all.o file_all.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_all.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_all.c: In function ‘header_check_all’: file_all.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_all.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_all.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_all.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_all(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_als.o file_als.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_als.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_als.c: In function ‘header_check_als’: file_als.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_als.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_als.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_als(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o filegen.o filegen.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from filegen.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition filegen.c: In function ‘data_check_size’: filegen.c:282:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 282 | data_check_t data_check_size(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amd.o file_amd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_amd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_amd.c: In function ‘header_check_amd’: file_amd.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amd.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amd.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_amd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_amd.c: In function ‘header_check_amt’: file_amd.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amd.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amd.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_amt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apa.o file_apa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_apa.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_apa.c: In function ‘header_check_apa’: file_apa.c:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_apa.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_apa.c:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_apa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_amr.o file_amr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_amr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_amr.c: In function ‘header_check_amr’: file_amr.c:74:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_amr.c:74:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_amr.c:74:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_amr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_apple.o file_apple.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_apple.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_apple.c: In function ‘header_check_apple’: file_apple.c:43:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_apple.c:43:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_apple.c:43:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_apple.c:43:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_apple(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ape.o file_ape.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ape.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ape.c: In function ‘header_check_ape’: file_ape.c:102:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 102 | static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ape.c:102:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 102 | static int header_check_ape(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ari.o file_ari.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ari.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ari.c: In function ‘header_check_ari’: file_ari.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ari.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ari.c:57:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 57 | static int header_check_ari(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asl.o file_asl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_asl.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_asl.c: In function ‘header_check_asl’: file_asl.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_asl.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asl.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asl.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_asl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_arj.o file_arj.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_arj.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_arj.c: In function ‘header_check_arj’: file_arj.c:125:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_arj.c:125:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_arj.c:125:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 125 | static int header_check_arj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asm.o file_asm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_asm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_asm.c: In function ‘header_check_asm’: file_asm.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_asm.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asm.c:57:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 57 | static int header_check_asm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_atd.o file_atd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_atd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_atd.c: In function ‘header_check_atd’: file_atd.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_atd.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_atd.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_atd.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_atd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_asf.o file_asf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_asf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_asf.c: In function ‘header_check_asf’: file_asf.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_asf.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_asf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_au.o file_au.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_au.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_au.c: In function ‘header_check_au’: file_au.c:56:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_au.c:56:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_au.c:56:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_au(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axx.o file_axx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_axx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_axx.c: In function ‘header_check_axx’: file_axx.c:85:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axx.c:85:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axx.c:85:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 85 | static int header_check_axx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_axp.o file_axp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_axp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_axp.c: In function ‘header_check_axp’: file_axp.c:68:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_axp.c:68:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_axp.c:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_axp.c:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_check_axp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bdm.o file_bdm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bdm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bdm.c: In function ‘header_check_bdm’: file_bdm.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bdm.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bdm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bdm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_bdm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bac.o file_bac.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bac.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bac.c: In function ‘header_check_bac’: file_bac.c:92:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bac.c:92:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bac.c:92:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 92 | static int header_check_bac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_berkeley.o file_berkeley.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_berkeley.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_berkeley.c: In function ‘header_check_berkeley_le’: file_berkeley.c:44:58: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_berkeley.c:44:85: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_berkeley.c:44:117: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_berkeley.c:44:158: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_berkeley_le(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_binvox.o file_binvox.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_binvox.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_binvox.c: In function ‘header_check_binvox’: file_binvox.c:44:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_binvox.c:44:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_binvox.c:44:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_binvox.c:44:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_binvox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bin.o file_bin.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bin.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bin.c: In function ‘header_check_bin’: file_bin.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bin.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bin.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_bin(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bim.o file_bim.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bim.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bim.c: In function ‘header_check_bim’: file_bim.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bim.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bim.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bim.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_bim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bkf.o file_bkf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bkf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bkf.c: In function ‘header_check_bkf’: file_bkf.c:71:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bkf.c:71:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bkf.c:71:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_bkf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bmp.o file_bmp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bmp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bmp.c: In function ‘header_check_bmp’: file_bmp.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bmp.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bmp.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_bmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bvr.o file_bvr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bvr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bvr.c: In function ‘header_check_bvr’: file_bvr.c:60:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_bvr.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bvr.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_bvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bz2.o file_bz2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bz2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bz2.c: In function ‘header_check_bz2’: file_bz2.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bz2.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bz2.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_bz2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_c4d.o file_c4d.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_c4d.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_c4d.c: In function ‘header_check_c4d’: file_c4d.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_c4d.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_c4d.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_c4d.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_c4d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bpg.o file_bpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bpg.c:28: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bpg.c: In function ‘header_check_bpg’: file_bpg.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bpg.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_bpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_bld.o file_bld.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_bld.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_bld.c: In function ‘header_check_blend’: file_bld.c:140:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_bld.c:140:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_bld.c:140:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 140 | static int header_check_blend(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cab.o file_cab.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_cab.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cab.c: In function ‘header_check_cab’: file_cab.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cab.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cab.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_cab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cam.o file_cam.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_cam.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cam.c: In function ‘header_check_cam’: file_cam.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cam.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cam.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cam.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_cam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_caf.o file_caf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_caf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_caf.c: In function ‘header_check_caf’: file_caf.c:97:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_caf.c:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_caf.c:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_caf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_catdrawing.o file_catdrawing.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_catdrawing.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_catdrawing.c: In function ‘header_check_catdrawing’: file_catdrawing.c:44:57: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_catdrawing.c:44:84: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_catdrawing.c:44:116: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_catdrawing.c:44:157: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_catdrawing(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cdt.o file_cdt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_cdt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cdt.c: In function ‘header_check_cdt’: file_cdt.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cdt.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cdt.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_cdt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_chm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_chm.c: In function ‘header_check_chm’: file_chm.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_chm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_chm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_chm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_chm.o file_chm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_class.o file_class.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_class.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_class.c: In function ‘header_check_class’: file_class.c:61:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_class.c:61:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_class.c:61:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_class(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_che.o file_che.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_che.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_che.c: In function ‘header_check_che’: file_che.c:87:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_che.c:87:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_che.c:87:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_che.c:87:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 87 | static int header_check_che(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cpi.o file_cpi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_cpi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cpi.c: In function ‘header_check_cpi’: file_cpi.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cpi.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cpi.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cpi.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_cpi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cm.o file_cm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_cm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cm.c: In function ‘header_check_cm’: file_cm.c:45:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_cm.c:45:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cm.c:45:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cm.c:45:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_cm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_compress.o file_compress.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_compress.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_compress.c: In function ‘header_check_compress’: file_compress.c:44:55: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_compress.c:44:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_compress.c:44:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_compress.c:44:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_compress(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cow.o file_cow.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_cow.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cow.c: In function ‘header_check_qcow1’: file_cow.c:77:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:77:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:77:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 77 | static int header_check_qcow1(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_cow.c: In function ‘header_check_qcow2’: file_cow.c:90:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cow.c:90:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cow.c:90:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 90 | static int header_check_qcow2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_csh.o file_csh.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_csh.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_csh.c: In function ‘header_check_csh’: file_csh.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_csh.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_csh.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_csh.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_csh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ctg.o file_ctg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ctg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ctg.c: In function ‘header_check_ctg’: file_ctg.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ctg.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ctg.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ctg.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ctg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_cwk.o file_cwk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_cwk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_cwk.c: In function ‘header_check_cwk’: file_cwk.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_cwk.c:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_cwk.c:73:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | static int header_check_cwk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_crw.o file_crw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_crw.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_crw.c: In function ‘header_check_crw’: file_crw.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_crw.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_crw.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_crw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dad.o file_dad.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dad.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dad.c: In function ‘header_check_dad’: file_dad.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dad.c:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_dad(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_d2s.o file_d2s.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_d2s.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_d2s.c: In function ‘header_check_d2s’: file_d2s.c:64:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_d2s.c:64:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_d2s.c:64:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | static int header_check_d2s(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dar.o file_dar.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dar.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dar.c: In function ‘header_check_dar’: file_dar.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dar.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dar.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dcm.o file_dcm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dcm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dcm.c: In function ‘header_check_dcm’: file_dcm.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dcm.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dcm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dcm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dcm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbf.o file_dbf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dbf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dbf.c: In function ‘header_check_dbf’: file_dbf.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dbf.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dbf.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_dbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dat.o file_dat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dat.c: In function ‘header_check_dat’: file_dat.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dat.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_datIE’: file_dat.c:52:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:52:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:52:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_datIE(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_dat_history4’: file_dat.c:66:86: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:66:118: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:66:159: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_dat_history4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_dat.c: In function ‘header_check_dat_history10’: file_dat.c:76:87: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dat.c:76:119: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dat.c:76:160: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 76 | static int header_check_dat_history10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dbn.o file_dbn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dbn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dbn.c: In function ‘header_check_dbn’: file_dbn.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dbn.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dbn.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_dbn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_ddf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ddf.c: In function ‘header_check_ddf3’: file_ddf.c:94:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:94:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:94:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 94 | static int header_check_ddf3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function ‘header_check_ddf4’: file_ddf.c:104:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:104:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:104:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 104 | static int header_check_ddf4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ddf.c: In function ‘header_check_ddf5’: file_ddf.c:114:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ddf.c:114:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ddf.c:114:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 114 | static int header_check_ddf5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ddf.o file_ddf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dim.o file_dim.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dim.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dim.c: In function ‘header_check_dim’: file_dim.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dim.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dim.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dim.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dex.o file_dex.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dex.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dex.c: In function ‘header_check_dex’: file_dex.c:74:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dex.c:74:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dex.c:74:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_dex(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_djv.o file_djv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_djv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_djv.c: In function ‘header_check_djv’: file_djv.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_djv.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_djv.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_djv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dmp.o file_dmp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dmp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dmp.c: In function ‘header_check_dmp’: file_dmp.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dmp.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dmp.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_drw.o file_drw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_drw.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_drw.c: In function ‘header_check_drw’: file_drw.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_drw.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_drw.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_drw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dir.o file_dir.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dir.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dir.c: In function ‘data_check_fatdir’: file_dir.c:71:60: warning: unused parameter ‘buffer’ [-Wunused-parameter] 71 | static data_check_t data_check_fatdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dir.c: In function ‘header_check_dir’: file_dir.c:78:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dir.c:78:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dir.c:78:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 78 | static int header_check_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_dpx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dpx.c: In function ‘header_check_dpx’: file_dpx.c:68:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dpx.c:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dpx.c:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_check_dpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dpx.o file_dpx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds2.o file_ds2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ds2.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ds2.c: In function ‘header_check_ds2’: file_ds2.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds2.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds2.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_ds2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dss.o file_dss.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dss.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dss.c: In function ‘header_check_dss’: file_dss.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dss.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dss.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_dss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dsc.o file_dsc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dsc.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dsc.c: In function ‘header_check_dsc’: file_dsc.c:43:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dsc.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dsc.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_dsc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ds_store.o file_ds_store.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ds_store.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ds_store.c: In function ‘header_check_ds_store’: file_ds_store.c:55:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ds_store.c:55:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ds_store.c:55:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_ds_store(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dta.o file_dta.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dta.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dta.c: In function ‘header_check_dta’: file_dta.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dta.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dta.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dta.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_dta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dst.o file_dst.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dst.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dst.c: In function ‘header_check_dst’: file_dst.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dst.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dst.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dump.o file_dump.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dump.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dump.c: In function ‘header_check_dump’: file_dump.c:126:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dump.c:126:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dump.c:126:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 126 | static int header_check_dump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvi.o file_dvi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dvi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dvi.c: In function ‘header_check_dvi’: file_dvi.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvi.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dvi.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dvi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dv.o file_dv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dv.c: In function ‘header_check_dv’: file_dv.c:131:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 131 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dv.c:131:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 131 | static int header_check_dv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dvr.o file_dvr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dvr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dvr.c: In function ‘header_check_dvr’: file_dvr.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dvr.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dvr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dwg.o file_dwg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dwg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dwg.c: In function ‘header_check_dwg’: file_dwg.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dwg.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dwg.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dwg.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_dwg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ecryptfs.o file_ecryptfs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ecryptfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ecryptfs.c: In function ‘header_check_ecryptfs’: file_ecryptfs.c:71:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ecryptfs.c:71:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ecryptfs.c:71:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_ecryptfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_dxf.o file_dxf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_dxf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_dxf.c: In function ‘header_check_dxf’: file_dxf.c:47:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_dxf.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_dxf.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_dxf.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_dxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_edb.o file_edb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_edb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_edb.c: In function ‘header_check_edb’: file_edb.c:46:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_edb.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_edb.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_edb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_e01.o file_e01.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_e01.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_e01.c: In function ‘header_check_e01’: file_e01.c:86:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_e01.c:86:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_e01.c:86:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 86 | static int header_check_e01(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_elf.o file_elf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_elf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_elf.c: In function ‘header_check_elf’: file_elf.c:120:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_elf.c:120:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_elf.c:120:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 120 | static int header_check_elf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ess.o file_ess.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ess.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ess.c: In function ‘header_check_ess’: file_ess.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ess.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ess.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ess.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ess(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evt.o file_evt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_evt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_evt.c: In function ‘header_check_evt’: file_evt.c:84:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evt.c:84:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evt.c:84:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 84 | static int header_check_evt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_emf.o file_emf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_emf.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_emf.c: In function ‘header_check_emf’: file_emf.c:204:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_emf.c:204:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_emf.c:204:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 204 | static int header_check_emf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_evtx.o file_evtx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_evtx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_evtx.c: In function ‘header_check_evtx’: file_evtx.c:61:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_evtx.c:61:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_evtx.c:61:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_evtx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exs.o file_exs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_exs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_exs.c: In function ‘header_check_exs’: file_exs.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_exs.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exs.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_exs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext2.o file_ext2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ext2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ext2.c: In function ‘header_check_ext2_fs’: file_ext2.c:55:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext2.c:55:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_ext2_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ext.o file_ext.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ext.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ext.c: In function ‘header_check_ext2_sb’: file_ext.c:66:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:66:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:66:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_ext2_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_ext.c: In function ‘data_check_extdir’: file_ext.c:80:60: warning: unused parameter ‘buffer’ [-Wunused-parameter] 80 | static data_check_t data_check_extdir(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ext.c: In function ‘header_check_ext2_dir’: file_ext.c:104:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ext.c:104:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ext.c:104:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 104 | static int header_check_ext2_dir(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_ext.c:31: file_ext.c: In function ‘file_rename_ext’: file_ext.c:61:20: warning: array subscript ‘const struct ext2_super_block[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 61 | block_nr=(le32(sb->s_first_data_block)+le16(sb->s_block_group_nr)*le32(sb->s_blocks_per_group)); | ^~ file_ext.c:49:17: note: object ‘buffer’ of size 512 49 | unsigned char buffer[512]; | ^~~~~~ file_ext.c:61:49: warning: array subscript ‘const struct ext2_super_block[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 61 | block_nr=(le32(sb->s_first_data_block)+le16(sb->s_block_group_nr)*le32(sb->s_blocks_per_group)); | ^~ file_ext.c:49:17: note: object ‘buffer’ of size 512 49 | unsigned char buffer[512]; | ^~~~~~ file_ext.c:61:76: warning: array subscript ‘const struct ext2_super_block[0]’ is partly outside array bounds of ‘unsigned char[512]’ [-Warray-bounds=] 61 | block_nr=(le32(sb->s_first_data_block)+le16(sb->s_block_group_nr)*le32(sb->s_blocks_per_group)); | ^~ file_ext.c:49:17: note: object ‘buffer’ of size 512 49 | unsigned char buffer[512]; | ^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbf.o file_fbf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fbf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fbf.c: In function ‘header_check_fbf’: file_fbf.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbf.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbf.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbf.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_fbf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_doc.o file_doc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_doc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_doc.c: In function ‘header_check_doc’: file_doc.c:389:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 389 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_doc.c:389:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 389 | static int header_check_doc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_doc.c:39: In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:389:12: memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^~~~~~~~~ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcp.o file_fcp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fcp.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fcp.c: In function ‘header_check_fcp’: file_fcp.c:49:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fcp.c:49:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fcp.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fcp.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_fcp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fbk.o file_fbk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fbk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fbk.c: In function ‘header_check_fbk’: file_fbk.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fbk.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fbk.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fbk.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_fbk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_exe.o file_exe.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_exe.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_exe.c: In function ‘header_check_exe’: file_exe.c:59:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 59 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_exe.c:59:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 59 | static int header_check_exe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fat.o file_fat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fat.c: In function ‘header_check_fat’: file_fat.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fat.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fat.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_fat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fds.o file_fds.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fds.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fds.c: In function ‘header_check_fds’: file_fds.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fds.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fds.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_fds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_fdb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fdb.c: In function ‘header_check_fdb’: file_fdb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fdb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fdb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_fdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fdb.o file_fdb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh10.o file_fh10.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fh10.c:26: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fh10.c: In function ‘header_check_fh10’: file_fh10.c:46:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fh10.c:46:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fh10.c:46:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fh10.c:46:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_fh10(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fcs.o file_fcs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fcs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fcs.c: In function ‘header_check_fcs’: file_fcs.c:95:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 95 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fcs.c:95:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 95 | static int header_check_fcs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fh5.o file_fh5.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fh5.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fh5.c: In function ‘header_check_fh5’: file_fh5.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fh5.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fh5.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_fh5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_filevault.o file_filevault.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_filevault.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_filevault.c: In function ‘header_check_filevault’: file_filevault.c:45:56: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_filevault.c:45:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_filevault.c:45:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_filevault.c:45:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_filevault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flp.o file_flp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_flp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_flp.c: In function ‘header_check_flp’: file_flp.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flp.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flp.c:57:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 57 | static int header_check_flp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fit.o file_fit.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fit.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fit.c: In function ‘header_check_fit’: file_fit.c:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fit.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fit.c:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_fit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flac.o file_flac.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_flac.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_flac.c: In function ‘header_check_flac’: file_flac.c:81:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flac.c:81:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flac.c:81:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_flac(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_flv.o file_flv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_flv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_flv.c: In function ‘header_check_flv’: file_flv.c:94:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_flv.c:94:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_flv.c:94:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 94 | static int header_check_flv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fos.o file_fos.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fos.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fos.c: In function ‘header_check_fos’: file_fos.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fos.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fos.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fos.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_fos(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fm.o file_fm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fm.c: In function ‘header_check_fm’: file_fm.c:51:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fm.c:51:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fm.c:51:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_fm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fits.o file_fits.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fits.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fits.c: In function ‘header_check_fits’: file_fits.c:143:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 143 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fits.c:143:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 143 | static int header_check_fits(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fob.o file_fob.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fob.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fob.c: In function ‘header_check_fob’: file_fob.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fob.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_fob(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_fp5.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fp5.c: In function ‘header_check_fp5’: file_fp5.c:43:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fp5.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fp5.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fp5.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_fp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp5.o file_fp5.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fp7.o file_fp7.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fp7.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fp7.c: In function ‘header_check_fp7’: file_fp7.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fp7.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_fp7(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_freeway.o file_freeway.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_freeway.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_freeway.c: In function ‘header_check_freeway’: file_freeway.c:44:54: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_freeway.c:44:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_freeway.c:44:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_freeway.c:44:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_freeway(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_frm.o file_frm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_frm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_frm.c: In function ‘header_check_frm’: file_frm.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_frm.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_frm.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_frm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gam.o file_gam.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gam.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gam.c: In function ‘header_check_gam’: file_gam.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gam.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gam.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gam.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_gam(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fwd.o file_fwd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fwd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fwd.c: In function ‘header_check_fwd’: file_fwd.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_fwd.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fwd.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fwd.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_fwd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_fs.o file_fs.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_fs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_fs.c: In function ‘header_check_fs’: file_fs.c:82:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_fs.c:82:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_fs.c:82:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 82 | static int header_check_fs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gi.o file_gi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gi.c: In function ‘header_check_gi’: file_gi.c:51:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gi.c:51:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gi.c:51:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_gi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gho.o file_gho.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gho.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gho.c: In function ‘header_check_db’: file_gho.c:44:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gho.c:44:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gho.c:44:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gct.o file_gct.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gct.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gct.c: In function ‘header_check_gct’: file_gct.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gct.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gct.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gct.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_gct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp2.o file_gp2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gp2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gp2.c: In function ‘header_check_gp2’: file_gp2.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gp2.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp2.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp2.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_gp2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gif.o file_gif.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gif.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gif.c: In function ‘header_check_gif’: file_gif.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gif.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_gif(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gm6.o file_gm6.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gm6.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gm6.c: In function ‘header_check_gm81’: file_gm6.c:45:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:45:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:45:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:45:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_gm81(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gmk’: file_gm6.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_gmk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gm6’: file_gm6.c:61:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_gm6(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gm6.c: In function ‘header_check_gmd’: file_gm6.c:69:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_gm6.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gm6.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gm6.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_gmd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gp5.o file_gp5.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gp5.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gp5.c: In function ‘header_check_gp5’: file_gp5.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gp5.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gp5.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_gp5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpx.o file_gpx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gpx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gpx.c: In function ‘header_check_gpx’: file_gpx.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gpx.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpx.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_gpx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gsm.o file_gsm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gsm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gsm.c: In function ‘header_check_gsm’: file_gsm.c:67:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gsm.c:67:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | static int header_check_gsm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hds.o file_hds.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_hds.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_hds.c: In function ‘header_check_hds’: file_hds.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hds.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hds.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_hds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdr.o file_hdr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_hdr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_hdr.c: In function ‘header_check_hdr’: file_hdr.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdr.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdr.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_hdr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hm.o file_hm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_hm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_hm.c: In function ‘header_check_hm’: file_hm.c:44:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hm.c:44:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hm.c:44:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hm.c:44:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_hm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hdf.o file_hdf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_hdf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_hdf.c: In function ‘header_check_hdf’: file_hdf.c:116:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hdf.c:116:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hdf.c:116:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 116 | static int header_check_hdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hfsp.o file_hfsp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_hfsp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_hfsp.c: In function ‘header_check_hfsp’: file_hfsp.c:46:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hfsp.c:46:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hfsp.c:46:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_hfsp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_http.o file_http.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_http.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_http.c: In function ‘header_check_http’: file_http.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_http.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_http.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_http.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_http(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_hr9.o file_hr9.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_hr9.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_hr9.c: In function ‘header_check_hr9’: file_hr9.c:49:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_hr9.c:49:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_hr9.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_hr9.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_hr9(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gz.o file_gz.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gz.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gz.c: In function ‘file_check_bgzf’: file_gz.c:77:46: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 77 | static void file_check_bgzf(file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_gz.c: In function ‘header_check_bgzf’: file_gz.c:81:115: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | static int header_check_bgzf(const unsigned char *buffer, const unsigned char *buffer_uncompr, const unsigned int buffer_size, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_gz.c: In function ‘header_check_gz’: file_gz.c:186:25: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 186 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_gz.c:111:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 111 | static int header_check_gz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ibd.o file_ibd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ibd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ibd.c: In function ‘header_check_ibd’: file_ibd.c:52:10: warning: left shift of negative value [-Wshift-negative-value] 52 | ((~(~0 << (DICT_TF_BITS - DICT_TF_FORMAT_SHIFT))) << DICT_TF_FORMAT_SHIFT) | ^~ file_ibd.c:81:42: note: in expansion of macro ‘DICT_TF_FORMAT_MASK’ 81 | const unsigned int format = (flags & DICT_TF_FORMAT_MASK) >> DICT_TF_FORMAT_SHIFT; | ^~~~~~~~~~~~~~~~~~~ file_ibd.c:68:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 68 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ibd.c:68:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_check_ibd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icc.o file_icc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_icc.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_icc.c: In function ‘header_check_icc’: file_icc.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icc.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icc.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_icc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_gpg.o file_gpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_gpg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_gpg.c: In function ‘header_check_gpg’: file_gpg.c:411:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 411 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_gpg.c:411:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 411 | static int header_check_gpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_icns.o file_icns.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_icns.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_icns.c: In function ‘header_check_icns’: file_icns.c:99:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_icns.c:99:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_icns.c:99:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 99 | static int header_check_icns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ifo.o file_ifo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ifo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ifo.c: In function ‘header_check_ifo’: file_ifo.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ifo.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ifo.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_ifo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ico.o file_ico.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ico.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ico.c: In function ‘header_check_ico’: file_ico.c:94:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ico.c:94:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ico.c:94:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 94 | static int header_check_ico(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_idx.o file_idx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_idx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_idx.c: In function ‘header_check_idx’: file_idx.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_idx.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_idx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from file_imb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_imb.c: In function ‘header_check_imb’: file_imb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_imb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_imb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_imb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_imb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_imb.o file_imb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_info.o file_info.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_info.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_info.c: In function ‘header_check_info’: file_info.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_info.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_info.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_info.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_info(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_it.o file_it.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_it.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_it.c: In function ‘header_check_it’: file_it.c:71:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_it.c:71:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_it.c:71:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_it(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_itu.o file_itu.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_itu.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_itu.c: In function ‘header_check_itunes’: file_itu.c:45:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_itu.c:45:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_itu.c:45:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_itunes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_indd.o file_indd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_indd.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_indd.c: In function ‘header_check_indd’: file_indd.c:114:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 114 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_indd.c:114:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 114 | static int header_check_indd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jks.o file_jks.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_jks.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_jks.c: In function ‘header_check_jks’: file_jks.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jks.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jks.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_jks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_iso.o file_iso.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_iso.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_iso.c: In function ‘header_check_db’: file_iso.c:46:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_iso.c:46:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_db(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdb.o file_kdb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_kdb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_kdb.c: In function ‘header_check_kdb’: file_kdb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_kdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jsonlz4.o file_jsonlz4.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_jsonlz4.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_jsonlz4.c: In function ‘header_check_jsonlz4’: file_jsonlz4.c:45:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_jsonlz4.c:45:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jsonlz4.c:45:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_jsonlz4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_kdbx.o file_kdbx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_kdbx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_kdbx.c: In function ‘header_check_kdbx’: file_kdbx.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_kdbx.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_kdbx.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_kdbx.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_kdbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_key.o file_key.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_key.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_key.c: In function ‘header_check_key’: file_key.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_key.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_key.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_key.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_key(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lit.o file_lit.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_lit.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lit.c: In function ‘header_check_lit’: file_lit.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lit.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lit.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lit.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_lit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ldf.o file_ldf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ldf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ldf.c: In function ‘header_check_ldf’: file_ldf.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ldf.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ldf.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_ldf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_logic.o file_logic.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_logic.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_logic.c: In function ‘header_check_logic’: file_logic.c:44:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_logic.c:44:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_logic.c:44:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_logic.c:44:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_logic(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lso.o file_lso.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_lso.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lso.c: In function ‘header_check_lso’: file_lso.c:50:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lso.c:50:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lso.c:50:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lso.c:50:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_lso(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_luks.o file_luks.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_luks.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_luks.c: In function ‘header_check_luks’: file_luks.c:51:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_luks.c:51:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_luks.c:51:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_luks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lxo.o file_lxo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_lxo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lxo.c: In function ‘header_check_lxo’: file_lxo.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lxo.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lxo.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_lxo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lnk.o file_lnk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_lnk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lnk.c: In function ‘header_check_lnk’: file_lnk.c:222:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 222 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lnk.c:222:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 222 | static int header_check_lnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzo.o file_lzo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_lzo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lzo.c: In function ‘header_check_lzo’: file_lzo.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_lzo.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzo.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzo.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_lzo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_lzh.o file_lzh.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_lzh.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_lzh.c: In function ‘header_check_lzh’: file_lzh.c:107:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_lzh.c:107:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_lzh.c:107:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 107 | static int header_check_lzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mat.o file_mat.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mat.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mat.c: In function ‘header_check_mat’: file_mat.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mat.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mat.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_mat(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_max.o file_max.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_max.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_max.c: In function ‘header_check_max’: file_max.c:46:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_max.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_max.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_max.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_max(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_m2ts.o file_m2ts.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_m2ts.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_m2ts.c: In function ‘header_check_m2ts’: file_m2ts.c:112:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 112 | static int header_check_m2ts(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_m2ts.c: In function ‘header_check_m2t’: file_m2ts.c:169:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 169 | static int header_check_m2t(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mb.o file_mb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mb.c: In function ‘header_check_mb’: file_mb.c:52:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:52:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:52:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_mb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mb.c: In function ‘header_check_mp’: file_mb.c:66:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mb.c:66:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mb.c:66:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_mp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdb.o file_mdb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mdb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mdb.c: In function ‘header_check_accdb’: file_mdb.c:54:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:54:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:54:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:54:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_accdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mdb.c: In function ‘header_check_mdb’: file_mdb.c:61:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mdb.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdb.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdb.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_mdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mcd.o file_mcd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mcd.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mcd.c: In function ‘header_check_mcd’: file_mcd.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mcd.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mcd.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_mcd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mdf.o file_mdf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mdf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mdf.c: In function ‘header_check_mdf’: file_mdf.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mdf.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mdf.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_mdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfa.o file_mfa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mfa.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mfa.c: In function ‘header_check_mfa’: file_mfa.c:49:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mfa.c:49:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mfa.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mfa.c:49:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 49 | static int header_check_mfa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mfg.o file_mfg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mfg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mfg.c: In function ‘header_check_mfg’: file_mfg.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mfg.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mfg.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mfg.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_mfg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mft.o file_mft.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mft.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mft.c: In function ‘header_check_mft’: file_mft.c:64:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mft.c:64:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mft.c:64:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 64 | static int header_check_mft(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mk5.o file_mk5.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mk5.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mk5.c: In function ‘header_check_mk5’: file_mk5.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mk5.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mk5.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_mk5(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mig.o file_mig.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mig.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mig.c: In function ‘header_check_mig’: file_mig.c:97:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mig.c:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mig.c:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_mig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mid.o file_mid.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mid.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mid.c: In function ‘header_check_mid’: file_mid.c:104:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mid.c:104:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mid.c:104:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 104 | static int header_check_mid(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mobi.o file_mobi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mobi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mobi.c: In function ‘header_check_mobi’: file_mobi.c:59:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mobi.c:59:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mobi.c:59:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mobi.c:59:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 59 | static int header_check_mobi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mlv.o file_mlv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mlv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mlv.c: In function ‘header_check_mlv’: file_mlv.c:132:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mlv.c:132:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mlv.c:132:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 132 | static int header_check_mlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mkv.o file_mkv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mkv.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mkv.c: In function ‘header_check_mkv’: file_mkv.c:119:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 119 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mkv.c:119:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 119 | static int header_check_mkv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpl.o file_mpl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mpl.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mpl.c: In function ‘header_check_mpl’: file_mpl.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mpl.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mpl.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpl.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_mpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mrw.o file_mrw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mrw.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mrw.c: In function ‘header_check_mrw’: file_mrw.c:71:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mrw.c:71:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mrw.c:71:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_mrw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mov.o file_mov.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mov.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mov.c: In function ‘header_check_mov_aux’: file_mov.c:127:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 127 | static int header_check_mov_aux(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mpg.o file_mpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mpg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mpg.c: In function ‘header_check_mpg_Pack’: file_mpg.c:164:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 164 | static int header_check_mpg_Pack(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg_System’: file_mpg.c:227:116: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 227 | static int header_check_mpg_System(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg_Sequence’: file_mpg.c:268:118: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 268 | static int header_check_mpg_Sequence(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mpg.c: In function ‘header_check_mpg4_ElemVideo’: file_mpg.c:302:120: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 302 | static int header_check_mpg4_ElemVideo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_msa.o file_msa.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_msa.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_msa.c: In function ‘header_check_msa’: file_msa.c:51:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_msa.c:51:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_msa.c:51:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_msa(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mp3.o file_mp3.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mp3.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mp3.c: In function ‘header_check_id3’: file_mp3.c:115:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mp3.c:115:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mp3.c:115:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 115 | static int header_check_id3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_mp3.c: In function ‘header_check_mp3’: file_mp3.c:145:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 145 | static int header_check_mp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mus.o file_mus.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mus.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mus.c: In function ‘header_check_mus’: file_mus.c:50:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_mus.c:50:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mus.c:50:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mus.c:50:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_mus(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mxf.o file_mxf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mxf.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mxf.c: In function ‘header_check_mxf’: file_mxf.c:106:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mxf.c:106:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mxf.c:106:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 106 | static int header_check_mxf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_myo.o file_myo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_myo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_myo.c: In function ‘header_check_myo’: file_myo.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_myo.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_myo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nd2.o file_nd2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_nd2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_nd2.c: In function ‘header_check_nd2’: file_nd2.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nd2.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nd2.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_nd2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_mysql.o file_mysql.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_mysql.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_mysql.c: In function ‘header_check_mysql’: file_mysql.c:55:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_mysql.c:55:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_mysql.c:55:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_mysql(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_jpg.o file_jpg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_jpg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_jpg.c: In function ‘header_check_jpg’: file_jpg.c:375:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 375 | static int header_check_jpg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_jpg.c: In function ‘my_output_message’: file_jpg.c:547:45: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 547 | static void my_output_message (j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ file_jpg.c: In function ‘jpg_term_source’: file_jpg.c:738:47: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 738 | static void jpg_term_source (j_decompress_ptr cinfo) | ~~~~~~~~~~~~~~~~~^~~~~ file_jpg.c: In function ‘jpg_find_error’: file_jpg.c:1058:118: warning: unused parameter ‘checkpoint_offset’ [-Wunused-parameter] 1058 | static uint64_t jpg_find_error(struct jpeg_session_struct *jpeg_session, const unsigned int *offsets, const uint64_t checkpoint_offset) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nds.o file_nds.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_nds.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_nds.c: In function ‘header_check_nds’: file_nds.c:59:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nds.c:59:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nds.c:59:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 59 | static int header_check_nds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_njx.o file_njx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_njx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_njx.c: In function ‘header_check_njx’: file_njx.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_njx.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_njx.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_njx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nes.o file_nes.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_nes.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_nes.c: In function ‘header_check_nes’: file_nes.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nes.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nes.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nsf.o file_nsf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_nsf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_nsf.c: In function ‘header_check_nsf’: file_nsf.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nsf.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nsf.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_nsf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_nk2.o file_nk2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_nk2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_nk2.c: In function ‘header_check_nk2’: file_nk2.c:180:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_nk2.c:180:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_nk2.c:180:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_nk2.c:180:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 180 | static int header_check_nk2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_one.o file_one.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_one.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_one.c: In function ‘header_check_one’: file_one.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_one.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_one.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_one(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ogg.o file_ogg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ogg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ogg.c: In function ‘header_check_ogg’: file_ogg.c:49:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 49 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ogg.c:49:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 49 | static int header_check_ogg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from file_oci.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_oci.c: In function ‘header_check_oci’: file_oci.c:86:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 86 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_oci.c:86:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 86 | static int header_check_oci(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_oci.o file_oci.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_orf.o file_orf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_orf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_orf.c: In function ‘header_check_orf_IIRS’: file_orf.c:45:55: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_orf.c:45:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_orf.c:45:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:45:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_orf_IIRS(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_orf.c: In function ‘header_check_orf_IIRO’: file_orf.c:52:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_orf.c:52:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_orf_IIRO(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pap.o file_pap.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pap.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pap.c: In function ‘header_check_pap’: file_pap.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pap.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pap.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pap.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_pap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_paf.o file_paf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_paf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_paf.c: In function ‘header_check_paf’: file_paf.c:47:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_paf.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_paf.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_paf.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_paf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcap.o file_pcap.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pcap.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pcap.c: In function ‘header_check_pcap’: file_pcap.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcap.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcap.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcap.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_pcap(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcb.o file_pcb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pcb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pcb.c: In function ‘header_check_pcb’: file_pcb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pcb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_pcb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pct.o file_pct.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pct.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pct.c: In function ‘header_check_pct’: file_pct.c:82:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 82 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pct.c:82:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 82 | static int header_check_pct(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_par2.o file_par2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_par2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_par2.c: In function ‘header_check_par2’: file_par2.c:108:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 108 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_par2.c:108:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 108 | static int header_check_par2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pcx.o file_pcx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pcx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pcx.c: In function ‘header_check_pcx’: file_pcx.c:85:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pcx.c:85:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pcx.c:85:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 85 | static int header_check_pcx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pds.o file_pds.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pds.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pds.c: In function ‘header_check_pds’: file_pds.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pds.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pds.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pds.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_pds(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from file_pf.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pf.c: In function ‘header_check_pf’: file_pf.c:72:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pf.c:72:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pf.c:72:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 72 | static int header_check_pf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pf.o file_pf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdb.o file_pdb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pdb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pdb.c: In function ‘header_check_pdb’: file_pdb.c:71:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pdb.c:71:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdb.c:71:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 71 | static int header_check_pdb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pfx.o file_pfx.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pfx.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pfx.c: In function ‘header_check_pfx’: file_pfx.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pfx.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pfx.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_pfx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pgdump.o file_pgdump.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pgdump.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pgdump.c: In function ‘header_check_pgdump’: file_pgdump.c:96:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pgdump.c:96:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pgdump.c:96:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 96 | static int header_check_pgdump(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plr.o file_plr.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_plr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_plr.c: In function ‘header_check_plr’: file_plr.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plr.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plr.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plr.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_plr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plist.o file_plist.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_plist.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_plist.c: In function ‘header_check_plist’: file_plist.c:47:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plist.c:47:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plist.c:47:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_plist(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pdf.o file_pdf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pdf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pdf.c: In function ‘header_check_pdf’: file_pdf.c:272:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 272 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pdf.c:272:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 272 | static int header_check_pdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_plt.o file_plt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_plt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_plt.c: In function ‘header_check_plt’: file_plt.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_plt.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_plt.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_plt.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_plt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prd.o file_prd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_prd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_prd.c: In function ‘header_check_prd’: file_prd.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prd.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prd.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_prd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prc.o file_prc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_prc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_prc.c: In function ‘header_check_prc’: file_prc.c:61:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prc.c:61:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prc.c:61:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 61 | static int header_check_prc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_prt.o file_prt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_prt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_prt.c: In function ‘header_check_prt’: file_prt.c:52:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_prt.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_prt.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_prt.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_prt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pnm.o file_pnm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pnm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pnm.c: In function ‘header_check_pbm’: file_pnm.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_pbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function ‘header_check_pgm’: file_pnm.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_pgm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pnm.c: In function ‘header_check_ppm’: file_pnm.c:63:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pnm.c:63:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pnm.c:63:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static int header_check_ppm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_png.o file_png.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_png.c:30: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_png.c: In function ‘header_check_jng’: file_png.c:75:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:75:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:75:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 75 | static int header_check_jng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function ‘header_check_mng’: file_png.c:93:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:93:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_png.c:93:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 93 | static int header_check_mng(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_png.c: In function ‘header_check_png’: file_png.c:172:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 172 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_png.c:172:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 172 | static int header_check_png(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ps.o file_ps.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ps.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ps.c: In function ‘header_check_ps’: file_ps.c:55:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ps.c:55:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ps.c:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_ps(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psp.o file_psp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_psp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_psp.c: In function ‘header_check_psp’: file_psp.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psp.c:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psp.c:73:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | static int header_check_psp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psf.o file_psf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_psf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_psf.c: In function ‘header_check_psf’: file_psf.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psf.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_psf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psb.o file_psb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_psb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_psb.c: In function ‘header_check_psb’: file_psb.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psb.c:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psb.c:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | static int header_check_psb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_psb.c: In function ‘psb_skip_image_data’: file_psb.c:98:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 98 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psb.c:98:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 98 | static data_check_t psb_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptb.o file_ptb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ptb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ptb.c: In function ‘header_check_ptb’: file_ptb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ptb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_psd.o file_psd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_psd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_psd.c: In function ‘header_check_psd’: file_psd.c:65:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_psd.c:65:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_psd.c:65:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 65 | static int header_check_psd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_psd.c: In function ‘psd_skip_image_data’: file_psd.c:98:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 98 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_psd.c:98:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 98 | static data_check_t psd_skip_image_data(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ptf.o file_ptf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ptf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ptf.c: In function ‘header_check_ptf’: file_ptf.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ptf.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ptf.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_ptf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pst.o file_pst.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pst.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pst.c: In function ‘header_check_dbx’: file_pst.c:51:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:51:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:51:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 51 | static int header_check_dbx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function ‘header_check_wab’: file_pst.c:92:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pst.c:92:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:92:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:92:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 92 | static int header_check_wab(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_pst.c: In function ‘header_check_pst’: file_pst.c:99:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pst.c:99:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pst.c:99:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 99 | static int header_check_pst(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzf.o file_pzf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pzf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pzf.c: In function ‘header_check_pzf’: file_pzf.c:54:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzf.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzf.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzf.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_pzf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pyc.o file_pyc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pyc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pyc.c: In function ‘header_check_pyc’: file_pyc.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pyc.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pyc.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_pyc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_pzh.o file_pzh.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_pzh.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_pzh.c: In function ‘header_check_pzh’: file_pzh.c:69:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_pzh.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_pzh.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_pzh.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_pzh(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qdf.o file_qdf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_qdf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_qdf.c: In function ‘header_check_qdf’: file_qdf.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qdf.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qdf.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_qdf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qbb.o file_qbb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_qbb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_qbb.c: In function ‘header_check_qbb’: file_qbb.c:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_qbb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function ‘header_check_qbw’: file_qbb.c:136:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:136:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:136:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 136 | static int header_check_qbw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qbb.c: In function ‘header_check_qbw2’: file_qbb.c:151:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qbb.c:151:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qbb.c:151:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 151 | static int header_check_qbw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qkt.o file_qkt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_qkt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_qkt.c: In function ‘header_check_qkt’: file_qkt.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qkt.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qkt.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qkt.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_qkt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_qxd.o file_qxd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_qxd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_qxd.c: In function ‘header_check_qxd’: file_qxd.c:46:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_qxd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_qxd.c: In function ‘header_check_qxp’: file_qxd.c:54:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_qxd.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_qxd.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_qxd.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_qxp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ra.o file_ra.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ra.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ra.c: In function ‘header_check_ra’: file_ra.c:83:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ra.c:83:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ra.c:83:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 83 | static int header_check_ra(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rar.o file_rar.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rar.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rar.c: In function ‘header_check_rar15fmt’: file_rar.c:53:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:53:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:53:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_rar15fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_rar.c: In function ‘header_check_rar50fmt’: file_rar.c:69:82: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rar.c:69:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rar.c:69:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_rar50fmt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raw.o file_raw.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_raw.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_raw.c: In function ‘header_check_raw’: file_raw.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_raw.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raw.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raw.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_raw(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_r3d.o file_r3d.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_r3d.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_r3d.c: In function ‘header_check_r3d’: file_r3d.c:97:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:97:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:97:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 97 | static int header_check_r3d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_r3d.c: In function ‘header_check_r3d_v2’: file_r3d.c:116:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_r3d.c:116:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_r3d.c:116:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 116 | static int header_check_r3d_v2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_raf.o file_raf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_raf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_raf.c: In function ‘header_check_raf’: file_raf.c:62:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_raf.c:62:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_raf.c:62:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_raf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rdc.o file_rdc.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rdc.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rdc.c: In function ‘header_check_rdc’: file_rdc.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rdc.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rdc.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rdc.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_rdc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rfp.o file_rfp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rfp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rfp.c: In function ‘header_check_rfp’: file_rfp.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rfp.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rfp.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rfp.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_rfp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_reg.o file_reg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_reg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_reg.c: In function ‘header_check_reg_9x’: file_reg.c:72:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 72 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:72:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 72 | static int header_check_reg_9x(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_reg.c: In function ‘header_check_reg_nt’: file_reg.c:106:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_reg.c:106:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_reg.c:106:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 106 | static int header_check_reg_nt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_res.o file_res.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_res.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_res.c: In function ‘header_check_res’: file_res.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_res.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_res.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_res.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_res(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rlv.o file_rlv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rlv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rlv.c: In function ‘header_check_rlv’: file_rlv.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rlv.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rlv.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_rlv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rm.o file_rm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rm.c: In function ‘header_check_rm’: file_rm.c:55:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rm.c:55:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rm.c:55:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_rm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rns.o file_rns.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rns.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rns.c: In function ‘header_check_rns’: file_rns.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_rns.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rns.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rns.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_rns(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rw2.o file_rw2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rw2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rw2.c: In function ‘header_check_rw2’: file_rw2.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rw2.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_rw2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rpm.o file_rpm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rpm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rpm.c: In function ‘header_check_rpm’: file_rpm.c:73:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rpm.c:73:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rpm.c:73:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | static int header_check_rpm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_save.o file_save.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_save.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_save.c: In function ‘header_check_save’: file_save.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_save.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_save.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_save.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_save(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_rx2.o file_rx2.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_rx2.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_rx2.c: In function ‘header_check_rx2’: file_rx2.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_rx2.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_rx2.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_rx2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ses.o file_ses.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ses.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ses.c: In function ‘header_check_ses’: file_ses.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_ses.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_ses.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ses.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_ses(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_shn.o file_shn.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_shn.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_shn.c: In function ‘header_check_shn’: file_shn.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_shn.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_shn.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_shn.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_shn(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sgcta.o file_sgcta.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sgcta.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sgcta.c: In function ‘header_check_sgcta’: file_sgcta.c:44:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sgcta.c:44:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sgcta.c:44:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sgcta.c:44:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_sgcta(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_riff.o file_riff.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_riff.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_riff.c: In function ‘header_check_riff’: file_riff.c:216:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 216 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:216:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 216 | static int header_check_riff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_riff.c: In function ‘header_check_rifx’: file_riff.c:317:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_riff.c:317:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_riff.c:317:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 317 | static int header_check_rifx(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sib.o file_sib.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sib.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sib.c: In function ‘header_check_sib’: file_sib.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sib.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sib.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sib.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_sib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sit.o file_sit.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sit.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sit.c: In function ‘header_check_sit’: file_sit.c:47:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sit.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sit.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sit.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_sit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skp.o file_skp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_skp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_skp.c: In function ‘header_check_skp’: file_skp.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_skp.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_skp.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_skp.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_skp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_skd.o file_skd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_skd.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_skd.c: In function ‘header_check_skd’: file_skd.c:43:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_skd.c:43:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_skd.c:43:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_skd.c:43:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 43 | static int header_check_skd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_snag.o file_snag.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_snag.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_snag.c: In function ‘header_check_snag’: file_snag.c:50:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_snag.c:50:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_snag.c:50:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_snag.c:50:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_snag(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spe.o file_spe.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_spe.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_spe.c: In function ‘header_check_spe’: file_spe.c:247:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spe.c:247:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spe.c:247:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 247 | static int header_check_spe(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sig.o file_sig.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sig.c:23: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sig.c: In function ‘header_check_sig’: file_sig.c:83:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sig.c:83:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sig.c:83:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 83 | static int header_check_sig(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spss.o file_spss.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_spss.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_spss.c: In function ‘header_check_spss’: file_spss.c:44:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_spss.c:44:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spss.c:44:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spss.c:44:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_spss(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_spf.o file_spf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_spf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_spf.c: In function ‘header_check_spf’: file_spf.c:86:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_spf.c:86:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_spf.c:86:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_spf.c:86:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 86 | static int header_check_spf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sqm.o file_sqm.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sqm.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sqm.c: In function ‘header_check_sqm’: file_sqm.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_sqm.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sqm.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sqm.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_sqm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sp3.o file_sp3.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sp3.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sp3.c: In function ‘header_check_sp3’: file_sp3.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sp3.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sp3.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_sp3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_steuer2014.o file_steuer2014.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_steuer2014.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_steuer2014.c: In function ‘header_check_steuer’: file_steuer2014.c:54:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_steuer2014.c:54:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_steuer2014.c:54:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_steuer(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_sql.o file_sql.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_sql.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_sql.c: In function ‘header_check_sqlite’: file_sql.c:74:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_sql.c:74:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_sql.c:74:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_sqlite(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stl.o file_stl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_stl.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_stl.c: In function ‘header_check_stl’: file_stl.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_stl.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_stl.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_stu.o file_stu.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_stu.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_stu.c: In function ‘header_check_stuffit’: file_stu.c:45:54: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_stu.c:45:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_stu.c:45:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_stu.c:45:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_stuffit(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_studio.o file_studio.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_studio.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_studio.c: In function ‘header_check_studio’: file_studio.c:52:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_studio.c:52:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_studio.c:52:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_studio(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tar.o file_tar.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tar.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tar.c: In function ‘header_check_tar’: file_tar.c:67:70: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tar.c:67:102: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | int header_check_tar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tax.o file_tax.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tax.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tax.c: In function ‘header_check_tax’: file_tax.c:45:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tax.c:45:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tax.c:45:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tax.c:45:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 45 | static int header_check_tax(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_swf.o file_swf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_swf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_swf.c: In function ‘header_check_swfc’: file_swf.c:114:25: warning: cast discards ‘const’ qualifier from pointer target type [-Wcast-qual] 114 | d_stream.next_in = (Bytef*)buffer_compr; | ^ file_swf.c:89:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 89 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:89:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 89 | static int header_check_swfc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function ‘header_check_swf’: file_swf.c:159:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:159:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:159:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 159 | static int header_check_swf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_swf.c: In function ‘header_check_swfz’: file_swf.c:192:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_swf.c:192:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_swf.c:192:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 192 | static int header_check_swfz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tg.o file_tg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tg.c: In function ‘header_check_tg’: file_tg.c:44:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tg.c:44:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tg.c:44:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tg.c:44:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_tg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tivo.o file_tivo.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tivo.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tivo.c: In function ‘header_check_tivo’: file_tivo.c:52:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tivo.c:52:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tivo.c:52:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_tivo(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tib.o file_tib.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tib.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tib.c: In function ‘header_check_tib’: file_tib.c:103:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:103:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:103:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:103:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 103 | static int header_check_tib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_tib.c: In function ‘header_check_tib2’: file_tib.c:110:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tib.c:110:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tib.c:110:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tib.c:110:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 110 | static int header_check_tib2(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_torrent.o file_torrent.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_torrent.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_torrent.c: In function ‘header_check_torrent’: file_torrent.c:44:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_torrent.c:44:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_torrent.c:44:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_torrent(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff.o file_tiff.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tiff.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tph.o file_tph.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tph.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tph.c: In function ‘header_check_tph’: file_tph.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tph.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tph.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_tph(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tpl.o file_tpl.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tpl.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tpl.c: In function ‘header_check_tpl’: file_tpl.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tpl.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tpl.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tpl.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_tpl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_ttf.o file_ttf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_ttf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_ttf.c: In function ‘header_check_ttf’: file_ttf.c:74:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 74 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_ttf.c:74:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 74 | static int header_check_ttf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tz.o file_tz.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tz.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tz.c: In function ‘header_check_tz’: file_tz.c:48:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_tz.c:48:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_tz.c:48:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_tz.c:48:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 48 | static int header_check_tz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_v2i.o file_v2i.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_v2i.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_v2i.c: In function ‘header_check_v2i’: file_v2i.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_v2i.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_v2i.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_v2i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vault.o file_vault.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vault.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vault.c: In function ‘header_check_vault’: file_vault.c:67:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vault.c:67:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vault.c:67:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vault.c:67:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 67 | static int header_check_vault(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_be.o file_tiff_be.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tiff_be.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tiff_be.c: In function ‘find_tag_from_tiff_header_be_aux’: file_tiff_be.c:54:16: warning: taking address of packed member of ‘struct ifd_header’ may result in an unaligned pointer value [-Waddress-of-packed-member] 54 | for(i=0, tmp=&hdr->ifd; | ^~~~~~~~~ file_tiff_be.c: In function ‘header_check_tiff_be’: file_tiff_be.c:358:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 358 | if(new_offset==-1) | ^~ file_tiff_be.c:367:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 367 | if(new_offset==-1) | ^~ file_tiff_be.c:411:28: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 411 | if(new_offset==-1) | ^~ file_tiff_be.c:454:11: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 454 | if(tmp==-1) | ^~ file_tiff_be.c:462:11: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 462 | if(tmp==-1) | ^~ file_tiff_be.c:471:19: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 471 | if(new_offset != -1 && max_offset < new_offset) | ^~ file_tiff_be.c: In function ‘header_check_tiff_be_new’: file_tiff_be.c:477:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 477 | int header_check_tiff_be_new(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdi.o file_vdi.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vdi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vdi.c: In function ‘header_check_vdi’: file_vdi.c:81:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdi.c:81:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdi.c:81:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_vdi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_veg.o file_veg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_veg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_veg.c: In function ‘header_check_veg’: file_veg.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_veg.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_veg.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_veg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_tiff_le.o file_tiff_le.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_tiff_le.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_tiff_le.c: In function ‘find_tag_from_tiff_header_le_aux’: file_tiff_le.c:55:16: warning: taking address of packed member of ‘struct ifd_header’ may result in an unaligned pointer value [-Waddress-of-packed-member] 55 | for(i=0, tmp=&hdr->ifd; | ^~~~~~~~~ file_tiff_le.c: In function ‘header_check_tiff_le’: file_tiff_le.c:359:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 359 | if(new_offset==-1) | ^~ file_tiff_le.c:375:26: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 375 | if(new_offset==-1) | ^~ file_tiff_le.c:419:28: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 419 | if(new_offset==-1) | ^~ file_tiff_le.c:462:11: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 462 | if(tmp==-1) | ^~ file_tiff_le.c:470:11: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 470 | if(tmp==-1) | ^~ file_tiff_le.c:479:19: warning: comparison of integer expressions of different signedness: ‘uint64_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 479 | if(new_offset != -1 && max_offset < new_offset) | ^~ file_tiff_le.c: In function ‘header_check_tiff_le_new’: file_tiff_le.c:485:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 485 | int header_check_tiff_le_new(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vdj.o file_vdj.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vdj.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vdj.c: In function ‘header_check_vdj’: file_vdj.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vdj.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vdj.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vdj.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_vdj(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vfb.o file_vfb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vfb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vfb.c: In function ‘header_check_vfb’: file_vfb.c:53:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vfb.c:53:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vfb.c:53:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vfb.c:53:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 53 | static int header_check_vfb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vib.o file_vib.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vib.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vib.c: In function ‘header_check_vib’: file_vib.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vib.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vib.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vib.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_vib(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wallet.o file_wallet.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wallet.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wallet.c: In function ‘header_check_wallet’: file_wallet.c:44:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wallet.c:44:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wallet.c:44:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wallet.c:44:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_wallet(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmg.o file_vmg.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vmg.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vmg.c: In function ‘header_check_vmg’: file_vmg.c:54:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_vmg.c:54:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmg.c:54:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmg.c:54:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 54 | static int header_check_vmg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_vmdk.o file_vmdk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_vmdk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_vmdk.c: In function ‘header_check_vmdk3’: file_vmdk.c:76:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:76:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:76:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 76 | static int header_check_vmdk3(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_vmdk.c: In function ‘header_check_vmdk4’: file_vmdk.c:92:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_vmdk.c:92:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_vmdk.c:92:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 92 | static int header_check_vmdk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wdp.o file_wdp.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wdp.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wdp.c: In function ‘header_check_wdp’: file_wdp.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wdp.c:47:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_wdp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wee.o file_wee.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wee.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wee.c: In function ‘header_check_wee’: file_wee.c:52:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wee.c:52:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wee.c:52:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 52 | static int header_check_wee(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wim.o file_wim.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wim.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wim.c: In function ‘header_check_wim’: file_wim.c:78:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wim.c:78:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wim.c:78:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 78 | static int header_check_wim(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_win.o file_win.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_win.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_win.c: In function ‘header_check_win’: file_win.c:69:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_win.c:69:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_win.c:69:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_win.c:69:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 69 | static int header_check_win(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wks.o file_wks.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wks.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wks.c: In function ‘header_check_wk4’: file_wks.c:55:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wks.c:55:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wks.c:55:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wks.c:55:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 55 | static int header_check_wk4(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wks.c: In function ‘header_check_wks’: file_wks.c:62:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wks.c:62:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wks.c:62:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wks.c:62:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_wks(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wld.o file_wld.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wld.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wld.c: In function ‘header_check_wld’: file_wld.c:66:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wld.c:66:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wld.c:66:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_wld(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wnk.o file_wnk.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wnk.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wnk.c: In function ‘header_check_wnk’: file_wnk.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wnk.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wnk.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wnk.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_wnk(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wmf.o file_wmf.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wmf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wmf.c: In function ‘header_check_wmf’: file_wmf.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wmf.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wmf.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_wmf.c: In function ‘header_check_other_wmf’: file_wmf.c:73:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wmf.c:73:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wmf.c:73:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 73 | static int header_check_other_wmf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_woff.o file_woff.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_woff.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_woff.c: In function ‘header_check_woff’: file_woff.c:62:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_woff.c:62:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_woff.c:62:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 62 | static int header_check_woff(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpb.o file_wpb.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wpb.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wpb.c: In function ‘header_check_wpb’: file_wpb.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_wpb.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wpb.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wpb.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_wpb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wpd.o file_wpd.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wpd.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wpd.c: In function ‘header_check_wpd’: file_wpd.c:60:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wpd.c:60:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wpd.c:60:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 60 | static int header_check_wpd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wtv.o file_wtv.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_wtv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wtv.c: In function ‘header_check_wtv’: file_wtv.c:47:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wtv.c:47:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_wtv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3f.o file_x3f.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_x3f.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_x3f.c: In function ‘header_check_x3f’: file_x3f.c:59:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 59 | static int header_check_x3f(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x3i.o file_x3i.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_x3i.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_x3i.c: In function ‘header_check_x3i’: file_x3i.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_x3i.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x3i.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x3i.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_x3i(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_wv.o file_wv.c In file included from file_wv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_wv.c: In function ‘header_check_wv’: file_wv.c:66:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_wv.c:66:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_wv.c:66:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 66 | static int header_check_wv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfi.o file_xfi.c In file included from file_xfi.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xfi.c: In function ‘header_check_xfi’: file_xfi.c:44:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfi.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfi.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfi.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_xfi(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xar.o file_xar.c In file included from file_xar.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xar.c: In function ‘header_check_xar’: file_xar.c:58:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xar.c:58:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xar.c:58:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 58 | static int header_check_xar(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_x4a.o file_x4a.c In file included from file_x4a.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_x4a.c: In function ‘header_check_ysfc100’: file_x4a.c:77:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_x4a.c:77:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_x4a.c:77:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 77 | static int header_check_ysfc100(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xcf.o file_xcf.c In file included from file_xcf.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xcf.c: In function ‘header_check_xcf’: file_xcf.c:57:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xcf.c:57:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xcf.c:57:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 57 | static int header_check_xcf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xfs.o file_xfs.c In file included from file_xfs.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xfs.c: In function ‘header_check_xfs_sb’: file_xfs.c:47:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:47:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xfs.c:47:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_xfs_sb(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘data_check_stopasap’: file_xfs.c:63:62: warning: unused parameter ‘buffer’ [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:63:89: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:63:119: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 63 | static data_check_t data_check_stopasap(const unsigned char *buffer, const unsigned int buffer_size, file_recovery_t *file_recovery) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘header_save_xfs’: file_xfs.c:68:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xfs.c:68:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:68:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 68 | static int header_save_xfs(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_xfs.c: In function ‘header_check_xfs_inode’: file_xfs.c:118:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 118 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xfs.c:118:156: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 118 | static int header_check_xfs_inode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xsv.o file_xsv.c In file included from file_xsv.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xsv.c: In function ‘header_check_xsv’: file_xsv.c:46:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xsv.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xsv.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xsv.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_xsv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xml.o file_xml.c In file included from file_xml.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xml.c: In function ‘header_check_xml’: file_xml.c:81:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xml.c:81:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xml.c:81:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xml.c:81:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 81 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xm.o file_xm.c In file included from file_xm.c:25: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xm.c: In function ‘header_check_xm’: file_xm.c:181:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xm.c:181:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xm.c:181:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xm.c:181:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 181 | static int header_check_xm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xpt.o file_xpt.c In file included from file_xpt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xpt.c: In function ‘header_check_xpt’: file_xpt.c:56:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xpt.c:56:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xpt.c:56:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 56 | static int header_check_xpt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xv.o file_xv.c In file included from file_xv.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xv.c: In function ‘header_check_xv’: file_xv.c:47:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xv.c:47:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xv.c:47:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 47 | static int header_check_xv(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_xz.o file_xz.c In file included from file_xz.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_xz.c: In function ‘header_check_xz’: file_xz.c:50:49: warning: unused parameter ‘buffer’ [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_xz.c:50:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_xz.c:50:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_xz.c:50:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 50 | static int header_check_xz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_z2d.o file_z2d.c In file included from file_z2d.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_z2d.c: In function ‘header_check_z2d’: file_z2d.c:46:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_z2d.c:46:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_z2d.c:46:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 46 | static int header_check_z2d(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zcode.o file_zcode.c In file included from file_zcode.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_zcode.c: In function ‘header_check_zcode’: file_zcode.c:44:52: warning: unused parameter ‘buffer’ [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zcode.c:44:79: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zcode.c:44:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zcode.c:44:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_zcode(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zpr.o file_zpr.c In file included from file_zpr.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_zpr.c: In function ‘header_check_zpr’: file_zpr.c:44:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zpr.c:44:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zpr.c:44:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 44 | static int header_check_zpr(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o partgptro.o partgptro.c In file included from partgptro.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition partgptro.c: In function ‘write_part_gpt’: partgptro.c:32:28: warning: unused parameter ‘disk_car’ [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~^~~~~~~~ partgptro.c:32:57: warning: unused parameter ‘list_part’ [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~ partgptro.c:32:92: warning: unused parameter ‘verbose’ [-Wunused-parameter] 32 | int write_part_gpt(disk_t *disk_car, const list_part_t *list_part, const int ro, const int verbose) | ~~~~~~~~~~^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o suspend_no.o suspend_no.c In file included from suspend_no.c:2: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition suspend_no.c: In function ‘suspend_memory’: suspend_no.c:14:34: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 14 | void suspend_memory(j_common_ptr cinfo) { | ~~~~~~~~~~~~~^~~~~ suspend_no.c: In function ‘resume_memory’: suspend_no.c:17:32: warning: unused parameter ‘cinfo’ [-Wunused-parameter] 17 | int resume_memory(j_common_ptr cinfo) | ~~~~~~~~~~~~~^~~~~ make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_txt.o file_txt.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_txt.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_txt.c: In function ‘header_check_ttd’: file_txt.c:531:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:531:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:531:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 531 | static int header_check_ttd(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_ers’: file_txt.c:548:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:548:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:548:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:548:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 548 | static int header_check_ers(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_ics’: file_txt.c:558:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 558 | static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:558:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 558 | static int header_check_ics(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_perlm’: file_txt.c:587:111: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 587 | static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:587:152: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 587 | static int header_check_perlm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_dc’: file_txt.c:616:76: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:616:108: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:616:149: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 616 | static int header_check_dc(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_html’: file_txt.c:702:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 702 | static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:702:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 702 | static int header_check_html(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_vbm’: file_txt.c:729:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:729:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:729:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:729:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 729 | static int header_check_vbm(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_xml_utf8’: file_txt.c:772:114: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 772 | static int header_check_xml_utf8(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:772:155: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 772 | static int header_check_xml_utf8(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_xml_utf16’: file_txt.c:802:56: warning: unused parameter ‘buffer’ [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:802:83: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:802:115: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 802 | static int header_check_xml_utf16(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_xml’: file_txt.c:813:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 813 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:813:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 813 | static int header_check_xml(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_rtf’: file_txt.c:912:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 912 | static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:912:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 912 | static int header_check_rtf(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_xmp’: file_txt.c:930:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 930 | static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:930:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 930 | static int header_check_xmp(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_thunderbird’: file_txt.c:957:85: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 957 | static int header_check_thunderbird(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:957:117: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 957 | static int header_check_thunderbird(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_mbox’: file_txt.c:974:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 974 | static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:974:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 974 | static int header_check_mbox(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c: In function ‘header_check_fasttxt’: file_txt.c:1000:81: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1000:113: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1000:154: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1000 | static int header_check_fasttxt(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_smil’: file_txt.c:1433:51: warning: unused parameter ‘buffer’ [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:1433:78: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1433:110: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1433:151: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1433 | static int header_check_smil(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_stl’: file_txt.c:1444:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1444 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1444:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1444 | static int header_check_stl(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_svg’: file_txt.c:1458:50: warning: unused parameter ‘buffer’ [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_txt.c:1458:77: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_txt.c:1458:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1458:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1458 | static int header_check_svg(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ file_txt.c: In function ‘header_check_snz’: file_txt.c:1467:109: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 1467 | static int header_check_snz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_txt.c:1467:150: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 1467 | static int header_check_snz(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o fidentify.o fidentify.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from fidentify.c:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -c -o file_zip.o file_zip.c make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from file_zip.c:29: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition file_zip.c: In function ‘header_check_winzip’: file_zip.c:882:53: warning: unused parameter ‘buffer’ [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ file_zip.c:882:80: warning: unused parameter ‘buffer_size’ [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ file_zip.c:882:112: warning: unused parameter ‘safe_header_only’ [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ file_zip.c:882:153: warning: unused parameter ‘file_recovery’ [-Wunused-parameter] 882 | static int header_check_winzip(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new) | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' QT_SELECT=qt5 moc-qt5 qphotorec.h -o moc_qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' QT_SELECT=qt5 rcc-qt5 qphotorec.qrc -o rcc_qphotorec.cpp -name qphotorec make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ca.ts -qm lang/qphotorec.ca.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.es.ts -qm lang/qphotorec.es.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.fr.ts -qm lang/qphotorec.fr.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.it.ts -qm lang/qphotorec.it.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ja.ts -qm lang/qphotorec.ja.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.pt.ts -qm lang/qphotorec.pt.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.ru.ts -qm lang/qphotorec.ru.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.tr.ts -qm lang/qphotorec.tr.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p lang QT_SELECT=qt5 lrelease-qt5 -silent lang/qphotorec.zh_TW.ts -qm lang/qphotorec.zh_TW.qm make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qmainrec.o `test -f 'qmainrec.cpp' || echo './'`qmainrec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from qmainrec.cpp:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qphbs.o `test -f 'qphbs.cpp' || echo './'`qphbs.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from qphbs.cpp:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qpsearch.o `test -f 'qpsearch.cpp' || echo './'`qpsearch.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from qpsearch.cpp:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-qphotorec.o `test -f 'qphotorec.cpp' || echo './'`qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from qphotorec.cpp:24: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition qphotorec.cpp: In member function ‘void QPhotorec::PartListWidget_updateUI()’: qphotorec.cpp:287:27: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 287 | partname.sprintf("[%s]", partition->partname); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44, from /usr/include/qt5/QtWidgets/qapplication.h:44, from /usr/include/qt5/QtWidgets/QApplication:1, from qphotorec.cpp:59: /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ qphotorec.cpp:292:25: warning: ‘QString& QString::sprintf(const char*, ...)’ is deprecated: Use asprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 292 | fsname.sprintf(" [%s]", partition->fsname); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/qt5/QtCore/qstring.h:393:14: note: declared here 393 | QString &sprintf(const char *format, ...) Q_ATTRIBUTE_FORMAT_PRINTF(2, 3); | ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o fidentify fidentify.o common.o misc.o phcfg.o setdate.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o log.o crc.o ext2_common.o fat_common.o suspend_no.o -ljpeg -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:389:12: memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-moc_qphotorec.o `test -f 'moc_qphotorec.cpp' || echo './'`moc_qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In file included from qphotorec.h:15, from moc_qphotorec.cpp:10: ../config.h:610: warning: "_FORTIFY_SOURCE" redefined 610 | #define _FORTIFY_SOURCE 2 | : note: this is the location of the previous definition make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-rcc_qphotorec.o `test -f 'rcc_qphotorec.cpp' || echo './'`rcc_qphotorec.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' ln -s qphotorec_locale.qrc . || exit 0 QT_SELECT=qt5 rcc-qt5 ./qphotorec_locale.qrc -o rcc_qphotorec_locale.cpp -name qphotorec_locale make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' ln: failed to create symbolic link './qphotorec_locale.qrc': File exists make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DHAVE_CONFIG_H -I. -I.. -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -c -o qphotorec-rcc_qphotorec_locale.o `test -f 'rcc_qphotorec_locale.cpp' || echo './'`rcc_qphotorec_locale.cpp make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o testdisk autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o addpart.o addpartn.o adv.o askloc.o chgarch.o chgarchn.o chgtype.o chgtypen.o dimage.o dirn.o dirpart.o diskacc.o diskcapa.o edit.o ext2_sb.o ext2_sbn.o fat1x.o fat32.o fat_adv.o fat_cluster.o fatn.o geometry.o geometryn.o godmode.o hiddenn.o intrface.o intrfn.o nodisk.o ntfs_adv.o ntfs_fix.o ntfs_udl.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o tanalyse.o tbanner.o tdelete.o tdiskop.o tdisksel.o testdisk.o texfat.o thfs.o tload.o tlog.o tmbrcode.o tntfs.o toptions.o tpartwr.o dir.o exfat_dir.o ext2_dir.o fat_dir.o ntfs_dir.o partgptw.o rfs_dir.o setdate.o next.o -lncursesw -ltinfo -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wdeclaration-after-statement -Wall -Wextra -MD -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wshadow -Wwrite-strings -W -Wcast-align -Waggregate-return -Wbad-function-cast -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wnested-externs -Winline -Wdisabled-optimization -Wfloat-equal -Wmissing-format-attribute -Wmultichar -Wc++-compat -Wformat=2 -Wunreachable-code -Wvla -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o photorec phmain.o photorec.o phcfg.o addpart.o chgarch.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o phcli.o poptions.o sessionp.o setdate.o dfxml.o addpartn.o askloc.o chgarchn.o chgtype.o chgtypen.o fat_cluster.o fat_unformat.o geometryn.o hiddenn.o intrfn.o nodisk.o parti386n.o partgptn.o partmacn.o partsunn.o partxboxn.o pbanner.o pblocksize.o pdiskseln.o pfree_whole.o phbf.o phbs.o phnc.o phrecn.o ppartseln.o psearchn.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o suspend_no.o -lncursesw -ltinfo -ljpeg -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:389:12: memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' g++ -DQT_GUI_LIB -I/usr/include/qt5/QtGui -I/usr/include/qt5 -DQT_CORE_LIB -I/usr/include/qt5/QtCore -DQT_WIDGETS_LIB -I/usr/include/qt5/QtWidgets -I/usr/include/qt5 -DQT_GUI_LIB -I/usr/include/qt5/QtGui -DQT_CORE_LIB -I/usr/include/qt5/QtCore -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -MD -Wpointer-arith -Wmissing-declarations -Wshadow -Wwrite-strings -W -Wcast-align -Wcast-qual -Wundef -Wredundant-decls -Wsign-compare -Wdisabled-optimization -Wmissing-format-attribute -Wmultichar -Wformat=2 -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -Wvla --std=c++14 -fstack-protector-strong -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o qphotorec qphotorec-qmainrec.o qphotorec-qphotorec.o qphotorec-qphbs.o qphotorec-qpsearch.o chgtype.o photorec.o phcfg.o addpart.o chgarch.o dir.o exfatp.o ext2grp.o ext2_dir.o ext2p.o fat_dir.o fatp.o file_found.o geometry.o ntfs_dir.o ntfsp.o pdisksel.o phcli.o poptions.o sessionp.o setdate.o dfxml.o filegen.o file_list.o file_1cd.o file_3dm.o file_7z.o file_DB.o file_a.o file_ab.o file_abr.o file_acb.o file_ace.o file_ado.o file_afdesign.o file_ahn.o file_aif.o file_all.o file_als.o file_amd.o file_amr.o file_apa.o file_ape.o file_apple.o file_ari.o file_arj.o file_asf.o file_asl.o file_asm.o file_atd.o file_au.o file_axp.o file_axx.o file_bac.o file_bdm.o file_berkeley.o file_bim.o file_bin.o file_binvox.o file_bkf.o file_bld.o file_bmp.o file_bpg.o file_bvr.o file_bz2.o file_c4d.o file_cab.o file_caf.o file_cam.o file_catdrawing.o file_cdt.o file_che.o file_chm.o file_class.o file_cm.o file_compress.o file_cow.o file_cpi.o file_crw.o file_csh.o file_ctg.o file_cwk.o file_d2s.o file_dad.o file_dar.o file_dat.o file_dbf.o file_dbn.o file_dcm.o file_ddf.o file_dex.o file_dim.o file_dir.o file_djv.o file_dmp.o file_doc.o file_dpx.o file_drw.o file_ds2.o file_ds_store.o file_dsc.o file_dss.o file_dst.o file_dta.o file_dump.o file_dv.o file_dvi.o file_dvr.o file_dwg.o file_dxf.o file_e01.o file_edb.o file_ecryptfs.o file_elf.o file_emf.o file_ess.o file_evt.o file_evtx.o file_exe.o file_exs.o file_ext.o file_ext2.o file_fat.o file_fbf.o file_fbk.o file_fcp.o file_fcs.o file_fdb.o file_fds.o file_fh10.o file_fh5.o file_filevault.o file_fits.o file_fit.o file_flac.o file_flp.o file_flv.o file_fm.o file_fob.o file_fos.o file_fp5.o file_fp7.o file_freeway.o file_frm.o file_fs.o file_fwd.o file_gam.o file_gct.o file_gho.o file_gi.o file_gif.o file_gm6.o file_gp2.o file_gp5.o file_gpg.o file_gpx.o file_gsm.o file_gz.o file_hdf.o file_hdr.o file_hds.o file_hfsp.o file_hm.o file_hr9.o file_http.o file_ibd.o file_icc.o file_icns.o file_ico.o file_ifo.o file_idx.o file_imb.o file_indd.o file_info.o file_iso.o file_it.o file_itu.o file_jks.o file_jpg.o file_jsonlz4.o file_kdb.o file_kdbx.o file_key.o file_ldf.o file_lit.o file_lnk.o file_logic.o file_lso.o file_luks.o file_lxo.o file_lzh.o file_lzo.o file_m2ts.o file_mat.o file_max.o file_mb.o file_mcd.o file_mdb.o file_mdf.o file_mfa.o file_mfg.o file_mft.o file_mid.o file_mig.o file_mk5.o file_mkv.o file_mlv.o file_mobi.o file_mov.o file_mp3.o file_mpg.o file_mpl.o file_mrw.o file_msa.o file_mus.o file_mxf.o file_myo.o file_mysql.o file_nd2.o file_nds.o file_nes.o file_njx.o file_nk2.o file_nsf.o file_oci.o file_ogg.o file_one.o file_orf.o file_paf.o file_pap.o file_par2.o file_pcap.o file_pcb.o file_pct.o file_pcx.o file_pdb.o file_pdf.o file_pds.o file_pf.o file_pfx.o file_pgdump.o file_plist.o file_plr.o file_plt.o file_png.o file_pnm.o file_prc.o file_prd.o file_prt.o file_ps.o file_psb.o file_psd.o file_psf.o file_psp.o file_pst.o file_ptb.o file_ptf.o file_pyc.o file_pzf.o file_pzh.o file_qbb.o file_qdf.o file_qkt.o file_qxd.o file_r3d.o file_ra.o file_raf.o file_rar.o file_raw.o file_rdc.o file_reg.o file_res.o file_rfp.o file_riff.o file_rlv.o file_rm.o file_rns.o file_rpm.o file_rw2.o file_rx2.o file_save.o file_ses.o file_sgcta.o file_shn.o file_sib.o file_sig.o file_sit.o file_skd.o file_skp.o file_snag.o file_sp3.o file_spe.o file_spf.o file_spss.o file_sql.o file_sqm.o file_steuer2014.o file_stl.o file_stu.o file_studio.o file_swf.o file_tar.o file_tax.o file_tg.o file_tib.o file_tiff.o file_tiff_be.o file_tiff_le.o file_tivo.o file_torrent.o file_tph.o file_tpl.o file_ttf.o file_txt.o file_tz.o file_v2i.o file_vault.o file_vdi.o file_vdj.o file_veg.o file_vfb.o file_vib.o file_vmdk.o file_vmg.o file_wallet.o file_wdp.o file_wee.o file_wim.o file_win.o file_wks.o file_wld.o file_wmf.o file_wnk.o file_woff.o file_wpb.o file_wpd.o file_wtv.o file_wv.o file_x3f.o file_x3i.o file_x4a.o file_xar.o file_xcf.o file_xfi.o file_xfs.o file_xm.o file_xml.o file_xsv.o file_xpt.o file_xv.o file_xz.o file_z2d.o file_zcode.o file_zip.o file_zpr.o autoset.o common.o crc.o ewf.o fnctdsk.o hdaccess.o hdcache.o hdwin32.o hidden.o hpa_dco.o intrf.o iso.o list_sort.o log.o log_part.o misc.o msdos.o parti386.o partgpt.o parthumax.o partmac.o partsun.o partnone.o partxbox.o io_redir.o ntfs_io.o ntfs_utl.o partauto.o sudo.o unicode.o win32.o partgptro.o analyse.o bfs.o bsd.o btrfs.o cramfs.o exfat.o ext2.o ext2_common.o fat.o fat_common.o fatx.o f2fs.o jfs.o gfs2.o hfs.o hfsp.o hpfs.o luks.o lvm.o md.o netware.o ntfs.o refs.o rfs.o savehdr.o sun.o swap.o sysv.o ufs.o vmfs.o wbfs.o xfs.o zfs.o suspend_no.o qphotorec-moc_qphotorec.o qphotorec-rcc_qphotorec.o qphotorec-rcc_qphotorec_locale.o -ljpeg -lQt5Gui -lQt5Core -lQt5Widgets -lQt5Gui -lQt5Core -lewf -lz -luuid -lntfs-3g -lext2fs -lcom_err make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' In function ‘header_check_doc’, inlined from ‘header_check_doc’ at file_doc.c:389:12: memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:447:11: note: called from here 447 | else if(td_memmem(buffer,buffer_size,"StarCalc",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:451:11: note: called from here 451 | else if(td_memmem(buffer,buffer_size,"StarImpress",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:455:11: note: called from here 455 | else if(td_memmem(buffer,buffer_size,"Worksheet",9)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:456:7: note: called from here 456 | td_memmem(buffer,buffer_size,"Book",4)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:457:7: note: called from here 457 | td_memmem(buffer,buffer_size,"Workbook",8)!=NULL || | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:458:7: note: called from here 458 | td_memmem(buffer,buffer_size,"Calc",4)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:462:11: note: called from here 462 | else if(td_memmem(buffer,buffer_size,"Power",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:466:11: note: called from here 466 | else if(td_memmem(buffer,buffer_size,"AccessObjSiteData",17)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:470:11: note: called from here 470 | else if(td_memmem(buffer,buffer_size,"Visio",5)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:474:11: note: called from here 474 | else if(td_memmem(buffer,buffer_size,"SfxDocument",11)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:478:11: note: called from here 478 | else if(td_memmem(buffer,buffer_size,"CPicPage",8)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:482:11: note: called from here 482 | else if(td_memmem(buffer,buffer_size,"Microsoft Publisher",19)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:486:11: note: called from here 486 | else if(td_memmem(buffer, buffer_size, "Microsoft Works Database", 24)!=NULL | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:487:10: note: called from here 487 | || td_memmem( buffer, buffer_size, "MSWorksDBDoc", 12)!=NULL) | ^ memmem.h:25:27: warning: inlining failed in call to ‘td_memmem’: call is unlikely and code size would grow [-Winline] 25 | static inline const void *td_memmem(const void *haystack, const unsigned int haystack_len, const void *needle, const unsigned int needle_len) | ^ file_doc.c:491:11: note: called from here 491 | else if(td_memmem(buffer,buffer_size,"MetaStock",9)!=NULL) | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zGAN5n + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le ++ dirname /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd testdisk-7.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le 'INSTALL=/usr/bin/install -p' Making install in icons make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/icons/hicolor' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/icons/hicolor/48x48/apps' /usr/bin/install -p -m 644 48x48/apps/qphotorec.png '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/icons/hicolor/48x48/apps' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/icons/hicolor/scalable/apps' /usr/bin/install -p -m 644 scalable/apps/qphotorec.svg '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/icons/hicolor/scalable/apps' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/icons' *** Icon cache not updated. After (un)install, run this: *** gtk-update-icon-cache -f -t /usr/share/icons/hicolor make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/icons' Making install in man make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' Making install in zh_CN make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/man/zh_CN/man8' /usr/bin/install -p -m 644 testdisk.8 photorec.8 fidentify.8 qphotorec.8 '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/man/zh_CN/man8' make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man/zh_CN' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/man/man8' /usr/bin/install -p -m 644 testdisk.8 photorec.8 fidentify.8 qphotorec.8 '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/man/man8' make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/man' Making install in src make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/bin' /usr/bin/install -p testdisk photorec fidentify qphotorec '/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1/src' make[1]: Entering directory '/builddir/build/BUILD/testdisk-7.1' make[2]: Entering directory '/builddir/build/BUILD/testdisk-7.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/testdisk-7.1' /bin/sh /builddir/build/BUILD/testdisk-7.1/config/install-sh -d /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk /usr/bin/install -p -m 644 ./AUTHORS ./ChangeLog ./NEWS ./README.md ./THANKS ./documentation.html /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk /bin/sh /builddir/build/BUILD/testdisk-7.1/config/install-sh -d /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/applications /usr/bin/install -p -m 644 ./linux/qphotorec.desktop /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/applications make[3]: Leaving directory '/builddir/build/BUILD/testdisk-7.1' make[2]: Leaving directory '/builddir/build/BUILD/testdisk-7.1' make[1]: Leaving directory '/builddir/build/BUILD/testdisk-7.1' + /usr/bin/find-debuginfo -j5 --strict-build-id -m -i --build-id-seed 7.1-11.fc40 --unique-debug-suffix -7.1-11.fc40.ppc64le --unique-debug-src-base testdisk-7.1-11.fc40.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/testdisk-7.1 find-debuginfo: starting Extracting debug info from 4 files DWARF-compressing 4 files sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/testdisk-7.1-11.fc40.ppc64le 6912 blocks find-debuginfo: done + /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-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j5 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.6vAH6W + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd testdisk-7.1 + desktop-file-validate /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le//usr/share/applications/qphotorec.desktop + RPM_EC=0 ++ jobs -p + exit 0 Processing files: testdisk-7.1-11.fc40.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.F5p8na + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + DOCDIR=/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/AUTHORS /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/ChangeLog /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/NEWS /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/README.md /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/THANKS /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/documentation.html /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/doc/testdisk + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.aULvY3 + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + LICENSEDIR=/builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/licenses/testdisk + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/licenses/testdisk + cp -pr /builddir/build/BUILD/testdisk-7.1/COPYING /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le/usr/share/licenses/testdisk + RPM_EC=0 ++ jobs -p + exit 0 Provides: testdisk = 7.1-11.fc40 testdisk(ppc-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libewf.so.2()(64bit) libext2fs.so.2()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libncursesw.so.6()(64bit) libntfs-3g.so.89()(64bit) libtinfo.so.6()(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: testdisk-doc < 6.12 Processing files: qphotorec-7.1-11.fc40.ppc64le Provides: application() application(qphotorec.desktop) qphotorec = 7.1-11.fc40 qphotorec(ppc-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libQt5Core.so.5()(64bit) libQt5Core.so.5(Qt_5)(64bit) libQt5Gui.so.5()(64bit) libQt5Gui.so.5(Qt_5)(64bit) libQt5Widgets.so.5()(64bit) libQt5Widgets.so.5(Qt_5)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libewf.so.2()(64bit) libext2fs.so.2()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libntfs-3g.so.89()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: testdisk-debugsource-7.1-11.fc40.ppc64le Provides: testdisk-debugsource = 7.1-11.fc40 testdisk-debugsource(ppc-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: testdisk-debuginfo-7.1-11.fc40.ppc64le Provides: debuginfo(build-id) = 8e276663637e6076b715a2b8127dc906d5dcb228 debuginfo(build-id) = d7989f49b1ab42d5d6991f42f54b01a7cd45e03e debuginfo(build-id) = f9e5f9054e3db36cdf9b1d1ccbaeed9af8884f76 testdisk-debuginfo = 7.1-11.fc40 testdisk-debuginfo(ppc-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: testdisk-debugsource(ppc-64) = 7.1-11.fc40 Processing files: qphotorec-debuginfo-7.1-11.fc40.ppc64le Provides: debuginfo(build-id) = 0f44f29f1eac8c02708378a85f4d7de14247510d qphotorec-debuginfo = 7.1-11.fc40 qphotorec-debuginfo(ppc-64) = 7.1-11.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: testdisk-debugsource(ppc-64) = 7.1-11.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le Wrote: /builddir/build/RPMS/qphotorec-7.1-11.fc40.ppc64le.rpm Wrote: /builddir/build/RPMS/testdisk-7.1-11.fc40.ppc64le.rpm Wrote: /builddir/build/RPMS/qphotorec-debuginfo-7.1-11.fc40.ppc64le.rpm Wrote: /builddir/build/RPMS/testdisk-debuginfo-7.1-11.fc40.ppc64le.rpm Wrote: /builddir/build/RPMS/testdisk-debugsource-7.1-11.fc40.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IBtGvN + umask 022 + cd /builddir/build/BUILD + cd testdisk-7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/testdisk-7.1-11.fc40.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.ddheGv + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/testdisk-7.1-SPECPARTS + rm -rf testdisk-7.1 testdisk-7.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild testdisk-7.1-11.fc40.src.rpm Finish: build phase for testdisk-7.1-11.fc40.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-ppc64le-1704906473.600591/root/var/log/dnf5.log INFO: Done(/var/lib/copr-rpmbuild/results/testdisk-7.1-11.fc40.src.rpm) Config(child) 1 minutes 48 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": "testdisk-debugsource", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "ppc64le" }, { "name": "qphotorec", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "ppc64le" }, { "name": "testdisk-debuginfo", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "ppc64le" }, { "name": "testdisk", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "ppc64le" }, { "name": "qphotorec-debuginfo", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "ppc64le" }, { "name": "testdisk", "epoch": null, "version": "7.1", "release": "11.fc40", "arch": "src" } ] } RPMResults finished