scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpfp2fft18/mtools-4.0.45-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpfp2fft18/mtools-4.0.45-1.fc42.src.rpm' scan.ini: host = ip-172-16-1-117.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpfp2fft18/mtools-4.0.45-1.fc42.tar.xz scan.ini: time-created = 2024-11-13 02:07:24 scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol scan.ini: mock-config = fedora-rawhide-gcc-latest-x86_64 scan.ini: project-name = mtools-4.0.45-1.fc42 >>> 2024-11-13 02:07:24 rpm -qa | sort -V > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/rpm-list-host.txt' scan.ini: analyzer-version-unicontrol = 0.0.2 >>> 2024-11-13 02:07:24 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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.9 INFO: Mock Version: 5.9 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-11-13 02:07:26 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1727654400 Wrote: /builddir/build/SRPMS/mtools-4.0.45-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 4.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: autoconf noarch 2.72-3.fc41 fedora 2.8 MiB automake noarch 1.16.5-17.fc41 fedora 1.7 MiB gcc x86_64 14.2.1-6.fc42 fedora 104.3 MiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB texinfo x86_64 7.1.1-2.fc42 fedora 5.9 MiB Installing dependencies: annobin-docs noarch 12.70-1.fc42 fedora 97.7 KiB annobin-plugin-gcc x86_64 12.70-1.fc42 fedora 985.6 KiB cpp x86_64 14.2.1-6.fc42 fedora 35.0 MiB emacs-filesystem noarch 1:30.0-3.fc41 fedora 0.0 B gcc-plugin-annobin x86_64 14.2.1-6.fc42 fedora 57.6 KiB glibc-devel x86_64 2.40.9000-16.fc42 fedora 2.3 MiB groff-base x86_64 1.23.0-7.fc41 fedora 3.8 MiB kernel-headers x86_64 6.12.0-0.rc7.58.fc42 fedora 6.4 MiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libxcrypt-devel x86_64 4.4.36-10.fc42 fedora 30.5 KiB m4 x86_64 1.4.19-10.fc41 fedora 592.9 KiB ncurses x86_64 6.5-2.20240629.fc41 fedora 627.3 KiB perl-AutoLoader noarch 5.74-512.fc42 fedora 20.5 KiB perl-B x86_64 1.89-512.fc42 fedora 498.0 KiB perl-Carp noarch 1.54-511.fc41 fedora 46.6 KiB perl-Class-Struct noarch 0.68-512.fc42 fedora 25.4 KiB perl-Data-Dumper x86_64 2.189-512.fc41 fedora 111.7 KiB perl-Digest noarch 1.20-511.fc41 fedora 35.3 KiB perl-Digest-MD5 x86_64 2.59-5.fc41 fedora 59.8 KiB perl-DynaLoader x86_64 1.56-512.fc42 fedora 32.1 KiB perl-Encode x86_64 4:3.21-511.fc41 fedora 4.7 MiB perl-Errno x86_64 1.38-512.fc42 fedora 8.4 KiB perl-Exporter noarch 5.78-511.fc41 fedora 54.3 KiB perl-Fcntl x86_64 1.18-512.fc42 fedora 49.0 KiB perl-File-Basename noarch 2.86-512.fc42 fedora 14.0 KiB perl-File-Compare noarch 1.100.800-512.fc42 fedora 5.6 KiB perl-File-Copy noarch 2.41-512.fc42 fedora 19.6 KiB perl-File-Find noarch 1.44-512.fc42 fedora 41.9 KiB perl-File-Path noarch 2.18-511.fc41 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-511.fc41 fedora 162.3 KiB perl-File-stat noarch 1.14-512.fc42 fedora 12.5 KiB perl-FileHandle noarch 2.05-512.fc42 fedora 9.3 KiB perl-Getopt-Long noarch 1:2.58-2.fc41 fedora 144.5 KiB perl-Getopt-Std noarch 1.14-512.fc42 fedora 11.2 KiB perl-HTTP-Tiny noarch 0.088-512.fc41 fedora 152.2 KiB perl-IO x86_64 1.55-512.fc42 fedora 151.1 KiB perl-IO-Socket-IP noarch 0.42-512.fc41 fedora 98.7 KiB perl-IO-Socket-SSL noarch 2.089-1.fc42 fedora 703.3 KiB perl-IPC-Open3 noarch 1.22-512.fc42 fedora 22.5 KiB perl-MIME-Base32 noarch 1.303-21.fc41 fedora 30.7 KiB perl-MIME-Base64 x86_64 3.16-511.fc41 fedora 46.1 KiB perl-Mozilla-CA noarch 20240924-1.fc42 fedora 10.3 KiB perl-Net-SSLeay x86_64 1.94-7.fc41 fedora 1.3 MiB perl-POSIX x86_64 2.20-512.fc42 fedora 235.1 KiB perl-PathTools x86_64 3.91-511.fc41 fedora 180.0 KiB perl-Pod-Escapes noarch 1:1.07-511.fc41 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-512.fc41 fedora 163.7 KiB perl-Pod-Simple noarch 1:3.45-511.fc41 fedora 560.9 KiB perl-Pod-Usage noarch 4:2.03-511.fc41 fedora 84.8 KiB perl-Scalar-List-Utils x86_64 5:1.68-1.fc42 fedora 148.9 KiB perl-SelectSaver noarch 1.02-512.fc42 fedora 2.2 KiB perl-Socket x86_64 4:2.038-511.fc41 fedora 124.0 KiB perl-Storable x86_64 1:3.32-511.fc41 fedora 232.4 KiB perl-Symbol noarch 1.09-512.fc42 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-512.fc41 fedora 97.5 KiB perl-Term-Cap noarch 1.18-511.fc41 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-511.fc41 fedora 13.6 KiB perl-Text-Tabs+Wrap noarch 2024.001-511.fc41 fedora 22.6 KiB perl-Text-Unidecode noarch 1.30-25.fc41 fedora 448.7 KiB perl-Thread-Queue noarch 3.14-511.fc41 fedora 28.9 KiB perl-Time-Local noarch 2:1.350-511.fc41 fedora 69.0 KiB perl-URI noarch 5.31-1.fc42 fedora 257.0 KiB perl-Unicode-EastAsianWidth noarch 12.0-15.fc41 fedora 32.9 KiB perl-Unicode-Normalize x86_64 1.32-511.fc41 fedora 465.2 KiB perl-base noarch 2.27-512.fc42 fedora 12.5 KiB perl-constant noarch 1.33-512.fc41 fedora 26.2 KiB perl-if noarch 0.61.000-512.fc42 fedora 5.8 KiB perl-interpreter x86_64 4:5.40.0-512.fc42 fedora 122.3 KiB perl-libintl-perl x86_64 1.33-9.fc41 fedora 4.1 MiB perl-libnet noarch 3.15-512.fc41 fedora 289.4 KiB perl-libs x86_64 4:5.40.0-512.fc42 fedora 9.9 MiB perl-locale noarch 1.12-512.fc42 fedora 6.5 KiB perl-mro x86_64 1.29-512.fc42 fedora 45.6 KiB perl-overload noarch 1.37-512.fc42 fedora 71.5 KiB perl-overloading noarch 0.02-512.fc42 fedora 4.8 KiB perl-parent noarch 1:0.242-1.fc42 fedora 10.0 KiB perl-podlators noarch 1:6.0.2-2.fc41 fedora 317.5 KiB perl-threads x86_64 1:2.40-511.fc41 fedora 115.1 KiB perl-threads-shared x86_64 1.69-511.fc41 fedora 83.7 KiB perl-vars noarch 1.05-512.fc42 fedora 3.9 KiB Transaction Summary: Installing: 85 packages Total size of inbound packages is 65 MiB. Need to download 0 B. After this operation, 193 MiB extra will be used (install 193 MiB, remove 0 B). [1/1] autoconf-0:2.72-3.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] automake-0:1.16.5-17.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] gcc-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] make-1:4.4.1-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] texinfo-0:7.1.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] emacs-filesystem-1:30.0-3.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] m4-0:1.4.19-10.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] perl-Carp-0:1.54-511.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] perl-Class-Struct-0:0.68-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] perl-Data-Dumper-0:2.189-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] perl-Errno-0:1.38-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] perl-Exporter-0:5.78-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/13] perl-File-Basename-0:2.86-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [13/13] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/14] perl-File-Compare-0:1.100.800-5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [14/14] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/15] perl-File-Copy-0:2.41-512.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/16] perl-File-Find-0:1.44-512.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/17] perl-File-Temp-1:0.231.100-511. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [17/17] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/18] perl-File-stat-0:1.14-512.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/19] perl-Getopt-Long-1:2.58-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/20] perl-IO-0:1.55-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [20/20] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/21] perl-POSIX-0:2.20-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [21/21] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/22] perl-PathTools-0:3.91-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [22/22] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/23] perl-Text-ParseWords-0:3.31-511 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [23/23] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/24] perl-constant-0:1.33-512.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [24/24] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/25] perl-interpreter-4:5.40.0-512.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [25/25] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/26] perl-File-Path-0:2.18-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [26/26] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/27] perl-Thread-Queue-0:3.14-511.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [27/27] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/28] perl-threads-1:2.40-511.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [28/28] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/29] cpp-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [29/29] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/30] libmpc-0:1.3.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [30/30] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/31] perl-DynaLoader-0:1.56-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [31/31] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/32] perl-IPC-Open3-0:1.22-512.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [32/32] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/33] perl-MIME-Base64-0:3.16-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [33/33] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/34] perl-Pod-Simple-1:3.45-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [34/34] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/35] perl-Storable-1:3.32-511.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [35/35] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/36] perl-Symbol-0:1.09-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [36/36] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/37] perl-Text-Unidecode-0:1.30-25.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [37/37] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/38] perl-Unicode-EastAsianWidth-0:1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [38/38] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/39] perl-Unicode-Normalize-0:1.32-5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [39/39] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/40] perl-if-0:0.61.000-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [40/40] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/41] perl-libintl-perl-0:1.33-9.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [41/41] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/42] perl-vars-0:1.05-512.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [42/42] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/43] perl-B-0:1.89-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [43/43] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/44] perl-Scalar-List-Utils-5:1.68-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [44/44] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/45] perl-libs-4:5.40.0-512.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [45/45] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/46] perl-overload-0:1.37-512.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [46/46] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/47] perl-Fcntl-0:1.18-512.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [47/47] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/48] perl-parent-1:0.242-1.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [48/48] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/49] perl-Pod-Usage-4:2.03-511.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [49/49] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/50] perl-base-0:2.27-512.fc42.noarc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [50/50] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/51] perl-SelectSaver-0:1.02-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [51/51] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/52] perl-Socket-4:2.038-511.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [52/52] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/53] perl-locale-0:1.12-512.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [53/53] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/54] perl-threads-shared-0:1.69-511. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [54/54] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/55] perl-Pod-Escapes-1:1.07-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [55/55] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/56] perl-Text-Tabs+Wrap-0:2024.001- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [56/56] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/57] perl-overloading-0:0.02-512.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [57/57] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/58] perl-mro-0:1.29-512.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [58/58] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/59] perl-Pod-Perldoc-0:3.28.01-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [59/59] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/60] perl-podlators-1:6.0.2-2.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [60/60] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/61] groff-base-0:1.23.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [61/61] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/62] perl-HTTP-Tiny-0:0.088-512.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [62/62] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/63] perl-Term-ANSIColor-0:5.01-512. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [63/63] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/64] perl-Term-Cap-0:1.18-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [64/64] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/65] perl-IO-Socket-SSL-0:2.089-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [65/65] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/66] perl-Mozilla-CA-0:20240924-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [66/66] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/67] perl-Net-SSLeay-0:1.94-7.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [67/67] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/68] perl-Time-Local-2:1.350-511.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [68/68] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/69] ncurses-0:6.5-2.20240629.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [69/69] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/70] perl-IO-Socket-IP-0:0.42-512.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [70/70] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/71] perl-URI-0:5.31-1.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [71/71] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/72] perl-AutoLoader-0:5.74-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [72/72] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/73] perl-MIME-Base32-0:1.303-21.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [73/73] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/74] perl-libnet-0:3.15-512.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [74/74] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/75] perl-Digest-MD5-0:2.59-5.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [75/75] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/76] perl-FileHandle-0:2.05-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [76/76] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/77] perl-Digest-0:1.20-511.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [77/77] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/78] perl-Encode-4:3.21-511.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [78/78] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/79] perl-Getopt-Std-0:1.14-512.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [79/79] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/80] glibc-devel-0:2.40.9000-16.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [80/80] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/81] libxcrypt-devel-0:4.4.36-10.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [81/81] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/82] kernel-headers-0:6.12.0-0.rc7.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [82/82] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/83] annobin-plugin-gcc-0:12.70-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [83/83] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/84] gcc-plugin-annobin-0:14.2.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [84/84] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/85] annobin-docs-0:12.70-1.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [85/85] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/87] Verify package files 100% | 389.0 B/s | 85.0 B | 00m00s [ 2/87] Prepare transaction 100% | 2.2 KiB/s | 85.0 B | 00m00s [ 3/87] Installing libmpc-0:1.3.1-6.fc4 100% | 16.2 MiB/s | 166.2 KiB | 00m00s [ 4/87] Installing cpp-0:14.2.1-6.fc42. 100% | 296.4 MiB/s | 35.0 MiB | 00m00s [ 5/87] Installing annobin-docs-0:12.70 100% | 19.3 MiB/s | 98.8 KiB | 00m00s [ 6/87] Installing kernel-headers-0:6.1 100% | 101.5 MiB/s | 6.6 MiB | 00m00s [ 7/87] Installing libxcrypt-devel-0:4. 100% | 6.4 MiB/s | 32.9 KiB | 00m00s [ 8/87] Installing glibc-devel-0:2.40.9 100% | 77.6 MiB/s | 2.3 MiB | 00m00s [ 9/87] Installing ncurses-0:6.5-2.2024 100% | 44.2 MiB/s | 633.9 KiB | 00m00s [10/87] Installing groff-base-0:1.23.0- 100% | 129.1 MiB/s | 3.9 MiB | 00m00s [11/87] Installing perl-Digest-0:1.20-5 100% | 12.1 MiB/s | 37.1 KiB | 00m00s [12/87] Installing perl-B-0:1.89-512.fc 100% | 69.9 MiB/s | 501.3 KiB | 00m00s [13/87] Installing perl-FileHandle-0:2. 100% | 4.8 MiB/s | 9.8 KiB | 00m00s [14/87] Installing perl-Digest-MD5-0:2. 100% | 15.1 MiB/s | 61.7 KiB | 00m00s [15/87] Installing perl-Data-Dumper-0:2 100% | 22.2 MiB/s | 113.6 KiB | 00m00s [16/87] Installing perl-MIME-Base32-0:1 100% | 10.5 MiB/s | 32.2 KiB | 00m00s [17/87] Installing perl-libnet-0:3.15-5 100% | 48.0 MiB/s | 294.7 KiB | 00m00s [18/87] Installing perl-IO-Socket-IP-0: 100% | 19.6 MiB/s | 100.5 KiB | 00m00s [19/87] Installing perl-AutoLoader-0:5. 100% | 6.8 MiB/s | 20.9 KiB | 00m00s [20/87] Installing perl-URI-0:5.31-1.fc 100% | 29.3 MiB/s | 269.6 KiB | 00m00s [21/87] Installing perl-if-0:0.61.000-5 100% | 3.0 MiB/s | 6.2 KiB | 00m00s [22/87] Installing perl-File-Path-0:2.1 100% | 21.0 MiB/s | 64.5 KiB | 00m00s [23/87] Installing perl-locale-0:1.12-5 100% | 2.2 MiB/s | 6.9 KiB | 00m00s [24/87] Installing perl-Pod-Escapes-1:1 100% | 12.7 MiB/s | 25.9 KiB | 00m00s [25/87] Installing perl-Text-Tabs+Wrap- 100% | 7.8 MiB/s | 23.9 KiB | 00m00s [26/87] Installing perl-Mozilla-CA-0:20 100% | 3.7 MiB/s | 11.3 KiB | 00m00s [27/87] Installing perl-Time-Local-2:1. 100% | 13.8 MiB/s | 70.6 KiB | 00m00s [28/87] Installing perl-Net-SSLeay-0:1. 100% | 113.5 MiB/s | 1.4 MiB | 00m00s [29/87] Installing perl-IO-Socket-SSL-0 100% | 115.1 MiB/s | 707.4 KiB | 00m00s [30/87] Installing perl-Class-Struct-0: 100% | 8.4 MiB/s | 25.9 KiB | 00m00s [31/87] Installing perl-POSIX-0:2.20-51 100% | 46.2 MiB/s | 236.4 KiB | 00m00s [32/87] Installing perl-File-Temp-1:0.2 100% | 53.4 MiB/s | 164.1 KiB | 00m00s [33/87] Installing perl-IPC-Open3-0:1.2 100% | 11.4 MiB/s | 23.3 KiB | 00m00s [34/87] Installing perl-Term-ANSIColor- 100% | 19.4 MiB/s | 99.2 KiB | 00m00s [35/87] Installing perl-Term-Cap-0:1.18 100% | 10.0 MiB/s | 30.6 KiB | 00m00s [36/87] Installing perl-Pod-Simple-1:3. 100% | 69.6 MiB/s | 570.5 KiB | 00m00s [37/87] Installing perl-HTTP-Tiny-0:0.0 100% | 25.1 MiB/s | 154.2 KiB | 00m00s [38/87] Installing perl-Symbol-0:1.09-5 100% | 3.5 MiB/s | 7.2 KiB | 00m00s [39/87] Installing perl-SelectSaver-0:1 100% | 1.3 MiB/s | 2.6 KiB | 00m00s [40/87] Installing perl-Socket-4:2.038- 100% | 24.6 MiB/s | 126.1 KiB | 00m00s [41/87] Installing perl-File-stat-0:1.1 100% | 4.2 MiB/s | 13.1 KiB | 00m00s [42/87] Installing perl-podlators-1:6.0 100% | 52.3 MiB/s | 321.4 KiB | 00m00s [43/87] Installing perl-Pod-Perldoc-0:3 100% | 27.5 MiB/s | 169.3 KiB | 00m00s [44/87] Installing perl-Text-ParseWords 100% | 3.6 MiB/s | 14.6 KiB | 00m00s [45/87] Installing perl-Fcntl-0:1.18-51 100% | 16.3 MiB/s | 50.1 KiB | 00m00s [46/87] Installing perl-base-0:2.27-512 100% | 4.2 MiB/s | 12.9 KiB | 00m00s [47/87] Installing perl-overloading-0:0 100% | 1.4 MiB/s | 5.5 KiB | 00m00s [48/87] Installing perl-IO-0:1.55-512.f 100% | 30.3 MiB/s | 155.2 KiB | 00m00s [49/87] Installing perl-mro-0:1.29-512. 100% | 15.2 MiB/s | 46.7 KiB | 00m00s [50/87] Installing perl-Pod-Usage-4:2.0 100% | 14.1 MiB/s | 86.3 KiB | 00m00s [51/87] Installing perl-Errno-0:1.38-51 100% | 2.9 MiB/s | 8.8 KiB | 00m00s [52/87] Installing perl-File-Basename-0 100% | 4.7 MiB/s | 14.6 KiB | 00m00s [53/87] Installing perl-constant-0:1.33 100% | 8.9 MiB/s | 27.4 KiB | 00m00s [54/87] Installing perl-MIME-Base64-0:3 100% | 7.9 MiB/s | 48.4 KiB | 00m00s [55/87] Installing perl-vars-0:1.05-512 100% | 1.4 MiB/s | 4.3 KiB | 00m00s [56/87] Installing perl-Scalar-List-Uti 100% | 29.8 MiB/s | 152.6 KiB | 00m00s [57/87] Installing perl-parent-1:0.242- 100% | 2.6 MiB/s | 10.7 KiB | 00m00s [58/87] Installing perl-Storable-1:3.32 100% | 57.1 MiB/s | 234.0 KiB | 00m00s [59/87] Installing perl-overload-0:1.37 100% | 17.6 MiB/s | 71.9 KiB | 00m00s [60/87] Installing perl-Getopt-Std-0:1. 100% | 5.7 MiB/s | 11.7 KiB | 00m00s [61/87] Installing perl-Getopt-Long-1:2 100% | 35.9 MiB/s | 147.2 KiB | 00m00s [62/87] Installing perl-Exporter-0:5.78 100% | 13.6 MiB/s | 55.6 KiB | 00m00s [63/87] Installing perl-DynaLoader-0:1. 100% | 7.9 MiB/s | 32.5 KiB | 00m00s [64/87] Installing perl-PathTools-0:3.9 100% | 30.0 MiB/s | 184.6 KiB | 00m00s [65/87] Installing perl-Encode-4:3.21-5 100% | 235.9 MiB/s | 4.7 MiB | 00m00s [66/87] Installing perl-Carp-0:1.54-511 100% | 11.6 MiB/s | 47.7 KiB | 00m00s [67/87] Installing perl-libs-4:5.40.0-5 100% | 160.9 MiB/s | 10.0 MiB | 00m00s [68/87] Installing perl-interpreter-4:5 100% | 30.3 MiB/s | 124.0 KiB | 00m00s [69/87] Installing perl-File-Copy-0:2.4 100% | 4.9 MiB/s | 20.2 KiB | 00m00s [70/87] Installing perl-threads-1:2.40- 100% | 28.6 MiB/s | 117.2 KiB | 00m00s [71/87] Installing perl-threads-shared- 100% | 16.8 MiB/s | 86.0 KiB | 00m00s [72/87] Installing perl-Thread-Queue-0: 100% | 9.9 MiB/s | 30.4 KiB | 00m00s [73/87] Installing perl-File-Compare-0: 100% | 3.0 MiB/s | 6.1 KiB | 00m00s [74/87] Installing perl-File-Find-0:1.4 100% | 10.4 MiB/s | 42.5 KiB | 00m00s [75/87] Installing perl-Text-Unidecode- 100% | 32.0 MiB/s | 491.8 KiB | 00m00s [76/87] Installing perl-Unicode-EastAsi 100% | 11.0 MiB/s | 33.9 KiB | 00m00s [77/87] Installing perl-Unicode-Normali 100% | 65.2 MiB/s | 467.5 KiB | 00m00s [78/87] Installing perl-libintl-perl-0: 100% | 159.2 MiB/s | 4.1 MiB | 00m00s [79/87] Installing m4-0:1.4.19-10.fc41. 100% | 53.2 MiB/s | 599.2 KiB | 00m00s [80/87] Installing emacs-filesystem-1:3 100% | 177.1 KiB/s | 544.0 B | 00m00s [81/87] Installing autoconf-0:2.72-3.fc 100% | 174.9 MiB/s | 2.8 MiB | 00m00s [82/87] Installing make-1:4.4.1-9.fc42. 100% | 138.5 MiB/s | 1.8 MiB | 00m00s [83/87] Installing gcc-0:14.2.1-6.fc42. 100% | 336.5 MiB/s | 104.3 MiB | 00m00s [84/87] Installing annobin-plugin-gcc-0 100% | 56.7 MiB/s | 987.3 KiB | 00m00s [85/87] Installing gcc-plugin-annobin-0 100% | 3.0 MiB/s | 59.2 KiB | 00m00s [86/87] Installing automake-0:1.16.5-17 100% | 110.2 MiB/s | 1.8 MiB | 00m00s [87/87] Installing texinfo-0:7.1.1-2.fc 100% | 2.5 MiB/s | 5.9 MiB | 00m02s Complete! >>> 2024-11-13 02:07:34 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 14.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-3.fc41 fedora 20.6 MiB cppcheck x86_64 2.16.0-1.fc42 fedora 10.4 MiB gcc-latest x86_64 15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42 copr_base 295.1 MiB Installing dependencies: expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB pcre x86_64 8.45-1.fc41.7 fedora 545.8 KiB python-pip-wheel noarch 24.2-2.fc42 fedora 1.2 MiB python3 x86_64 3.13.0-1.fc42 fedora 31.8 KiB python3-libs x86_64 3.13.0-1.fc42 fedora 40.4 MiB tinyxml2 x86_64 9.0.0-5.fc41 fedora 103.8 KiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB Transaction Summary: Installing: 12 packages Total size of inbound packages is 89 MiB. Need to download 0 B. After this operation, 371 MiB extra will be used (install 371 MiB, remove 0 B). [1/1] gcc-latest-0:15.0.0-4.20241020git 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cppcheck-0:2.16.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] ShellCheck-0:0.10.0-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] pcre-0:8.45-1.fc41.7.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] tinyxml2-0:9.0.0-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] python3-0:3.13.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] python3-libs-0:3.13.0-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/10] mpdecimal-0:2.5.1-16.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/11] python-pip-wheel-0:24.2-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s [ 1/12] tzdata-0:2024a-9.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/14] Verify package files 100% | 34.0 B/s | 12.0 B | 00m00s [ 2/14] Prepare transaction 100% | 235.0 B/s | 12.0 B | 00m00s [ 3/14] Installing tzdata-0:2024a-9.fc4 100% | 28.5 MiB/s | 1.9 MiB | 00m00s [ 4/14] Installing python-pip-wheel-0:2 100% | 248.3 MiB/s | 1.2 MiB | 00m00s [ 5/14] Installing mpdecimal-0:2.5.1-16 100% | 50.3 MiB/s | 206.0 KiB | 00m00s [ 6/14] Installing libb2-0:0.98.1-12.fc 100% | 14.1 MiB/s | 43.3 KiB | 00m00s [ 7/14] Installing expat-0:2.6.4-1.fc42 100% | 25.5 MiB/s | 287.6 KiB | 00m00s [ 8/14] Installing python3-libs-0:3.13. 100% | 207.8 MiB/s | 40.7 MiB | 00m00s [ 9/14] Installing python3-0:3.13.0-1.f 100% | 6.6 MiB/s | 33.5 KiB | 00m00s [10/14] Installing tinyxml2-0:9.0.0-5.f 100% | 34.2 MiB/s | 104.9 KiB | 00m00s [11/14] Installing pcre-0:8.45-1.fc41.7 100% | 76.5 MiB/s | 548.1 KiB | 00m00s [12/14] Installing cppcheck-0:2.16.0-1. 100% | 221.1 MiB/s | 10.4 MiB | 00m00s [13/14] Installing ShellCheck-0:0.10.0- 100% | 349.2 MiB/s | 20.6 MiB | 00m00s [14/14] Installing gcc-latest-0:15.0.0- 100% | 106.6 MiB/s | 295.4 MiB | 00m03s Warning: skipped PGP checks for 1 package from repository: copr_base Complete! >>> 2024-11-13 02:07:40 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 02:07:41 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockysp9bxuy/rpm-list-mock-provides.txt >>> 2024-11-13 02:07:42 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42.src.rpm" "/builddir/mtools-4.0.45-1.fc42.src.rpm" >>> 2024-11-13 02:07:43 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 02:07:44 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/mtools-4.0.45-1.fc42.src.rpm'\"" Updating / installing... mtools-4.0.45-1.fc42 ######################################## >>> 2024-11-13 02:07:45 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/mtools.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/mtools-4.0.45-1.fc42.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1727654400 Wrote: /builddir/build/SRPMS/mtools-4.0.45-1.fc42.src.rpm renamed 'mtools-4.0.45-1.fc42.src.rpm' -> '/builddir/mtools-4.0.45-1.fc42.src.rpm' >>> 2024-11-13 02:07:47 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/mtools-4.0.45-1.fc42.src.rpm" "/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42.src.rpm" >>> 2024-11-13 02:07:48 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1727654400 Wrote: /builddir/build/SRPMS/mtools-4.0.45-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 5.2 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "autoconf-2.72-3.fc41.noarch" is already installed. Package "automake-1.16.5-17.fc41.noarch" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "make-1:4.4.1-9.fc42.x86_64" is already installed. Package "texinfo-7.1.1-2.fc42.x86_64" is already installed. Nothing to do. >>> 2024-11-13 02:07:51 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: Copr repository 100% | 16.1 KiB/s | 1.5 KiB | 00m00s fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-latest-15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42.x86_64" is already installed. Package "cppcheck-2.16.0-1.fc42.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "ShellCheck-0.10.0-3.fc41.x86_64" is already installed. Nothing to do. >>> 2024-11-13 02:07:53 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 02:07:54 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockysp9bxuy/rpm-list-mock-provides.txt >>> 2024-11-13 02:07:55 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 507.6 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 16.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.5.2-1.fc42 fedora 3.7 MiB Installing dependencies: boost-atomic x86_64 1.83.0-8.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-8.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-8.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-8.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 extra will be used (install 4 MiB, remove 0 B). [1/1] csdiff-0:3.5.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] boost-filesystem-0:1.83.0-8.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] boost-program-options-0:1.83.0-8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] boost-atomic-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] boost-system-0:1.83.0-8.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% | 238.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% | 66.8 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.5.2-1.fc42. 100% | 41.8 MiB/s | 3.7 MiB | 00m00s Complete! >>> 2024-11-13 02:07:57 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy" Updating and loading repositories: fedora 100% | 459.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 15.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: clippy x86_64 1.82.0-1.fc42 fedora 11.0 MiB Installing dependencies: cargo x86_64 1.82.0-1.fc42 fedora 19.4 MiB libedit x86_64 3.1-53.20240808cvs.fc41 fedora 244.1 KiB libgit2 x86_64 1.8.4-1.fc42 fedora 1.3 MiB libssh2 x86_64 1.11.1-1.fc42 fedora 322.8 KiB llhttp x86_64 9.2.1-2.fc41 fedora 72.6 KiB llvm-libs x86_64 19.1.0-1.fc42 fedora 124.5 MiB rust x86_64 1.82.0-1.fc42 fedora 87.8 MiB rust-std-static x86_64 1.82.0-1.fc42 fedora 143.6 MiB Transaction Summary: Installing: 9 packages Total size of inbound packages is 105 MiB. Need to download 0 B. After this operation, 388 MiB extra will be used (install 388 MiB, remove 0 B). [1/1] clippy-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cargo-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] rust-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] libgit2-0:1.8.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] libssh2-0:1.11.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] llvm-libs-0:19.1.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] rust-std-static-0:1.82.0-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] llhttp-0:9.2.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] libedit-0:3.1-53.20240808cvs.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/11] Verify package files 100% | 27.0 B/s | 9.0 B | 00m00s [ 2/11] Prepare transaction 100% | 409.0 B/s | 9.0 B | 00m00s [ 3/11] Installing libssh2-0:1.11.1-1.f 100% | 45.3 MiB/s | 324.5 KiB | 00m00s [ 4/11] Installing libedit-0:3.1-53.202 100% | 60.0 MiB/s | 245.8 KiB | 00m00s [ 5/11] Installing llvm-libs-0:19.1.0-1 100% | 367.2 MiB/s | 124.5 MiB | 00m00s [ 6/11] Installing rust-std-static-0:1. 100% | 405.6 MiB/s | 143.6 MiB | 00m00s [ 7/11] Installing rust-0:1.82.0-1.fc42 100% | 321.6 MiB/s | 87.8 MiB | 00m00s [ 8/11] Installing llhttp-0:9.2.1-2.fc4 100% | 24.0 MiB/s | 73.8 KiB | 00m00s [ 9/11] Installing libgit2-0:1.8.4-1.fc 100% | 141.6 MiB/s | 1.3 MiB | 00m00s [10/11] Installing cargo-0:1.82.0-1.fc4 100% | 302.7 MiB/s | 19.4 MiB | 00m00s [11/11] Installing clippy-0:1.82.0-1.fc 100% | 4.9 MiB/s | 11.0 MiB | 00m02s Complete! >>> 2024-11-13 02:08:03 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic" Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 15.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-file-magic noarch 5.45-7.fc41 fedora 28.7 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 20 KiB. Need to download 0 B. After this operation, 29 KiB extra will be used (install 29 KiB, remove 0 B). [1/1] python3-file-magic-0:5.45-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 200.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-file-magic-0:5 100% | 554.1 KiB/s | 31.0 KiB | 00m00s Complete! >>> 2024-11-13 02:08:05 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six" Updating and loading repositories: fedora 100% | 482.2 KiB/s | 9.6 KiB | 00m00s Copr repository 100% | 16.1 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-six noarch 1.16.0-23.fc41 fedora 118.3 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 41 KiB. Need to download 0 B. After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B). [1/1] python3-six-0:1.16.0-23.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 250.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-six-0:1.16.0-2 100% | 3.4 MiB/s | 120.7 KiB | 00m00s Complete! >>> 2024-11-13 02:08:07 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 02:08:08 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockysp9bxuy/rpm-list-mock-provides.txt >>> 2024-11-13 02:08:09 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 02:08:10 tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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-clippy = 1.82.0 >>> 2024-11-13 02:08:11 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh" renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original' scan.ini: analyzer-version-cppcheck = 2.16.0 scan.ini: analyzer-version-gcc = 14.2.1 >>> 2024-11-13 02:08:13 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" >>> 2024-11-13 02:08:15 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\"" >>> 2024-11-13 02:08:16 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "echo '#!/bin/bash exec /opt/gcc-latest/bin/gcc \"\$@\"' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper" >>> 2024-11-13 02:08:17 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper" scan.ini: analyzer-version-gcc-analyzer = 15.0.0 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-11-13 02:08:19 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42.src.rpm'" Updating / installing... mtools-4.0.45-1.fc42 ######################################## >>> 2024-11-13 02:08:20 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-11-13 02:08:21 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/00-pre-usr-move-shells.sh 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-11-13 02:08:23 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/mtools.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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/mtools.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.9 INFO: Mock Version: 5.9 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/mtools.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/mtools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1727654400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.OwtYHq + umask 022 + cd /builddir/build/BUILD/mtools-4.0.45-build + test -d /builddir/build/BUILD/mtools-4.0.45-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/mtools-4.0.45-build + /usr/bin/rm -rf /builddir/build/BUILD/mtools-4.0.45-build + /usr/bin/mkdir -p /builddir/build/BUILD/mtools-4.0.45-build + /usr/bin/mkdir -p /builddir/build/BUILD/mtools-4.0.45-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lxsSrV + umask 022 + cd /builddir/build/BUILD/mtools-4.0.45-build + cd /builddir/build/BUILD/mtools-4.0.45-build + rm -rf mtools-4.0.45 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mtools-4.0.45.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mtools-4.0.45 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (mtools-3.9.6-config.patch): + echo 'Patch #0 (mtools-3.9.6-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .conf --fuzz=0 patching file mtools.conf + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/mtools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-11-13 02:08:24 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-11-13 02:08:25 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' 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' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mtools.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' 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'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mtools.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--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.9 INFO: Mock Version: 5.9 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/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mtools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mtools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1727654400 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PYYd7w + umask 022 + cd /builddir/build/BUILD/mtools-4.0.45-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 mtools-4.0.45 + autoreconf -fiv autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: './install-sh' is updated autoreconf: Leaving directory '.' + 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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-floppyd configure: WARNING: unrecognized options: --disable-dependency-tracking checking for x86_64-redhat-linux-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for install-info... /usr/sbin/install-info checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for an ANSI C-conforming const... yes checking for inline... inline checking for getpwnam in -lsun... no checking for iconv in -liconv... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for _Bool... yes checking for stdbool.h that conforms to C99 or later... yes checking for getopt.h... yes checking for stdarg.h... yes checking for inttypes.h... (cached) yes checking for libc.h... no checking for fcntl.h... yes checking for limits.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for time.h... yes checking for sys/time.h... yes checking for sys/param.h... yes checking for memory.h... yes checking for malloc.h... yes checking for io.h... no checking for signal.h... yes checking for sys/signal.h... yes checking for utime.h... yes checking for sgtty.h... yes checking for sys/floppy.h... no checking for mntent.h... yes checking for sys/sysmacros.h... yes checking for assert.h... yes checking for iconv.h... yes checking for wctype.h... yes checking for wchar.h... yes checking for locale.h... yes checking for xlocale.h... no checking for dirent.h... yes checking for termio.h... yes checking for termios.h... yes checking for sys/fdio.h... no checking for gcc option to enable large file support... none needed checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for ssize_t... yes checking for size_t... yes checking for off_t... yes checking for uid_t... yes checking for gid_t... yes checking for pid_t... yes checking for caddr_t... yes checking for long long... yes checking size of size_t... 8 checking size of off_t... 8 checking size of time_t... 8 checking size of long... 8 checking size of int... 4 checking for htons... yes checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for size_t... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for strerror... yes checking for random... yes checking for srandom... yes checking for strchr... yes checking for strrchr... yes checking for lockf... yes checking for flock... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strnlen... yes checking for atexit... yes checking for on_exit... yes checking for getpass... yes checking for memmove... yes checking for strdup... yes checking for strndup... yes checking for strcspn... yes checking for strspn... yes checking for strtoul... yes checking for strtol... yes checking for strtoll... yes checking for strtoui... no checking for memcpy... yes checking for strpbrk... yes checking for memset... yes checking for setenv... yes checking for seteuid... yes checking for setresuid... yes checking for tcsetattr... yes checking for tcflush... yes checking for basename... yes checking for readdir... yes checking for snprintf... yes checking for setlocale... yes checking for strstr... yes checking for toupper_l... yes checking for strncasecmp_l... yes checking for wcsdup... yes checking for wcscasecmp... yes checking for wcsnlen... yes checking for putwc... yes checking for alarm... yes checking for sigaction... yes checking for usleep... yes checking for lstat... yes checking for unsetenv... yes checking for mkdir... yes checking for utimes... yes checking for tzset... yes checking for gettimeofday... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether sys_errlist is declared... no checking whether optarg is declared... yes checking how to run the C preprocessor... gcc -E checking for X... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c codepages.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c device.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c copyfile.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/copyfile.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c directory.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c dos2unix.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c buffer.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c devices.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/devices.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c charsetConv.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c: In function ‘try’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:65:19: warning: leak of ‘iconv_open(asciiTries[i], testCp)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:63:20: note: (1) following ‘true’ branch (when ‘i != 3’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:64:24: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:64:24: note: (3) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:65:19: note: (4) ‘iconv_open(asciiTries[i], testCp)’ leaks here; was allocated at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c: In function ‘cp_open’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:118:11: warning: leak of ‘iconv_open(wcharCp, & dosCp)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:108:11: note: (1) following ‘false’ branch (when ‘codepage <= 9999’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:113:12: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:113:11: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:116:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:117:16: note: (5) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:118:11: note: (6) ‘iconv_open(wcharCp, & dosCp)’ leaks here; was allocated at (5) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:126:11: warning: leak of ‘iconv_open(&dosCp, wcharCp)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:108:11: note: (1) following ‘false’ branch (when ‘codepage <= 9999’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:113:12: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:113:11: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:116:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:118:11: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:124:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:125:17: note: (7) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:126:11: note: (8) ‘iconv_open(&dosCp, wcharCp)’ leaks here; was allocated at (7) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:131:11: warning: leak of ‘iconv_open(&dosCp, wcharCp)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:108:11: note: (1) following ‘false’ branch (when ‘codepage <= 9999’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:113:12: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:113:11: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:116:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:118:11: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:124:9: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:126:11: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:128:17: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:129:25: note: (9) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:131:11: note: (10) ‘iconv_open(&dosCp, wcharCp)’ leaks here; was allocated at (9) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:139:11: warning: leak of ‘iconv_open(wcharCp, & dosCp)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:108:11: note: (1) following ‘false’ branch (when ‘codepage <= 9999’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:113:12: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:113:11: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:116:9: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:117:16: note: (5) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:118:11: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:124:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:126:11: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:20: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mtools.h:184:28: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:138:15: note: in expansion of macro ‘New’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:139:11: note: (10) ‘iconv_open(wcharCp, & dosCp)’ leaks here; was allocated at (5) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c: In function ‘safe_iconv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:190:17: warning: use of uninitialized value ‘*mangled’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:365:8: note: (1) entry to ‘wchar_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:373:13: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:373:13: note: (3) capacity: 4 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:375:9: note: (4) calling ‘initialize_to_native’ from ‘wchar_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:333:13: note: (5) entry to ‘initialize_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:337:11: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:375:9: note: (8) returning to ‘wchar_to_native’ from ‘initialize_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:377:11: note: (9) calling ‘safe_iconv’ from ‘wchar_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:173:15: note: (10) entry to ‘safe_iconv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:183:26: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:184:19: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:185:19: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:190:17: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:190:17: note: (15) use of uninitialized value ‘*mangled’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:210:25: warning: use of uninitialized value ‘*mangled’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:365:8: note: (1) entry to ‘wchar_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:373:13: note: (2) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:373:13: note: (3) capacity: 4 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:375:9: note: (4) calling ‘initialize_to_native’ from ‘wchar_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:333:13: note: (5) entry to ‘initialize_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:337:11: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (7) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:375:9: note: (8) returning to ‘wchar_to_native’ from ‘initialize_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:377:11: note: (9) calling ‘safe_iconv’ from ‘wchar_to_native’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:173:15: note: (10) entry to ‘safe_iconv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:207:19: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:208:24: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:208:19: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:209:33: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/charsetConv.c:210:25: note: (15) use of uninitialized value ‘*mangled’ here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c fat_free.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c direntry.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c expand.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c: In function ‘safePopenOut’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:33:24: warning: leak of file descriptor ‘pipefd[1]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:32:12: note: (1) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:32:12: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:32:11: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:35:21: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:35:9: note: (5) following ‘case -1:’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:33:24: note: (7) ‘pipefd[1]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:33:24: warning: leak of file descriptor ‘pipefd[0]’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:32:12: note: (1) opened here as read-write <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:32:12: note: (2) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:32:11: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:35:21: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:35:9: note: (5) following ‘case -1:’ branch... <--[csmock-gcc-wrapper] cc1: note: (6) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:33:24: note: (7) ‘pipefd[0]’ leaks here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:43:27: warning: leak of file descriptor ‘dup(pipefd[1])’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:32:12: note: (1) when ‘pipe’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:32:11: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:35:21: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:35:9: note: (4) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:38:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:43:28: note: (6) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/expand.c:43:27: note: (7) ‘dup(pipefd[1])’ leaks here; was opened at (6) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c dirCache.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/dirCache.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c force_io.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c lba.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c llong.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c file_name.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/file_name.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c lockdev.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/lockdev.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c hash.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/hash.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c file.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/file.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mattrib.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mattrib.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mcat.c In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mtools.h:39, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:23: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c: In function ‘mcat’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:61:10: warning: dereference of NULL ‘Stream’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:132:37: note: in expansion of macro ‘PWRITES’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:52:6: note: (1) entry to ‘mcat’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:69:12: note: (2) following ‘false’ branch (when ‘argc > 1’)... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:86:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:88:11: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:98:16: note: (6) ‘Stream’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:99:27: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:118:17: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:118:12: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:121:12: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:121:12: note: (11) following ‘true’ branch (when ‘mode == 1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:124:20: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:124:19: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:125:20: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:124:60: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:128:48: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:129:31: note: (17) inlined call to ‘bufLen’ from ‘mcat’ <--[csmock-gcc-wrapper] In function ‘bufLen’, inlined from ‘mcat’ at mcat.c:129:17: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:44:11: note: (18) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c: In function ‘mcat’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:129:31: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:131:45: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:61:10: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:132:37: note: in expansion of macro ‘PWRITES’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:61:10: note: (22) ‘Stream’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:132:37: note: in expansion of macro ‘PWRITES’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:61:10: note: (23) dereference of NULL ‘Stream’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:132:37: note: in expansion of macro ‘PWRITES’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:58:10: warning: dereference of NULL ‘Stream’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:140:31: note: in expansion of macro ‘PREADS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:69:12: note: (1) following ‘false’ branch (when ‘argc > 1’)... <--[csmock-gcc-wrapper] cc1: note: (2) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:86:12: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:88:11: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:98:16: note: (5) ‘Stream’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:99:27: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:118:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:118:12: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:121:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:121:12: note: (10) following ‘false’ branch (when ‘mode != 1’)... <--[csmock-gcc-wrapper] cc1: note: (11) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:58:10: note: (12) ‘Stream’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:140:31: note: in expansion of macro ‘PREADS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:58:10: note: (13) dereference of NULL ‘Stream’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcat.c:140:31: note: in expansion of macro ‘PREADS’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c match.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/match.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mcd.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mbadblocks.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c: In function ‘mbadblocks’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:220:23: warning: leak of FILE ‘fopen(filename, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:111:6: note: (1) entry to ‘mbadblocks’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:125:55: note: (2) following ‘true’ branch (when ‘c != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:126:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:131:25: note: (4) inlined call to ‘checkListTwice’ from ‘mbadblocks’ <--[csmock-gcc-wrapper] In function ‘checkListTwice’, inlined from ‘mbadblocks’ at mbadblocks.c:131:4: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:39:11: note: (5) following ‘false’ branch (when ‘filename’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c: In function ‘mbadblocks’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:132:36: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:30: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:45: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:30: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:160:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:161:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:166:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:169:11: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (17) following ‘false’ branch (when ‘writeMode == 0’)... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:186:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:203:21: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:210:11: note: (21) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (23) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (24) assuming ‘fopen(filename, "r")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:220:23: note: (27) ‘fopen(filename, "r")’ leaks here; was opened at (23) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:220:23: warning: leak of ‘fopen(filename, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:111:6: note: (1) entry to ‘mbadblocks’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:125:55: note: (2) following ‘true’ branch (when ‘c != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:126:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:131:25: note: (4) inlined call to ‘checkListTwice’ from ‘mbadblocks’ <--[csmock-gcc-wrapper] In function ‘checkListTwice’, inlined from ‘mbadblocks’ at mbadblocks.c:131:4: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:39:11: note: (5) following ‘false’ branch (when ‘filename’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c: In function ‘mbadblocks’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:132:36: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:30: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:45: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:30: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:160:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:161:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:166:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:169:11: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (17) following ‘false’ branch (when ‘writeMode == 0’)... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:186:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:203:21: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:210:11: note: (21) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (23) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (24) assuming ‘fopen(filename, "r")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:220:23: note: (27) ‘fopen(filename, "r")’ leaks here; was allocated at (23) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:226:33: warning: leak of FILE ‘fopen(filename, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:111:6: note: (1) entry to ‘mbadblocks’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:125:55: note: (2) following ‘true’ branch (when ‘c != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:126:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:131:25: note: (4) inlined call to ‘checkListTwice’ from ‘mbadblocks’ <--[csmock-gcc-wrapper] In function ‘checkListTwice’, inlined from ‘mbadblocks’ at mbadblocks.c:131:4: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:39:11: note: (5) following ‘false’ branch (when ‘filename’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c: In function ‘mbadblocks’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:132:36: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:30: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:45: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:30: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:160:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:161:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:166:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:169:11: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (17) following ‘false’ branch (when ‘writeMode == 0’)... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:186:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:203:21: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:210:11: note: (21) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (23) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (24) assuming ‘fopen(filename, "r")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:220:23: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:221:44: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:226:33: note: (29) ‘fopen(filename, "r")’ leaks here; was opened at (23) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:226:33: warning: leak of ‘fopen(filename, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:111:6: note: (1) entry to ‘mbadblocks’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:125:55: note: (2) following ‘true’ branch (when ‘c != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:126:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:131:25: note: (4) inlined call to ‘checkListTwice’ from ‘mbadblocks’ <--[csmock-gcc-wrapper] In function ‘checkListTwice’, inlined from ‘mbadblocks’ at mbadblocks.c:131:4: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:39:11: note: (5) following ‘false’ branch (when ‘filename’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c: In function ‘mbadblocks’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:132:36: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:30: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:45: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:30: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:160:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:161:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:166:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:169:11: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (17) following ‘false’ branch (when ‘writeMode == 0’)... <--[csmock-gcc-wrapper] cc1: note: (18) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:186:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:203:21: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:210:11: note: (21) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (23) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (24) assuming ‘fopen(filename, "r")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (25) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (26) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:220:23: note: (27) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:221:44: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:226:33: note: (29) ‘fopen(filename, "r")’ leaks here; was allocated at (23) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:227:47: warning: leak of FILE ‘fopen(filename, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:111:6: note: (1) entry to ‘mbadblocks’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:125:55: note: (2) following ‘true’ branch (when ‘c != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:126:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:131:25: note: (4) inlined call to ‘checkListTwice’ from ‘mbadblocks’ <--[csmock-gcc-wrapper] In function ‘checkListTwice’, inlined from ‘mbadblocks’ at mbadblocks.c:131:4: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:39:11: note: (5) following ‘false’ branch (when ‘filename’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c: In function ‘mbadblocks’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:132:36: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:30: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:45: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:30: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:160:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:161:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:166:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:169:11: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:186:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:203:21: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:210:11: note: (19) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (21) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (22) assuming ‘fopen(filename, "r")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:220:23: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:221:44: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:227:47: note: (27) ‘fopen(filename, "r")’ leaks here; was opened at (21) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:227:47: warning: leak of ‘fopen(filename, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:111:6: note: (1) entry to ‘mbadblocks’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:125:55: note: (2) following ‘true’ branch (when ‘c != -1’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:126:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:131:25: note: (4) inlined call to ‘checkListTwice’ from ‘mbadblocks’ <--[csmock-gcc-wrapper] In function ‘checkListTwice’, inlined from ‘mbadblocks’ at mbadblocks.c:131:4: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:39:11: note: (5) following ‘false’ branch (when ‘filename’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c: In function ‘mbadblocks’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:132:36: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:12: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:18: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:155:30: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:45: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:156:30: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:160:15: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:161:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:166:22: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:169:11: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:174:11: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:186:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:203:21: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:210:11: note: (19) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:213:27: note: (21) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (22) assuming ‘fopen(filename, "r")’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:214:19: note: (23) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (24) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:220:23: note: (25) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:221:44: note: (26) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mbadblocks.c:227:47: note: (27) ‘fopen(filename, "r")’ leaks here; was allocated at (21) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mdel.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c config.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/config.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/config.c:463: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'devices' nulled but not freed upon failure <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mdu.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mdoctorfat.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdoctorfat.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c init.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:520: error: memleak(CWE-401): Memory leak: This <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c: In function ‘getDrive’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:610:28: warning: dereference of NULL ‘Stream’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:603:6: note: (1) entry to ‘getDrive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:607:11: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:608:24: note: (4) inlined call to ‘GetFs’ from ‘getDrive’ <--[csmock-gcc-wrapper] In function ‘GetFs’, inlined from ‘getDrive’ at init.c:608:10: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:122:18: note: (5) following ‘true’ branch (when ‘Fs’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:122:23: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c: In function ‘getDrive’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/init.c:610:28: note: (7) dereference of NULL ‘Stream’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c missFuncs.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mainloop.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mainloop.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mainloop.c:255: error: autoVariables(CWE-562): Address of local auto-variable assigned to a function parameter. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c misc.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/misc.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mcopy.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c: In function ‘unix_target_lookup’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:136:12: warning: use of possibly-NULL ‘*arg.unixTarget’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:134:27: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:136:12: note: (2) argument 1 (‘strdup(in)’) from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/sysincludes.h:183, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:24: <--[csmock-gcc-wrapper] /usr/include/unistd.h:287:12: note: argument 1 of ‘access’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:136:12: warning: use of possibly-NULL ‘arg.unixTarget’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:586:6: note: (1) entry to ‘mcopy’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:606:11: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (3) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:660:12: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:663:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:673:11: note: (6) following ‘true’ branch (when ‘mtype == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:673:34: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:673:19: note: (8) following ‘false’ branch (when the strings are non-equal)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:687:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:697:20: note: (10) calling ‘target_lookup’ from ‘mcopy’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:160:12: note: (11) entry to ‘target_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:165:24: note: (12) calling ‘unix_target_lookup’ from ‘target_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:131:12: note: (13) entry to ‘unix_target_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:134:27: note: (14) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mcopy.c:136:12: note: (15) argument 1 (‘strdup(in)’) from (14) could be NULL where non-null expected <--[csmock-gcc-wrapper] /usr/include/unistd.h:287:12: note: argument 1 of ‘access’ must be non-null <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c minfo.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/minfo.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mdir.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c: In function ‘leaveDirectory’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:305:25: warning: double-‘free’ of ‘dynDirPath’ [CWE-415] [-Wanalyzer-double-free] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:460:12: note: (1) entry to ‘list_non_recurs_directory.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:473:19: note: (2) calling ‘enterDirectory’ from ‘list_non_recurs_directory.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:315:12: note: (3) entry to ‘enterDirectory’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:319:11: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:322:9: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:322:9: note: (6) calling ‘leaveDirectory’ from ‘enterDirectory’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:298:13: note: (7) entry to ‘leaveDirectory’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:300:11: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:303:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:303:12: note: (10) following ‘true’ branch (when ‘haveError == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:304:20: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:304:19: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:305:25: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:305:25: note: (14) first ‘free’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:322:9: note: (15) returning to ‘enterDirectory’ from ‘leaveDirectory’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:325:11: note: (16) calling ‘enterDrive’ from ‘enterDirectory’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:276:12: note: (17) entry to ‘enterDrive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:279:11: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:282:9: note: (19) inlined call to ‘leaveDrive’ from ‘enterDrive’ <--[csmock-gcc-wrapper] In function ‘leaveDrive’, inlined from ‘enterDrive’ at mdir.c:282:2: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:242:11: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:242:11: note: (21) following ‘false’ branch... <--[csmock-gcc-wrapper] In function ‘leaveDirectory’: cc1: note: (22) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:282:9: note: (23) inlined call to ‘leaveDrive’ from ‘enterDrive’ <--[csmock-gcc-wrapper] In function ‘leaveDrive’, inlined from ‘enterDrive’ at mdir.c:282:2: cc1: note: (24) calling ‘leaveDrive.part.0’ from ‘enterDrive’ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c: In function ‘leaveDirectory’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:240:13: note: (25) entry to ‘leaveDrive.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:244:9: note: (26) calling ‘leaveDirectory’ from ‘leaveDrive.part.0’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:298:13: note: (27) entry to ‘leaveDirectory’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:300:11: note: (28) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:303:12: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:303:12: note: (30) following ‘true’ branch (when ‘haveError == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:304:20: note: (31) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:304:19: note: (32) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:305:25: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mdir.c:305:25: note: (34) second ‘free’ here; first ‘free’ was at (14) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mmd.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c fat.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c: In function ‘loadSector’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:186:17: warning: leak of ‘malloc((long unsigned int)*This.sector_size * 64)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:774:5: note: (1) entry to ‘fat_read’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/sysincludes.h:136, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:783:9: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:784:11: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:784:11: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:785:24: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:785:24: note: (6) calling ‘old_fat_read’ from ‘fat_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:749:12: note: (7) entry to ‘old_fat_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:759:12: note: (8) calling ‘check_media_type’ from ‘old_fat_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:675:12: note: (9) entry to ‘check_media_type’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:679:24: note: (10) calling ‘GetFatMap’ from ‘check_media_type’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:65:18: note: (11) entry to ‘GetFatMap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:74:11: note: (12) following ‘false’ branch (when ‘map’ is non-NULL)... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:77:19: note: (14) following ‘false’ branch (when ‘i >= nr_entries’)... <--[csmock-gcc-wrapper] cc1: note: (15) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:679:24: note: (16) returning to ‘check_media_type’ from ‘GetFatMap’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:680:12: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:685:19: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:685:19: note: (19) calling ‘getAddress’ from ‘check_media_type’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:235:23: note: (20) entry to ‘getAddress’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:248:23: note: (21) calling ‘loadSector’ from ‘getAddress’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:159:23: note: (22) entry to ‘loadSector’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:166:12: note: (23) inlined call to ‘locate’ from ‘loadSector’ <--[csmock-gcc-wrapper] In function ‘locate’, inlined from ‘loadSector’ at fat.c:166:5: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:89:11: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:91:15: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c: In function ‘loadSector’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:190:11: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (27) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:193:27: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:196:49: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:212:19: note: (30) following ‘false’ branch (when ‘ret != 0’)... <--[csmock-gcc-wrapper] cc1: note: (31) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:215:34: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:218:20: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:218:19: note: (34) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:222:19: note: (35) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:222:19: note: (36) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (37) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:223:36: note: (38) following ‘true’ branch (when ‘i != 1024’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:224:33: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:224:33: note: (40) calling ‘loadSector’ from ‘loadSector’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:159:23: note: (41) entry to ‘loadSector’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:166:12: note: (42) inlined call to ‘locate’ from ‘loadSector’ <--[csmock-gcc-wrapper] In function ‘locate’, inlined from ‘loadSector’ at fat.c:166:5: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:89:11: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:91:15: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c: In function ‘loadSector’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:180:11: note: (45) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:183:36: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:183:25: note: (47) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:184:19: note: (48) assuming ‘malloc((long unsigned int)*This.sector_size * 64)’ is non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:184:19: note: (49) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:186:17: note: (50) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fat.c:186:17: note: (51) ‘malloc((long unsigned int)*This.sector_size * 64)’ leaks here; was allocated at (47) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mmove.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmove.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mshortname.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mmount.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c: In function ‘mmount’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:71:17: warning: leak of file descriptor [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:35:6: note: (1) entry to ‘mmount’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:46:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:50:17: note: (3) inlined call to ‘ch_toupper’ from ‘mmount’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/sysincludes.h:180, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:26: <--[csmock-gcc-wrapper] In function ‘ch_toupper’, inlined from ‘mmount’ at mmount.c:50:10: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mtools.h:124:23: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c: In function ‘mmount’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:52:11: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mtools.h:39, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:27: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:86:1: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:54:9: note: in expansion of macro ‘FREE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:65:9: note: (7) following ‘case 0:’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:69:9: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mmount.c:71:17: note: (9) leaks here <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mlabel.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mlabel.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mtools.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mtools.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mshowfat.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c offset.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c patchlevel.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c old_dos.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c open_image.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/open_image.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c precmd.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c privileges.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c: In function ‘reclaim_privs’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c:114:9: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 114 | setgid(egid); | ^~~~~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c: In function ‘Setuid’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c:98:17: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 98 | seteuid(uid); | ^~~~~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c:104:17: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 104 | setuid(uid); | ^~~~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c: In function ‘drop_privs’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c:122:9: warning: ignoring return value of ‘setgid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 122 | setgid(rgid); | ^~~~~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c: In function ‘destroy_privs’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c:132:17: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 132 | setuid(0); /* get the necessary privs to drop real root id */ | ^~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c:133:17: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 133 | setuid(ruid); /* this should be enough to get rid of the three | ^~~~~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c:135:17: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 135 | seteuid(ruid); /* for good measure... just in case we came | ^~~~~~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c: In function ‘init_privs’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/privileges.c:183:17: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 183 | setuid(0); /* set real uid to 0 */ | ^~~~~~~~~ gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c remap.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mpartition.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mpartition.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c scsi.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c plain_io.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/plain_io.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c scsi_io.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mzip.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c signal.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c partition.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/partition.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c streamcache.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mk_direntry.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c: In function ‘mt_mwrite_one’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:571:20: warning: dereference of possibly-NULL ‘argname’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:646:5: note: (1) entry to ‘mwrite_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:657:11: note: (2) following ‘true’ branch (when ‘_argname’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:658:27: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:658:27: note: (4) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:661:11: note: (5) following ‘true’ branch (when ‘_shortname’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:662:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:665:15: note: (7) calling ‘mt_mwrite_one’ from ‘mwrite_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:533:12: note: (8) entry to ‘mt_mwrite_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:550:11: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:555:14: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:555:11: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:562:11: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:562:11: note: (13) following ‘false’ branch (when ‘shortname’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:571:20: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:571:20: note: (15) ‘argname’ could be NULL: unchecked value from (4) <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:571:20: warning: dereference of NULL ‘argname’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:646:5: note: (1) entry to ‘mwrite_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:657:11: note: (2) following ‘true’ branch (when ‘_argname’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:658:27: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:658:27: note: (4) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:661:11: note: (5) following ‘true’ branch (when ‘_shortname’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:662:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:665:15: note: (7) calling ‘mt_mwrite_one’ from ‘mwrite_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:533:12: note: (8) entry to ‘mt_mwrite_one’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:550:11: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:555:14: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:555:11: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:556:19: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:556:19: note: (13) following ‘false’ branch (when ‘shortname’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:558:19: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:558:19: note: (15) assuming ‘argname’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:558:19: note: (16) following ‘false’ branch (when ‘argname’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:562:11: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:562:11: note: (18) following ‘false’ branch (when ‘shortname’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:571:20: note: (19) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mk_direntry.c:571:20: note: (20) dereference of NULL ‘argname’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c stream.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c swap.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/swap.c: In function ‘swap_pwrite’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/swap.c:58:9: warning: use of possibly-NULL ‘swapping’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/swap.c:57:26: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/swap.c:58:9: note: (2) argument 1 (‘swapping’) from (1) could be NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_memcpy’ must be non-null gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c unix2dos.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/unix2dos.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] sed "s%SYSCONFDIR%/etc/%g" ./mtools.tmpl.1 >mtools.1 sed "s%SYSCONFDIR%/etc/%g" ./mtools.tmpl.5 >mtools.5 gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c unixdir.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/unixdir.c: In function ‘OpenDir’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/unixdir.c:154:24: warning: dereference of possibly-NULL ‘This’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/stream.h:27, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/unixdir.c:19: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mtools.h:184:28: note: (1) this call could return NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/unixdir.c:152:16: note: in expansion of macro ‘New’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/unixdir.c:154:24: note: (2) ‘This’ could be NULL: unchecked value from (1) <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c tty.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c: In function ‘ask_confirmation’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:216:33: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:201:5: note: (1) entry to ‘ask_confirmation’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:206:13: note: (2) calling ‘opentty’ from ‘ask_confirmation’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:172:7: note: (3) entry to ‘opentty’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:178:11: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:180:17: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:186:13: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:187:23: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:187:23: note: (8) when ‘isatty’ succeeds <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:187:20: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:191:23: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:206:13: note: (11) returning to ‘ask_confirmation’ from ‘opentty’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:206:11: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:214:17: note: (14) calling ‘opentty’ from ‘ask_confirmation’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:172:7: note: (15) entry to ‘opentty’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:178:11: note: (16) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:180:17: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:187:23: note: (18) when ‘isatty’ fails <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:187:20: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:188:31: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:214:17: note: (21) returning to ‘ask_confirmation’ from ‘opentty’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:215:20: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:216:33: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:216:33: note: (24) argument 1 (‘opentty(1)’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/sysincludes.h:179, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/tty.c:18: <--[csmock-gcc-wrapper] /usr/include/stdio.h:575:12: note: argument 1 of ‘fgetc’ must be non-null <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c strtonum.c gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mkmanifest.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mkmanifest.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c mformat.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mformat.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fsP.h:21, <--[gcc] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mformat.c:27: <--[gcc] In function ‘set_word’, inlined from ‘inst_boot_prg’ at mformat.c:171:2, inlined from ‘mformat’ at mformat.c:1419:3: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:82:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc] 82 | data[1] = (value >> 8) & 0xff; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h: In function ‘mformat’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:166:23: note: at offset [21, 65556] into destination object ‘jump’ of size 3 <--[gcc] 166 | unsigned char jump[3]; /* 0 Jump to boot code */ | ^~~~ In function ‘set_word’, inlined from ‘inst_boot_prg’ at mformat.c:171:2, inlined from ‘mformat’ at mformat.c:1419:3: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:83:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc] 83 | data[0] = (value >> 0) & 0xff; | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h: In function ‘mformat’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:166:23: note: at offset [20, 65555] into destination object ‘jump’ of size 3 <--[gcc] 166 | unsigned char jump[3]; /* 0 Jump to boot code */ | ^~~~ In file included from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/fsP.h:21, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/mformat.c:27: <--[csmock-gcc-wrapper] In function ‘set_word’, inlined from ‘inst_boot_prg’ at mformat.c:171:2, inlined from ‘mformat’ at mformat.c:1419:3: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:82:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h: In function ‘mformat’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:166:23: note: at offset [21, 65556] into destination object ‘jump’ of size 3 <--[csmock-gcc-wrapper] In function ‘set_word’, inlined from ‘inst_boot_prg’ at mformat.c:171:2, inlined from ‘mformat’ at mformat.c:1419:3: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:83:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h: In function ‘mformat’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:166:23: note: at offset [20, 65555] into destination object ‘jump’ of size 3 <--[csmock-gcc-wrapper] gcc -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 missFuncs.o mkmanifest.o misc.o patchlevel.o -o mkmanifest gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c vfat.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c: In function ‘parse_vses’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:420:13: warning: use of uninitialized value ‘*v.sum’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:723:32: note: (1) entry to ‘vfat_lookup_loop_for_insert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:736:23: note: (2) calling ‘vfat_lookup_loop_common’ from ‘vfat_lookup_loop_for_insert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:460:25: note: (3) entry to ‘vfat_lookup_loop_common’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:468:27: note: (4) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:478:19: note: (5) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:20: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:20: note: (7) following ‘false’ branch (when ‘endmarkSeen == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:54: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:19: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:498:33: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:53: note: (11) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:499:25: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:499:25: note: (13) calling ‘parse_vses’ from ‘vfat_lookup_loop_common’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:388:20: note: (14) entry to ‘parse_vses’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:420:13: note: (15) use of uninitialized value ‘*v.sum’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:420:13: warning: use of uninitialized value ‘*v.sum’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:663:5: note: (1) entry to ‘vfat_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:681:12: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:684:17: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:685:11: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (5) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:691:23: note: (6) calling ‘vfat_lookup_loop_for_read’ from ‘vfat_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:551:32: note: (7) entry to ‘vfat_lookup_loop_for_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:561:11: note: (8) following ‘false’ branch (when ‘dce’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:565:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:565:24: note: (10) calling ‘vfat_lookup_loop_common’ from ‘vfat_lookup_loop_for_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:460:25: note: (11) entry to ‘vfat_lookup_loop_common’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:468:27: note: (12) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:478:19: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:20: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:20: note: (15) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:19: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:19: note: (17) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:498:33: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:53: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:499:25: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:499:25: note: (21) calling ‘parse_vses’ from ‘vfat_lookup_loop_common’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:388:20: note: (22) entry to ‘parse_vses’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:420:13: note: (23) use of uninitialized value ‘*v.sum’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:420:13: warning: use of uninitialized value ‘*v.sum’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:649:5: note: (1) entry to ‘vfat_lookup_zt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:652:16: note: (2) calling ‘vfat_lookup’ from ‘vfat_lookup_zt’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:663:5: note: (3) entry to ‘vfat_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:675:11: note: (4) following ‘true’ branch (when ‘filename’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:676:26: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:681:12: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:684:17: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:685:11: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (9) ...to here /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:691:23: note: (10) calling ‘vfat_lookup_loop_for_read’ from ‘vfat_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:551:32: note: (11) entry to ‘vfat_lookup_loop_for_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:561:11: note: (12) following ‘false’ branch (when ‘dce’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:565:24: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:565:24: note: (14) calling ‘vfat_lookup_loop_common’ from ‘vfat_lookup_loop_for_read’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:460:25: note: (15) entry to ‘vfat_lookup_loop_common’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:468:27: note: (16) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:478:19: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:20: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:20: note: (19) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:19: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:19: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:498:33: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:53: note: (23) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:499:25: note: (24) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:499:25: note: (25) calling ‘parse_vses’ from ‘vfat_lookup_loop_common’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:388:20: note: (26) entry to ‘parse_vses’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:420:13: note: (27) use of uninitialized value ‘*v.sum’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:420:13: warning: use of uninitialized value ‘*v.sum’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:783:5: note: (1) entry to ‘lookupForInsert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:814:11: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:819:11: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:837:23: note: (4) calling ‘vfat_lookup_loop_for_insert’ from ‘lookupForInsert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:723:32: note: (5) entry to ‘vfat_lookup_loop_for_insert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:736:23: note: (6) calling ‘vfat_lookup_loop_common’ from ‘vfat_lookup_loop_for_insert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:460:25: note: (7) entry to ‘vfat_lookup_loop_common’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:468:27: note: (8) region created on stack here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:478:19: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:20: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:20: note: (11) following ‘false’ branch (when ‘endmarkSeen == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:489:54: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:19: note: (13) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:498:33: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:497:53: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:499:25: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:499:25: note: (17) calling ‘parse_vses’ from ‘vfat_lookup_loop_common’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:388:20: note: (18) entry to ‘parse_vses’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:420:13: note: (19) use of uninitialized value ‘*v.sum’ here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c: In function ‘lookupForInsert’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:838:27: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:783:5: note: (1) entry to ‘lookupForInsert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:814:11: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:819:11: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:837:23: note: (4) calling ‘vfat_lookup_loop_for_insert’ from ‘lookupForInsert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:723:32: note: (5) entry to ‘vfat_lookup_loop_for_insert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:738:19: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:739:29: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:739:28: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:733:24: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:837:23: note: (10) returning to ‘lookupForInsert’ from ‘vfat_lookup_loop_for_insert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/vfat.c:838:27: note: (11) dereference of NULL ‘vfat_lookup_loop_for_insert(*Dir_53(D)->Class.get_dosConvert(Dir), &entry, pos, allocDirCache(Dir, 1))’ <--[csmock-gcc-wrapper] gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc\" -DCPU_x86_64 -DVENDOR_redhat -DOS_linux_gnu -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 -I. -I. -c xdf_io.c /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/xdf_io.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] gcc -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 buffer.o charsetConv.o codepages.o config.o copyfile.o device.o devices.o dirCache.o directory.o direntry.o dos2unix.o expand.o fat.o fat_free.o file.o file_name.o force_io.o hash.o init.o lba.o llong.o lockdev.o match.o mainloop.o mattrib.o mbadblocks.o mcat.o mcd.o mcopy.o mdel.o mdir.o mdoctorfat.o mdu.o mformat.o minfo.o misc.o missFuncs.o mk_direntry.o mlabel.o mmd.o mmount.o mmove.o mpartition.o mshortname.o mshowfat.o mzip.o mtools.o offset.o old_dos.o open_image.o patchlevel.o partition.o plain_io.o precmd.o privileges.o remap.o scsi_io.o scsi.o signal.o stream.o streamcache.o swap.o unix2dos.o unixdir.o tty.o vfat.o strtonum.o xdf_io.o -o mtools In function ‘set_word’, inlined from ‘inst_boot_prg’ at mformat.c:171:2, inlined from ‘mformat’ at mformat.c:1419:3: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:82:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc] 82 | data[1] = (value >> 8) & 0xff; | ^ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h: In function ‘mformat’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:166:23: note: at offset [21, 65556] into destination object ‘jump’ of size 3 <--[gcc] 166 | unsigned char jump[3]; /* 0 Jump to boot code */ | ^ In function ‘set_word’, inlined from ‘inst_boot_prg’ at mformat.c:171:2, inlined from ‘mformat’ at mformat.c:1419:3: /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:83:17: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc] 83 | data[0] = (value >> 0) & 0xff; | ^ /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h: In function ‘mformat’: <--[gcc] /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/msdos.h:166:23: note: at offset [20, 65555] into destination object ‘jump’ of size 3 <--[gcc] 166 | unsigned char jump[3]; /* 0 Jump to boot code */ | ^ rm -f mattrib && ln -s mtools mattrib rm -f mcat && ln -s mtools mcat rm -f mcd && ln -s mtools mcd rm -f mcopy && ln -s mtools mcopy rm -f mdel && ln -s mtools mdel rm -f mdeltree && ln -s mtools mdeltree rm -f mdir && ln -s mtools mdir rm -f mdu && ln -s mtools mdu rm -f mformat && ln -s mtools mformat rm -f minfo && ln -s mtools minfo rm -f mlabel && ln -s mtools mlabel rm -f mmd && ln -s mtools mmd rm -f mmount && ln -s mtools mmount rm -f mmove && ln -s mtools mmove rm -f mpartition && ln -s mtools mpartition rm -f mrd && ln -s mtools mrd rm -f mren && ln -s mtools mren rm -f mtype && ln -s mtools mtype rm -f mtoolstest && ln -s mtools mtoolstest rm -f mshortname && ln -s mtools mshortname rm -f mshowfat && ln -s mtools mshowfat rm -f mbadblocks && ln -s mtools mbadblocks rm -f mzip && ln -s mtools mzip + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/mtools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 02:08:45 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-11-13 02:08:46 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' 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' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mtools.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' 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'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mtools.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--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.9 INFO: Mock Version: 5.9 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/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mtools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mtools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1727654400 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1mHxna + umask 022 + cd /builddir/build/BUILD/mtools-4.0.45-build + '[' /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT ++ dirname /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT + mkdir -p /builddir/build/BUILD/mtools-4.0.45-build + mkdir /builddir/build/BUILD/mtools-4.0.45-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 mtools-4.0.45 + rm -rf /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT + mkdir -p /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/etc /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT//usr/share/info + /usr/bin/make install DESTDIR=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT 'INSTALL=/usr/bin/install -p' ./mkinstalldirs /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin mkdir /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin /usr/bin/install -p mtools /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mtools mkdir /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man mkdir /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/floppyd.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/floppyd_installtest.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mattrib.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mbadblocks.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mcat.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mcd.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mcopy.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mdel.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mdeltree.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mdir.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mdu.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mformat.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/minfo.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mkmanifest.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mlabel.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mmd.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mmount.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mmove.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mpartition.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mrd.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mren.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mshortname.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mshowfat.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mtoolstest.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mtools.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mtype.1 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man1/mzip.1 mkdir /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man5 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man5/mtools.5 /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mattrib /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mcat /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mcd /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mcopy /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mdel /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mdeltree /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mdir /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mdu /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mformat /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/minfo /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mlabel /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mmd /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mmount /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mmove /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mpartition /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mrd /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mren /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mtype /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mtoolstest /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mshortname /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mshowfat /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mbadblocks /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mzip ./mkinstalldirs /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin /usr/bin/install -p mkmanifest /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mkmanifest /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mcheck /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mxtar /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/uz /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/tgz /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mcomp /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/amuFormat.sh rm -f /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/lz cd /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin && ln -s uz lz ./mkinstalldirs /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/info if test -f mtools.info; then \ for i in mtools.info*; do \ /usr/bin/install -p -m 644 $i /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/info/$i; \ done; \ else \ for i in ./mtools.info*; do \ /usr/bin/install -p -m 644 $i /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/info/`echo $i | sed 's|^./||'`; \ done; \ fi; \ if [ -n "/usr/sbin/install-info" ] ; then \ /usr/sbin/install-info --info-dir=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/info /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/info/mtools.info; \ fi + install -m644 mtools.conf /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/etc + gzip -9f /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT//usr/share/info/dir /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT//usr/share/info/mtools.info + find /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT -name 'floppyd*' -exec rm '{}' ';' + rm -f /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT//usr/share/info/dir.gz + ln -s mtools.5.gz /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/man/man5/mtools.conf.5.gz + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 4.0.45-1.fc42 --unique-debug-suffix -4.0.45-1.fc42.x86_64 --unique-debug-src-base mtools-4.0.45-1.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/mtools-4.0.45-1.fc42.x86_64 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/bin/mcheck from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/mxtar from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/uz from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/tgz from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/mcomp from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/amuFormat.sh 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/mtools-4.0.45-build/BUILDROOT Scanned 17 directories and 165 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/mtools-4.0.45-build/SPECPARTS/rpm-debuginfo.specpart Processing files: mtools-4.0.45-1.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.g4hjmP + umask 022 + cd /builddir/build/BUILD/mtools-4.0.45-build + cd mtools-4.0.45 + DOCDIR=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/doc/mtools + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/doc/mtools + cp -pr /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/README /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/doc/mtools + cp -pr /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/Release.notes /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/doc/mtools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8TVwnl + umask 022 + cd /builddir/build/BUILD/mtools-4.0.45-build + cd mtools-4.0.45 + LICENSEDIR=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/licenses/mtools + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/licenses/mtools + cp -pr /builddir/build/BUILD/mtools-4.0.45-build/mtools-4.0.45/COPYING /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/share/licenses/mtools + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mtools) = 4.0.45-1.fc42 mtools = 4.0.45-1.fc42 mtools(x86-64) = 4.0.45-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Processing files: mtools-debugsource-4.0.45-1.fc42.x86_64 Provides: mtools-debugsource = 4.0.45-1.fc42 mtools-debugsource(x86-64) = 4.0.45-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mtools-debuginfo-4.0.45-1.fc42.x86_64 Provides: debuginfo(build-id) = 7a518ae41232c838c86eebdcc8179f96e0dfb963 debuginfo(build-id) = fa2735352671c23bff2494af0d9233abd0aa6a50 mtools-debuginfo = 4.0.45-1.fc42 mtools-debuginfo(x86-64) = 4.0.45-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mtools-debugsource(x86-64) = 4.0.45-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' 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\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/mtools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 02:08:48 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*" Looking for shell scripts......... done + timeout 30 shellcheck --format=json1 --external-sources --source-path=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/etc:/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/amuFormat.sh + timeout 30 shellcheck --format=json1 --external-sources --source-path=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/etc:/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mcheck + timeout 30 shellcheck --format=json1 --external-sources --source-path=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/etc:/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mcomp + timeout 30 shellcheck --format=json1 --external-sources --source-path=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/etc:/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/mxtar + timeout 30 shellcheck --format=json1 --external-sources --source-path=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/etc:/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/tgz + timeout 30 shellcheck --format=json1 --external-sources --source-path=/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/etc:/builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr /builddir/build/BUILD/mtools-4.0.45-build/BUILDROOT/usr/bin/uz >>> 2024-11-13 02:08:49 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log" >>> 2024-11-13 02:08:51 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt'' | tar -xC '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/raw-results' tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-11-13 02:08:53 cat '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/uni-results/cswrap-capture.js' >>> 2024-11-13 02:08:53 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/uni-results/clippy-capture.err >>> 2024-11-13 02:08:53 cd /tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/uni-results/shellcheck-capture.json >>> 2024-11-13 02:08:53 csgrep --mode=json '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/uni-results/unicontrol-capture.js' scan.ini: time-finished = 2024-11-13 02:08:53 scan.ini: exit-code = 0 >>> 2024-11-13 02:08:53 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan.ini' '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/uni-results'/* > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/scan-results-all.js' >>> 2024-11-13 02:08:53 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/scan-results-all.js' >'/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/scan-results-all.js.tmp' >>> 2024-11-13 02:08:54 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-11-13 02:08:56 cat '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/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/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan-results.js' >>> 2024-11-13 02:08:56 cat '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan-results.js' - | cssort > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/suppressed-results.js' >>> 2024-11-13 02:08:56 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/suppressed-results.js' > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/suppressed-results.err' >>> 2024-11-13 02:08:56 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/suppressed-results.js' | cshtml - > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/suppressed-results.html' >>> 2024-11-13 02:08:56 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/suppressed-results.js' | tee '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/debug/suppressed-results-summary.txt' >>> 2024-11-13 02:08:56 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan-results.js' > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan-results.err' >>> 2024-11-13 02:08:56 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan-results.js' | cshtml - > '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan-results.html' >>> 2024-11-13 02:08:56 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan-results.js' | tee '/tmp/csmockysp9bxuy/mtools-4.0.45-1.fc42/scan-results-summary.txt' 2 COMPILER_WARNING warning[-Wstringop-overflow=] 8 COMPILER_WARNING warning[-Wunused-result] 1 CPPCHECK_WARNING error[autoVariables] 1 CPPCHECK_WARNING error[memleakOnRealloc] 1 CPPCHECK_WARNING error[memleak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-double-free] 4 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-file-leak] 9 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 5 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value] 1 SHELLCHECK_WARNING error[SC2145] 1 SHELLCHECK_WARNING warning[SC2124] 1 SHELLCHECK_WARNING warning[SC2166] 1 SHELLCHECK_WARNING warning[SC2221] 1 SHELLCHECK_WARNING warning[SC2222] <<< 2024-11-13 02:08:56 csmock exit code: 0