Task #972 - stdout.log
back to task #972download
COMMAND: koji -p koji download-build --noprogress --arch=src pcsc-lite-ccid-1.6.0-1.fc41 ------------------------------------------------------------------------------- Downloading [1/1]: pcsc-lite-ccid-1.6.0-1.fc41.src.rpm COMMAND: su - csmock --session-command 'cd /tmp/tmpcatxjhgu && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmpcatxjhgu/pcsc-lite-ccid-1.6.0-1.fc41.tar.xz --gcc-analyze /tmp/tmpcatxjhgu/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm' ------------------------------------------------------------------------------- scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.5.3-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpcatxjhgu/pcsc-lite-ccid-1.6.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpcatxjhgu/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm' scan.ini: host = ip-172-16-1-102.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpcatxjhgu/pcsc-lite-ccid-1.6.0-1.fc41.tar.xz scan.ini: time-created = 2024-07-03 16:33:44 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = pcsc-lite-ccid-1.6.0-1.fc41 >>> 2024-07-03 16:33:44 "rpm -qa | sort -V > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/rpm-list-host.txt'" >>> 2024-07-03 16:33:45 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init Finish: run >>> 2024-07-03 16:33:47 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: flex x86_64 2.6.4-16.fc40 fedora 805.4 KiB gcc x86_64 14.1.1-6.fc41 fedora 104.1 MiB gnupg2 x86_64 2.4.5-1.fc41 fedora 9.5 MiB libusb1-devel x86_64 1.0.27-2.fc41 fedora 81.0 KiB meson noarch 1.4.1-2.fc41 fedora 11.1 MiB pcsc-lite-devel x86_64 2.2.3-1.fc41 fedora 133.6 KiB perl-Getopt-Long noarch 1:2.58-1.fc41 fedora 144.4 KiB perl-interpreter x86_64 4:5.40.0-509.fc41 fedora 122.3 KiB zlib-ng-compat-devel x86_64 2.1.7-1.fc41 fedora 106.8 KiB Installing dependencies: annobin-docs noarch 12.60-1.fc41 fedora 96.2 KiB annobin-plugin-gcc x86_64 12.60-1.fc41 fedora 976.2 KiB cmake-filesystem x86_64 3.28.3-6.fc41 fedora 0.0 B cpp x86_64 14.1.1-6.fc41 fedora 35.0 MiB emacs-filesystem noarch 1:30.0-2.fc41 fedora 0.0 B expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc-plugin-annobin x86_64 14.1.1-6.fc41 fedora 57.1 KiB glibc-devel x86_64 2.39.9000-26.fc41 fedora 36.8 KiB glibc-headers-x86 noarch 2.39.9000-26.fc41 fedora 2.2 MiB gnutls x86_64 3.8.5-6.fc41 fedora 3.2 MiB groff-base x86_64 1.23.0-6.fc40 fedora 3.8 MiB guile30 x86_64 3.0.9-1.fc41 fedora 52.7 MiB json-c x86_64 0.17-3.fc40 fedora 82.4 KiB kernel-headers x86_64 6.10.0-0.rc6.50.fc41 fedora 6.3 MiB libassuan x86_64 2.5.7-1.fc41 fedora 163.8 KiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libgcrypt x86_64 1.11.0-1.fc41 fedora 1.5 MiB libgpg-error x86_64 1.50-1.fc41 fedora 889.5 KiB libksba x86_64 1.6.7-1.fc41 fedora 398.4 KiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libusb1 x86_64 1.0.27-2.fc41 fedora 162.3 KiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB m4 x86_64 1.4.19-9.fc40 fedora 588.9 KiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB ncurses x86_64 6.4-12.20240127.fc40 fedora 621.0 KiB nettle x86_64 3.10-2.fc41 fedora 793.0 KiB ninja-build x86_64 1.12.1-2.fc41 fedora 428.6 KiB npth x86_64 1.7-1.fc41 fedora 49.4 KiB pcsc-lite-libs x86_64 2.2.3-1.fc41 fedora 64.1 KiB perl-AutoLoader noarch 5.74-509.fc41 fedora 20.5 KiB perl-B x86_64 1.89-509.fc41 fedora 494.0 KiB perl-Carp noarch 1.54-510.fc41 fedora 46.5 KiB perl-Class-Struct noarch 0.68-509.fc41 fedora 25.4 KiB perl-Data-Dumper x86_64 2.189-511.fc41 fedora 111.7 KiB perl-Digest noarch 1.20-510.fc41 fedora 35.2 KiB perl-Digest-MD5 x86_64 2.59-4.fc41 fedora 59.7 KiB perl-DynaLoader x86_64 1.56-509.fc41 fedora 32.1 KiB perl-Encode x86_64 4:3.21-510.fc41 fedora 4.7 MiB perl-Errno x86_64 1.38-509.fc41 fedora 8.4 KiB perl-Exporter noarch 5.78-510.fc41 fedora 54.2 KiB perl-Fcntl x86_64 1.18-509.fc41 fedora 45.0 KiB perl-File-Basename noarch 2.86-509.fc41 fedora 14.0 KiB perl-File-Path noarch 2.18-510.fc41 fedora 63.5 KiB perl-File-Temp noarch 1:0.231.100-510.fc41 fedora 162.3 KiB perl-File-stat noarch 1.14-509.fc41 fedora 12.5 KiB perl-FileHandle noarch 2.05-509.fc41 fedora 9.3 KiB perl-Getopt-Std noarch 1.14-509.fc41 fedora 11.2 KiB perl-HTTP-Tiny noarch 0.088-511.fc41 fedora 152.1 KiB perl-IO x86_64 1.55-509.fc41 fedora 151.1 KiB perl-IO-Socket-IP noarch 0.42-511.fc41 fedora 98.6 KiB perl-IO-Socket-SSL noarch 2.085-1.fc40 fedora 685.0 KiB perl-IPC-Open3 noarch 1.22-509.fc41 fedora 22.5 KiB perl-MIME-Base64 x86_64 3.16-510.fc41 fedora 46.1 KiB perl-Mozilla-CA noarch 20240313-1.fc41 fedora 9.5 KiB perl-Net-SSLeay x86_64 1.94-4.fc41 fedora 1.3 MiB perl-POSIX x86_64 2.20-509.fc41 fedora 235.1 KiB perl-PathTools x86_64 3.91-510.fc41 fedora 179.6 KiB perl-Pod-Escapes noarch 1:1.07-510.fc41 fedora 24.9 KiB perl-Pod-Perldoc noarch 3.28.01-511.fc41 fedora 163.1 KiB perl-Pod-Simple noarch 1:3.45-510.fc41 fedora 559.8 KiB perl-Pod-Usage noarch 4:2.03-510.fc41 fedora 84.7 KiB perl-Scalar-List-Utils x86_64 5:1.63-510.fc41 fedora 145.5 KiB perl-SelectSaver noarch 1.02-509.fc41 fedora 2.2 KiB perl-Socket x86_64 4:2.038-510.fc41 fedora 124.0 KiB perl-Storable x86_64 1:3.32-510.fc41 fedora 232.3 KiB perl-Symbol noarch 1.09-509.fc41 fedora 6.8 KiB perl-Term-ANSIColor noarch 5.01-511.fc41 fedora 97.5 KiB perl-Term-Cap noarch 1.18-510.fc41 fedora 29.3 KiB perl-Text-ParseWords noarch 3.31-510.fc41 fedora 13.5 KiB perl-Text-Tabs+Wrap noarch 2024.001-510.fc41 fedora 22.5 KiB perl-Time-Local noarch 2:1.350-510.fc41 fedora 68.9 KiB perl-URI noarch 5.28-1.fc41 fedora 240.2 KiB perl-base noarch 2.27-509.fc41 fedora 12.5 KiB perl-constant noarch 1.33-511.fc41 fedora 26.2 KiB perl-if noarch 0.61.000-509.fc41 fedora 5.8 KiB perl-libnet noarch 3.15-511.fc41 fedora 289.0 KiB perl-libs x86_64 4:5.40.0-509.fc41 fedora 9.8 MiB perl-locale noarch 1.12-509.fc41 fedora 6.5 KiB perl-mro x86_64 1.29-509.fc41 fedora 45.6 KiB perl-overload noarch 1.37-509.fc41 fedora 71.5 KiB perl-overloading noarch 0.02-509.fc41 fedora 4.8 KiB perl-parent noarch 1:0.241-510.fc41 fedora 9.7 KiB perl-podlators noarch 1:5.01-510.fc41 fedora 308.1 KiB perl-vars noarch 1.05-509.fc41 fedora 3.9 KiB python-pip-wheel noarch 24.1.1-1.fc41 fedora 1.2 MiB python3 x86_64 3.13.0~b3-1.fc41 fedora 31.8 KiB python3-libs x86_64 3.13.0~b3-1.fc41 fedora 40.5 MiB python3-setuptools noarch 69.2.0-6.fc41 fedora 7.3 MiB tpm2-tss x86_64 4.1.3-1.fc41 fedora 1.5 MiB tzdata noarch 2024a-8.fc41 fedora 1.7 MiB vim-filesystem noarch 2:9.1.452-1.fc41 fedora 40.0 B Transaction Summary: Installing: 102 packages Total size of inbound packages is 91 MiB. Need to download 4 MiB. After this operation 312 MiB will be used (install 312 MiB, remove 0 B). [ 1/102] flex-0:2.6.4-16.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/102] gcc-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/102] gnupg2-0:2.4.5-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/102] perl-Getopt-Long-1:2.58-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/102] perl-interpreter-4:5.40.0-509 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/102] libusb1-devel-0:1.0.27-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/102] pcsc-lite-devel-0:2.2.3-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/102] zlib-ng-compat-devel-0:2.1.7- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/102] m4-0:1.4.19-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/102] cpp-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/102] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/102] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/102] gnutls-0:3.8.5-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/102] libassuan-0:2.5.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/102] libgcrypt-0:1.11.0-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/102] libgpg-error-0:1.50-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/102] libksba-0:1.6.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/102] npth-0:1.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/102] tpm2-tss-0:4.1.3-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/102] perl-Exporter-0:5.78-510.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/102] perl-Pod-Usage-4:2.03-510.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/102] perl-Text-ParseWords-0:3.31-5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/102] perl-base-0:2.27-509.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/102] perl-constant-0:1.33-511.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/102] perl-overload-0:1.37-509.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/102] perl-libs-4:5.40.0-509.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/102] libusb1-0:1.0.27-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/102] pcsc-lite-libs-0:2.2.3-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/102] cmake-filesystem-0:3.28.3-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/102] guile30-0:3.0.9-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/102] nettle-0:3.10-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/102] json-c-0:0.17-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/102] perl-Carp-0:1.54-510.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/102] perl-PathTools-0:3.91-510.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/102] perl-Pod-Perldoc-0:3.28.01-51 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/102] perl-podlators-1:5.01-510.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/102] perl-Scalar-List-Utils-5:1.63 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/102] perl-mro-0:1.29-509.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/102] perl-overloading-0:0.02-509.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/102] perl-DynaLoader-0:1.56-509.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/102] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/102] perl-Errno-0:1.38-509.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/102] groff-base-0:1.23.0-6.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/102] perl-Fcntl-0:1.18-509.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/102] perl-File-Basename-0:2.86-509 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/102] perl-File-Temp-1:0.231.100-51 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/102] perl-HTTP-Tiny-0:0.088-511.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/102] perl-IO-0:1.55-509.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/102] perl-IPC-Open3-0:1.22-509.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/102] perl-Pod-Simple-1:3.45-510.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/102] perl-Symbol-0:1.09-509.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/102] perl-parent-1:0.241-510.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/102] perl-vars-0:1.05-509.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/102] perl-POSIX-0:2.20-509.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/102] perl-Term-ANSIColor-0:5.01-51 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/102] perl-Term-Cap-0:1.18-510.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/102] perl-File-Path-0:2.18-510.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/102] perl-IO-Socket-SSL-0:2.085-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/102] perl-MIME-Base64-0:3.16-510.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/102] perl-Mozilla-CA-0:20240313-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/102] perl-Net-SSLeay-0:1.94-4.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/102] perl-Socket-4:2.038-510.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/102] perl-Time-Local-2:1.350-510.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/102] perl-File-stat-0:1.14-509.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/102] perl-SelectSaver-0:1.02-509.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/102] perl-Pod-Escapes-1:1.07-510.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/102] perl-Text-Tabs+Wrap-0:2024.00 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/102] perl-if-0:0.61.000-509.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/102] perl-locale-0:1.12-509.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/102] ncurses-0:6.4-12.20240127.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/102] perl-IO-Socket-IP-0:0.42-511. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/102] perl-URI-0:5.28-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/102] perl-AutoLoader-0:5.74-509.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/102] perl-Class-Struct-0:0.68-509. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/102] perl-Data-Dumper-0:2.189-511. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/102] perl-libnet-0:3.15-511.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/102] perl-B-0:1.89-509.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/102] perl-Digest-MD5-0:2.59-4.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/102] perl-FileHandle-0:2.05-509.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/102] perl-Digest-0:1.20-510.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/102] annobin-plugin-gcc-0:12.60-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/102] gcc-plugin-annobin-0:14.1.1-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/102] annobin-docs-0:12.60-1.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/102] python3-0:3.13.0~b3-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/102] python3-libs-0:3.13.0~b3-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/102] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/102] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/102] mpdecimal-0:2.5.1-9.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/102] python-pip-wheel-0:24.1.1-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/102] tzdata-0:2024a-8.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/102] perl-Encode-4:3.21-510.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/102] perl-Getopt-Std-0:1.14-509.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/102] perl-Storable-1:3.32-510.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/102] glibc-devel-0:2.39.9000-26.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/102] glibc-headers-x86-0:2.39.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/102] libxcrypt-devel-0:4.4.36-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/102] kernel-headers-0:6.10.0-0.rc6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/102] ninja-build-0:1.12.1-2.fc41.x 100% | 3.3 MiB/s | 179.4 KiB | 00m00s [ 99/102] python3-setuptools-0:69.2.0-6 100% | 20.1 MiB/s | 1.6 MiB | 00m00s [100/102] meson-0:1.4.1-2.fc41.noarch 100% | 23.4 MiB/s | 2.1 MiB | 00m00s [101/102] emacs-filesystem-1:30.0-2.fc4 100% | 186.7 KiB/s | 7.1 KiB | 00m00s [102/102] vim-filesystem-2:9.1.452-1.fc 100% | 1.0 MiB/s | 16.9 KiB | 00m00s -------------------------------------------------------------------------------- [102/102] Total 100% | 32.3 MiB/s | 3.9 MiB | 00m00s Running transaction [ 1/104] Verify package files 100% | 321.0 B/s | 102.0 B | 00m00s [ 2/104] Prepare transaction 100% | 1.6 KiB/s | 102.0 B | 00m00s [ 3/104] Installing libgpg-error-0:1.5 100% | 62.5 MiB/s | 895.4 KiB | 00m00s [ 4/104] Installing libmpc-0:1.3.1-5.f 100% | 40.6 MiB/s | 166.2 KiB | 00m00s [ 5/104] Installing cpp-0:14.1.1-6.fc4 100% | 346.5 MiB/s | 35.0 MiB | 00m00s [ 6/104] Installing libassuan-0:2.5.7- 100% | 40.4 MiB/s | 165.6 KiB | 00m00s [ 7/104] Installing libgcrypt-0:1.11.0 100% | 192.8 MiB/s | 1.5 MiB | 00m00s [ 8/104] Installing libksba-0:1.6.7-1. 100% | 55.9 MiB/s | 401.0 KiB | 00m00s [ 9/104] Installing kernel-headers-0:6 100% | 113.1 MiB/s | 6.4 MiB | 00m00s [ 10/104] Installing glibc-headers-x86- 100% | 84.6 MiB/s | 2.3 MiB | 00m00s [ 11/104] Installing libxcrypt-devel-0: 100% | 6.4 MiB/s | 32.6 KiB | 00m00s [ 12/104] Installing glibc-devel-0:2.39 100% | 4.4 MiB/s | 40.5 KiB | 00m00s [ 13/104] Installing tzdata-0:2024a-8.f 100% | 32.3 MiB/s | 1.9 MiB | 00m00s [ 14/104] Installing python-pip-wheel-0 100% | 249.9 MiB/s | 1.2 MiB | 00m00s [ 15/104] Installing mpdecimal-0:2.5.1- 100% | 32.9 MiB/s | 202.0 KiB | 00m00s [ 16/104] Installing libb2-0:0.98.1-11. 100% | 14.1 MiB/s | 43.3 KiB | 00m00s [ 17/104] Installing expat-0:2.6.2-1.fc 100% | 25.1 MiB/s | 282.9 KiB | 00m00s [ 18/104] Installing python3-libs-0:3.1 100% | 240.2 MiB/s | 40.8 MiB | 00m00s [ 19/104] Installing python3-0:3.13.0~b 100% | 4.7 MiB/s | 33.6 KiB | 00m00s [ 20/104] Installing python3-setuptools 100% | 152.0 MiB/s | 7.4 MiB | 00m00s [ 21/104] Installing annobin-docs-0:12. 100% | 19.0 MiB/s | 97.4 KiB | 00m00s [ 22/104] Installing ncurses-0:6.4-12.2 100% | 47.1 MiB/s | 627.6 KiB | 00m00s >>> Running pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Stop pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 [ 23/104] Installing groff-base-0:1.23. 100% | 128.6 MiB/s | 3.9 MiB | 00m00s >>> Running post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Stop post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 [ 24/104] Installing perl-Digest-0:1.20 100% | 7.2 MiB/s | 37.0 KiB | 00m00s [ 25/104] Installing perl-B-0:1.89-509. 100% | 97.1 MiB/s | 497.2 KiB | 00m00s [ 26/104] Installing perl-FileHandle-0: 100% | 4.8 MiB/s | 9.8 KiB | 00m00s [ 27/104] Installing perl-Digest-MD5-0: 100% | 2.3 MiB/s | 61.6 KiB | 00m00s [ 28/104] Installing perl-Data-Dumper-0 100% | 22.2 MiB/s | 113.6 KiB | 00m00s [ 29/104] Installing perl-libnet-0:3.15 100% | 47.9 MiB/s | 294.3 KiB | 00m00s [ 30/104] Installing perl-AutoLoader-0: 100% | 6.8 MiB/s | 20.9 KiB | 00m00s [ 31/104] Installing perl-IO-Socket-IP- 100% | 24.5 MiB/s | 100.4 KiB | 00m00s [ 32/104] Installing perl-URI-0:5.28-1. 100% | 27.3 MiB/s | 251.8 KiB | 00m00s [ 33/104] Installing perl-File-Path-0:2 100% | 21.0 MiB/s | 64.5 KiB | 00m00s [ 34/104] Installing perl-Mozilla-CA-0: 100% | 2.6 MiB/s | 10.5 KiB | 00m00s [ 35/104] Installing perl-Time-Local-2: 100% | 23.0 MiB/s | 70.5 KiB | 00m00s [ 36/104] Installing perl-Pod-Escapes-1 100% | 12.6 MiB/s | 25.9 KiB | 00m00s [ 37/104] Installing perl-Text-Tabs+Wra 100% | 5.8 MiB/s | 23.8 KiB | 00m00s [ 38/104] Installing perl-if-0:0.61.000 100% | 3.0 MiB/s | 6.2 KiB | 00m00s [ 39/104] Installing perl-locale-0:1.12 100% | 3.4 MiB/s | 6.9 KiB | 00m00s [ 40/104] Installing perl-Net-SSLeay-0: 100% | 104.8 MiB/s | 1.4 MiB | 00m00s [ 41/104] Installing perl-IO-Socket-SSL 100% | 112.1 MiB/s | 689.0 KiB | 00m00s [ 42/104] Installing perl-Term-ANSIColo 100% | 19.4 MiB/s | 99.1 KiB | 00m00s [ 43/104] Installing perl-Term-Cap-0:1. 100% | 7.5 MiB/s | 30.5 KiB | 00m00s [ 44/104] Installing perl-POSIX-0:2.20- 100% | 46.2 MiB/s | 236.4 KiB | 00m00s [ 45/104] Installing perl-File-Temp-1:0 100% | 40.0 MiB/s | 164.0 KiB | 00m00s [ 46/104] Installing perl-IPC-Open3-0:1 100% | 7.6 MiB/s | 23.3 KiB | 00m00s [ 47/104] Installing perl-Class-Struct- 100% | 6.3 MiB/s | 25.9 KiB | 00m00s [ 48/104] Installing perl-Pod-Simple-1: 100% | 79.4 MiB/s | 569.4 KiB | 00m00s [ 49/104] Installing perl-HTTP-Tiny-0:0 100% | 30.1 MiB/s | 154.2 KiB | 00m00s [ 50/104] Installing perl-Symbol-0:1.09 100% | 3.5 MiB/s | 7.2 KiB | 00m00s [ 51/104] Installing perl-Socket-4:2.03 100% | 30.8 MiB/s | 126.0 KiB | 00m00s [ 52/104] Installing perl-SelectSaver-0 100% | 644.5 KiB/s | 2.6 KiB | 00m00s [ 53/104] Installing perl-File-stat-0:1 100% | 4.2 MiB/s | 13.1 KiB | 00m00s [ 54/104] Installing perl-podlators-1:5 100% | 61.0 MiB/s | 312.1 KiB | 00m00s [ 55/104] Installing perl-Pod-Perldoc-0 100% | 27.4 MiB/s | 168.6 KiB | 00m00s [ 56/104] Installing perl-Text-ParseWor 100% | 4.7 MiB/s | 14.5 KiB | 00m00s [ 57/104] Installing perl-base-0:2.27-5 100% | 4.2 MiB/s | 12.9 KiB | 00m00s [ 58/104] Installing perl-mro-0:1.29-50 100% | 11.4 MiB/s | 46.7 KiB | 00m00s [ 59/104] Installing perl-overloading-0 100% | 1.8 MiB/s | 5.5 KiB | 00m00s [ 60/104] Installing perl-Fcntl-0:1.18- 100% | 15.0 MiB/s | 46.1 KiB | 00m00s [ 61/104] Installing perl-IO-0:1.55-509 100% | 30.3 MiB/s | 155.4 KiB | 00m00s [ 62/104] Installing perl-Pod-Usage-4:2 100% | 16.8 MiB/s | 86.3 KiB | 00m00s [ 63/104] Installing perl-constant-0:1. 100% | 8.9 MiB/s | 27.4 KiB | 00m00s [ 64/104] Installing perl-Scalar-List-U 100% | 24.2 MiB/s | 148.7 KiB | 00m00s [ 65/104] Installing perl-overload-0:1. 100% | 35.1 MiB/s | 71.9 KiB | 00m00s [ 66/104] Installing perl-Errno-0:1.38- 100% | 4.3 MiB/s | 8.8 KiB | 00m00s [ 67/104] Installing perl-File-Basename 100% | 4.7 MiB/s | 14.6 KiB | 00m00s [ 68/104] Installing perl-parent-1:0.24 100% | 3.4 MiB/s | 10.4 KiB | 00m00s [ 69/104] Installing perl-vars-0:1.05-5 100% | 2.1 MiB/s | 4.3 KiB | 00m00s [ 70/104] Installing perl-MIME-Base64-0 100% | 9.4 MiB/s | 48.3 KiB | 00m00s [ 71/104] Installing perl-Getopt-Std-0: 100% | 3.8 MiB/s | 11.7 KiB | 00m00s [ 72/104] Installing perl-Storable-1:3. 100% | 57.1 MiB/s | 233.9 KiB | 00m00s [ 73/104] Installing perl-Getopt-Long-1 100% | 23.9 MiB/s | 147.1 KiB | 00m00s [ 74/104] Installing perl-Exporter-0:5. 100% | 18.1 MiB/s | 55.6 KiB | 00m00s [ 75/104] Installing perl-Carp-0:1.54-5 100% | 23.3 MiB/s | 47.7 KiB | 00m00s [ 76/104] Installing perl-PathTools-0:3 100% | 30.0 MiB/s | 184.2 KiB | 00m00s [ 77/104] Installing perl-DynaLoader-0: 100% | 10.6 MiB/s | 32.5 KiB | 00m00s [ 78/104] Installing perl-Encode-4:3.21 100% | 224.6 MiB/s | 4.7 MiB | 00m00s [ 79/104] Installing perl-libs-4:5.40.0 100% | 171.4 MiB/s | 9.9 MiB | 00m00s [ 80/104] Installing perl-interpreter-4 100% | 30.3 MiB/s | 124.0 KiB | 00m00s [ 81/104] Installing gc-0:8.2.2-6.fc40. 100% | 42.5 MiB/s | 261.2 KiB | 00m00s [ 82/104] Installing guile30-0:3.0.9-1. 100% | 366.6 MiB/s | 52.8 MiB | 00m00s [ 83/104] Installing make-1:4.4.1-6.fc4 100% | 128.6 MiB/s | 1.8 MiB | 00m00s [ 84/104] Installing gcc-0:14.1.1-6.fc4 100% | 384.4 MiB/s | 104.2 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [ 85/104] Installing vim-filesystem-2:9 100% | 943.8 KiB/s | 4.7 KiB | 00m00s [ 86/104] Installing emacs-filesystem-1 100% | 177.1 KiB/s | 544.0 B | 00m00s [ 87/104] Installing ninja-build-0:1.12 100% | 60.2 MiB/s | 431.8 KiB | 00m00s [ 88/104] Installing json-c-0:0.17-3.fc 100% | 2.1 MiB/s | 83.6 KiB | 00m00s >>> Running pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 >>> Stop pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 [ 89/104] Installing tpm2-tss-0:4.1.3-1 100% | 111.0 MiB/s | 1.6 MiB | 00m00s [ 90/104] Installing nettle-0:3.10-2.fc 100% | 97.2 MiB/s | 796.1 KiB | 00m00s [ 91/104] Installing gnutls-0:3.8.5-6.f 100% | 213.8 MiB/s | 3.2 MiB | 00m00s [ 92/104] Installing cmake-filesystem-0 100% | 1.0 MiB/s | 7.1 KiB | 00m00s [ 93/104] Installing pcsc-lite-libs-0:2 100% | 21.3 MiB/s | 65.5 KiB | 00m00s [ 94/104] Installing libusb1-0:1.0.27-2 100% | 32.0 MiB/s | 163.9 KiB | 00m00s [ 95/104] Installing npth-0:1.7-1.fc41. 100% | 16.5 MiB/s | 50.6 KiB | 00m00s [ 96/104] Installing m4-0:1.4.19-9.fc40 100% | 64.6 MiB/s | 595.2 KiB | 00m00s [ 97/104] Installing flex-0:2.6.4-16.fc 100% | 79.2 MiB/s | 811.4 KiB | 00m00s [ 98/104] Installing gnupg2-0:2.4.5-1.f 100% | 250.5 MiB/s | 9.5 MiB | 00m00s [ 99/104] Installing libusb1-devel-0:1. 100% | 26.6 MiB/s | 81.7 KiB | 00m00s [100/104] Installing pcsc-lite-devel-0: 100% | 22.2 MiB/s | 136.2 KiB | 00m00s [101/104] Installing zlib-ng-compat-dev 100% | 21.2 MiB/s | 108.3 KiB | 00m00s [102/104] Installing meson-0:1.4.1-2.fc 100% | 208.9 MiB/s | 11.3 MiB | 00m00s [103/104] Installing annobin-plugin-gcc 100% | 63.7 MiB/s | 977.9 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [104/104] Installing gcc-plugin-annobin 100% | 18.1 KiB/s | 58.6 KiB | 00m03s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> 2024-07-03 16:33:55 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-1.fc41 fedora 33.9 MiB clang x86_64 18.1.7-1.fc41 fedora 587.7 KiB cppcheck x86_64 2.14.2-1.fc41 fedora 10.1 MiB Installing dependencies: clang-libs x86_64 18.1.7-1.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.7-1.fc41 fedora 522.0 B gcc-c++ x86_64 14.1.1-6.fc41 fedora 38.1 MiB libedit x86_64 3.1-51.20240517cvs.fc41 fedora 243.9 KiB libstdc++-devel x86_64 14.1.1-6.fc41 fedora 15.4 MiB llvm-libs x86_64 18.1.7-1.fc41 fedora 113.5 MiB pcre x86_64 8.45-1.fc40.6 fedora 541.8 KiB tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB Transaction Summary: Installing: 11 packages Total size of inbound packages is 76 MiB. Need to download 0 B. After this operation 320 MiB will be used (install 320 MiB, remove 0 B). [ 1/11] cppcheck-0:2.14.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/11] ShellCheck-0:0.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/11] clang-0:18.1.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/11] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/11] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/11] clang-libs-0:18.1.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/11] llvm-libs-0:18.1.7-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/11] clang-resource-filesystem-0:18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/11] libedit-0:3.1-51.20240517cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/11] gcc-c++-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/11] libstdc++-devel-0:14.1.1-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/13] Verify package files 100% | 44.0 B/s | 11.0 B | 00m00s [ 2/13] Prepare transaction 100% | 379.0 B/s | 11.0 B | 00m00s [ 3/13] Installing libstdc++-devel-0:14 100% | 225.4 MiB/s | 15.6 MiB | 00m00s [ 4/13] Installing gcc-c++-0:14.1.1-6.f 100% | 363.4 MiB/s | 38.2 MiB | 00m00s [ 5/13] Installing libedit-0:3.1-51.202 100% | 48.0 MiB/s | 245.6 KiB | 00m00s [ 6/13] Installing llvm-libs-0:18.1.7-1 100% | 418.7 MiB/s | 113.5 MiB | 00m00s [ 7/13] Installing clang-resource-files 100% | 391.6 KiB/s | 1.6 KiB | 00m00s [ 8/13] Installing clang-libs-0:18.1.7- 100% | 447.4 MiB/s | 107.8 MiB | 00m00s [ 9/13] Installing tinyxml2-0:9.0.0-4.f 100% | 25.6 MiB/s | 104.9 KiB | 00m00s [10/13] Installing pcre-0:8.45-1.fc40.6 100% | 88.6 MiB/s | 544.1 KiB | 00m00s [11/13] Installing cppcheck-0:2.14.2-1. 100% | 315.0 MiB/s | 10.1 MiB | 00m00s [12/13] Installing clang-0:18.1.7-1.fc4 100% | 115.3 MiB/s | 590.4 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [13/13] Installing ShellCheck-0:0.10.0- 100% | 20.9 MiB/s | 33.9 MiB | 00m02s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 16:33:59 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:34:00 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockd8bz3bnl/rpm-list-mock-provides.txt" >>> 2024-07-03 16:34:02 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm" "/builddir/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm" >>> 2024-07-03 16:34:02 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-07-03 16:34:03 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm'\"" Updating / installing... pcsc-lite-ccid-1.6.0-1.fc41 ######################################## >>> 2024-07-03 16:34:05 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/pcsc-lite-ccid.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/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1717372800 Wrote: /builddir/build/SRPMS/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm renamed 'pcsc-lite-ccid-1.6.0-1.fc41.src.rpm' -> '/builddir/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm' >>> 2024-07-03 16:34:06 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm" "/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm" >>> 2024-07-03 16:34:07 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "flex-2.6.4-16.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "gnupg2-2.4.5-1.fc41.x86_64" is already installed. Package "libusb1-devel-1.0.27-2.fc41.x86_64" is already installed. Package "meson-1.4.1-2.fc41.noarch" is already installed. Package "pcsc-lite-devel-2.2.3-1.fc41.x86_64" is already installed. Package "perl-Getopt-Long-1:2.58-1.fc41.noarch" is already installed. Package "perl-interpreter-4:5.40.0-509.fc41.x86_64" is already installed. Package "zlib-ng-compat-devel-2.1.7-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-07-03 16:34:08 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.7-1.fc41.x86_64" is already installed. Package "cppcheck-2.14.2-1.fc41.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-07-03 16:34:10 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:34:11 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockd8bz3bnl/rpm-list-mock-provides.txt" >>> 2024-07-03 16:34:12 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 1.4 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.4.0-1.fc41 fedora 3.6 MiB Installing dependencies: boost-atomic x86_64 1.83.0-7.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-7.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-7.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-7.fc41 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation 4 MiB will be used (install 4 MiB, remove 0 B). [1/5] csdiff-0:3.4.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-7. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 1.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 250.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 3.4 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 5.4 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 warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [7/7] Installing csdiff-0:3.4.0-1.fc41. 100% | 44.0 MiB/s | 3.7 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 16:34:14 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 16:34:15 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockd8bz3bnl/rpm-list-mock-provides.txt" >>> 2024-07-03 16:34:16 "tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/csclng' '/usr/lib64/csclng' '/usr/bin/csclng++' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'" tar: Removing leading `/' from member names scan.ini: analyzer-version-clang = 18.1.7 scan.ini: analyzer-version-cppcheck = 2.14.2 scan.ini: analyzer-version-gcc = 14.1.1 >>> 2024-07-03 16:34:18 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" scan.ini: analyzer-version-gcc-analyzer = 14.1.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-07-03 16:34:20 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41.src.rpm'" Updating / installing... pcsc-lite-ccid-1.6.0-1.fc41 ######################################## >>> 2024-07-03 16:34:21 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-07-03 16:34:22 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh + sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs '/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true' RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh >>> 2024-07-03 16:34:23 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/pcsc-lite-ccid.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/pcsc-lite-ccid.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/pcsc-lite-ccid.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/pcsc-lite-ccid.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1717372800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.Tu49Rc + umask 022 + cd /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + test -d /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + /usr/bin/rm -rf /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mxxqFp + umask 022 + cd /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + gpgv2 --keyring /builddir/build/SOURCES/gpgkey-F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E.gpg /builddir/build/SOURCES/ccid-1.6.0.tar.xz.asc /builddir/build/SOURCES/ccid-1.6.0.tar.xz gpgv: Signature made Sat Jun 1 13:07:05 2024 UTC gpgv: using RSA key F5E11B9FFE911146F41D953D78A1B4DFE8F9C57E gpgv: Good signature from "Ludovic Rousseau <ludovic.rousseau@free.fr>" gpgv: aka "Ludovic Rousseau <rousseau@debian.org>" + cd /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + rm -rf ccid-1.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ccid-1.6.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ccid-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (ccid-1.4.26-omnikey-3121.patch):' Patch #0 (ccid-1.4.26-omnikey-3121.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .omnikey --fuzz=0 patching file src/ccid.c Hunk #1 succeeded at 47 (offset -8 lines). patching file src/ccid.h Hunk #1 succeeded at 160 (offset 23 lines). Hunk #2 succeeded at 177 (offset 23 lines). patching file src/commands.c Hunk #1 succeeded at 1335 (offset 43 lines). Hunk #2 succeeded at 1424 (offset 43 lines). Hunk #3 succeeded at 1457 (offset 44 lines). Hunk #4 succeeded at 1656 (offset 50 lines). Hunk #5 succeeded at 1681 (offset 51 lines). + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/pcsc-lite-ccid.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-07-03 16:34:24 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-07-03 16:34:25 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1717372800 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QL1CfI + umask 022 + cd /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-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 ccid-1.6.0 + 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 + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build -Dserial=true The Meson build system Version: 1.4.1 Source dir: /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0 Build dir: /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build Build type: native build Project name: ccid Project version: 1.6.0 C compiler for the host machine: gcc (gcc 14.1.1 "gcc (GCC) 14.1.1 20240620 (Red Hat 14.1.1-6)") C linker for the host machine: gcc ld.bfd 2.42.50.20240531 Host machine cpu family: x86_64 Host machine cpu: x86_64 Checking for function "strlcpy" : YES Checking for function "strlcat" : YES Checking for function "secure_getenv" : YES Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1 Run-time dependency libpcsclite found: YES 2.2.3 Run-time dependency libusb-1.0 found: YES 1.0.27 Run-time dependency zlib found: YES 1.3.1.zlib-ng Program flex found: YES (/usr/bin/flex) Configuring libccidtwin using configuration Program src/create_Info_plist.pl found: YES (/builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/create_Info_plist.pl) Configuring config.h using configuration Build targets in project: 7 ccid 1.6.0 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload serial : true Found ninja-1.12.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 8 --verbose ninja: Entering directory `/builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build' [1/48] /usr/bin/flex -o libccidtwin.so.p/tokenparser.c --prefix=tokenparser ../src/tokenparser.l [2/48] /usr/bin/flex -o libccid.so.p/tokenparser.c --prefix=tokenparser ../src/tokenparser.l [3/48] /usr/bin/flex -o parse.p/tokenparser.c --prefix=tokenparser ../src/tokenparser.l [4/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_strlcpy.c.o -MF libccid.so.p/src_strlcpy.c.o.d -o libccid.so.p/src_strlcpy.c.o -c ../src/strlcpy.c [5/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_sys_unix.c.o -MF libccid.so.p/src_sys_unix.c.o.d -o libccid.so.p/src_sys_unix.c.o -c ../src/sys_unix.c [6/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_utils.c.o -MF libccid.so.p/src_utils.c.o.d -o libccid.so.p/src_utils.c.o -c ../src/utils.c [7/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_openct_buffer.c.o -MF libccid.so.p/src_openct_buffer.c.o.d -o libccid.so.p/src_openct_buffer.c.o -c ../src/openct/buffer.c [8/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_openct_checksum.c.o -MF libccid.so.p/src_openct_checksum.c.o.d -o libccid.so.p/src_openct_checksum.c.o -c ../src/openct/checksum.c [9/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_ccid.c.o -MF libccid.so.p/src_ccid.c.o.d -o libccid.so.p/src_ccid.c.o -c ../src/ccid.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/ccid.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [10/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_towitoko_pps.c.o -MF libccid.so.p/src_towitoko_pps.c.o.d -o libccid.so.p/src_towitoko_pps.c.o -c ../src/towitoko/pps.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/towitoko/pps.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [11/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_towitoko_atr.c.o -MF libccid.so.p/src_towitoko_atr.c.o.d -o libccid.so.p/src_towitoko_atr.c.o -c ../src/towitoko/atr.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/towitoko/atr.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [12/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/meson-generated_tokenparser.c.o -MF libccid.so.p/meson-generated_tokenparser.c.o.d -o libccid.so.p/meson-generated_tokenparser.c.o -c libccid.so.p/tokenparser.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1634: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1635: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c: In function ‘tokenparser_create_buffer’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1594:12: warning: leak of ‘tokenparseralloc(64)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:978:5: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:980:27: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:989:6: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:992:8: note: (9) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:995:8: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:19:31: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:19:31: note: (12) calling ‘tokenparserensure_buffer_stack’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:19:31: note: (13) entry to ‘tokenparserensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1733:13: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1737:5: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1757:55: note: (15) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:19:31: note: (16) returning to ‘tokenparserlex’ from ‘tokenparserensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:8:26: note: (17) calling ‘tokenparser_create_buffer’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:998:26: note: in expansion of macro ‘yy_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:8:26: note: (18) entry to ‘tokenparser_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1580:21: note: in expansion of macro ‘yy_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:29:17: note: (19) calling ‘tokenparseralloc’ from ‘tokenparser_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1584:24: note: in expansion of macro ‘yyalloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:29:17: note: (20) entry to ‘tokenparseralloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:2044:7: note: in expansion of macro ‘yyalloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:2046:11: note: (21) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:29:17: note: (22) returning to ‘tokenparser_create_buffer’ from ‘tokenparseralloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1584:24: note: in expansion of macro ‘yyalloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1585:12: note: (23) assuming ‘tokenparseralloc(64)’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1585:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1588:17: note: (25) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1594:12: note: (26) ‘tokenparseralloc(64)’ leaks here; was allocated at (21) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l: In function ‘eval_key’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:18: warning: dereference of possibly-NULL ‘elt’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:73:3: note: (8) calling ‘eval_key’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:80:13: note: (9) entry to ‘eval_key’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:87:15: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:18: note: (11) ‘elt’ could be NULL: unchecked value from (10) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:99:9: warning: use of possibly-NULL ‘malloc(len)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:73:3: note: (8) calling ‘eval_key’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:80:13: note: (9) entry to ‘eval_key’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:20: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:99:9: note: (11) argument 1 (‘malloc(len)’) from (10) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l: In function ‘eval_value’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: warning: use of possibly-NULL ‘value’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:75:3: note: (8) calling ‘eval_value’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:113:13: note: (9) entry to ‘eval_value’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:128:17: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: note: (11) argument 1 (‘value’) from (10) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:155:1: warning: leak of ‘amp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccid.so.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:75:3: note: (8) calling ‘eval_value’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:113:13: note: (9) entry to ‘eval_value’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:128:17: note: (10) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: note: (11) assuming ‘value’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:136:23: note: (12) when ‘strstr’ returns NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:136:45: note: (13) following ‘false’ branch (when ‘amp’ is NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:152:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:155:1: note: (15) ‘amp’ leaks here; was allocated at (10) <--[gcc] [13/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_ifdhandler.c.o -MF libccid.so.p/src_ifdhandler.c.o.d -o libccid.so.p/src_ifdhandler.c.o -c ../src/ifdhandler.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/ifdhandler.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [14/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_ccid.c.o -MF libccidtwin.so.p/src_ccid.c.o.d -o libccidtwin.so.p/src_ccid.c.o -c ../src/ccid.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/ccid.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [15/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_ccid_serial.c.o -MF libccidtwin.so.p/src_ccid_serial.c.o.d -o libccidtwin.so.p/src_ccid_serial.c.o -c ../src/ccid_serial.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/ccid_serial.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [16/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_openct_proto-t1.c.o -MF libccid.so.p/src_openct_proto-t1.c.o.d -o libccid.so.p/src_openct_proto-t1.c.o -c ../src/openct/proto-t1.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/openct/proto-t1.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [17/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_strlcpy.c.o -MF libccidtwin.so.p/src_strlcpy.c.o.d -o libccidtwin.so.p/src_strlcpy.c.o -c ../src/strlcpy.c [18/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_sys_unix.c.o -MF libccidtwin.so.p/src_sys_unix.c.o.d -o libccidtwin.so.p/src_sys_unix.c.o -c ../src/sys_unix.c [19/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_utils.c.o -MF libccidtwin.so.p/src_utils.c.o.d -o libccidtwin.so.p/src_utils.c.o -c ../src/utils.c [20/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_simclist.c.o -MF libccid.so.p/src_simclist.c.o.d -o libccid.so.p/src_simclist.c.o -c ../src/simclist.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c: In function ‘list_delete_range’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:601:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:590:5: note: (1) entry to ‘list_delete_range’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:595:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:597:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:598:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:600:11: note: (5) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:600:11: note: (6) calling ‘list_findpos’ from ‘list_delete_range’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:443:36: note: (7) entry to ‘list_findpos’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:448:8: note: (8) following ‘true’ branch... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:600:11: note: (10) returning to ‘list_delete_range’ from ‘list_findpos’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:601:15: note: (11) dereference of NULL ‘list_findpos(l, (int)posstart)’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:802:67: warning: Access to field 'next' results in a dereference of a null pointer (loaded from field 'mid') [core.NullDereference] <--[clang] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:805:67: warning: Access to field 'prev' results in a dereference of a null pointer (loaded from field 'mid') [core.NullDereference] <--[clang] [21/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/meson-generated_tokenparser.c.o -MF libccidtwin.so.p/meson-generated_tokenparser.c.o.d -o libccidtwin.so.p/meson-generated_tokenparser.c.o -c libccidtwin.so.p/tokenparser.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1634: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1635: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c: In function ‘tokenparser_create_buffer’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1594:12: warning: leak of ‘tokenparseralloc(64)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:978:5: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:980:27: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:989:6: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:992:8: note: (9) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:995:8: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:19:31: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:19:31: note: (12) calling ‘tokenparserensure_buffer_stack’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:19:31: note: (13) entry to ‘tokenparserensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1733:13: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1737:5: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1757:55: note: (15) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:19:31: note: (16) returning to ‘tokenparserlex’ from ‘tokenparserensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:8:26: note: (17) calling ‘tokenparser_create_buffer’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:998:26: note: in expansion of macro ‘yy_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:8:26: note: (18) entry to ‘tokenparser_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1580:21: note: in expansion of macro ‘yy_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:29:17: note: (19) calling ‘tokenparseralloc’ from ‘tokenparser_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1584:24: note: in expansion of macro ‘yyalloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:29:17: note: (20) entry to ‘tokenparseralloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:2044:7: note: in expansion of macro ‘yyalloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:2046:11: note: (21) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:29:17: note: (22) returning to ‘tokenparser_create_buffer’ from ‘tokenparseralloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1584:24: note: in expansion of macro ‘yyalloc’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1585:12: note: (23) assuming ‘tokenparseralloc(64)’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1585:12: note: (24) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1588:17: note: (25) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1594:12: note: (26) ‘tokenparseralloc(64)’ leaks here; was allocated at (21) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l: In function ‘eval_key’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:18: warning: dereference of possibly-NULL ‘elt’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:73:3: note: (8) calling ‘eval_key’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:80:13: note: (9) entry to ‘eval_key’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:87:15: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:18: note: (11) ‘elt’ could be NULL: unchecked value from (10) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:99:9: warning: use of possibly-NULL ‘malloc(len)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:73:3: note: (8) calling ‘eval_key’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:80:13: note: (9) entry to ‘eval_key’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:20: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:99:9: note: (11) argument 1 (‘malloc(len)’) from (10) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l: In function ‘eval_value’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: warning: use of possibly-NULL ‘value’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:75:3: note: (8) calling ‘eval_value’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:113:13: note: (9) entry to ‘eval_value’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:128:17: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: note: (11) argument 1 (‘value’) from (10) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:155:1: warning: leak of ‘amp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin.so.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:75:3: note: (8) calling ‘eval_value’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:113:13: note: (9) entry to ‘eval_value’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:128:17: note: (10) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: note: (11) assuming ‘value’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:136:23: note: (12) when ‘strstr’ returns NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:136:45: note: (13) following ‘false’ branch (when ‘amp’ is NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:152:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:155:1: note: (15) ‘amp’ leaks here; was allocated at (10) <--[gcc] [22/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_openct_buffer.c.o -MF libccidtwin.so.p/src_openct_buffer.c.o.d -o libccidtwin.so.p/src_openct_buffer.c.o -c ../src/openct/buffer.c [23/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_openct_checksum.c.o -MF libccidtwin.so.p/src_openct_checksum.c.o.d -o libccidtwin.so.p/src_openct_checksum.c.o -c ../src/openct/checksum.c [24/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_towitoko_pps.c.o -MF libccidtwin.so.p/src_towitoko_pps.c.o.d -o libccidtwin.so.p/src_towitoko_pps.c.o -c ../src/towitoko/pps.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/towitoko/pps.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [25/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_ifdhandler.c.o -MF libccidtwin.so.p/src_ifdhandler.c.o.d -o libccidtwin.so.p/src_ifdhandler.c.o -c ../src/ifdhandler.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/ifdhandler.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [26/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_towitoko_atr.c.o -MF libccidtwin.so.p/src_towitoko_atr.c.o.d -o libccidtwin.so.p/src_towitoko_atr.c.o -c ../src/towitoko/atr.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/towitoko/atr.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [27/48] gcc -Iparse.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -DWITH_GZFILEOP -MD -MQ parse.p/src_debug.c.o -MF parse.p/src_debug.c.o.d -o parse.p/src_debug.c.o -c ../src/debug.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/debug.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [28/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_ccid_usb.c.o -MF libccid.so.p/src_ccid_usb.c.o.d -o libccid.so.p/src_ccid_usb.c.o -c ../src/ccid_usb.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/ccid_usb.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [29/48] gcc -Iparse.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -DWITH_GZFILEOP -MD -MQ parse.p/src_sys_unix.c.o -MF parse.p/src_sys_unix.c.o.d -o parse.p/src_sys_unix.c.o -c ../src/sys_unix.c [30/48] gcc -Ilibccid.so.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -MD -MQ libccid.so.p/src_commands.c.o -MF libccid.so.p/src_commands.c.o.d -o libccid.so.p/src_commands.c.o -c ../src/commands.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/commands.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/commands.c:1361:2: warning: Null pointer passed to 2nd parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] [31/48] gcc -Iparse.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -DWITH_GZFILEOP -MD -MQ parse.p/meson-generated_tokenparser.c.o -MF parse.p/meson-generated_tokenparser.c.o.d -o parse.p/meson-generated_tokenparser.c.o -c parse.p/tokenparser.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1634: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1635: warning: nullPointer(CWE-476): Possible null pointer dereference: b <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c: In function ‘tokenparser_create_buffer’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1594:12: warning: leak of ‘malloc(64)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:978:5: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:980:27: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:989:6: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:992:8: note: (9) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:995:8: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:19:31: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:19:31: note: (12) calling ‘tokenparserensure_buffer_stack’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:19:31: note: (13) entry to ‘tokenparserensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1733:13: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1737:5: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1757:55: note: (15) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:19:31: note: (16) returning to ‘tokenparserlex’ from ‘tokenparserensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:996:18: note: in expansion of macro ‘yyensure_buffer_stack’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:8:26: note: (17) calling ‘tokenparser_create_buffer’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:998:26: note: in expansion of macro ‘yy_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:8:26: note: (18) entry to ‘tokenparser_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1580:21: note: in expansion of macro ‘yy_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:29:17: note: (19) inlined call to ‘tokenparseralloc’ from ‘tokenparser_create_buffer’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1584:24: note: in expansion of macro ‘yyalloc’ <--[gcc] In function ‘tokenparseralloc’, inlined from ‘tokenparser_create_buffer’ at parse.p/tokenparser.c:1584:24: /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:2046:11: note: (20) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c: In function ‘tokenparser_create_buffer’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1585:12: note: (21) assuming ‘malloc(64)’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1585:12: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1588:17: note: (23) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1594:12: note: (24) ‘malloc(64)’ leaks here; was allocated at (20) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l: In function ‘eval_key’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:18: warning: dereference of possibly-NULL ‘elt’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:73:3: note: (8) calling ‘eval_key’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:80:13: note: (9) entry to ‘eval_key’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:87:15: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:18: note: (11) ‘elt’ could be NULL: unchecked value from (10) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:99:9: warning: use of possibly-NULL ‘malloc(len)’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:73:3: note: (8) calling ‘eval_key’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:80:13: note: (9) entry to ‘eval_key’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:98:20: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:99:9: note: (11) argument 1 (‘malloc(len)’) from (10) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l: In function ‘eval_value’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: warning: use of possibly-NULL ‘value’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:75:3: note: (8) calling ‘eval_value’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:113:13: note: (9) entry to ‘eval_value’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:128:17: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: note: (11) argument 1 (‘value’) from (10) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:155:1: warning: leak of ‘amp’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:203:5: note: (1) entry to ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:212:12: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:219:13: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (4) calling ‘tokenparserlex’ from ‘bundleParse’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:228:23: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:23:15: note: (5) entry to ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:952:21: note: in expansion of macro ‘yylex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:972:1: note: in expansion of macro ‘YY_DECL’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1032:81: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/parse.p/tokenparser.c:1038:57: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:75:3: note: (8) calling ‘eval_value’ from ‘tokenparserlex’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:113:13: note: (9) entry to ‘eval_value’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:128:17: note: (10) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:131:9: note: (11) assuming ‘value’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:136:23: note: (12) when ‘strstr’ returns NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:136:45: note: (13) following ‘false’ branch (when ‘amp’ is NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:152:13: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/tokenparser.l:155:1: note: (15) ‘amp’ leaks here; was allocated at (10) <--[gcc] [32/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_simclist.c.o -MF libccidtwin.so.p/src_simclist.c.o.d -o libccidtwin.so.p/src_simclist.c.o -c ../src/simclist.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c: In function ‘list_delete_range’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:601:15: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:590:5: note: (1) entry to ‘list_delete_range’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:595:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:597:21: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:598:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:600:11: note: (5) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:600:11: note: (6) calling ‘list_findpos’ from ‘list_delete_range’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:443:36: note: (7) entry to ‘list_findpos’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:448:8: note: (8) following ‘true’ branch... <--[gcc] cc1: note: (9) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:600:11: note: (10) returning to ‘list_delete_range’ from ‘list_findpos’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:601:15: note: (11) dereference of NULL ‘list_findpos(l, (int)posstart)’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:802:67: warning: Access to field 'next' results in a dereference of a null pointer (loaded from field 'mid') [core.NullDereference] <--[clang] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:805:67: warning: Access to field 'prev' results in a dereference of a null pointer (loaded from field 'mid') [core.NullDereference] <--[clang] [33/48] gcc -Iscardcontrol.p -I. -I.. -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -MD -MQ scardcontrol.p/examples_PCSCv2part10.c.o -MF scardcontrol.p/examples_PCSCv2part10.c.o.d -o scardcontrol.p/examples_PCSCv2part10.c.o -c ../examples/PCSCv2part10.c [34/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_openct_proto-t1.c.o -MF libccidtwin.so.p/src_openct_proto-t1.c.o.d -o libccidtwin.so.p/src_openct_proto-t1.c.o -c ../src/openct/proto-t1.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/openct/proto-t1.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [35/48] gcc -IRSA_SecurID_getpasswd.p -I. -I.. -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -MD -MQ RSA_SecurID_getpasswd.p/contrib_RSA_SecurID_RSA_SecurID_getpasswd.c.o -MF RSA_SecurID_getpasswd.p/contrib_RSA_SecurID_RSA_SecurID_getpasswd.c.o.d -o RSA_SecurID_getpasswd.p/contrib_RSA_SecurID_RSA_SecurID_getpasswd.c.o -c ../contrib/RSA_SecurID/RSA_SecurID_getpasswd.c [36/48] gcc -o RSA_SecurID_getpasswd RSA_SecurID_getpasswd.p/contrib_RSA_SecurID_RSA_SecurID_getpasswd.c.o -Wl,--as-needed -Wl,--no-undefined -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 -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 /usr/lib64/libpcsclite.so [37/48] /usr/bin/meson --internal exe --capture Info.plist -- /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/create_Info_plist.pl ../readers/supported_readers.txt ../src/Info.plist.src --version=1.6.0 --target=libccid.so [38/48] gcc -Iparse.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -DWITH_GZFILEOP -MD -MQ parse.p/src_parse.c.o -MF parse.p/src_parse.c.o.d -o parse.p/src_parse.c.o -c ../src/parse.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of FILE ‘fopen("output.txt", "w+")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) opened here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:34: note: (9) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:111:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:114:20: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:116:31: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (13) ‘fopen("output.txt", "w+")’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of FILE ‘fopen("output.txt", "w+")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) opened here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:34: note: (9) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:111:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:114:20: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:127:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (13) ‘fopen("output.txt", "w+")’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of ‘fopen("output.txt", "w+")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:34: note: (9) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:111:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:114:20: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:127:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (13) ‘fopen("output.txt", "w+")’ leaks here; was allocated at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of ‘fopen("output.txt", "w+")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:34: note: (9) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:111:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:114:20: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:116:31: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (13) ‘fopen("output.txt", "w+")’ leaks here; was allocated at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of FILE ‘fopen("output.txt", "w+")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) opened here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (9) ‘fopen("output.txt", "w+")’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of ‘fopen("output.txt", "w+")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (9) ‘fopen("output.txt", "w+")’ leaks here; was allocated at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of FILE ‘fopen("output.txt", "w+")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) opened here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:34: note: (9) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:111:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:114:20: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:127:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:128:20: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:139:53: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:144:20: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:146:31: note: (16) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:148:28: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:148:64: note: (18) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (19) ‘fopen("output.txt", "w+")’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of ‘fopen("output.txt", "w+")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:34: note: (9) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:111:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:114:20: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:127:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:128:20: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:139:53: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:144:20: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:146:31: note: (16) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:148:28: note: (17) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:148:64: note: (18) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (19) ‘fopen("output.txt", "w+")’ leaks here; was allocated at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of FILE ‘fopen("output.txt", "w+")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) opened here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:256:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:261:16: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:266:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:267:20: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:267:31: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (15) ‘fopen("output.txt", "w+")’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of ‘fopen("output.txt", "w+")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:256:12: note: (9) following ‘false’ branch... <--[gcc] cc1: note: (10) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:261:16: note: (11) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:266:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:267:20: note: (13) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:267:31: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (15) ‘fopen("output.txt", "w+")’ leaks here; was allocated at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of FILE ‘fopen("output.txt", "w+")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) opened here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:34: note: (9) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:111:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:114:20: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:127:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:128:20: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:139:53: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:171:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:179:33: note: (16) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:180:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:188:20: note: (18) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:219:28: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:221:33: note: (20) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (21) ‘fopen("output.txt", "w+")’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: warning: leak of ‘fopen("output.txt", "w+")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:79:12: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:85:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:86:12: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:93:14: note: (5) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (6) assuming ‘fopen("output.txt", "w+")’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:94:12: note: (7) following ‘false’ branch... <--[gcc] cc1: note: (8) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:34: note: (9) following ‘true’ branch (when ‘dev’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:111:21: note: (10) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:114:20: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:127:21: note: (12) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:128:20: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:139:53: note: (14) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:171:20: note: (15) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:179:33: note: (16) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:180:20: note: (17) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:188:20: note: (18) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:219:28: note: (19) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:221:33: note: (20) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/parse.c:102:27: note: (21) ‘fopen("output.txt", "w+")’ leaks here; was allocated at (5) <--[gcc] [39/48] gcc -o libccid.so libccid.so.p/meson-generated_tokenparser.c.o libccid.so.p/src_ccid.c.o libccid.so.p/src_ccid_usb.c.o libccid.so.p/src_commands.c.o libccid.so.p/src_ifdhandler.c.o libccid.so.p/src_simclist.c.o libccid.so.p/src_strlcpy.c.o libccid.so.p/src_sys_unix.c.o libccid.so.p/src_utils.c.o libccid.so.p/src_openct_buffer.c.o libccid.so.p/src_openct_checksum.c.o libccid.so.p/src_openct_proto-t1.c.o libccid.so.p/src_towitoko_atr.c.o libccid.so.p/src_towitoko_pps.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,-soname,libccid.so -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 -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 /usr/lib64/libusb-1.0.so [40/48] gcc -Iscardcontrol.p -I. -I.. -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -MD -MQ scardcontrol.p/examples_scardcontrol.c.o -MF scardcontrol.p/examples_scardcontrol.c.o.d -o scardcontrol.p/examples_scardcontrol.c.o -c ../examples/scardcontrol.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/examples/scardcontrol.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [41/48] gcc -IKobil_mIDentity_switch.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -MD -MQ Kobil_mIDentity_switch.p/contrib_Kobil_mIDentity_switch_Kobil_mIDentity_switch.c.o -MF Kobil_mIDentity_switch.p/contrib_Kobil_mIDentity_switch_Kobil_mIDentity_switch.c.o.d -o Kobil_mIDentity_switch.p/contrib_Kobil_mIDentity_switch_Kobil_mIDentity_switch.c.o -c ../contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [42/48] gcc -Ilibccidtwin.so.p -I. -I.. -I../src -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -fPIC -DSIMCLIST_NO_DUMPRESTORE -DTWIN_SERIAL -MD -MQ libccidtwin.so.p/src_commands.c.o -MF libccidtwin.so.p/src_commands.c.o.d -o libccidtwin.so.p/src_commands.c.o -c ../src/commands.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/commands.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/commands.c:1361:2: warning: Null pointer passed to 2nd parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/commands.c:2091:17: warning: Assigned value is garbage or undefined [core.uninitialized.Assign] <--[clang] [43/48] gcc -o Kobil_mIDentity_switch Kobil_mIDentity_switch.p/contrib_Kobil_mIDentity_switch_Kobil_mIDentity_switch.c.o -Wl,--as-needed -Wl,--no-undefined -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 -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 /usr/lib64/libusb-1.0.so [44/48] gcc -o scardcontrol scardcontrol.p/examples_scardcontrol.c.o scardcontrol.p/examples_PCSCv2part10.c.o -Wl,--as-needed -Wl,--no-undefined -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 -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 /usr/lib64/libpcsclite.so [45/48] gcc -Iparse.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -DWITH_GZFILEOP -MD -MQ parse.p/src_ccid_usb.c.o -MF parse.p/src_ccid_usb.c.o.d -o parse.p/src_ccid_usb.c.o -c ../src/ccid_usb.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/ccid_usb.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [46/48] gcc -Iparse.p -I. -I.. -I../src -I/usr/include/libusb-1.0 -I/usr/include/PCSC -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -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 -DWITH_GZFILEOP -MD -MQ parse.p/src_simclist.c.o -MF parse.p/src_simclist.c.o.d -o parse.p/src_simclist.c.o -c ../src/simclist.c /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c: In function ‘list_restore_filedescriptor’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:100:64: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1297:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1437:5: note: (1) entry to ‘list_restore_file’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1441:8: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1443:5: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1443:5: note: (4) calling ‘list_restore_filedescriptor’ from ‘list_restore_file’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1286:5: note: (5) entry to ‘list_restore_filedescriptor’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1297:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] In file included from /usr/include/arpa/inet.h:22, <--[gcc] from /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:39: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1298:30: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1299:8: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:57: note: (9) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1305:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1305:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1306:40: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1307:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1308:41: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1311:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1313:34: note: (15) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1316:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1317:25: note: (17) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1320:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1321:21: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1324:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1325:22: note: (21) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (22) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1328:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1329:35: note: (23) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1334:8: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1336:21: note: (25) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1336:12: note: (26) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1338:19: note: (27) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1338:19: note: (28) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1339:16: note: (29) assuming ‘buf’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1339:16: note: (30) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] cc1: note: (31) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1341:31: note: (32) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1342:56: note: (33) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:74: note: in definition of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (34) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1342:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] cc1: note: (35) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:100:64: note: (36) ‘buf’ leaks here; was allocated at (28) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1297:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1349:23: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1286:5: note: (1) entry to ‘list_restore_filedescriptor’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1297:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1298:30: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1299:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:57: note: (5) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1305:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1305:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1306:40: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1307:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1308:41: note: (9) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1311:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1313:34: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1316:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1317:25: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1320:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1321:21: note: (15) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1324:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1325:22: note: (17) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1328:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1329:35: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1334:8: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1336:21: note: (21) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1336:12: note: (22) following ‘false’ branch... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1348:31: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1349:36: note: (25) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1349:23: note: (26) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1350:20: note: (27) assuming ‘buf’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1350:20: note: (28) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:57: note: (29) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1352:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (30) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1352:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1353:17: note: (31) inlined call to ‘list_append’ from ‘list_restore_filedescriptor’ <--[gcc] In function ‘list_append’, inlined from ‘list_restore_filedescriptor’ at ../src/simclist.c:1353:17: /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:397:12: note: (32) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:397:12: note: (33) calling ‘list_insert_at’ from ‘list_restore_filedescriptor’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c: In function ‘list_restore_filedescriptor’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:496:5: note: (34) entry to ‘list_insert_at’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:499:8: note: (35) following ‘true’ branch... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1353:17: note: (37) inlined call to ‘list_append’ from ‘list_restore_filedescriptor’ <--[gcc] In function ‘list_append’, inlined from ‘list_restore_filedescriptor’ at ../src/simclist.c:1353:17: /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:397:12: note: (38) returning to ‘list_restore_filedescriptor’ from ‘list_insert_at’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c: In function ‘list_restore_filedescriptor’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1348:31: note: (39) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1349:36: note: (40) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1349:23: note: (41) ‘buf’ leaks here; was allocated at (26) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1376:23: warning: leak of ‘buf’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1286:5: note: (1) entry to ‘list_restore_filedescriptor’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1297:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1298:30: note: (3) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1299:8: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:57: note: (5) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1305:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1305:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1306:40: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1307:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1308:41: note: (9) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1311:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1313:34: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1316:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1317:25: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1320:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1321:21: note: (15) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1324:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1325:22: note: (17) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1328:5: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1329:35: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1334:8: note: (20) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1360:21: note: (21) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1360:12: note: (22) following ‘false’ branch... <--[gcc] cc1: note: (23) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1374:31: note: (24) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:57: note: (25) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1375:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1375:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1376:23: note: (27) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1376:23: note: (28) allocated here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1377:20: note: (29) assuming ‘buf’ is non-NULL <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1377:20: note: (30) following ‘false’ branch (when ‘buf’ is non-NULL)... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:57: note: (31) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1379:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1379:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1380:28: note: (33) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1381:17: note: (34) inlined call to ‘list_append’ from ‘list_restore_filedescriptor’ <--[gcc] In function ‘list_append’, inlined from ‘list_restore_filedescriptor’ at ../src/simclist.c:1381:17: /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:397:12: note: (35) calling ‘list_insert_at’ from ‘list_restore_filedescriptor’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c: In function ‘list_restore_filedescriptor’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:496:5: note: (36) entry to ‘list_insert_at’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:499:8: note: (37) following ‘true’ branch... <--[gcc] cc1: note: (38) ...to here /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1381:17: note: (39) inlined call to ‘list_append’ from ‘list_restore_filedescriptor’ <--[gcc] In function ‘list_append’, inlined from ‘list_restore_filedescriptor’ at ../src/simclist.c:1381:17: /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:397:12: note: (40) returning to ‘list_restore_filedescriptor’ from ‘list_insert_at’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c: In function ‘list_restore_filedescriptor’: <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1374:31: note: (41) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:57: note: (42) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1375:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:98:56: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1375:17: note: in expansion of macro ‘READ_ERRCHECK’ <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1376:23: note: (44) ...to here <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1376:23: note: (45) ‘buf’ leaks here; was allocated at (28) <--[gcc] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:802:67: warning: Access to field 'next' results in a dereference of a null pointer (loaded from field 'mid') [core.NullDereference] <--[clang] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:805:67: warning: Access to field 'prev' results in a dereference of a null pointer (loaded from field 'mid') [core.NullDereference] <--[clang] /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/src/simclist.c:1357:22: warning: Potential leak of memory pointed to by 'buf' [unix.Malloc] <--[clang] [47/48] gcc -o parse parse.p/meson-generated_tokenparser.c.o parse.p/src_parse.c.o parse.p/src_debug.c.o parse.p/src_ccid_usb.c.o parse.p/src_sys_unix.c.o parse.p/src_simclist.c.o -Wl,--as-needed -Wl,--no-undefined -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 -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 -Wl,--start-group /usr/lib64/libusb-1.0.so /usr/lib64/libz.so -Wl,--end-group [48/48] gcc -o libccidtwin.so libccidtwin.so.p/meson-generated_tokenparser.c.o libccidtwin.so.p/src_ccid.c.o libccidtwin.so.p/src_ccid_serial.c.o libccidtwin.so.p/src_commands.c.o libccidtwin.so.p/src_ifdhandler.c.o libccidtwin.so.p/src_simclist.c.o libccidtwin.so.p/src_strlcpy.c.o libccidtwin.so.p/src_sys_unix.c.o libccidtwin.so.p/src_utils.c.o libccidtwin.so.p/src_openct_buffer.c.o libccidtwin.so.p/src_openct_checksum.c.o libccidtwin.so.p/src_openct_proto-t1.c.o libccidtwin.so.p/src_towitoko_atr.c.o libccidtwin.so.p/src_towitoko_pps.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,-soname,libccidtwin.so -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 -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 INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build -j 8 -v + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-07-03 16:34:44 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-07-03 16:34:45 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1717372800 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o5vRlB + umask 022 + cd /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + '[' /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + mkdir /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-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 ccid-1.6.0 + DESTDIR=/builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT + /usr/bin/meson install -C redhat-linux-build --no-rebuild Installing libccid.so to /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents/Linux Installing libccidtwin.so to /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/lib64/pcsc/drivers/serial Installing Info.plist to /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/lib64/pcsc/drivers/ifd-ccid.bundle/Contents Installing /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/redhat-linux-build/libccidtwin to /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/etc/reader.conf.d + cp -p src/openct/LICENSE LICENSE.openct + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.6.0-1.fc41 --unique-debug-suffix -1.6.0-1.fc41.x86_64 --unique-debug-src-base pcsc-lite-ccid-1.6.0-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0 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/pcsc-lite-ccid-1.6.0-1.fc41.x86_64 1028 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT Scanned 31 directories and 40 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: pcsc-lite-ccid-1.6.0-1.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ReuR4e + umask 022 + cd /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + cd ccid-1.6.0 + DOCDIR=/builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/share/doc/pcsc-lite-ccid + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/share/doc/pcsc-lite-ccid + cp -pr /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/AUTHORS /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/share/doc/pcsc-lite-ccid + cp -pr /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/README.md /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/share/doc/pcsc-lite-ccid + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yI5bbc + umask 022 + cd /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build + cd ccid-1.6.0 + LICENSEDIR=/builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/share/licenses/pcsc-lite-ccid + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/share/licenses/pcsc-lite-ccid + cp -pr /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/COPYING /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/share/licenses/pcsc-lite-ccid + cp -pr /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/ccid-1.6.0/LICENSE.openct /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT/usr/share/licenses/pcsc-lite-ccid + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(simclist) = 1.6 ccid = 1.6.0-1.fc41 config(pcsc-lite-ccid) = 1.6.0-1.fc41 libccid.so()(64bit) libccidtwin.so()(64bit) pcsc-ifd-handler pcsc-lite-ccid = 1.6.0-1.fc41 pcsc-lite-ccid(x86-64) = 1.6.0-1.fc41 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libusb-1.0.so.0()(64bit) rtld(GNU_HASH) Obsoletes: ccid < 1.4.0-3 Processing files: pcsc-lite-ccid-debugsource-1.6.0-1.fc41.x86_64 Provides: pcsc-lite-ccid-debugsource = 1.6.0-1.fc41 pcsc-lite-ccid-debugsource(x86-64) = 1.6.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pcsc-lite-ccid-debuginfo-1.6.0-1.fc41.x86_64 Provides: debuginfo(build-id) = 5767fe4781231310afd29b101a0ae9806f9451d6 debuginfo(build-id) = d34bc1f90f99ae08889da7240f043d6385db08b3 libccid.so-1.6.0-1.fc41.x86_64.debug()(64bit) libccidtwin.so-1.6.0-1.fc41.x86_64.debug()(64bit) pcsc-lite-ccid-debuginfo = 1.6.0-1.fc41 pcsc-lite-ccid-debuginfo(x86-64) = 1.6.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pcsc-lite-ccid-debugsource(x86-64) = 1.6.0-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/pcsc-lite-ccid-1.6.0-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/pcsc-lite-ccid.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-07-03 16:34:47 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-07-03 16:34:48 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-capture.err'' | tar -xC '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-07-03 16:34:49 "cat '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-07-03 16:34:49 "csgrep --quiet '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-07-03 16:34:49 scan.ini: exit-code = 0 >>> 2024-07-03 16:34:49 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan.ini' '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/uni-results'/* > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/scan-results-all.js'" >>> 2024-07-03 16:34:49 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/scan-results-all.js' >'/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/scan-results-all.js.tmp'" >>> 2024-07-03 16:34:50 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-07-03 16:34:52 "cat '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan-results.js'" >>> 2024-07-03 16:34:52 "cat '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan-results.js' - | cssort > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/suppressed-results.js'" >>> 2024-07-03 16:34:52 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/suppressed-results.js' > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/suppressed-results.err'" >>> 2024-07-03 16:34:52 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/suppressed-results.html'" >>> 2024-07-03 16:34:52 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/debug/suppressed-results-summary.txt'" >>> 2024-07-03 16:34:52 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan-results.js' > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan-results.err'" >>> 2024-07-03 16:34:52 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan-results.js' | cshtml - > '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan-results.html'" >>> 2024-07-03 16:34:52 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan-results.js' | tee '/tmp/csmockd8bz3bnl/pcsc-lite-ccid-1.6.0-1.fc41/scan-results-summary.txt'" 1 CLANG_WARNING warning[core.NonNullParamChecker] 2 CLANG_WARNING warning[core.NullDereference] 1 CLANG_WARNING warning[core.uninitialized.Assign] 1 CLANG_WARNING warning[unix.Malloc] 16 CPPCHECK_WARNING information[normalCheckLevelMaxBranches] 6 CPPCHECK_WARNING warning[nullPointer] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-file-leak] 8 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference] <<< 2024-07-03 16:34:52 csmock exit code: 0 Wrote: /tmp/tmpcatxjhgu/pcsc-lite-ccid-1.6.0-1.fc41.tar.xz