Task #906 - mdadm-4.3-3.fc41/scan.log
back to task #906download
scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.5.3-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpnzoj29a0/mdadm-4.3-3.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpnzoj29a0/mdadm-4.3-3.fc41.src.rpm' scan.ini: host = ip-172-16-1-56.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpnzoj29a0/mdadm-4.3-3.fc41.tar.xz scan.ini: time-created = 2024-07-03 16:12:42 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = mdadm-4.3-3.fc41 >>> 2024-07-03 16:12:42 "rpm -qa | sort -V > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/rpm-list-host.txt'" >>> 2024-07-03 16:12:42 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init 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: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init 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: Package manager dnf5 detected and used (direct choice) Finish: chroot init Finish: run >>> 2024-07-03 16:12:44 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockj43lshr2/mdadm-4.3-3.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: binutils-devel x86_64 2.42.50-14.fc41 fedora 54.7 MiB gcc x86_64 14.1.1-6.fc41 fedora 104.1 MiB gnupg2 x86_64 2.4.5-1.fc41 fedora 9.5 MiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB mandoc x86_64 1.14.6-8.fc40 fedora 807.0 KiB systemd-devel x86_64 256.1-3.fc41 fedora 555.8 KiB systemd-rpm-macros noarch 256.1-3.fc41 fedora 9.3 KiB Installing dependencies: annobin-docs noarch 12.60-1.fc41 fedora 96.2 KiB annobin-plugin-gcc x86_64 12.60-1.fc41 fedora 976.2 KiB cmake-filesystem x86_64 3.28.3-6.fc41 fedora 0.0 B cpp x86_64 14.1.1-6.fc41 fedora 35.0 MiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc-plugin-annobin x86_64 14.1.1-6.fc41 fedora 57.1 KiB glibc-devel x86_64 2.39.9000-26.fc41 fedora 36.8 KiB glibc-headers-x86 noarch 2.39.9000-26.fc41 fedora 2.2 MiB gnutls x86_64 3.8.5-6.fc41 fedora 3.2 MiB guile30 x86_64 3.0.9-1.fc41 fedora 52.7 MiB json-c x86_64 0.17-3.fc40 fedora 82.4 KiB kernel-headers x86_64 6.10.0-0.rc6.50.fc41 fedora 6.3 MiB libassuan x86_64 2.5.7-1.fc41 fedora 163.8 KiB libgcrypt x86_64 1.11.0-1.fc41 fedora 1.5 MiB libgpg-error x86_64 1.50-1.fc41 fedora 889.5 KiB libksba x86_64 1.6.7-1.fc41 fedora 398.4 KiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB nettle x86_64 3.10-2.fc41 fedora 793.0 KiB npth x86_64 1.7-1.fc41 fedora 49.4 KiB tpm2-tss x86_64 4.1.3-1.fc41 fedora 1.5 MiB zlib-ng-compat-devel x86_64 2.1.7-1.fc41 fedora 106.8 KiB Transaction Summary: Installing: 29 packages Total size of inbound packages is 77 MiB. Need to download 6 MiB. After this operation 278 MiB will be used (install 278 MiB, remove 0 B). [ 1/29] gcc-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/29] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/29] systemd-rpm-macros-0:256.1-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/29] binutils-devel-0:2.42.50-14.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/29] systemd-devel-0:256.1-3.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/29] cpp-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/29] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/29] guile30-0:3.0.9-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/29] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/29] annobin-plugin-gcc-0:12.60-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/29] gcc-plugin-annobin-0:14.1.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/29] annobin-docs-0:12.60-1.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/29] glibc-devel-0:2.39.9000-26.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/29] glibc-headers-x86-0:2.39.9000-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/29] libxcrypt-devel-0:4.4.36-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/29] zlib-ng-compat-devel-0:2.1.7-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/29] cmake-filesystem-0:3.28.3-6.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/29] kernel-headers-0:6.10.0-0.rc6.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/29] gnutls-0:3.8.5-6.fc41.x86_64 100% | 13.7 MiB/s | 1.1 MiB | 00m00s [20/29] gnupg2-0:2.4.5-1.fc41.x86_64 100% | 18.1 MiB/s | 2.7 MiB | 00m00s [21/29] libassuan-0:2.5.7-1.fc41.x86_64 100% | 968.8 KiB/s | 66.8 KiB | 00m00s [22/29] libgcrypt-0:1.11.0-1.fc41.x86_6 100% | 33.2 MiB/s | 578.6 KiB | 00m00s [23/29] libgpg-error-0:1.50-1.fc41.x86_ 100% | 12.9 MiB/s | 237.3 KiB | 00m00s [24/29] libksba-0:1.6.7-1.fc41.x86_64 100% | 15.6 MiB/s | 159.4 KiB | 00m00s [25/29] npth-0:1.7-1.fc41.x86_64 100% | 3.0 MiB/s | 24.9 KiB | 00m00s [26/29] tpm2-tss-0:4.1.3-1.fc41.x86_64 100% | 30.9 MiB/s | 411.8 KiB | 00m00s [27/29] nettle-0:3.10-2.fc41.x86_64 100% | 26.1 MiB/s | 428.4 KiB | 00m00s [28/29] json-c-0:0.17-3.fc40.x86_64 100% | 4.8 MiB/s | 44.0 KiB | 00m00s [29/29] mandoc-0:1.14.6-8.fc40.x86_64 100% | 509.4 KiB/s | 359.6 KiB | 00m01s -------------------------------------------------------------------------------- [29/29] Total 100% | 8.2 MiB/s | 6.0 MiB | 00m01s Running transaction [ 1/31] Verify package files 100% | 113.0 B/s | 29.0 B | 00m00s [ 2/31] Prepare transaction 100% | 878.0 B/s | 29.0 B | 00m00s [ 3/31] Installing libgpg-error-0:1.50- 100% | 54.7 MiB/s | 895.4 KiB | 00m00s [ 4/31] Installing libmpc-0:1.3.1-5.fc4 100% | 54.1 MiB/s | 166.2 KiB | 00m00s [ 5/31] Installing cpp-0:14.1.1-6.fc41. 100% | 336.5 MiB/s | 35.0 MiB | 00m00s [ 6/31] Installing libassuan-0:2.5.7-1. 100% | 40.4 MiB/s | 165.6 KiB | 00m00s [ 7/31] Installing libgcrypt-0:1.11.0-1 100% | 171.4 MiB/s | 1.5 MiB | 00m00s [ 8/31] Installing libksba-0:1.6.7-1.fc 100% | 48.9 MiB/s | 401.0 KiB | 00m00s [ 9/31] Installing kernel-headers-0:6.1 100% | 104.0 MiB/s | 6.4 MiB | 00m00s [10/31] Installing cmake-filesystem-0:3 100% | 1.2 MiB/s | 7.1 KiB | 00m00s [11/31] Installing zlib-ng-compat-devel 100% | 21.2 MiB/s | 108.3 KiB | 00m00s [12/31] Installing glibc-headers-x86-0: 100% | 67.2 MiB/s | 2.3 MiB | 00m00s [13/31] Installing libxcrypt-devel-0:4. 100% | 2.4 MiB/s | 32.6 KiB | 00m00s [14/31] Installing glibc-devel-0:2.39.9 100% | 4.9 MiB/s | 40.5 KiB | 00m00s [15/31] Installing annobin-docs-0:12.60 100% | 11.9 MiB/s | 97.4 KiB | 00m00s [16/31] Installing gc-0:8.2.2-6.fc40.x8 100% | 19.6 MiB/s | 261.2 KiB | 00m00s [17/31] Installing guile30-0:3.0.9-1.fc 100% | 352.0 MiB/s | 52.8 MiB | 00m00s [18/31] Installing make-1:4.4.1-6.fc40. 100% | 138.5 MiB/s | 1.8 MiB | 00m00s [19/31] Installing gcc-0:14.1.1-6.fc41. 100% | 370.7 MiB/s | 104.2 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [20/31] Installing json-c-0:0.17-3.fc40 100% | 2.0 MiB/s | 83.6 KiB | 00m00s >>> Running pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 >>> Stop pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 [21/31] Installing tpm2-tss-0:4.1.3-1.f 100% | 91.4 MiB/s | 1.6 MiB | 00m00s [22/31] Installing nettle-0:3.10-2.fc41 100% | 129.6 MiB/s | 796.1 KiB | 00m00s [23/31] Installing gnutls-0:3.8.5-6.fc4 100% | 213.8 MiB/s | 3.2 MiB | 00m00s [24/31] Installing npth-0:1.7-1.fc41.x8 100% | 12.3 MiB/s | 50.6 KiB | 00m00s [25/31] Installing gnupg2-0:2.4.5-1.fc4 100% | 226.6 MiB/s | 9.5 MiB | 00m00s [26/31] Installing annobin-plugin-gcc-0 100% | 63.7 MiB/s | 977.9 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [27/31] Installing gcc-plugin-annobin-0 100% | 4.1 MiB/s | 58.6 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [28/31] Installing binutils-devel-0:2.4 100% | 437.9 MiB/s | 54.7 MiB | 00m00s [29/31] Installing systemd-devel-0:256. 100% | 18.6 MiB/s | 685.7 KiB | 00m00s [30/31] Installing systemd-rpm-macros-0 100% | 4.8 MiB/s | 9.9 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [31/31] Installing mandoc-0:1.14.6-8.fc 100% | 289.9 KiB/s | 811.4 KiB | 00m03s >>> Running post-install scriptlet: mandoc-0:1.14.6-8.fc40.x86_64 >>> Stop post-install scriptlet: mandoc-0:1.14.6-8.fc40.x86_64 >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> 2024-07-03 16:12:52 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-1.fc41 fedora 33.9 MiB clang x86_64 18.1.7-1.fc41 fedora 587.7 KiB cppcheck x86_64 2.14.2-1.fc41 fedora 10.1 MiB Installing dependencies: clang-libs x86_64 18.1.7-1.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.7-1.fc41 fedora 522.0 B expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB gcc-c++ x86_64 14.1.1-6.fc41 fedora 38.1 MiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libedit x86_64 3.1-51.20240517cvs.fc41 fedora 243.9 KiB libstdc++-devel x86_64 14.1.1-6.fc41 fedora 15.4 MiB llvm-libs x86_64 18.1.7-1.fc41 fedora 113.5 MiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB pcre x86_64 8.45-1.fc40.6 fedora 541.8 KiB python-pip-wheel noarch 24.1.1-1.fc41 fedora 1.2 MiB python3 x86_64 3.13.0~b3-1.fc41 fedora 31.8 KiB python3-libs x86_64 3.13.0~b3-1.fc41 fedora 40.5 MiB tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB tzdata noarch 2024a-8.fc41 fedora 1.7 MiB Transaction Summary: Installing: 18 packages Total size of inbound packages is 87 MiB. Need to download 0 B. After this operation 364 MiB will be used (install 364 MiB, remove 0 B). [ 1/18] cppcheck-0:2.14.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/18] ShellCheck-0:0.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/18] clang-0:18.1.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/18] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/18] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/18] clang-libs-0:18.1.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/18] llvm-libs-0:18.1.7-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/18] clang-resource-filesystem-0:18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/18] libedit-0:3.1-51.20240517cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/18] python3-0:3.13.0~b3-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/18] python3-libs-0:3.13.0~b3-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/18] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/18] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/18] mpdecimal-0:2.5.1-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/18] python-pip-wheel-0:24.1.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/18] tzdata-0:2024a-8.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/18] gcc-c++-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/18] libstdc++-devel-0:14.1.1-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/20] Verify package files 100% | 62.0 B/s | 18.0 B | 00m00s [ 2/20] Prepare transaction 100% | 473.0 B/s | 18.0 B | 00m00s [ 3/20] Installing libstdc++-devel-0:14 100% | 222.2 MiB/s | 15.6 MiB | 00m00s [ 4/20] Installing gcc-c++-0:14.1.1-6.f 100% | 326.1 MiB/s | 38.2 MiB | 00m00s [ 5/20] Installing tzdata-0:2024a-8.fc4 100% | 31.8 MiB/s | 1.9 MiB | 00m00s [ 6/20] Installing python-pip-wheel-0:2 100% | 249.9 MiB/s | 1.2 MiB | 00m00s [ 7/20] Installing mpdecimal-0:2.5.1-9. 100% | 49.3 MiB/s | 202.0 KiB | 00m00s [ 8/20] Installing libb2-0:0.98.1-11.fc 100% | 14.1 MiB/s | 43.3 KiB | 00m00s [ 9/20] Installing expat-0:2.6.2-1.fc41 100% | 30.7 MiB/s | 282.9 KiB | 00m00s [10/20] Installing python3-libs-0:3.13. 100% | 229.4 MiB/s | 40.8 MiB | 00m00s [11/20] Installing python3-0:3.13.0~b3- 100% | 8.2 MiB/s | 33.6 KiB | 00m00s [12/20] Installing libedit-0:3.1-51.202 100% | 48.0 MiB/s | 245.6 KiB | 00m00s [13/20] Installing llvm-libs-0:18.1.7-1 100% | 399.5 MiB/s | 113.5 MiB | 00m00s [14/20] Installing clang-resource-files 100% | 522.1 KiB/s | 1.6 KiB | 00m00s [15/20] Installing clang-libs-0:18.1.7- 100% | 431.3 MiB/s | 107.8 MiB | 00m00s [16/20] Installing tinyxml2-0:9.0.0-4.f 100% | 25.6 MiB/s | 104.9 KiB | 00m00s [17/20] Installing pcre-0:8.45-1.fc40.6 100% | 88.6 MiB/s | 544.1 KiB | 00m00s [18/20] Installing cppcheck-0:2.14.2-1. 100% | 305.5 MiB/s | 10.1 MiB | 00m00s [19/20] Installing clang-0:18.1.7-1.fc4 100% | 82.4 MiB/s | 590.4 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [20/20] Installing ShellCheck-0:0.10.0- 100% | 19.9 MiB/s | 33.9 MiB | 00m02s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 16:12:57 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:12:58 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockj43lshr2/rpm-list-mock-provides.txt" >>> 2024-07-03 16:12:59 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockj43lshr2/mdadm-4.3-3.fc41.src.rpm" "/builddir/mdadm-4.3-3.fc41.src.rpm" >>> 2024-07-03 16:13:00 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-07-03 16:13:01 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/mdadm-4.3-3.fc41.src.rpm'\"" Updating / installing... mdadm-4.3-3.fc41 ######################################## >>> 2024-07-03 16:13:02 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/mdadm.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' && sh -c 'cd /builddir/build/SRPMS && eval mv -v *.src.rpm /builddir/mdadm-4.3-3.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1715126400 Wrote: /builddir/build/SRPMS/mdadm-4.3-3.fc41.src.rpm renamed 'mdadm-4.3-3.fc41.src.rpm' -> '/builddir/mdadm-4.3-3.fc41.src.rpm' >>> 2024-07-03 16:13:03 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/mdadm-4.3-3.fc41.src.rpm" "/tmp/csmockj43lshr2/mdadm-4.3-3.fc41.src.rpm" >>> 2024-07-03 16:13:05 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockj43lshr2/mdadm-4.3-3.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "binutils-devel-2.42.50-14.fc41.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "gnupg2-2.4.5-1.fc41.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Package "mandoc-1.14.6-8.fc40.x86_64" is already installed. Package "systemd-devel-256.1-3.fc41.x86_64" is already installed. Package "systemd-rpm-macros-256.1-3.fc41.noarch" is already installed. Nothing to do. >>> 2024-07-03 16:13:06 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.7-1.fc41.x86_64" is already installed. Package "cppcheck-2.14.2-1.fc41.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-07-03 16:13:08 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:13:09 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockj43lshr2/rpm-list-mock-provides.txt" >>> 2024-07-03 16:13:10 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 992.4 KiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.4.0-1.fc41 fedora 3.6 MiB Installing dependencies: boost-atomic x86_64 1.83.0-7.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-7.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-7.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-7.fc41 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation 4 MiB will be used (install 4 MiB, remove 0 B). [1/5] csdiff-0:3.4.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-7. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 1.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 277.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 4.2 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 7.2 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 36.3 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 53.5 MiB/s | 273.8 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [7/7] Installing csdiff-0:3.4.0-1.fc41. 100% | 50.0 MiB/s | 3.7 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 16:13:11 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:13:13 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockj43lshr2/rpm-list-mock-provides.txt" >>> 2024-07-03 16:13:14 "tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/csclng' '/usr/lib64/csclng' '/usr/bin/csclng++' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'" tar: Removing leading `/' from member names scan.ini: analyzer-version-clang = 18.1.7 scan.ini: analyzer-version-cppcheck = 2.14.2 scan.ini: analyzer-version-gcc = 14.1.1 >>> 2024-07-03 16:13:16 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" scan.ini: analyzer-version-gcc-analyzer = 14.1.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-07-03 16:13:18 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41.src.rpm'" Updating / installing... mdadm-4.3-3.fc41 ######################################## >>> 2024-07-03 16:13:19 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-07-03 16:13:20 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh + sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs '/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true' RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh >>> 2024-07-03 16:13:21 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/mdadm.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/mdadm.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init 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: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init 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) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Start: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1715126400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.1biIR6 + umask 022 + cd /builddir/build/BUILD/mdadm-4.3-build + test -d /builddir/build/BUILD/mdadm-4.3-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/mdadm-4.3-build + /usr/bin/rm -rf /builddir/build/BUILD/mdadm-4.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/mdadm-4.3-build + /usr/bin/mkdir -p /builddir/build/BUILD/mdadm-4.3-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9fdhD4 + umask 022 + cd /builddir/build/BUILD/mdadm-4.3-build + /usr/bin/xz -dcT0 /builddir/build/SOURCES/mdadm-4.3.tar.xz + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/6F9E3E9D4EDEBB11.asc --signature=/builddir/build/SOURCES/mdadm-4.3.tar.sign --data=- gpgv: Signature made Fri Feb 23 11:01:20 2024 UTC gpgv: using EDDSA key A2320B82F9D51E3BB0E2B3B201C8BB2357D15E24 gpgv: Good signature from "Mariusz Tkaczyk (First Key) <mariusz.tkaczyk@linux.intel.com>" + cd /builddir/build/BUILD/mdadm-4.3-build + rm -rf mdadm-4.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mdadm-4.3.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd mdadm-4.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mdadm-udev.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mdadm-2.5.2-static.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-07-03 16:13:22 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-07-03 16:13:23 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init 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: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init 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) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1715126400 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.c9Gdd6 + umask 022 + cd /builddir/build/BUILD/mdadm-4.3-build + CFLAGS='-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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 mdadm-4.3 + /usr/bin/make -O -j8 V=1 VERBOSE=1 'CXFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' '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 ' SYSCONFDIR=/etc mdadm mdmon raid6check raid6check.man gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o maps.o -c maps.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o ReadMe.o -c ReadMe.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/ReadMe.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o uuid.o -c uuid.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/uuid.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdstat.o -c mdstat.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdstat.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o udev.o -c udev.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o lib.o -c lib.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/lib.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o util.o -c util.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /usr/include/sys/sysmacros.h:24, <--[gcc] from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:53, <--[gcc] from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:25: <--[gcc] In function ‘gnu_dev_minor’, inlined from ‘open_dev_flags’ at util.c:1119:2: /usr/include/sys/sysmacros.h:42:1: warning: leak of file descriptor ‘open_dev_flags(fd2devnm(mdfd), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c: In function ‘reopen_mddev’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2278:6: note: (1) entry to ‘reopen_mddev’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2287:14: note: (2) inlined call to ‘open_dev’ from ‘reopen_mddev’ <--[gcc] In function ‘open_dev’, inlined from ‘reopen_mddev’ at util.c:2287:7: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1125:16: note: (3) calling ‘open_dev_flags’ from ‘reopen_mddev’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c: In function ‘reopen_mddev’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1113:5: note: (4) entry to ‘open_dev_flags’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1120:16: note: (5) calling ‘dev_open’ from ‘open_dev_flags’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1076:5: note: (6) entry to ‘dev_open’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1086:12: note: (7) following ‘false’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1088:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1090:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1109:22: note: (10) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1109:22: note: (11) opened here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1120:16: note: (12) returning to ‘open_dev_flags’ from ‘dev_open’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2287:14: note: (13) inlined call to ‘open_dev’ from ‘reopen_mddev’ <--[gcc] In function ‘open_dev’, inlined from ‘reopen_mddev’ at util.c:2287:7: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1125:16: note: (14) returning to ‘reopen_mddev’ from ‘open_dev_flags’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c: In function ‘reopen_mddev’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1119:9: note: (15) inlined call to ‘gnu_dev_minor’ from ‘open_dev_flags’ <--[gcc] In function ‘gnu_dev_minor’, inlined from ‘open_dev_flags’ at util.c:1119:2: /usr/include/sys/sysmacros.h:42:1: note: (16) ‘open_dev_flags(fd2devnm(mdfd), 0)’ leaks here; was opened at (11) <--[gcc] /usr/include/sys/sysmacros.h:42:1: warning: leak of file descriptor ‘open_dev_flags(fd2devnm(mdfd), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c: In function ‘reopen_mddev’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2278:6: note: (1) entry to ‘reopen_mddev’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2287:14: note: (2) inlined call to ‘open_dev’ from ‘reopen_mddev’ <--[gcc] In function ‘open_dev’, inlined from ‘reopen_mddev’ at util.c:2287:7: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1125:16: note: (3) calling ‘open_dev_flags’ from ‘reopen_mddev’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c: In function ‘reopen_mddev’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1113:5: note: (4) entry to ‘open_dev_flags’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1120:16: note: (5) calling ‘dev_open’ from ‘open_dev_flags’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1076:5: note: (6) entry to ‘dev_open’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1086:12: note: (7) following ‘false’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1088:15: note: (8) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1090:12: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1109:22: note: (10) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1109:22: note: (11) opened here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1120:16: note: (12) returning to ‘open_dev_flags’ from ‘dev_open’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2287:14: note: (13) inlined call to ‘open_dev’ from ‘reopen_mddev’ <--[gcc] In function ‘open_dev’, inlined from ‘reopen_mddev’ at util.c:2287:7: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1125:16: note: (14) returning to ‘reopen_mddev’ from ‘open_dev_flags’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c: In function ‘reopen_mddev’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2288:12: note: (15) assuming ‘open_dev_flags(fd2devnm(mdfd), 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2288:12: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2289:17: note: (17) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:1119:9: note: (18) inlined call to ‘gnu_dev_minor’ from ‘open_dev_flags’ <--[gcc] In function ‘gnu_dev_minor’, inlined from ‘open_dev_flags’ at util.c:1119:2: /usr/include/sys/sysmacros.h:42:1: note: (19) ‘open_dev_flags(fd2devnm(mdfd), 0)’ leaks here; was opened at (11) <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c: In function ‘manage_fork_fds’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2211:9: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2211:9: note: (1) leaks here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2214:9: warning: ‘dup2’ on closed file descriptor ‘0’ [-Wanalyzer-fd-use-after-close] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2210:9: note: (1) closed here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2214:9: note: (2) ‘dup2’ on closed file descriptor ‘0’; ‘close’ was at (1) <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2215:9: warning: ‘dup2’ on closed file descriptor ‘0’ [-Wanalyzer-fd-use-after-close] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2210:9: note: (1) closed here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/util.c:2215:9: note: (2) ‘dup2’ on closed file descriptor ‘0’; ‘close’ was at (1) <--[gcc] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Build.o -c Build.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Build.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdadm.o -c mdadm.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1060:30: warning: leak of file descriptor ‘open(optarg, 2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:110:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:115:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:117:16: note: (3) following ‘true’ branch (when ‘opt != -1’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:122:17: note: (4) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:122:17: note: (5) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:184:17: note: (6) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:261:20: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:263:44: note: (8) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:263:27: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:274:28: note: (10) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:274:27: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:276:34: note: (12) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:276:28: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:321:17: note: (14) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:321:17: note: (15) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:333:20: note: (16) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:333:20: note: (17) following ‘false’ branch (when ‘opt != 1’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:367:19: note: (18) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:368:25: note: in expansion of macro ‘O’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:368:17: note: (19) following ‘case 65634:, case 65879:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1047:17: note: (20) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1049:28: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1053:29: note: (22) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1053:28: note: (23) following ‘false’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1054:29: note: (24) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1053:61: note: (25) following ‘false’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1059:37: note: (26) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1059:37: note: (27) opened here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.c:1060:30: note: (28) ‘open(optarg, 2)’ leaks here; was opened at (27) <--[gcc] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Create.o -c Create.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Create.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Create.c:575:17: warning: Although the value stored to 'rv' is used in the enclosing expression, the value is never actually read from 'rv' [deadcode.DeadStores] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Detail.o -c Detail.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Detail.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Detail.c:105:8: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Detail.c:141:10: warning: Access to field 'ss' results in a dereference of a null pointer (loaded from variable 'st') [core.NullDereference] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Examine.o -c Examine.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o dlink.o -c dlink.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Kill.o -c Kill.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Kill.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Manage.o -c Manage.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Manage.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Manage.c:68:5: warning: Value stored to 'rv' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Manage.c:1092:4: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Manage.c:1456:5: warning: Value stored to 'rv' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Manage.c:1633:4: warning: Value stored to 'tfd' is never read [deadcode.DeadStores] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Query.o -c Query.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Query.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Query.c:95:15: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Dump.o -c Dump.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c: In function ‘Restore_metadata’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:244:17: warning: use of NULL ‘opendir(dir)’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:176:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:180:33: note: (2) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:186:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:191:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:191:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:196:26: note: (6) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:196:12: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:198:26: note: (8) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:198:26: note: (9) allocated here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:205:26: note: (10) assuming ‘opendir(dir)’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:205:26: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:244:17: note: (12) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:244:17: note: (13) argument 1 (‘opendir(dir)’) NULL where non-null expected <--[gcc] In file included from /usr/include/sys/dir.h:23, <--[gcc] from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:21: <--[gcc] /usr/include/dirent.h:134:12: note: argument 1 of ‘closedir’ must be non-null <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Dump.c:244:3: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o config.o -c config.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/config.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdopen.o -c mdopen.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdopen.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Assemble.o -c Assemble.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Assemble.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o policy.o -c policy.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c: In function ‘pol_merge_part’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:340:37: warning: use of NULL ‘part’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:706:20: note: (1) entry to ‘domain_from_array’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:710:12: note: (2) following ‘false’ branch (when ‘mdi’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:712:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:712:32: note: (4) following ‘true’ branch (when ‘mdi’ is non-NULL)... <--[gcc] In file included from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:53, <--[gcc] from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:25: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:714:63: note: (5) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:713:17: note: (6) calling ‘domainlist_add_dev’ from ‘domain_from_array’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:699:6: note: (7) entry to ‘domainlist_add_dev’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:701:34: note: (8) calling ‘devid_policy’ from ‘domainlist_add_dev’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:440:20: note: (9) entry to ‘devid_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:445:16: note: (10) calling ‘disk_policy’ from ‘devid_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:425:20: note: (11) entry to ‘disk_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:431:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:434:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:434:15: note: (14) calling ‘path_policy’ from ‘disk_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:364:20: note: (15) entry to ‘path_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:372:16: note: (16) following ‘true’ branch (when ‘rules’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:373:23: note: (17) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:373:23: note: (18) ‘part’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:377:20: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:378:29: note: (20) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:378:28: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:379:41: note: (22) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:379:41: note: (23) ‘part’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:379:41: note: (24) calling ‘pol_merge_part’ from ‘path_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:316:13: note: (25) entry to ‘pol_merge_part’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:326:20: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:325:30: note: (27) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:329:24: note: (28) following ‘true’ branch (when ‘r’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:330:22: note: (29) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:330:20: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:332:25: note: (31) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:332:25: note: (32) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:335:30: note: (33) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:338:58: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:340:51: note: (35) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:340:37: note: (36) argument 2 (‘part’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:48: <--[gcc] /usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:344:61: warning: use of NULL ‘part’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:706:20: note: (1) entry to ‘domain_from_array’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:710:12: note: (2) following ‘false’ branch (when ‘mdi’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:712:18: note: (3) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:712:32: note: (4) following ‘true’ branch (when ‘mdi’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:714:63: note: (5) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:713:17: note: (6) calling ‘domainlist_add_dev’ from ‘domain_from_array’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:699:6: note: (7) entry to ‘domainlist_add_dev’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:701:34: note: (8) calling ‘devid_policy’ from ‘domainlist_add_dev’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:440:20: note: (9) entry to ‘devid_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:445:16: note: (10) calling ‘disk_policy’ from ‘devid_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:425:20: note: (11) entry to ‘disk_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:431:12: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:434:15: note: (13) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:434:15: note: (14) calling ‘path_policy’ from ‘disk_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:364:20: note: (15) entry to ‘path_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:372:16: note: (16) following ‘true’ branch (when ‘rules’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:373:23: note: (17) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:373:23: note: (18) ‘part’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:377:20: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:378:29: note: (20) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:378:28: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:379:41: note: (22) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:379:41: note: (23) ‘part’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:379:41: note: (24) calling ‘pol_merge_part’ from ‘path_policy’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:316:13: note: (25) entry to ‘pol_merge_part’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:326:20: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:325:30: note: (27) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:329:24: note: (28) following ‘true’ branch (when ‘r’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:330:22: note: (29) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:330:20: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:332:25: note: (31) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:332:25: note: (32) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:335:30: note: (33) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:338:58: note: (34) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:342:28: note: (35) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:342:28: note: (36) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:344:61: note: (37) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:344:61: note: (38) argument 1 (‘part’) NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:92:8: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:340:9: warning: Null pointer passed to 2nd parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/policy.c:344:26: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Incremental.o -c Incremental.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c: In function ‘Incremental’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:144:15: warning: check of ‘devlist’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:105:15: note: (1) pointer ‘devlist’ is dereferenced here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:110:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:112:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:113:12: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:120:13: note: (5) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:120:12: note: (6) following ‘false’ branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:144:15: note: (8) pointer ‘devlist’ is checked for NULL here but it was already dereferenced at (1) <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:790:36: warning: Access to field 'next' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:792:19: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Incremental.c:1618:4: warning: Value stored to 'sep' is never read [deadcode.DeadStores] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-mbr.o -c super-mbr.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super0.o -c super0.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super0.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super1.o -c super1.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c: In function ‘load_super1’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2237:51: warning: dereference of NULL ‘tst.sb’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2208:12: note: (1) entry to ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (2) calling ‘free_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2821:13: note: (3) entry to ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2833:16: note: (4) ‘*st.sb’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (5) returning to ‘load_super1’ from ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2229:63: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2231:50: note: (7) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:32: note: (8) calling ‘load_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2208:12: note: (9) entry to ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (10) calling ‘free_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2821:13: note: (11) entry to ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2824:15: note: (12) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2824:12: note: (13) following ‘false’ branch... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2826:18: note: (15) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2826:16: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2833:16: note: (17) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (18) returning to ‘load_super1’ from ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2222:12: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2258:14: note: (20) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2258:12: note: (21) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2260:15: note: (22) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2262:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2277:18: note: (24) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2277:9: note: (25) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2278:9: note: (26) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2293:12: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2300:13: note: (28) ...to here <--[gcc] cc1: note: (29) following ‘true’ branch... /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2305:9: note: (30) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2307:13: note: (31) calling ‘aread’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:238:12: note: (32) entry to ‘aread’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:251:12: note: (33) following ‘false’ branch... <--[gcc] In file included from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:26: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:1829:44: note: (34) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:1826:36: note: in definition of macro ‘_ROUND_UP’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:1829:35: note: in expansion of macro ‘ROUND_UP’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:256:13: note: in expansion of macro ‘ROUND_UP_PTR’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:258:33: note: (35) following ‘true’ branch (when ‘iosize < len’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:258:47: note: (36) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:261:12: note: (37) following ‘false’ branch (when ‘n > 0’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:263:28: note: (38) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2307:13: note: (39) returning to ‘load_super1’ from ‘aread’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:32: note: (40) returning to ‘load_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:25: note: (41) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2230:25: note: (42) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2229:63: note: (43) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2231:50: note: (44) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:32: note: (45) calling ‘load_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2208:12: note: (46) entry to ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (47) calling ‘free_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2821:13: note: (48) entry to ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2826:16: note: (49) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2833:16: note: (50) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2833:16: note: (51) ‘tst.sb’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (52) returning to ‘load_super1’ from ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2229:63: note: (53) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2231:50: note: (54) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:32: note: (55) calling ‘load_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2208:12: note: (56) entry to ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (57) calling ‘free_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2821:13: note: (58) entry to ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2824:15: note: (59) ‘tst.sb’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2824:12: note: (60) following ‘false’ branch... <--[gcc] cc1: note: (61) ...to here /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2826:18: note: (62) ‘tst.sb’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2826:16: note: (63) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2833:16: note: (64) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (65) returning to ‘load_super1’ from ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2222:12: note: (66) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2258:14: note: (67) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2258:12: note: (68) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2260:15: note: (69) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2262:12: note: (70) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2277:18: note: (71) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2277:9: note: (72) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2278:9: note: (73) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2293:12: note: (74) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2300:13: note: (75) ...to here <--[gcc] cc1: note: (76) following ‘true’ branch... /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2305:9: note: (77) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2307:13: note: (78) calling ‘aread’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:238:12: note: (79) entry to ‘aread’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:251:12: note: (80) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:1829:44: note: (81) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:1826:36: note: in definition of macro ‘_ROUND_UP’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:1829:35: note: in expansion of macro ‘ROUND_UP’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:256:13: note: in expansion of macro ‘ROUND_UP_PTR’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:258:33: note: (82) following ‘true’ branch (when ‘iosize < len’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:258:47: note: (83) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:261:12: note: (84) following ‘false’ branch (when ‘n > 0’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:263:28: note: (85) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2307:13: note: (86) returning to ‘load_super1’ from ‘aread’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:32: note: (87) returning to ‘load_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:25: note: (88) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2230:25: note: (89) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2229:63: note: (90) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2231:50: note: (91) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:32: note: (92) calling ‘load_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2208:12: note: (93) entry to ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (94) calling ‘free_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2821:13: note: (95) entry to ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2833:16: note: (96) ‘tst.sb’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2218:9: note: (97) returning to ‘load_super1’ from ‘free_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2222:12: note: (98) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2258:14: note: (99) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:32: note: (100) returning to ‘load_super1’ from ‘load_super1’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2232:25: note: (101) following ‘case 0:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2233:25: note: (102) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2233:44: note: (103) ‘tst.sb’ is NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2234:36: note: (104) following ‘true’ branch (when ‘bestvers == -1’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2236:50: note: (105) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super1.c:2237:51: note: (106) dereference of NULL ‘tst.sb’ <--[gcc] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-gpt.o -c super-gpt.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-gpt.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Monitor.o -c Monitor.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c: In function ‘add_new_arrays’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:998:37: warning: dereference of NULL ‘sl’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:949:12: note: (1) entry to ‘add_new_arrays’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:955:28: note: (2) following ‘true’ branch (when ‘mse’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:956:31: note: (3) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:956:20: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:956:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:964:28: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:969:36: note: (7) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:970:28: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:971:29: note: (9) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:970:68: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:983:25: note: (11) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:990:28: note: (12) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:991:29: note: (13) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:990:51: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:993:29: note: (15) inlined call to ‘is_subarray’ from ‘add_new_arrays’ <--[gcc] In file included from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:25: <--[gcc] In function ‘is_subarray’, inlined from ‘add_new_arrays’ at Monitor.c:993:8: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:1842:17: note: (16) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c: In function ‘add_new_arrays’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:992:58: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:995:33: note: (18) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:997:38: note: (19) when ‘strchr’ returns NULL <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:998:37: note: (20) dereference of NULL ‘sl’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Monitor.c:669:3: warning: Value stored to 'n' is never read [deadcode.DeadStores] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o bitmap.o -c bitmap.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/bitmap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/bitmap.c:332:24: warning: Use of memory after it is freed [unix.Malloc] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o crc32.o -c crc32.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o sg_io.o -c sg_io.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DHAVE_STDINT_H -o sha1.o -c sha1.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o xmalloc.o -c xmalloc.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o restripe.o -c restripe.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c: In function ‘save_stripes’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:598:47: warning: use of uninitialized value ‘fblock[1]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:542:5: note: (1) entry to ‘save_stripes’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:573:31: note: (2) region created on stack here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:549:55: note: (3) following ‘false’ branch (when ‘level == 0’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:549:13: note: (4) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:554:12: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:556:9: note: (6) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:562:12: note: (7) following ‘false’ branch (when ‘length == length_test’)... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:571:23: note: (9) following ‘true’ branch (when ‘length != 0’)... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:579:32: note: (11) following ‘false’ branch (when ‘disk < data_disks’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:579:32: note: (12) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:579:32: note: (13) calling ‘geo_map’ from ‘save_stripes’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:36:5: note: (14) entry to ‘geo_map’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:47:12: note: (15) following ‘true’ branch... <--[gcc] cc1: note: (16) ...to here /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:579:32: note: (17) returning to ‘save_stripes’ from ‘geo_map’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:582:28: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:583:35: note: (19) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:588:36: note: (20) following ‘true’ branch (when ‘failed <= 2’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:589:55: note: (21) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:574:37: note: (22) following ‘false’ branch (when ‘disk >= raid_disks’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:595:20: note: (23) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:595:20: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:598:25: note: (25) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:598:25: note: (26) following ‘false’ branch (when ‘failed != 1’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:598:47: note: (27) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:598:47: note: (28) use of uninitialized value ‘fblock[1]’ here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/restripe.c:777:29: warning: Division by zero [core.DivideZero] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mapfile.o -c mapfile.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mapfile.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o crc32c.o -c crc32c.c gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o sysfs.o -c sysfs.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/sysfs.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/sysfs.c:1001:12: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o msg.o -c msg.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/msg.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/msg.c:89:3: warning: Value stored to 'rv' is never read [deadcode.DeadStores] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o probe_roms.o -c probe_roms.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c: In function ‘probe_roms’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:316:20: warning: check of ‘res’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:243:6: note: (1) entry to ‘probe_roms’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:251:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:255:15: note: (3) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:255:15: note: (4) pointer ‘res’ is dereferenced here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:292:22: note: (5) following ‘true’ branch (when ‘start < upper’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:293:23: note: (6) inlined call to ‘isa_bus_to_virt’ from ‘probe_roms’ <--[gcc] In function ‘isa_bus_to_virt’, inlined from ‘probe_roms’ at probe_roms.c:293:9: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:133:24: note: (7) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c: In function ‘probe_roms’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:294:22: note: (8) inlined call to ‘romsignature’ from ‘probe_roms’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:201:16: note: (9) inlined call to ‘probe_address16’ from ‘romsignature’ <--[gcc] In function ‘probe_address16’, inlined from ‘romsignature’ at probe_roms.c:201:9, inlined from ‘probe_roms’ at probe_roms.c:294:8: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:62:12: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:64:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c: In function ‘probe_roms’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:313:59: note: (12) calling ‘romchecksum’ from ‘probe_roms’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:204:12: note: (13) entry to ‘romchecksum’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:208:33: note: (14) inlined call to ‘probe_address8’ from ‘romchecksum’ <--[gcc] In function ‘probe_address8’, inlined from ‘romchecksum’ at probe_roms.c:208:26: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:50:12: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:52:17: note: (16) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c: In function ‘probe_roms’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:313:59: note: (17) returning to ‘probe_roms’ from ‘romchecksum’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/probe_roms.c:316:20: note: (18) pointer ‘res’ is checked for NULL here but it was already dereferenced at (4) <--[gcc] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o platform-intel.o -c platform-intel.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/platform-intel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/platform-intel.c:460: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck] man -l raid6check.8 > raid6check.man gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o Grow.o -c Grow.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Grow.c:469:9: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Grow.c:2080:6: warning: Value stored to 'rv' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Grow.c:4657:3: warning: 4th function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/Grow.c:4705:9: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o mdmon.o -c mdmon.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c: In function ‘mdmon’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:446:24: warning: leak of file descriptor ‘pfd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:444:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:450:12: note: (2) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:450:12: note: (3) following ‘true’ branch (when ‘must_fork != 0’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (4) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (5) opened here as read-write <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (6) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:20: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:455:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:455:17: note: (9) following ‘case -1:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:456:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:446:24: note: (11) ‘pfd[1]’ leaks here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:446:24: warning: leak of file descriptor ‘pfd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:444:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:450:12: note: (2) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:450:12: note: (3) following ‘true’ branch (when ‘must_fork != 0’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (4) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (5) opened here as read-write <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (6) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:20: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:455:24: note: (8) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:455:17: note: (9) following ‘case -1:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:456:17: note: (10) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:446:24: note: (11) ‘pfd[0]’ leaks here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:446:24: warning: leak of file descriptor ‘pfd[status]’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:302:5: note: (1) entry to ‘main’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:370:12: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:373:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:377:20: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:381:44: note: (5) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:381:36: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:384:13: note: (7) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:387:12: note: (8) following ‘false’ branch (when ‘help == 0’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:390:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:390:12: note: (10) following ‘true’ branch (when ‘all != 0’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:392:37: note: (11) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:396:34: note: (12) following ‘true’ branch (when ‘e’ is non-NULL)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:397:30: note: (13) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:397:28: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:398:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:397:49: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:399:30: note: (17) inlined call to ‘is_subarray’ from ‘main’ <--[gcc] In file included from /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:66: <--[gcc] In function ‘is_subarray’, inlined from ‘main’ at mdmon.c:399:9: /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.h:1842:17: note: (18) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c: In function ‘mdmon’: <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:398:79: note: (19) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:403:45: note: (20) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:407:43: note: (21) calling ‘mdmon’ from ‘main’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:428:12: note: (22) entry to ‘mdmon’ <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:444:12: note: (23) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:450:12: note: (24) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:450:12: note: (25) following ‘true’ branch (when ‘must_fork != 0’)... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (26) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (27) opened here as read-write <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:21: note: (28) when ‘pipe’ succeeds <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:451:20: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:455:24: note: (30) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:455:17: note: (31) following ‘case -1:’ branch... <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:456:17: note: (32) ...to here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:446:24: note: (33) ‘pfd[status]’ leaks here <--[gcc] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdmon.c:203:2: warning: Value stored to 'n' is never read [deadcode.DeadStores] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o managemon.o -c managemon.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/managemon.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o monitor.o -c monitor.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/monitor.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/monitor.c:834:5: warning: Value stored to 'rv' is never read [deadcode.DeadStores] <--[clang] gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o raid6check.o -c raid6check.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/raid6check.c:192:5: warning: Declared variable-length array (VLA) has negative size [core.VLASize] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/raid6check.c:192:5: warning: Declared variable-length array (VLA) has zero size [core.VLASize] <--[clang] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/raid6check.c:443:4: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 raid6check raid6check.o restripe.o uuid.o sysfs.o maps.o lib.o xmalloc.o dlink.o gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-ddf.o -c super-ddf.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-ddf.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-ddf.c:1604: error: legacyUninitvar(CWE-457): Uninitialized variable: end <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-ddf.c:1605: error: legacyUninitvar(CWE-457): Uninitialized variable: vcnum <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-ddf.c: internal warning: child 570 timed out after 30s <--[clang] cswrap: error: child 570 (/usr/bin/clang) terminated by signal 15 (timed out) gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -DBINDIR=\"/sbin\" -o super-intel.o -c super-intel.c /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-intel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-intel.c:8346: error: legacyUninitvar(CWE-457): Uninitialized variable: insync <--[cppcheck] /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-intel.c: internal warning: child 592 timed out after 30s <--[clang] cswrap: error: child 592 (/usr/bin/clang) terminated by signal 15 (timed out) /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/super-intel.c: internal warning: child 594 timed out after 30s <--[gcc] cswrap: error: child 594 (/usr/bin/gcc) terminated by signal 15 (timed out) gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -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 -pthread -o mdmon mdmon.o monitor.o managemon.o uuid.o util.o maps.o mdstat.o sysfs.o config.o mapfile.o mdopen.o policy.o lib.o udev.o Kill.o sg_io.o dlink.o ReadMe.o super-intel.o super-mbr.o super-gpt.o super-ddf.o sha1.o crc32.o msg.o bitmap.o xmalloc.o platform-intel.o probe_roms.o crc32c.o -ldl -pie -ludev gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter -Wformat -Wformat-security -Werror=format-security -fstack-protector-strong -fPIE -Warray-bounds -Wimplicit-fallthrough=0 -Wformat-overflow -Wstringop-overflow -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -DCONFFILE=\"/etc/mdadm.conf\" -DCONFFILE2=\"/etc/mdadm/mdadm.conf\" -DMAP_DIR=\"/run/mdadm\" -DMAP_FILE=\"map\" -DMDMON_DIR=\"/run/mdadm\" -DFAILED_SLOTS_DIR=\"/run/mdadm/failed-slots\" -DNO_COROSYNC -DNO_DLM -DUSE_PTHREADS -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 mdadm mdadm.o config.o policy.o mdstat.o ReadMe.o uuid.o util.o maps.o lib.o udev.o Manage.o Assemble.o Build.o Create.o Detail.o Examine.o Grow.o Monitor.o dlink.o Kill.o Query.o Incremental.o Dump.o mdopen.o super0.o super1.o super-ddf.o super-intel.o bitmap.o super-mbr.o super-gpt.o restripe.o sysfs.o sha1.o mapfile.o crc32.o sg_io.o msg.o xmalloc.o platform-intel.o probe_roms.o crc32c.o -ldl -pie -ludev + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-07-03 16:14:25 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-07-03 16:14:26 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init 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: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init 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) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1715126400 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XmH3cF + umask 022 + cd /builddir/build/BUILD/mdadm-4.3-build + '[' /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT ++ dirname /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT + mkdir -p /builddir/build/BUILD/mdadm-4.3-build + mkdir /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT + CFLAGS='-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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + 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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -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 mdadm-4.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/mdadm-4.3-build/BUILDROOT 'INSTALL=/usr/bin/install -p' MANDIR=/usr/share/man BINDIR=/usr/sbin SYSTEMD_DIR=/usr/lib/systemd/system UDEVDIR=/usr/lib/udev/ install install-systemd /usr/bin/install -p -D -m 755 mdadm /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/sbin/mdadm /usr/bin/install -p -D -m 755 mdmon /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/sbin/mdmon sed -e 's/{DEFAULT_METADATA}/1.2/g' \ -e 's,{MAP_PATH},/run/mdadm/map,g' -e 's,{CONFFILE},/etc/mdadm.conf,g' \ -e 's,{CONFFILE2},/etc/mdadm/mdadm.conf,g' mdadm.8.in > mdadm.8 sed -e 's,{CONFFILE},/etc/mdadm.conf,g' \ -e 's,{CONFFILE2},/etc/mdadm/mdadm.conf,g' mdadm.conf.5.in > mdadm.conf.5 /usr/bin/install -p -D -m 644 mdadm.8 /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/man/man8/mdadm.8 /usr/bin/install -p -D -m 644 mdmon.8 /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/man/man8/mdmon.8 /usr/bin/install -p -D -m 644 md.4 /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/man/man4/md.4 /usr/bin/install -p -D -m 644 mdadm.conf.5 /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/man/man5/mdadm.conf.5 make: Nothing to be done for 'install'. if [ -f /etc/SuSE-release -o -n "" ] ;then /usr/bin/install -p -D -m 755 systemd/SUSE-mdadm_env.sh /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/libexec/mdadm/mdadm_env.sh ;fi + install -Dp -m 755 /builddir/build/SOURCES/raid-check /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/sbin/raid-check + install -Dp -m 644 /builddir/build/SOURCES/mdadm-raid-check-sysconfig /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/etc/sysconfig/raid-check + mkdir -p -m 710 /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/run/mdadm + mkdir -p -m 700 /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/mdadm + install -Dp -m 755 /builddir/build/SOURCES/mdcheck /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/mdadm/mdcheck + install -Dm644 /builddir/build/SOURCES/mdmonitor.service /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/lib/systemd/system + install -Dm644 /builddir/build/SOURCES/raid-check.timer /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/lib/systemd/system + install -Dm644 /builddir/build/SOURCES/raid-check.service /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/lib/systemd/system + install -Dm 0644 /builddir/build/SOURCES/mdadm.conf /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/lib/tmpfiles.d/mdadm.conf + mkdir -p /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/var/run/ + install -d -m 0710 /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/run/mdadm/ + install -Dm644 /builddir/build/SOURCES/mdadm_event.conf /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/etc/libreport/events.d/mdadm_event.conf + install -Dm755 raid6check /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT//usr/sbin/raid6check + install -Dm644 raid6check.man /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT//usr/share/man/man8/raid6check.man + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.3-3.fc41 --unique-debug-suffix -4.3-3.fc41.x86_64 --unique-debug-src-base mdadm-4.3-3.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/mdadm-4.3-3.fc41.x86_64 3292 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 mangling shebang in /usr/sbin/raid-check from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/share/mdadm/mdcheck from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/systemd/system-shutdown/mdadm.shutdown from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT Scanned 31 directories and 94 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/mdadm-4.3-build/SPECPARTS/rpm-debuginfo.specpart Processing files: mdadm-4.3-3.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.425ktb + umask 022 + cd /builddir/build/BUILD/mdadm-4.3-build + cd mdadm-4.3 + DOCDIR=/builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/doc/mdadm + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/doc/mdadm + cp -pr /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/mdadm.conf-example /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/doc/mdadm + cp -pr /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/misc/mdcheck /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/doc/mdadm + cp -pr /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/misc/syslog-events /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/doc/mdadm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XLUMpd + umask 022 + cd /builddir/build/BUILD/mdadm-4.3-build + cd mdadm-4.3 + LICENSEDIR=/builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/licenses/mdadm + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/licenses/mdadm + cp -pr /builddir/build/BUILD/mdadm-4.3-build/mdadm-4.3/COPYING /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT/usr/share/licenses/mdadm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mdadm) = 4.3-3.fc41 mdadm = 4.3-3.fc41 mdadm(x86-64) = 4.3-3.fc41 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh coreutils Requires(preun): /bin/sh Requires(postun): /bin/sh coreutils Requires: /usr/bin/bash /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.3)(64bit) libc.so.6(GLIBC_2.3.4)(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_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) rtld(GNU_HASH) Processing files: mdadm-debugsource-4.3-3.fc41.x86_64 Provides: mdadm-debugsource = 4.3-3.fc41 mdadm-debugsource(x86-64) = 4.3-3.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mdadm-debuginfo-4.3-3.fc41.x86_64 Provides: debuginfo(build-id) = 7c1f892429c58ae72a5ff02df9798eba51323429 debuginfo(build-id) = 9c5a41db8a3ef2749f53e7c111a071a00fb7ff16 debuginfo(build-id) = c85e5ff6cfde38b3a9ad80069976ba6f114c24c5 mdadm-debuginfo = 4.3-3.fc41 mdadm-debuginfo(x86-64) = 4.3-3.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mdadm-debugsource(x86-64) = 4.3-3.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/mdadm-4.3-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mdadm.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-07-03 16:14:28 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-07-03 16:14:29 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-capture.err'' | tar -xC '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-07-03 16:14:30 "cat '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-07-03 16:14:30 "csgrep --quiet '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-07-03 16:14:30 scan.ini: exit-code = 0 >>> 2024-07-03 16:14:30 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan.ini' '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/uni-results'/* > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/scan-results-all.js'" >>> 2024-07-03 16:14:30 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/scan-results-all.js' >'/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/scan-results-all.js.tmp'" >>> 2024-07-03 16:14:32 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-07-03 16:14:33 "cat '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan-results.js'" >>> 2024-07-03 16:14:34 "cat '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan-results.js' - | cssort > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/suppressed-results.js'" >>> 2024-07-03 16:14:34 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/suppressed-results.js' > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/suppressed-results.err'" >>> 2024-07-03 16:14:34 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/suppressed-results.html'" >>> 2024-07-03 16:14:34 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/suppressed-results.js' | tee '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/debug/suppressed-results-summary.txt'" >>> 2024-07-03 16:14:34 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan-results.js' > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan-results.err'" >>> 2024-07-03 16:14:34 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan-results.js' | cshtml - > '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan-results.html'" >>> 2024-07-03 16:14:34 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan-results.js' | tee '/tmp/csmockj43lshr2/mdadm-4.3-3.fc41/scan-results-summary.txt'" 2 CLANG_WARNING warning[core.CallAndMessage] 1 CLANG_WARNING warning[core.DivideZero] 6 CLANG_WARNING warning[core.NonNullParamChecker] 4 CLANG_WARNING warning[core.NullDereference] 2 CLANG_WARNING warning[core.VLASize] 1 CLANG_WARNING warning[core.uninitialized.Assign] 11 CLANG_WARNING warning[deadcode.DeadStores] 2 CLANG_WARNING warning[unix.Malloc] 3 CPPCHECK_WARNING error[legacyUninitvar] 1 CPPCHECK_WARNING error[shiftTooManyBitsSigned] 34 CPPCHECK_WARNING information[normalCheckLevelMaxBranches] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-deref-before-check] 5 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-use-after-close] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value] <<< 2024-07-03 16:14:34 csmock exit code: 0