Task #1474 - stdout.log
back to task #1474download
COMMAND: koji -p koji download-build --noprogress --arch=src libksba-1.6.6-1.fc41
-------------------------------------------------------------------------------
Downloading [1/1]: libksba-1.6.6-1.fc41.src.rpm
COMMAND: su - csmock --session-command 'cd /tmp/tmp6re1whk7 && csmock -r fedora-40-x86_64 -t shellcheck,clang,gcc,cppcheck -o /tmp/tmp6re1whk7/libksba-1.6.6-1.fc41.tar.xz --gcc-analyze /tmp/tmp6re1whk7/libksba-1.6.6-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-40-x86_64' '-t' 'shellcheck,clang,gcc,cppcheck' '-o' '/tmp/tmp6re1whk7/libksba-1.6.6-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp6re1whk7/libksba-1.6.6-1.fc41.src.rpm'
scan.ini: host = ip-172-16-1-79.us-west-2.compute.internal
scan.ini: store-results-to = /tmp/tmp6re1whk7/libksba-1.6.6-1.fc41.tar.xz
scan.ini: time-created = 2024-04-13 07:28:01
scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck
scan.ini: mock-config = fedora-40-x86_64
scan.ini: project-name = libksba-1.6.6-1.fc41
>>> 2024-04-13 07:28:01 "rpm -qa | sort -V > '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/rpm-list-host.txt'"
>>> 2024-04-13 07:28:01 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init"
INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-40-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.5
INFO: Mock Version: 5.5
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-04-13 07:28:03 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41.src.rpm"
Updating and loading repositories:
updates 100% | 1.0 MiB/s | 23.3 KiB | 00m00s
fedora 100% | 784.9 KiB/s | 19.6 KiB | 00m00s
Repositories loaded.
Package "gawk-5.3.0-3.fc40.x86_64" is already installed.
Package Arch Version Repository Size
Installing:
gcc x86_64 14.0.1-0.13.fc40 fedora 103.8 MiB
gnupg2 x86_64 2.4.4-1.fc40 fedora 9.5 MiB
libgcrypt-devel x86_64 1.10.3-3.fc40 fedora 251.7 KiB
libgpg-error-devel x86_64 1.48-1.fc40 fedora 242.2 KiB
make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB
Installing dependencies:
annobin-docs noarch 12.42-1.fc40 fedora 95.6 KiB
annobin-plugin-gcc x86_64 12.42-1.fc40 fedora 967.5 KiB
cpp x86_64 14.0.1-0.13.fc40 fedora 34.9 MiB
gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB
gcc-plugin-annobin x86_64 14.0.1-0.13.fc40 fedora 57.1 KiB
glibc-devel x86_64 2.39-6.fc40 fedora 36.3 KiB
glibc-headers-x86 noarch 2.39-6.fc40 fedora 2.2 MiB
gnutls x86_64 3.8.3-2.fc40 fedora 3.2 MiB
guile30 x86_64 3.0.7-12.fc40 fedora 51.5 MiB
json-c x86_64 0.17-3.fc40 fedora 82.4 KiB
kernel-headers x86_64 6.8.3-300.fc40 fedora 6.2 MiB
libassuan x86_64 2.5.7-1.fc40 fedora 163.8 KiB
libgcrypt x86_64 1.10.3-3.fc40 fedora 1.3 MiB
libgpg-error x86_64 1.48-1.fc40 fedora 874.4 KiB
libksba x86_64 1.6.6-1.fc40 fedora 392.9 KiB
libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB
libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB
nettle x86_64 3.9.1-6.fc40 fedora 790.1 KiB
npth x86_64 1.7-1.fc40 fedora 49.6 KiB
tpm2-tss x86_64 4.0.1-7.fc40 fedora 1.5 MiB
Transaction Summary:
Installing: 25 packages
Total size of inbound packages is 67 MiB. Need to download 0 B.
After this operation 220 MiB will be used (install 220 MiB, remove 0 B).
[ 1/25] gcc-0:14.0.1-0.13.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 2/25] gnupg2-0:2.4.4-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 3/25] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 4/25] libgcrypt-devel-0:1.10.3-3.fc40 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 5/25] libgpg-error-devel-0:1.48-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/25] cpp-0:14.0.1-0.13.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/25] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/25] gnutls-0:3.8.3-2.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/25] libassuan-0:2.5.7-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/25] libgcrypt-0:1.10.3-3.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[11/25] libgpg-error-0:1.48-1.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[12/25] libksba-0:1.6.6-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[13/25] npth-0:1.7-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[14/25] tpm2-tss-0:4.0.1-7.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[15/25] guile30-0:3.0.7-12.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[16/25] nettle-0:3.9.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[17/25] json-c-0:0.17-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[18/25] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[19/25] annobin-plugin-gcc-0:12.42-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[20/25] gcc-plugin-annobin-0:14.0.1-0.1 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[21/25] annobin-docs-0:12.42-1.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[22/25] glibc-devel-0:2.39-6.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[23/25] glibc-headers-x86-0:2.39-6.fc40 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[24/25] libxcrypt-devel-0:4.4.36-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[25/25] kernel-headers-0:6.8.3-300.fc40 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[25/25] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[ 1/27] Verify package files 100% | 90.0 B/s | 25.0 B | 00m00s
[ 2/27] Prepare transaction 100% | 892.0 B/s | 25.0 B | 00m00s
[ 3/27] Installing libgpg-error-0:1.48- 100% | 86.0 MiB/s | 880.3 KiB | 00m00s
[ 4/27] Installing libgcrypt-0:1.10.3-3 100% | 185.1 MiB/s | 1.3 MiB | 00m00s
[ 5/27] Installing libmpc-0:1.3.1-5.fc4 100% | 40.6 MiB/s | 166.2 KiB | 00m00s
[ 6/27] Installing cpp-0:14.0.1-0.13.fc 100% | 296.1 MiB/s | 34.9 MiB | 00m00s
[ 7/27] Installing libgpg-error-devel-0 100% | 59.7 MiB/s | 244.4 KiB | 00m00s
[ 8/27] Installing libassuan-0:2.5.7-1. 100% | 32.3 MiB/s | 165.6 KiB | 00m00s
[ 9/27] Installing libksba-0:1.6.6-1.fc 100% | 55.2 MiB/s | 395.4 KiB | 00m00s
[10/27] Installing kernel-headers-0:6.8 100% | 96.7 MiB/s | 6.4 MiB | 00m00s
[11/27] Installing glibc-headers-x86-0: 100% | 80.5 MiB/s | 2.3 MiB | 00m00s
[12/27] Installing libxcrypt-devel-0:4. 100% | 8.0 MiB/s | 32.6 KiB | 00m00s
[13/27] Installing glibc-devel-0:2.39-6 100% | 9.7 MiB/s | 39.7 KiB | 00m00s
[14/27] Installing annobin-docs-0:12.42 100% | 31.5 MiB/s | 96.6 KiB | 00m00s
[15/27] Installing gc-0:8.2.2-6.fc40.x8 100% | 42.5 MiB/s | 261.2 KiB | 00m00s
[16/27] Installing guile30-0:3.0.7-12.f 100% | 324.4 MiB/s | 51.6 MiB | 00m00s
[17/27] Installing make-1:4.4.1-6.fc40. 100% | 128.6 MiB/s | 1.8 MiB | 00m00s
[18/27] Installing gcc-0:14.0.1-0.13.fc 100% | 326.7 MiB/s | 103.9 MiB | 00m00s
>>> Running trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch
>>> Stop trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch
[19/27] Installing json-c-0:0.17-3.fc40 100% | 2.2 MiB/s | 83.6 KiB | 00m00s
>>> Running pre-install scriptlet: tpm2-tss-0:4.0.1-7.fc40.x86_64
>>> Stop pre-install scriptlet: tpm2-tss-0:4.0.1-7.fc40.x86_64
[20/27] Installing tpm2-tss-0:4.0.1-7.f 100% | 123.3 MiB/s | 1.5 MiB | 00m00s
[21/27] Installing nettle-0:3.9.1-6.fc4 100% | 110.7 MiB/s | 793.3 KiB | 00m00s
[22/27] Installing gnutls-0:3.8.3-2.fc4 100% | 211.2 MiB/s | 3.2 MiB | 00m00s
[23/27] Installing npth-0:1.7-1.fc40.x8 100% | 9.9 MiB/s | 50.7 KiB | 00m00s
[24/27] Installing gnupg2-0:2.4.4-1.fc4 100% | 226.4 MiB/s | 9.5 MiB | 00m00s
[25/27] Installing annobin-plugin-gcc-0 100% | 63.1 MiB/s | 969.1 KiB | 00m00s
>>> Running trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch
>>> Stop trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch
[26/27] Installing gcc-plugin-annobin-0 100% | 3.6 MiB/s | 58.7 KiB | 00m00s
>>> Running trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch
>>> Stop trigger-install scriptlet: redhat-rpm-config-0:286-1.fc40.noarch
[27/27] Installing libgcrypt-devel-0:1. 100% | 99.0 KiB/s | 254.8 KiB | 00m03s
>>> Running trigger-install scriptlet: glibc-common-0:2.39-6.fc40.x86_64
>>> Stop trigger-install scriptlet: glibc-common-0:2.39-6.fc40.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-04-13 07:28:09 "/usr/bin/mock" "-r" "fedora-40-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:
updates 100% | 1.0 MiB/s | 23.3 KiB | 00m00s
fedora 100% | 1.1 MiB/s | 19.6 KiB | 00m00s
Repositories loaded.
Package "tar-2:1.35-3.fc40.x86_64" is already installed.
Package "gcc-14.0.1-0.13.fc40.x86_64" is already installed.
Package Arch Version Repository Size
Installing:
ShellCheck x86_64 0.9.0-6.fc40 fedora 33.8 MiB
clang x86_64 18.1.1-1.fc40 fedora 587.6 KiB
cppcheck x86_64 2.13.0-3.fc40 fedora 10.2 MiB
Installing dependencies:
clang-libs x86_64 18.1.1-1.fc40 fedora 107.8 MiB
clang-resource-filesystem noarch 18.1.1-1.fc40 fedora 476.0 B
expat x86_64 2.6.0-1.fc40 fedora 276.9 KiB
gcc-c++ x86_64 14.0.1-0.13.fc40 fedora 38.1 MiB
libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB
libedit x86_64 3.1-50.20230828cvs.fc40 fedora 243.9 KiB
libstdc++-devel x86_64 14.0.1-0.13.fc40 fedora 15.4 MiB
llvm x86_64 18.1.1-1.fc40 fedora 113.3 MiB
llvm-libs x86_64 18.1.1-1.fc40 fedora 113.4 MiB
mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB
pcre x86_64 8.45-1.fc40.6 fedora 541.8 KiB
python-pip-wheel noarch 23.3.2-1.fc40 fedora 1.5 MiB
python3 x86_64 3.12.2-2.fc40 fedora 31.9 KiB
python3-libs x86_64 3.12.2-2.fc40 fedora 41.0 MiB
tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB
tzdata noarch 2024a-4.fc40 fedora 1.6 MiB
Transaction Summary:
Installing: 19 packages
Total size of inbound packages is 114 MiB. Need to download 0 B.
After this operation 478 MiB will be used (install 478 MiB, remove 0 B).
[ 1/19] cppcheck-0:2.13.0-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 2/19] ShellCheck-0:0.9.0-6.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 3/19] clang-0:18.1.1-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 4/19] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 5/19] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/19] clang-libs-0:18.1.1-1.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/19] llvm-libs-0:18.1.1-1.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/19] clang-resource-filesystem-0:18. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/19] libedit-0:3.1-50.20230828cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/19] python3-0:3.12.2-2.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[11/19] python3-libs-0:3.12.2-2.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[12/19] expat-0:2.6.0-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[13/19] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[14/19] mpdecimal-0:2.5.1-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[15/19] python-pip-wheel-0:23.3.2-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[16/19] tzdata-0:2024a-4.fc40.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[17/19] llvm-0:18.1.1-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[18/19] gcc-c++-0:14.0.1-0.13.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[19/19] libstdc++-devel-0:14.0.1-0.13.f 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[19/19] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[ 1/21] Verify package files 100% | 41.0 B/s | 19.0 B | 00m00s
[ 2/21] Prepare transaction 100% | 463.0 B/s | 19.0 B | 00m00s
[ 3/21] Installing libstdc++-devel-0:14 100% | 222.0 MiB/s | 15.5 MiB | 00m00s
[ 4/21] Installing gcc-c++-0:14.0.1-0.1 100% | 312.2 MiB/s | 38.1 MiB | 00m00s
[ 5/21] Installing tzdata-0:2024a-4.fc4 100% | 31.7 MiB/s | 1.9 MiB | 00m00s
[ 6/21] Installing python-pip-wheel-0:2 100% | 304.0 MiB/s | 1.5 MiB | 00m00s
[ 7/21] Installing mpdecimal-0:2.5.1-9. 100% | 65.8 MiB/s | 202.0 KiB | 00m00s
[ 8/21] Installing libb2-0:0.98.1-11.fc 100% | 14.1 MiB/s | 43.3 KiB | 00m00s
[ 9/21] Installing expat-0:2.6.0-1.fc40 100% | 24.8 MiB/s | 278.9 KiB | 00m00s
[10/21] Installing python3-libs-0:3.12. 100% | 213.4 MiB/s | 41.4 MiB | 00m00s
[11/21] Installing python3-0:3.12.2-2.f 100% | 8.2 MiB/s | 33.6 KiB | 00m00s
[12/21] Installing libedit-0:3.1-50.202 100% | 59.9 MiB/s | 245.5 KiB | 00m00s
[13/21] Installing llvm-libs-0:18.1.1-1 100% | 353.4 MiB/s | 113.4 MiB | 00m00s
[14/21] Installing clang-resource-files 100% | 506.5 KiB/s | 1.5 KiB | 00m00s
[15/21] Installing clang-libs-0:18.1.1- 100% | 403.8 MiB/s | 107.8 MiB | 00m00s
[16/21] Installing tinyxml2-0:9.0.0-4.f 100% | 25.6 MiB/s | 104.9 KiB | 00m00s
[17/21] Installing pcre-0:8.45-1.fc40.6 100% | 106.3 MiB/s | 544.1 KiB | 00m00s
[18/21] Installing cppcheck-0:2.13.0-3. 100% | 310.0 MiB/s | 10.2 MiB | 00m00s
[19/21] Installing clang-0:18.1.1-1.fc4 100% | 96.1 MiB/s | 590.4 KiB | 00m00s
[20/21] Installing llvm-0:18.1.1-1.fc40 100% | 347.8 MiB/s | 113.4 MiB | 00m00s
[21/21] Installing ShellCheck-0:0.9.0-6 100% | 12.7 MiB/s | 33.8 MiB | 00m03s
>>> Running trigger-install scriptlet: glibc-common-0:2.39-6.fc40.x86_64
>>> Stop trigger-install scriptlet: glibc-common-0:2.39-6.fc40.x86_64
>>> 2024-04-13 07:28:17 "'/usr/bin/mock' '-r' 'fedora-40-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/rpm-list-mock.txt"
>>> 2024-04-13 07:28:18 "'/usr/bin/mock' '-r' 'fedora-40-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky3j8ox83/rpm-list-mock-provides.txt"
>>> 2024-04-13 07:28:19 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41.src.rpm" "/builddir/libksba-1.6.6-1.fc41.src.rpm"
>>> 2024-04-13 07:28:20 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir"
>>> 2024-04-13 07:28:21 "/usr/bin/mock" "-r" "fedora-40-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/libksba-1.6.6-1.fc41.src.rpm'\""
Updating / installing...
libksba-1.6.6-1.fc41 ########################################
>>> 2024-04-13 07:28:22 "/usr/bin/mock" "-r" "fedora-40-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/libksba.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/libksba-1.6.6-1.fc41.src.rpm || :'\""
setting SOURCE_DATE_EPOCH=1708905600
Wrote: /builddir/build/SRPMS/libksba-1.6.6-1.fc40.src.rpm
renamed 'libksba-1.6.6-1.fc40.src.rpm' -> '/builddir/libksba-1.6.6-1.fc41.src.rpm'
>>> 2024-04-13 07:28:23 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/libksba-1.6.6-1.fc41.src.rpm" "/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41.src.rpm"
>>> 2024-04-13 07:28:24 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41.src.rpm"
Updating and loading repositories:
updates 100% | 1.2 MiB/s | 23.3 KiB | 00m00s
fedora 100% | 1.1 MiB/s | 19.6 KiB | 00m00s
Repositories loaded.
Package "gawk-5.3.0-3.fc40.x86_64" is already installed.
Package "gcc-14.0.1-0.13.fc40.x86_64" is already installed.
Package "gnupg2-2.4.4-1.fc40.x86_64" is already installed.
Package "libgcrypt-devel-1.10.3-3.fc40.x86_64" is already installed.
Package "libgpg-error-devel-1.48-1.fc40.x86_64" is already installed.
Package "make-1:4.4.1-6.fc40.x86_64" is already installed.
Nothing to do.
>>> 2024-04-13 07:28:26 "/usr/bin/mock" "-r" "fedora-40-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:
updates 100% | 1.2 MiB/s | 23.3 KiB | 00m00s
fedora 100% | 1.1 MiB/s | 19.6 KiB | 00m00s
Repositories loaded.
Nothing to do.
Package "tar-2:1.35-3.fc40.x86_64" is already installed.
Package "clang-18.1.1-1.fc40.x86_64" is already installed.
Package "cppcheck-2.13.0-3.fc40.x86_64" is already installed.
Package "gcc-14.0.1-0.13.fc40.x86_64" is already installed.
Package "ShellCheck-0.9.0-6.fc40.x86_64" is already installed.
>>> 2024-04-13 07:28:28 "'/usr/bin/mock' '-r' 'fedora-40-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/rpm-list-mock.txt"
>>> 2024-04-13 07:28:29 "'/usr/bin/mock' '-r' 'fedora-40-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky3j8ox83/rpm-list-mock-provides.txt"
>>> 2024-04-13 07:28:30 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff"
Updating and loading repositories:
updates 100% | 1.3 MiB/s | 23.3 KiB | 00m00s
fedora 100% | 981.1 KiB/s | 19.6 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
csdiff x86_64 3.2.1-1.fc40 fedora 3.5 MiB
Installing dependencies:
boost-atomic x86_64 1.83.0-3.fc40 fedora 21.0 KiB
boost-filesystem x86_64 1.83.0-3.fc40 fedora 147.6 KiB
boost-program-options x86_64 1.83.0-3.fc40 fedora 272.7 KiB
boost-system x86_64 1.83.0-3.fc40 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.2.1-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[2/5] boost-filesystem-0:1.83.0-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[3/5] boost-program-options-0:1.83.0-3. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[4/5] boost-atomic-0:1.83.0-3.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[5/5] boost-system-0:1.83.0-3.fc40.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% | 833.0 B/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% | 4.2 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
[7/7] Installing csdiff-0:3.2.1-1.fc40. 100% | 46.1 MiB/s | 3.5 MiB | 00m00s
>>> Running trigger-install scriptlet: glibc-common-0:2.39-6.fc40.x86_64
>>> Stop trigger-install scriptlet: glibc-common-0:2.39-6.fc40.x86_64
>>> 2024-04-13 07:28:32 "'/usr/bin/mock' '-r' 'fedora-40-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/rpm-list-mock.txt"
>>> 2024-04-13 07:28:33 "'/usr/bin/mock' '-r' 'fedora-40-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmocky3j8ox83/rpm-list-mock-provides.txt"
>>> 2024-04-13 07:28:34 "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/csmocky3j8ox83/libksba-1.6.6-1.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-40-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.1
scan.ini: analyzer-version-cppcheck = 2.13.0
scan.ini: analyzer-version-gcc = 14.0.1
>>> 2024-04-13 07:28:36 "/usr/bin/mock" "-r" "fedora-40-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.0.1
scan.ini: analyzer-version-shellcheck = 0.9.0
>>> 2024-04-13 07:28:38 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41.src.rpm'"
Updating / installing...
libksba-1.6.6-1.fc40 ########################################
>>> 2024-04-13 07:28:39 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir"
>>> 2024-04-13 07:28:40 "/usr/bin/mock" "-r" "fedora-40-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-04-13 07:28:42 "/usr/bin/mock" "-r" "fedora-40-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/libksba.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\""
INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-40-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/libksba.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.5
INFO: Mock Version: 5.5
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/libksba.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/libksba.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
setting SOURCE_DATE_EPOCH=1708905600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FZZHAM
+ umask 022
+ cd /builddir/build/BUILD
+ /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/signature_key.asc --signature=/builddir/build/SOURCES/libksba-1.6.6.tar.bz2.sig --data=/builddir/build/SOURCES/libksba-1.6.6.tar.bz2
gpgv: Signature made Fri Feb 23 09:04:25 2024 UTC
gpgv: using EDDSA key 6DAA6E64A76D2840571B4902528897B826403ADA
gpgv: Good signature from "Werner Koch (dist signing 2020)"
+ cd /builddir/build/BUILD
+ rm -rf libksba-1.6.6
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libksba-1.6.6.tar.bz2
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libksba-1.6.6
+ rm -rf /builddir/build/BUILD/libksba-1.6.6-SPECPARTS
+ /usr/bin/mkdir -p /builddir/build/BUILD/libksba-1.6.6-SPECPARTS
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #1 (libksba-1.3.0-multilib.patch):
+ echo 'Patch #1 (libksba-1.3.0-multilib.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .multilib --fuzz=0
patching file src/ksba-config.in
Hunk #2 succeeded at 134 (offset 9 lines).
+ for file in THANKS
+ iconv -f ISO-8859-1 -t UTF-8 -o THANKS.new THANKS
+ touch -r THANKS THANKS.new
+ mv THANKS.new THANKS
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libksba.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Finish: run
>>> 2024-04-13 07:28:43 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build"
>>> 2024-04-13 07:28:44 "/usr/bin/mock" "-r" "fedora-40-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/libksba.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\""
INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-40-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/libksba.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.5
INFO: Mock Version: 5.5
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/libksba.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/libksba.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""']
setting SOURCE_DATE_EPOCH=1708905600
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5SZrHX
+ umask 022
+ cd /builddir/build/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 -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 -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 -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 -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-errors -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 libksba-1.6.6
+ 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 -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 -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 -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 -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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup 2024-02-23 09:03:13.000000000 +0000
+++ ./configure 2024-04-13 07:28:45.357698682 +0000
@@ -1777,7 +1777,7 @@
#ifdef __cplusplus
extern "C"
#endif
-char $2 ();
+__attribute__ ((used)) char $2 ();
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup 2024-04-13 07:28:45.357698682 +0000
+++ ./configure 2024-04-13 07:28:45.371698560 +0000
@@ -17056,7 +17056,7 @@
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./build-aux/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./build-aux/config.guess
++ basename ./build-aux/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./build-aux/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./build-aux/config.sub
++ basename ./build-aux/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh
++ grep -q runstatedir=DIR ./configure
++ echo --runstatedir=/run
+ ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-redhat-linux-gnu
checking host system type... x86_64-redhat-linux-gnu
configure: autobuild project... libksba
configure: autobuild revision... 1.6.6
./configure: line 3641: hostname: command not found
configure: autobuild timestamp... 20240413-072845
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-redhat-linux-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-redhat-linux-windres... no
checking for windres... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... (cached) yes
checking for gawk... (cached) gawk
checking for x86_64-redhat-linux-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for bison... no
checking for byacc... no
checking if bison is the parser generator... no
checking for inline... inline
checking for cc for build... $(CC)
checking if gcc supports -Wpointer-arith... yes
checking if gcc supports -Wno-pointer-sign... yes
checking whether the visibility attribute is supported... yes
checking for broken visibility attribute... no
checking for broken alias attribute... no
checking if gcc supports -fvisibility=hidden... yes
checking for gpg-error-config... /usr/bin/gpg-error-config
checking for gpgrt-config... /usr/bin/gpgrt-config
configure: Use gpgrt-config with /usr/lib64 as gpg-error-config
checking for GPG Error - version >= 1.8... yes (1.48-unknown)
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking size of unsigned int... 4
checking size of unsigned long... 8
checking for u32... no
checking for stpcpy... yes
checking for gmtime_r... yes
checking for getenv... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for valgrind... no
checking whether self tests are run under valgrind... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating gl/Makefile
config.status: creating src/Makefile
config.status: creating src/ksba.h
config.status: creating src/ksba-config
config.status: creating src/ksba.pc
config.status: creating src/versioninfo.rc
config.status: creating tests/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
***
*** Note: The installed yacc version is not GNU Bison. You need
*** to install Bison if you want to change any grammar (.y) file.
***
Libksba v1.6.6 has been configured as follows:
Revision: 3a43822 (14915)
Platform: x86_64-redhat-linux-gnu
+ /usr/bin/make -O -j8 V=1 VERBOSE=1
/usr/bin/make all-recursive
Making all in m4
make[2]: Nothing to be done for 'all'.
Making all in gl
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/gl'
cp ./alloca_.h alloca.h-t
mv alloca.h-t alloca.h
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/gl'
/usr/bin/make all-am
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/gl'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o dummyobj.lo dummyobj.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c dummyobj.c -fPIC -DPIC -o .libs/dummyobj.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/gl'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/gl'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libgnu.la dummyobj.lo
libtool: link: ar cru .libs/libgnu.a .libs/dummyobj.o
libtool: link: ranlib .libs/libgnu.a
libtool: link: ( cd ".libs" && rm -f "libgnu.la" && ln -s "../libgnu.la" "libgnu.la" )
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/gl'
Making all in src
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc \
-I. -DBUILD_GENTOOLS -o asn1-gentables \
./asn1-gentables.c \
`test -f 'asn1-parse.c' || echo './'`asn1-parse.c \
./asn1-func.c \
./gen-help.c
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc: fatal error: cannot specify ‘-o’ with ‘-c’, ‘-S’ or ‘-E’ with multiple files
compilation terminated.
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1061:15: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1177:34: warning: Dereference of null pointer [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1179:38: warning: Dereference of null pointer [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1181:19: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1218:15: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
/usr/bin/make all-am
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-reader.o `test -f 'reader.c' || echo './'`reader.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-ber-dump.o `test -f 'ber-dump.c' || echo './'`ber-dump.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-oid.o `test -f 'oid.c' || echo './'`oid.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-writer.o `test -f 'writer.c' || echo './'`writer.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-time.o `test -f 'time.c' || echo './'`time.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o visibility.lo visibility.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c visibility.c -fPIC -DPIC -o .libs/visibility.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o reader.lo reader.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c reader.c -fPIC -DPIC -o .libs/reader.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-asn1-parse.o `test -f 'asn1-parse.c' || echo './'`asn1-parse.c
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c: In function ‘_ksba_asn1_yyparse’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: warning: use of uninitialized value ‘yyss’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro ‘YYCOPY’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1515:16: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1515:16: note: (2) capacity: 200 bytes <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1571:6: note: (3) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1577:34: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1600:10: note: (5) following ‘false’ branch (when ‘yystacksize <= 9999’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1602:19: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1611:12: note: (7) following ‘false’ branch (when ‘yyptr’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro ‘YYCOPY’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: note: (9) use of uninitialized value ‘yyss’ here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro ‘YYCOPY’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: warning: use of uninitialized value ‘yyss’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro ‘YYCOPY’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc]
In file included from /builddir/build/BUILD/libksba-1.6.6/src/util.h:39, <--[gcc]
from /home/wk/s/libksba/src/asn1-parse.y:56:
/builddir/build/BUILD/libksba-1.6.6/src/visibility.h:44:44: note: (1) entry to ‘_ksba_asn_parse_file’ <--[gcc]
/home/wk/s/libksba/src/asn1-parse.y:1033:1: note: in expansion of macro ‘ksba_asn_parse_file’
/home/wk/s/libksba/src/asn1-parse.y:1039:51: note: (2) following ‘true’ branch (when ‘file_name’ is non-NULL)...
/home/wk/s/libksba/src/asn1-parse.y:1039:28: note: (3) ...to here
/home/wk/s/libksba/src/asn1-parse.y:1040:6: note: (4) following ‘false’ branch...
/home/wk/s/libksba/src/asn1-parse.y:1043:19: note: (5) ...to here
/home/wk/s/libksba/src/asn1-parse.y:64:17: note: (6) calling ‘_ksba_asn1_yyparse’ from ‘_ksba_asn_parse_file’
/home/wk/s/libksba/src/asn1-parse.y:1049:8: note: in expansion of macro ‘yyparse’
/home/wk/s/libksba/src/asn1-parse.y:64:17: note: (7) entry to ‘_ksba_asn1_yyparse’
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1489:1: note: in expansion of macro ‘yyparse’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1515:16: note: (8) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1515:16: note: (9) capacity: 200 bytes <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1571:6: note: (10) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1577:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1600:10: note: (12) following ‘false’ branch (when ‘yystacksize <= 9999’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1602:19: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1611:12: note: (14) following ‘false’ branch (when ‘yyptr’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro ‘YYCOPY’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: note: (16) use of uninitialized value ‘yyss’ here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro ‘YYCOPY’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro ‘YYSTACK_RELOCATE’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1740:9: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1520:13: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1571:6: note: (2) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1635:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1635:6: note: (4) following ‘false’ branch (when ‘yystate != 2’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1638:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1650:6: note: (6) following ‘true’ branch (when ‘yyn == -137’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1651:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1720:6: note: (8) following ‘false’ branch (when ‘yyn != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1722:3: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1740:9: note: (10) use of uninitialized value ‘*<unknown>’ here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1740:9: warning: use of uninitialized value ‘*<unknown>’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/visibility.h:44:44: note: (1) entry to ‘_ksba_asn_parse_file’ <--[gcc]
/home/wk/s/libksba/src/asn1-parse.y:1033:1: note: in expansion of macro ‘ksba_asn_parse_file’
/home/wk/s/libksba/src/asn1-parse.y:1039:51: note: (2) following ‘true’ branch (when ‘file_name’ is non-NULL)...
/home/wk/s/libksba/src/asn1-parse.y:1039:28: note: (3) ...to here
/home/wk/s/libksba/src/asn1-parse.y:1040:6: note: (4) following ‘false’ branch...
/home/wk/s/libksba/src/asn1-parse.y:1043:19: note: (5) ...to here
/home/wk/s/libksba/src/asn1-parse.y:64:17: note: (6) calling ‘_ksba_asn1_yyparse’ from ‘_ksba_asn_parse_file’
/home/wk/s/libksba/src/asn1-parse.y:1049:8: note: in expansion of macro ‘yyparse’
/home/wk/s/libksba/src/asn1-parse.y:64:17: note: (7) entry to ‘_ksba_asn1_yyparse’
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1489:1: note: in expansion of macro ‘yyparse’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1520:13: note: (8) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1571:6: note: (9) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1635:6: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1635:6: note: (11) following ‘false’ branch (when ‘yystate != 2’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1638:3: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1650:6: note: (13) following ‘true’ branch (when ‘yyn == -137’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1651:5: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1720:6: note: (15) following ‘false’ branch (when ‘yyn != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1722:3: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1740:9: note: (17) use of uninitialized value ‘*<unknown>’ here <--[gcc]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-util.o `test -f 'util.c' || echo './'`util.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o writer.lo writer.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c writer.c -fPIC -DPIC -o .libs/writer.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o asn1-parse.lo asn1-parse.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c asn1-parse.c -fPIC -DPIC -o .libs/asn1-parse.o
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c: In function '_ksba_asn1_yyparse': <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: warning: use of uninitialized value 'yyss' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro 'YYCOPY' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro 'YYSTACK_RELOCATE' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1515:16: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1515:16: note: (2) capacity: 200 bytes <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1571:6: note: (3) following 'true' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1577:34: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1600:10: note: (5) following 'false' branch (when 'yystacksize <= 9999')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1602:19: note: (6) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1611:12: note: (7) following 'false' branch (when 'yyptr' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: note: (8) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro 'YYCOPY' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro 'YYSTACK_RELOCATE' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: note: (9) use of uninitialized value 'yyss' here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro 'YYCOPY' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro 'YYSTACK_RELOCATE' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: warning: use of uninitialized value 'yyss' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro 'YYCOPY' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro 'YYSTACK_RELOCATE' <--[gcc]
In file included from /builddir/build/BUILD/libksba-1.6.6/src/util.h:39, <--[gcc]
from /home/wk/s/libksba/src/asn1-parse.y:56:
/builddir/build/BUILD/libksba-1.6.6/src/visibility.h:44:44: note: (1) entry to '_ksba_asn_parse_file' <--[gcc]
/home/wk/s/libksba/src/asn1-parse.y:1033:1: note: in expansion of macro 'ksba_asn_parse_file'
/home/wk/s/libksba/src/asn1-parse.y:1039:51: note: (2) following 'true' branch (when 'file_name' is non-NULL)...
/home/wk/s/libksba/src/asn1-parse.y:1039:28: note: (3) ...to here
/home/wk/s/libksba/src/asn1-parse.y:1040:6: note: (4) following 'false' branch...
/home/wk/s/libksba/src/asn1-parse.y:1043:19: note: (5) ...to here
/home/wk/s/libksba/src/asn1-parse.y:64:17: note: (6) calling '_ksba_asn1_yyparse' from '_ksba_asn_parse_file'
/home/wk/s/libksba/src/asn1-parse.y:1049:8: note: in expansion of macro 'yyparse'
/home/wk/s/libksba/src/asn1-parse.y:64:17: note: (7) entry to '_ksba_asn1_yyparse'
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1489:1: note: in expansion of macro 'yyparse' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1515:16: note: (8) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1515:16: note: (9) capacity: 200 bytes <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1571:6: note: (10) following 'true' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1577:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1600:10: note: (12) following 'false' branch (when 'yystacksize <= 9999')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1602:19: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1611:12: note: (14) following 'false' branch (when 'yyptr' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro 'YYCOPY' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro 'YYSTACK_RELOCATE' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:669:7: note: (16) use of uninitialized value 'yyss' here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:654:9: note: in expansion of macro 'YYCOPY' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1613:9: note: in expansion of macro 'YYSTACK_RELOCATE' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1740:9: warning: use of uninitialized value '*<unknown>' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1520:13: note: (1) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1571:6: note: (2) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1635:6: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1635:6: note: (4) following 'false' branch (when 'yystate != 2')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1638:3: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1650:6: note: (6) following 'true' branch (when 'yyn == -137')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1651:5: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1720:6: note: (8) following 'false' branch (when 'yyn != 0')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1722:3: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1740:9: note: (10) use of uninitialized value '*<unknown>' here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1740:9: warning: use of uninitialized value '*<unknown>' [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/visibility.h:44:44: note: (1) entry to '_ksba_asn_parse_file' <--[gcc]
/home/wk/s/libksba/src/asn1-parse.y:1033:1: note: in expansion of macro 'ksba_asn_parse_file'
/home/wk/s/libksba/src/asn1-parse.y:1039:51: note: (2) following 'true' branch (when 'file_name' is non-NULL)...
/home/wk/s/libksba/src/asn1-parse.y:1039:28: note: (3) ...to here
/home/wk/s/libksba/src/asn1-parse.y:1040:6: note: (4) following 'false' branch...
/home/wk/s/libksba/src/asn1-parse.y:1043:19: note: (5) ...to here
/home/wk/s/libksba/src/asn1-parse.y:64:17: note: (6) calling '_ksba_asn1_yyparse' from '_ksba_asn_parse_file'
/home/wk/s/libksba/src/asn1-parse.y:1049:8: note: in expansion of macro 'yyparse'
/home/wk/s/libksba/src/asn1-parse.y:64:17: note: (7) entry to '_ksba_asn1_yyparse'
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1489:1: note: in expansion of macro 'yyparse' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1520:13: note: (8) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1571:6: note: (9) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1635:6: note: (10) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1635:6: note: (11) following 'false' branch (when 'yystate != 2')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1638:3: note: (12) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1650:6: note: (13) following 'true' branch (when 'yyn == -137')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1651:5: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1720:6: note: (15) following 'false' branch (when 'yyn != 0')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1722:3: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-parse.c:1740:9: note: (17) use of uninitialized value '*<unknown>' here <--[gcc]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-ber-help.o `test -f 'ber-help.c' || echo './'`ber-help.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o asn1-func2.lo asn1-func2.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c asn1-func2.c -fPIC -DPIC -o .libs/asn1-func2.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber-help.lo ber-help.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c ber-help.c -fPIC -DPIC -o .libs/ber-help.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o der-builder.lo der-builder.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c der-builder.c -fPIC -DPIC -o .libs/der-builder.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
/builddir/build/BUILD/libksba-1.6.6/src/der-builder.c:305:5: warning: Null pointer passed to 2nd parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o der-encoder.lo der-encoder.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c der-encoder.c -fPIC -DPIC -o .libs/der-encoder.o
/builddir/build/BUILD/libksba-1.6.6/src/der-encoder.c:523:7: warning: Access to field 'type' results in a dereference of a null pointer (loaded from variable 'root') [core.NullDereference] <--[clang]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-ber-decoder.o `test -f 'ber-decoder.c' || echo './'`ber-decoder.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o cms-parser.lo cms-parser.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c cms-parser.c -fPIC -DPIC -o .libs/cms-parser.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
/builddir/build/BUILD/libksba-1.6.6/src/cms-parser.c:773:11: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber-decoder.lo ber-decoder.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c ber-decoder.c -fPIC -DPIC -o .libs/ber-decoder.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o cert.lo cert.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c cert.c -fPIC -DPIC -o .libs/cert.o
/builddir/build/BUILD/libksba-1.6.6/src/cert.c:1091:17: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/cert.c:1198:17: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/cert.c:1263:5: warning: Value stored to 'mask' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/cert.c:1637:13: warning: Value stored to 'mask' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/cert.c:1845:17: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/cert.c:1989:17: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores] <--[clang]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o crl.lo crl.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c crl.c -fPIC -DPIC -o .libs/crl.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o oid.lo oid.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c oid.c -fPIC -DPIC -o .libs/oid.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o certreq.lo certreq.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c certreq.c -fPIC -DPIC -o .libs/certreq.o
/builddir/build/BUILD/libksba-1.6.6/src/certreq.c:493:9: warning: Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n' [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/certreq.c:670:9: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/certreq.c:746:9: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o time.lo time.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c time.c -fPIC -DPIC -o .libs/time.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o version.lo version.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c version.c -fPIC -DPIC -o .libs/version.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o util.lo util.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c util.c -fPIC -DPIC -o .libs/util.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o asn1-tables.lo asn1-tables.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c asn1-tables.c -fPIC -DPIC -o .libs/asn1-tables.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o name.lo name.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c name.c -fPIC -DPIC -o .libs/name.o
/builddir/build/BUILD/libksba-1.6.6/src/name.c:90:5: warning: Array access (via field 'names') results in a null pointer dereference [core.NullDereference] <--[clang]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ocsp.lo ocsp.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c ocsp.c -fPIC -DPIC -o .libs/ocsp.o
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:116:34: warning: Value stored to 'ri' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:298:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:309:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:324:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:505:3: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:1119:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:1151:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:1172:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:1252:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:1356:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:1358:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:1360:5: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/ocsp.c:1392:9: warning: Value stored to 's' is never read [deadcode.DeadStores] <--[clang]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o ber_dump-asn1-func.o `test -f 'asn1-func.c' || echo './'`asn1-func.c
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c: In function ‘_ksba_asn_set_value’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1259:1: note: (1) entry to ‘_ksba_asn_insert_copy’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1264:7: note: (2) calling ‘copy_tree’ from ‘_ksba_asn_insert_copy’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (3) entry to ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (4) following ‘true’ branch (when ‘s’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (6) calling ‘copy_node’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (7) entry to ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (10) calling ‘copy_value’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (11) entry to ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (12) capacity: 1 byte <--[gcc]
In file included from /builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:44: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (13) following ‘false’ branch (when ‘d != s’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:186:3: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:12: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:3: note: (15) following ‘case 1:’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:192:5: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (17) calling ‘_ksba_asn_set_value’ from ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:127:1: note: (18) entry to ‘_ksba_asn_set_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (19) following ‘false’ branch (when ‘node’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:130:3: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:11: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:6: note: (21) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (23) following ‘case 1:’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:145:5: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (25) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:146:7: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (27) out-of-bounds read from byte 1 till byte 3 but ‘helpbuf’ ends at byte 1 <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: read of 3 bytes from after the end of ‘helpbuf’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: valid subscripts for ‘helpbuf’ are ‘[0]’ to ‘[0]’ <--[gcc]
┌──────────────────────────────────────────────────────────────────────┐
│ read of ‘const unsigned int’ (4 bytes) │
└──────────────────────────────────────────────────────────────────────┘
^ ^
│ │
│ │
┌──────────────────────────────┐ ┌───────────────────────────────────┐
│ [0] │ │ │
├──────────────────────────────┤ │ after valid range │
│ ‘helpbuf’ (type: ‘char[1]’) │ │ │
└──────────────────────────────┘ └───────────────────────────────────┘
├──────────────┬───────────────┤ ├─────────────────┬─────────────────┤
│ │
╭──────┴─────╮ ╭───────────┴───────────╮
│size: 1 byte│ │⚠️ over-read of 3 bytes│
╰────────────╯ ╰───────────────────────╯
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1259:1: note: (1) entry to ‘_ksba_asn_insert_copy’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1264:7: note: (2) calling ‘copy_tree’ from ‘_ksba_asn_insert_copy’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (3) entry to ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (4) following ‘true’ branch (when ‘s’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (6) calling ‘copy_node’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (7) entry to ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (10) calling ‘copy_value’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (11) entry to ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (12) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (13) returning to ‘copy_node’ from ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (14) returning to ‘copy_tree’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1037:10: note: (15) following ‘false’ branch (when ‘link_nextp’ is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1039:18: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1041:10: note: (17) following ‘true’ branch (when ‘first’ is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (19) following ‘true’ branch (when ‘down’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (21) calling ‘copy_tree’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (22) entry to ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (23) following ‘true’ branch (when ‘s’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (25) calling ‘copy_node’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (26) entry to ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (29) calling ‘copy_value’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (30) entry to ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (31) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (32) following ‘false’ branch (when ‘d != s’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:186:3: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:12: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:3: note: (34) following ‘case 1:’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:192:5: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (36) calling ‘_ksba_asn_set_value’ from ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:127:1: note: (37) entry to ‘_ksba_asn_set_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (38) following ‘false’ branch (when ‘node’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:130:3: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:11: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:6: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (42) following ‘case 1:’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:145:5: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (44) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:146:7: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (46) out-of-bounds read from byte 1 till byte 3 but ‘helpbuf’ ends at byte 1 <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: read of 3 bytes from after the end of ‘helpbuf’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: valid subscripts for ‘helpbuf’ are ‘[0]’ to ‘[0]’ <--[gcc]
┌──────────────────────────────────────────────────────────────────────┐
│ read of ‘const unsigned int’ (4 bytes) │
└──────────────────────────────────────────────────────────────────────┘
^ ^
│ │
│ │
┌──────────────────────────────┐ ┌───────────────────────────────────┐
│ [0] │ │ │
├──────────────────────────────┤ │ after valid range │
│ ‘helpbuf’ (type: ‘char[1]’) │ │ │
└──────────────────────────────┘ └───────────────────────────────────┘
├──────────────┬───────────────┤ ├─────────────────┬─────────────────┤
│ │
╭──────┴─────╮ ╭───────────┴───────────╮
│size: 1 byte│ │⚠️ over-read of 3 bytes│
╰────────────╯ ╰───────────────────────╯
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1259:1: note: (1) entry to ‘_ksba_asn_insert_copy’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1264:7: note: (2) calling ‘copy_tree’ from ‘_ksba_asn_insert_copy’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (3) entry to ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (4) following ‘true’ branch (when ‘s’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (6) calling ‘copy_node’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (7) entry to ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (8) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (10) calling ‘copy_value’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (11) entry to ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (12) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (13) returning to ‘copy_node’ from ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (14) returning to ‘copy_tree’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1037:10: note: (15) following ‘false’ branch (when ‘link_nextp’ is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1039:18: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1041:10: note: (17) following ‘true’ branch (when ‘first’ is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (19) following ‘true’ branch (when ‘down’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (21) calling ‘copy_tree’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (22) entry to ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (23) following ‘true’ branch (when ‘s’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (25) calling ‘copy_node’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (26) entry to ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (29) calling ‘copy_value’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (30) entry to ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (31) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (32) following ‘false’ branch (when ‘d != s’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:186:3: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:12: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:3: note: (34) following ‘case 1:’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:192:5: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (36) calling ‘_ksba_asn_set_value’ from ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:127:1: note: (37) entry to ‘_ksba_asn_set_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (38) following ‘false’ branch (when ‘node’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:130:3: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:11: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:6: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (42) following ‘case 1:’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:145:5: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (44) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:146:7: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (46) returning to ‘copy_value’ from ‘_ksba_asn_set_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (47) returning to ‘copy_node’ from ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (48) returning to ‘copy_tree’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1037:10: note: (49) following ‘false’ branch (when ‘link_nextp’ is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1039:18: note: (50) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1041:10: note: (51) following ‘true’ branch (when ‘first’ is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (52) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (53) following ‘true’ branch (when ‘down’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (54) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (55) calling ‘copy_tree’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (56) entry to ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (57) following ‘true’ branch (when ‘s’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (59) calling ‘copy_node’ from ‘copy_tree’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (60) entry to ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (61) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (63) calling ‘copy_value’ from ‘copy_node’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (64) entry to ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (65) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (66) following ‘false’ branch (when ‘d != s’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:186:3: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:12: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:3: note: (68) following ‘case 1:’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:192:5: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (70) calling ‘_ksba_asn_set_value’ from ‘copy_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:127:1: note: (71) entry to ‘_ksba_asn_set_value’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (72) following ‘false’ branch (when ‘node’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:130:3: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:11: note: (73) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:6: note: (74) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (75) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (76) following ‘case 1:’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:145:5: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (78) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:146:7: note: in expansion of macro ‘return_if_fail’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (79) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (80) out-of-bounds read from byte 1 till byte 3 but ‘helpbuf’ ends at byte 1 <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: read of 3 bytes from after the end of ‘helpbuf’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: valid subscripts for ‘helpbuf’ are ‘[0]’ to ‘[0]’ <--[gcc]
┌──────────────────────────────────────────────────────────────────────┐
│ read of ‘const unsigned int’ (4 bytes) │
└──────────────────────────────────────────────────────────────────────┘
^ ^
│ │
│ │
┌──────────────────────────────┐ ┌───────────────────────────────────┐
│ [0] │ │ │
├──────────────────────────────┤ │ after valid range │
│ ‘helpbuf’ (type: ‘char[1]’) │ │ │
└──────────────────────────────┘ └───────────────────────────────────┘
├──────────────┬───────────────┤ ├─────────────────┬─────────────────┤
│ │
╭──────┴─────╮ ╭───────────┴───────────╮
│size: 1 byte│ │⚠️ over-read of 3 bytes│
╰────────────╯ ╰───────────────────────╯
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1061:15: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1177:34: warning: Dereference of null pointer [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1179:38: warning: Dereference of null pointer [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1181:19: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1218:15: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o asn1-func.lo asn1-func.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c asn1-func.c -fPIC -DPIC -o .libs/asn1-func.o
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c: In function '_ksba_asn_set_value': <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1259:1: note: (1) entry to '_ksba_asn_insert_copy' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1264:7: note: (2) calling 'copy_tree' from '_ksba_asn_insert_copy' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (3) entry to 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (4) following 'true' branch (when 's' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (6) calling 'copy_node' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (7) entry to 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (10) calling 'copy_value' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (11) entry to 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (12) capacity: 1 byte <--[gcc]
In file included from /builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:44: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (13) following 'false' branch (when 'd != s')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:186:3: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:12: note: (14) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:3: note: (15) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:192:5: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (17) calling '_ksba_asn_set_value' from 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:127:1: note: (18) entry to '_ksba_asn_set_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (19) following 'false' branch (when 'node' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:130:3: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:11: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:6: note: (21) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (22) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (23) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:145:5: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (25) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:146:7: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (27) out-of-bounds read from byte 1 till byte 3 but 'helpbuf' ends at byte 1 <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: read of 3 bytes from after the end of 'helpbuf' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: valid subscripts for 'helpbuf' are '[0]' to '[0]' <--[gcc]
┌──────────────────────────────────────────────────────────────────────┐
│ read of 'const unsigned int' (4 bytes) │
└──────────────────────────────────────────────────────────────────────┘
^ ^
│ │
│ │
┌──────────────────────────────┐ ┌───────────────────────────────────┐
│ [0] │ │ │
├──────────────────────────────┤ │ after valid range │
│ 'helpbuf' (type: 'char[1]') │ │ │
└──────────────────────────────┘ └───────────────────────────────────┘
├──────────────┬───────────────┤ ├─────────────────┬─────────────────┤
│ │
╭──────┴─────╮ ╭───────────┴───────────╮
│size: 1 byte│ │⚠️ over-read of 3 bytes│
╰────────────╯ ╰───────────────────────╯
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1259:1: note: (1) entry to '_ksba_asn_insert_copy' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1264:7: note: (2) calling 'copy_tree' from '_ksba_asn_insert_copy' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (3) entry to 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (4) following 'true' branch (when 's' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (6) calling 'copy_node' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (7) entry to 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (10) calling 'copy_value' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (11) entry to 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (12) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (13) returning to 'copy_node' from 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (14) returning to 'copy_tree' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1037:10: note: (15) following 'false' branch (when 'link_nextp' is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1039:18: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1041:10: note: (17) following 'true' branch (when 'first' is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (19) following 'true' branch (when 'down' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (21) calling 'copy_tree' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (22) entry to 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (23) following 'true' branch (when 's' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (25) calling 'copy_node' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (26) entry to 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (29) calling 'copy_value' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (30) entry to 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (31) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (32) following 'false' branch (when 'd != s')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:186:3: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:12: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:3: note: (34) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:192:5: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (36) calling '_ksba_asn_set_value' from 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:127:1: note: (37) entry to '_ksba_asn_set_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (38) following 'false' branch (when 'node' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:130:3: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:11: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:6: note: (40) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (42) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:145:5: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (44) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:146:7: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (46) out-of-bounds read from byte 1 till byte 3 but 'helpbuf' ends at byte 1 <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: read of 3 bytes from after the end of 'helpbuf' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: valid subscripts for 'helpbuf' are '[0]' to '[0]' <--[gcc]
┌──────────────────────────────────────────────────────────────────────┐
│ read of 'const unsigned int' (4 bytes) │
└──────────────────────────────────────────────────────────────────────┘
^ ^
│ │
│ │
┌──────────────────────────────┐ ┌───────────────────────────────────┐
│ [0] │ │ │
├──────────────────────────────┤ │ after valid range │
│ 'helpbuf' (type: 'char[1]') │ │ │
└──────────────────────────────┘ └───────────────────────────────────┘
├──────────────┬───────────────┤ ├─────────────────┬─────────────────┤
│ │
╭──────┴─────╮ ╭───────────┴───────────╮
│size: 1 byte│ │⚠️ over-read of 3 bytes│
╰────────────╯ ╰───────────────────────╯
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: warning: stack-based buffer over-read [CWE-126] [-Wanalyzer-out-of-bounds] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1259:1: note: (1) entry to '_ksba_asn_insert_copy' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1264:7: note: (2) calling 'copy_tree' from '_ksba_asn_insert_copy' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (3) entry to 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (4) following 'true' branch (when 's' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (6) calling 'copy_node' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (7) entry to 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (8) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (10) calling 'copy_value' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (11) entry to 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (12) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (13) returning to 'copy_node' from 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (14) returning to 'copy_tree' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1037:10: note: (15) following 'false' branch (when 'link_nextp' is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1039:18: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1041:10: note: (17) following 'true' branch (when 'first' is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (19) following 'true' branch (when 'down' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (20) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (21) calling 'copy_tree' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (22) entry to 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (23) following 'true' branch (when 's' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (25) calling 'copy_node' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (26) entry to 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (27) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (29) calling 'copy_value' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (30) entry to 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (31) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (32) following 'false' branch (when 'd != s')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:186:3: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:12: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:3: note: (34) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:192:5: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (36) calling '_ksba_asn_set_value' from 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:127:1: note: (37) entry to '_ksba_asn_set_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (38) following 'false' branch (when 'node' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:130:3: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:11: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:6: note: (40) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (42) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:145:5: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (44) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:146:7: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (45) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (46) returning to 'copy_value' from '_ksba_asn_set_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (47) returning to 'copy_node' from 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (48) returning to 'copy_tree' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1037:10: note: (49) following 'false' branch (when 'link_nextp' is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1039:18: note: (50) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1041:10: note: (51) following 'true' branch (when 'first' is NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (52) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1049:10: note: (53) following 'true' branch (when 'down' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (54) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1051:17: note: (55) calling 'copy_tree' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1028:1: note: (56) entry to 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1033:10: note: (57) following 'true' branch (when 's' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1035:12: note: (58) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1036:11: note: (59) calling 'copy_node' from 'copy_tree' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:223:1: note: (60) entry to 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:227:6: note: (61) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:229:12: note: (62) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:230:3: note: (63) calling 'copy_value' from 'copy_node' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:180:1: note: (64) entry to 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:182:8: note: (65) capacity: 1 byte <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (66) following 'false' branch (when 'd != s')... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:186:3: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:12: note: (67) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:188:3: note: (68) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:192:5: note: (69) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:216:3: note: (70) calling '_ksba_asn_set_value' from 'copy_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:127:1: note: (71) entry to '_ksba_asn_set_value' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (72) following 'false' branch (when 'node' is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:130:3: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:11: note: (73) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:132:6: note: (74) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (75) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:141:3: note: (76) following 'case 1:' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:145:5: note: (77) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/util.h:76:8: note: (78) following 'false' branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:146:7: note: in expansion of macro 'return_if_fail' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (79) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: (80) out-of-bounds read from byte 1 till byte 3 but 'helpbuf' ends at byte 1 <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: read of 3 bytes from after the end of 'helpbuf' <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:147:30: note: valid subscripts for 'helpbuf' are '[0]' to '[0]' <--[gcc]
┌──────────────────────────────────────────────────────────────────────┐
│ read of 'const unsigned int' (4 bytes) │
└──────────────────────────────────────────────────────────────────────┘
^ ^
│ │
│ │
┌──────────────────────────────┐ ┌───────────────────────────────────┐
│ [0] │ │ │
├──────────────────────────────┤ │ after valid range │
│ 'helpbuf' (type: 'char[1]') │ │ │
└──────────────────────────────┘ └───────────────────────────────────┘
├──────────────┬───────────────┤ ├─────────────────┬─────────────────┤
│ │
╭──────┴─────╮ ╭───────────┴───────────╮
│size: 1 byte│ │⚠️ over-read of 3 bytes│
╰────────────╯ ╰───────────────────────╯
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1061:15: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1177:34: warning: Dereference of null pointer [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1179:38: warning: Dereference of null pointer [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1181:19: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/asn1-func.c:1218:15: warning: Access to field 'down' results in a dereference of a null pointer (loaded from variable 'd') [core.NullDereference] <--[clang]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ber-dump ber_dump-ber-dump.o ber_dump-ber-decoder.o ber_dump-ber-help.o ber_dump-reader.o ber_dump-writer.o ber_dump-asn1-parse.o ber_dump-asn1-func.o ber_dump-oid.o ber_dump-time.o ber_dump-util.o -lgpg-error ../gl/libgnu.la
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ber-dump ber_dump-ber-dump.o ber_dump-ber-decoder.o ber_dump-ber-help.o ber_dump-reader.o ber_dump-writer.o ber_dump-asn1-parse.o ber_dump-asn1-func.o ber_dump-oid.o ber_dump-time.o ber_dump-util.o -lgpg-error ../gl/.libs/libgnu.a
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o dn.lo dn.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c dn.c -fPIC -DPIC -o .libs/dn.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
/builddir/build/BUILD/libksba-1.6.6/src/dn.c:1020:7: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/src/dn.c:1024:7: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o cms.lo cms.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c cms.c -fPIC -DPIC -o .libs/cms.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
/builddir/build/BUILD/libksba-1.6.6/src/cms.c:2032:9: warning: Although the value stored to 'n' is used in the enclosing expression, the value is never actually read from 'n' [deadcode.DeadStores] <--[clang]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o keyinfo.lo keyinfo.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../gl -I../gl -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c keyinfo.c -fPIC -DPIC -o .libs/keyinfo.o
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
/builddir/build/BUILD/libksba-1.6.6/src/keyinfo.c:1023:13: warning: Value stored to 'got_curve' is never read [deadcode.DeadStores] <--[clang]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,--version-script=./libksba.vers -version-info 22:6:14 -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libksba.la -rpath /usr/lib64 visibility.lo reader.lo writer.lo asn1-parse.lo asn1-func.lo asn1-func2.lo ber-help.lo ber-decoder.lo der-encoder.lo der-builder.lo cert.lo cms.lo cms-parser.lo crl.lo certreq.lo ocsp.lo keyinfo.lo oid.lo name.lo dn.lo time.lo version.lo util.lo asn1-tables.lo -lgpg-error
libtool: link: gcc -shared -fPIC -DPIC .libs/visibility.o .libs/reader.o .libs/writer.o .libs/asn1-parse.o .libs/asn1-func.o .libs/asn1-func2.o .libs/ber-help.o .libs/ber-decoder.o .libs/der-encoder.o .libs/der-builder.o .libs/cert.o .libs/cms.o .libs/cms-parser.o .libs/crl.o .libs/certreq.o .libs/ocsp.o .libs/keyinfo.o .libs/oid.o .libs/name.o .libs/dn.o .libs/time.o .libs/version.o .libs/util.o .libs/asn1-tables.o -lgpg-error -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -m64 -march=x86-64 -mtune=generic -mno-omit-leaf-frame-pointer -Wl,--version-script=./libksba.vers -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,libksba.so.8 -o .libs/libksba.so.8.14.6
libtool: link: (cd ".libs" && rm -f "libksba.so.8" && ln -s "libksba.so.8.14.6" "libksba.so.8")
libtool: link: (cd ".libs" && rm -f "libksba.so" && ln -s "libksba.so.8.14.6" "libksba.so")
libtool: link: ( cd ".libs" && rm -f "libksba.la" && ln -s "../libksba.la" "libksba.la" )
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
Making all in tests
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
set -e; f="/dev/null"; \
for i in /etc/dumpasn1 /usr/local/bin /usr/local/share /usr/bin \
/usr/share ; do \
if test -f $i/dumpasn1.cfg; then f=$i/dumpasn1.cfg; break; fi; \
done; tr -d '\r' <$f | gawk -f ./mkoidtbl.awk >oidtranstbl.h
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/usr/bin/make all-am
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o t-oid.o t-oid.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o t-der-builder.o t-der-builder.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o t-dnparser.o t-dnparser.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o t-reader.o t-reader.c
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:158:8: warning: Although the value stored to 'err' is used in the enclosing expression, the value is never actually read from 'err' [deadcode.DeadStores] <--[clang]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c: In function ‘test_fd’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:50:6: warning: leak of file descriptor ‘open(path, 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:39:12: note: (1) opened here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:44:6: note: (2) assuming ‘open(path, 0)’ is a valid file descriptor (>= 0) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:44:6: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:50:14: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:50:6: note: (5) ‘open(path, 0)’ leaks here; was opened at (1) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c: In function ‘test_file’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:93:6: warning: leak of FILE ‘fopen(path, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:82:14: note: (1) opened here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:87:6: note: (2) assuming ‘fopen(path, "r")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:87:6: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:93:14: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:93:6: note: (5) ‘fopen(path, "r")’ leaks here; was opened at (1) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:93:6: warning: leak of ‘fopen(path, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:82:14: note: (1) allocated here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:87:6: note: (2) assuming ‘fopen(path, "r")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:87:6: note: (3) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:93:14: note: (4) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-reader.c:93:6: note: (5) ‘fopen(path, "r")’ leaks here; was allocated at (1) <--[gcc]
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-oid t-oid.o ../src/libksba.la -lgpg-error
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-oid t-oid.o ../src/.libs/libksba.so -lgpg-error -Wl,-rpath -Wl,/builddir/build/BUILD/libksba-1.6.6/src/.libs -Wl,-rpath -Wl,/usr/lib64
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-der-builder t-der-builder.o ../src/libksba.la -lgpg-error
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-der-builder t-der-builder.o ../src/.libs/libksba.so -lgpg-error -Wl,-rpath -Wl,/builddir/build/BUILD/libksba-1.6.6/src/.libs -Wl,-rpath -Wl,/usr/lib64
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-dnparser t-dnparser.o ../src/libksba.la -lgpg-error
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-dnparser t-dnparser.o ../src/.libs/libksba.so -lgpg-error -Wl,-rpath -Wl,/builddir/build/BUILD/libksba-1.6.6/src/.libs -Wl,-rpath -Wl,/usr/lib64
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-reader t-reader.o ../src/libksba.la -lgpg-error
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-reader t-reader.o ../src/.libs/libksba.so -lgpg-error -Wl,-rpath -Wl,/builddir/build/BUILD/libksba-1.6.6/src/.libs -Wl,-rpath -Wl,/usr/lib64
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o t-crl-parser.o t-crl-parser.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c: In function ‘one_file’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:134:6: warning: leak of FILE ‘fopen(fname, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:361:1: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:368:6: note: (2) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:370:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:372:6: note: (4) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:372:16: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:378:6: note: (6) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:380:14: note: (8) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:381:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:381:9: note: (10) calling ‘one_file’ from ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:99:1: note: (11) entry to ‘one_file’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:123:6: note: (12) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:124:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:125:8: note: (14) opened here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:126:6: note: (15) assuming ‘fopen(fname, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:126:6: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:133:9: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:134:6: note: (18) ‘fopen(fname, "rb")’ leaks here; was opened at (14) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:134:6: warning: leak of ‘fopen(fname, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:361:1: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:368:6: note: (2) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:370:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:372:6: note: (4) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:372:16: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:378:6: note: (6) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:380:14: note: (8) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:381:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:381:9: note: (10) calling ‘one_file’ from ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:99:1: note: (11) entry to ‘one_file’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:123:6: note: (12) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:124:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:125:8: note: (14) allocated here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:126:6: note: (15) assuming ‘fopen(fname, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:126:6: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:133:9: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-crl-parser.c:134:6: note: (18) ‘fopen(fname, "rb")’ leaks here; was allocated at (14) <--[gcc]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-crl-parser t-crl-parser.o ../src/libksba.la -lgpg-error
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-crl-parser t-crl-parser.o ../src/.libs/libksba.so -lgpg-error -Wl,-rpath -Wl,/builddir/build/BUILD/libksba-1.6.6/src/.libs -Wl,-rpath -Wl,/usr/lib64
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o t-cms-parser.o t-cms-parser.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c: In function ‘one_file’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:84:6: warning: leak of FILE ‘fopen(fname, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:293:1: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:295:6: note: (2) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:297:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:299:6: note: (4) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:299:16: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:305:6: note: (6) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:307:14: note: (8) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:308:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:308:9: note: (10) calling ‘one_file’ from ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:56:1: note: (11) entry to ‘one_file’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:73:6: note: (12) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:74:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:75:8: note: (14) opened here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:76:6: note: (15) assuming ‘fopen(fname, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:76:6: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:83:9: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:84:6: note: (18) ‘fopen(fname, "rb")’ leaks here; was opened at (14) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:84:6: warning: leak of ‘fopen(fname, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:293:1: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:295:6: note: (2) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:297:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:299:6: note: (4) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:299:16: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:305:6: note: (6) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:307:14: note: (8) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:308:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:308:9: note: (10) calling ‘one_file’ from ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:56:1: note: (11) entry to ‘one_file’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:73:6: note: (12) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:74:5: note: (13) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:75:8: note: (14) allocated here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:76:6: note: (15) assuming ‘fopen(fname, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:76:6: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:83:9: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:84:6: note: (18) ‘fopen(fname, "rb")’ leaks here; was allocated at (14) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-cms-parser.c:174:15: warning: Value stored to 'err' is never read [deadcode.DeadStores] <--[clang]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o t-ocsp.o t-ocsp.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c: In function ‘get_one_cert’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:111:6: warning: leak of FILE ‘fopen(fname, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:170:1: note: (1) entry to ‘one_response’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:177:22: note: (2) calling ‘get_one_cert’ from ‘one_response’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:95:1: note: (3) entry to ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:102:8: note: (4) opened here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:103:6: note: (5) assuming ‘fopen(fname, "r")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:103:6: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:110:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:111:6: note: (8) ‘fopen(fname, "r")’ leaks here; was opened at (4) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:111:6: warning: leak of ‘fopen(fname, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:170:1: note: (1) entry to ‘one_response’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:177:22: note: (2) calling ‘get_one_cert’ from ‘one_response’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:95:1: note: (3) entry to ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:102:8: note: (4) allocated here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:103:6: note: (5) assuming ‘fopen(fname, "r")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:103:6: note: (6) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:110:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:111:6: note: (8) ‘fopen(fname, "r")’ leaks here; was allocated at (4) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c: In function ‘one_request’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:160:9: warning: leak of FILE ‘fopen("a.req", "wb")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:384:1: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:395:6: note: (2) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:397:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:434:6: note: (4) following ‘false’ branch (when ‘response_mode == 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:441:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:441:11: note: (6) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:443:20: note: (8) following ‘true’ branch (when ‘argc > 1’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:444:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:444:9: note: (10) calling ‘one_request’ from ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:130:1: note: (11) entry to ‘one_request’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:133:22: note: (12) calling ‘get_one_cert’ from ‘one_request’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:95:1: note: (13) entry to ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:103:6: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:110:9: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:111:6: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:113:9: note: (17) ...to here <--[gcc]
In file included from /builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:32: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:114:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:116:9: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:117:6: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:120:9: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:34:35: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:121:3: note: in expansion of macro ‘fail_if_err2’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:122:10: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:133:22: note: (24) returning to ‘one_request’ from ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:134:29: note: (25) calling ‘get_one_cert’ from ‘one_request’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:95:1: note: (26) entry to ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:103:6: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:110:9: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:111:6: note: (29) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:113:9: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (31) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:114:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:116:9: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:117:6: note: (33) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:120:9: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:34:35: note: (35) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:121:3: note: in expansion of macro ‘fail_if_err2’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:122:10: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:134:29: note: (37) returning to ‘one_request’ from ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (38) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:140:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:142:9: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:143:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:144:3: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (42) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:151:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:152:3: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:157:16: note: (44) opened here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:158:8: note: (45) assuming ‘fopen("a.req", "wb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:158:8: note: (46) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:160:9: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:160:9: note: (48) ‘fopen("a.req", "wb")’ leaks here; was opened at (44) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:160:9: warning: leak of ‘fopen("a.req", "wb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:384:1: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:395:6: note: (2) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:397:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:434:6: note: (4) following ‘false’ branch (when ‘response_mode == 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:441:11: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:441:11: note: (6) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:443:20: note: (8) following ‘true’ branch (when ‘argc > 1’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:444:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:444:9: note: (10) calling ‘one_request’ from ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:130:1: note: (11) entry to ‘one_request’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:133:22: note: (12) calling ‘get_one_cert’ from ‘one_request’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:95:1: note: (13) entry to ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:103:6: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:110:9: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:111:6: note: (16) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:113:9: note: (17) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (18) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:114:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:116:9: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:117:6: note: (20) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:120:9: note: (21) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:34:35: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:121:3: note: in expansion of macro ‘fail_if_err2’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:122:10: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:133:22: note: (24) returning to ‘one_request’ from ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:134:29: note: (25) calling ‘get_one_cert’ from ‘one_request’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:95:1: note: (26) entry to ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:103:6: note: (27) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:110:9: note: (28) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:111:6: note: (29) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:113:9: note: (30) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (31) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:114:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:116:9: note: (32) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:117:6: note: (33) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:120:9: note: (34) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:34:35: note: (35) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:121:3: note: in expansion of macro ‘fail_if_err2’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:122:10: note: (36) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:134:29: note: (37) returning to ‘one_request’ from ‘get_one_cert’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (38) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:140:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:142:9: note: (39) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (40) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:143:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:144:3: note: (41) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-common.h:27:31: note: (42) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:151:3: note: in expansion of macro ‘fail_if_err’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:152:3: note: (43) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:157:16: note: (44) allocated here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:158:8: note: (45) assuming ‘fopen("a.req", "wb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:158:8: note: (46) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:160:9: note: (47) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:160:9: note: (48) ‘fopen("a.req", "wb")’ leaks here; was allocated at (44) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/t-ocsp.c:391:5: warning: Value stored to 'srcdir' is never read [deadcode.DeadStores] <--[clang]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o sha1.o sha1.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c: In function ‘transform’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:126:30: warning: use of uninitialized value ‘x[1]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:122:41: note: in definition of macro ‘R’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:327:1: note: (1) entry to ‘sha1_hash_buffer’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:332:3: note: (2) calling ‘sha1_write’ from ‘sha1_hash_buffer’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:219:1: note: (3) entry to ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:223:5: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:229:5: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:229:5: note: (6) following ‘false’ branch (when ‘inbuf’ is non-NULL)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:232:9: note: (7) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:232:5: note: (8) following ‘false’ branch... <--[gcc]
cc1: note: (9) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:241:16: note: (10) following ‘true’ branch (when ‘inlen > 63’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:243:7: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:243:7: note: (12) calling ‘transform’ from ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:76:1: note: (13) entry to ‘transform’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:79:7: note: (14) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:94:38: note: (15) following ‘true’ branch (when ‘i != 16’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:96:17: note: (16) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:243:7: note: (17) returning to ‘sha1_write’ from ‘transform’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:241:16: note: (18) following ‘true’ branch (when ‘inlen > 63’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:243:7: note: (19) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:243:7: note: (20) calling ‘transform’ from ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:76:1: note: (21) entry to ‘transform’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:79:7: note: (22) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:94:38: note: (23) following ‘true’ branch (when ‘i != 16’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:96:17: note: (24) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:94:38: note: (25) following ‘false’ branch (when ‘i == 16’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:54:33: note: (26) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:119:39: note: in expansion of macro ‘rol’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:125:3: note: in expansion of macro ‘R’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:126:30: note: (27) use of uninitialized value ‘x[1]’ here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:122:41: note: in definition of macro ‘R’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:126:30: warning: use of uninitialized value ‘x[1]’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:122:41: note: in definition of macro ‘R’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:327:1: note: (1) entry to ‘sha1_hash_buffer’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:332:3: note: (2) calling ‘sha1_write’ from ‘sha1_hash_buffer’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:219:1: note: (3) entry to ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:223:5: note: (4) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:229:5: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:232:5: note: (6) following ‘false’ branch... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:241:16: note: (8) following ‘false’ branch (when ‘inlen <= 63’)... <--[gcc]
cc1: note: (9) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:249:16: note: (10) following ‘true’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:250:34: note: (11) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:332:3: note: (12) returning to ‘sha1_hash_buffer’ from ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:333:3: note: (13) calling ‘sha1_final’ from ‘sha1_hash_buffer’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:262:1: note: (14) entry to ‘sha1_final’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:269:3: note: (15) calling ‘sha1_write’ from ‘sha1_final’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:219:1: note: (16) entry to ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:223:5: note: (17) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:229:5: note: (18) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:229:5: note: (19) following ‘true’ branch (when ‘inbuf’ is NULL)... <--[gcc]
cc1: note: (20) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:269:3: note: (21) returning to ‘sha1_final’ from ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:285:5: note: (22) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:293:24: note: (23) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:296:7: note: (24) calling ‘sha1_write’ from ‘sha1_final’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:219:1: note: (25) entry to ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:229:5: note: (26) following ‘true’ branch (when ‘inbuf’ is NULL)... <--[gcc]
cc1: note: (27) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:296:7: note: (28) returning to ‘sha1_final’ from ‘sha1_write’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:308:3: note: (29) calling ‘transform’ from ‘sha1_final’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:76:1: note: (30) entry to ‘transform’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:79:7: note: (31) region created on stack here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:94:38: note: (32) following ‘true’ branch (when ‘i != 16’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:96:17: note: (33) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:94:38: note: (34) following ‘false’ branch (when ‘i == 16’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:54:33: note: (35) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:119:39: note: in expansion of macro ‘rol’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:125:3: note: in expansion of macro ‘R’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:126:30: note: (36) use of uninitialized value ‘x[1]’ here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/sha1.c:122:41: note: in definition of macro ‘R’ <--[gcc]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-cms-parser t-cms-parser.o ../src/libksba.la -lgpg-error
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-cms-parser t-cms-parser.o ../src/.libs/libksba.so -lgpg-error -Wl,-rpath -Wl,/builddir/build/BUILD/libksba-1.6.6/src/.libs -Wl,-rpath -Wl,/usr/lib64
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-ocsp t-ocsp.o sha1.o ../src/libksba.la -lgpg-error
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o t-ocsp t-ocsp.o sha1.o ../src/.libs/libksba.so -lgpg-error -Wl,-rpath -Wl,/builddir/build/BUILD/libksba-1.6.6/src/.libs -Wl,-rpath -Wl,/usr/lib64
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -c -o cert-basic.o cert-basic.c
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c: In function ‘one_file’: <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:454:6: warning: leak of FILE ‘fopen(fname, "rb")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:640:1: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:647:6: note: (2) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:649:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:652:6: note: (4) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:652:16: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:659:6: note: (6) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:661:14: note: (8) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:662:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:662:9: note: (10) calling ‘one_file’ from ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:433:1: note: (11) entry to ‘one_file’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:445:8: note: (12) opened here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:446:6: note: (13) assuming ‘fopen(fname, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:446:6: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:453:9: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:454:6: note: (16) ‘fopen(fname, "rb")’ leaks here; was opened at (12) <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:454:6: warning: leak of ‘fopen(fname, "rb")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:640:1: note: (1) entry to ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:647:6: note: (2) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:649:11: note: (3) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:652:6: note: (4) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:652:16: note: (5) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:659:6: note: (6) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
cc1: note: (7) ...to here
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:661:14: note: (8) following ‘true’ branch (when ‘argc != 0’)... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:662:9: note: (9) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:662:9: note: (10) calling ‘one_file’ from ‘main’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:433:1: note: (11) entry to ‘one_file’ <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:445:8: note: (12) allocated here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:446:6: note: (13) assuming ‘fopen(fname, "rb")’ is non-NULL <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:446:6: note: (14) following ‘false’ branch... <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:453:9: note: (15) ...to here <--[gcc]
/builddir/build/BUILD/libksba-1.6.6/tests/cert-basic.c:454:6: note: (16) ‘fopen(fname, "rb")’ leaks here; was allocated at (12) <--[gcc]
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/bin/sh ../libtool --tag=CC --mode=link gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -no-install -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o cert-basic cert-basic.o ../src/libksba.la -lgpg-error
libtool: link: gcc -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wcast-align -Wshadow -Wstrict-prototypes -Wpointer-arith -Wno-pointer-sign -fvisibility=hidden -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o cert-basic cert-basic.o ../src/.libs/libksba.so -lgpg-error -Wl,-rpath -Wl,/builddir/build/BUILD/libksba-1.6.6/src/.libs -Wl,-rpath -Wl,/usr/lib64
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
Making all in doc
make[2]: Nothing to be done for 'all'.
+ 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/libksba.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""']
Finish: run
>>> 2024-04-13 07:29:33 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck"
>>> 2024-04-13 07:29:34 "/usr/bin/mock" "-r" "fedora-40-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/libksba.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.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-40-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/libksba.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.5
INFO: Mock Version: 5.5
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/libksba.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/libksba.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=1708905600
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.45SSWa
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64
++ dirname /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64
+ 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 -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 -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 -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 -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-errors -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 libksba-1.6.6
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64 'INSTALL=/usr/bin/install -p'
Making install in m4
make[1]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/m4'
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/m4'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/m4'
make[1]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/m4'
Making install in gl
make[1]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/gl'
/usr/bin/make install-am
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/gl'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/gl'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/gl'
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/gl'
make[1]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/gl'
Making install in src
make[1]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/usr/bin/make install-am
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/src'
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin'
/usr/bin/install -p ksba-config '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin'
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64'
/bin/sh ../libtool --mode=install /usr/bin/install -p libksba.la '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libksba.so.8.14.6 /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64/libksba.so.8.14.6
libtool: install: (cd /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64 && { ln -s -f libksba.so.8.14.6 libksba.so.8 || { rm -f libksba.so.8 && ln -s libksba.so.8.14.6 libksba.so.8; }; })
libtool: install: (cd /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64 && { ln -s -f libksba.so.8.14.6 libksba.so || { rm -f libksba.so && ln -s libksba.so.8.14.6 libksba.so; }; })
libtool: install: /usr/bin/install -p .libs/libksba.lai /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64/libksba.la
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/aclocal'
/usr/bin/install -p -m 644 ksba.m4 '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/aclocal'
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/include'
/usr/bin/install -p -m 644 ksba.h '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/include'
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64/pkgconfig'
/usr/bin/install -p -m 644 ksba.pc '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64/pkgconfig'
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
make[1]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/src'
Making install in tests
make[1]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
/usr/bin/make install-am
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
make[1]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/tests'
Making install in doc
make[1]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/doc'
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6/doc'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/info'
/usr/bin/install -p -m 644 ./ksba.info '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/info'
install-info --info-dir='/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/info' '/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/info/ksba.info'
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/doc'
make[1]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6/doc'
make[1]: Entering directory '/builddir/build/BUILD/libksba-1.6.6'
make[2]: Entering directory '/builddir/build/BUILD/libksba-1.6.6'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6'
make[1]: Leaving directory '/builddir/build/BUILD/libksba-1.6.6'
+ rm -f /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/info/dir
+ rm -f /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/lib64/libksba.la
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.6.6-1.fc40 --unique-debug-suffix -1.6.6-1.fc40.x86_64 --unique-debug-src-base libksba-1.6.6-1.fc40.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libksba-1.6.6
find-debuginfo: starting
Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/libksba-1.6.6-1.fc40.x86_64
1757 blocks
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/bin/ksba-config from /bin/sh to #!/usr/bin/sh
*** WARNING: ./usr/src/debug/libksba-1.6.6-1.fc40.x86_64/src/asn1-func.c is executable but has no shebang, removing executable bit
*** WARNING: ./usr/src/debug/libksba-1.6.6-1.fc40.x86_64/src/asn1-func.h is executable but has no shebang, removing executable bit
+ /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
Processing files: libksba-1.6.6-1.fc40.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.rUMEEt
+ umask 022
+ cd /builddir/build/BUILD
+ cd libksba-1.6.6
+ DOCDIR=/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/doc/libksba
+ export LC_ALL=
+ LC_ALL=
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/doc/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/AUTHORS /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/doc/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/ChangeLog /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/doc/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/NEWS /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/doc/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/README /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/doc/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/THANKS /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/doc/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/TODO /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/doc/libksba
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.c4GekC
+ umask 022
+ cd /builddir/build/BUILD
+ cd libksba-1.6.6
+ LICENSEDIR=/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/licenses/libksba
+ export LC_ALL=
+ LC_ALL=
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/licenses/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/COPYING /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/licenses/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/COPYING.GPLv2 /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/licenses/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/COPYING.GPLv3 /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/licenses/libksba
+ cp -pr /builddir/build/BUILD/libksba-1.6.6/COPYING.LGPLv3 /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/share/licenses/libksba
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libksba = 1.6.6-1.fc40 libksba(x86-64) = 1.6.6-1.fc40 libksba.so.8()(64bit) libksba.so.8(KSBA_0.9)(64bit) libksba.so.8(KSBA_PRIVATE_TESTS)(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgpg-error.so.0()(64bit) libgpg-error.so.0(GPG_ERROR_1.0)(64bit) rtld(GNU_HASH)
Processing files: libksba-devel-1.6.6-1.fc40.x86_64
Provides: libksba-devel = 1.6.6-1.fc40 libksba-devel(x86-64) = 1.6.6-1.fc40 pkgconfig(ksba) = 1.6.6
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config /usr/bin/sh libksba.so.8()(64bit) pkgconfig(gpg-error)
Processing files: libksba-debugsource-1.6.6-1.fc40.x86_64
Provides: libksba-debugsource = 1.6.6-1.fc40 libksba-debugsource(x86-64) = 1.6.6-1.fc40
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libksba-debuginfo-1.6.6-1.fc40.x86_64
Provides: debuginfo(build-id) = 52378a05d4e57e7fbf2e240b69718994fa532a74 libksba-debuginfo = 1.6.6-1.fc40 libksba-debuginfo(x86-64) = 1.6.6-1.fc40 libksba.so.8.14.6-1.6.6-1.fc40.x86_64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libksba-debugsource(x86-64) = 1.6.6-1.fc40
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64
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/libksba.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-04-13 07:29:36 "/usr/bin/mock" "-r" "fedora-40-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"
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config:44:7: note: Double quote to prevent globbing and word splitting. [SC2086] <--[shellcheck]
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config:53:16: note: Use $(...) notation instead of legacy backticks `...`. [SC2006] <--[shellcheck]
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config:107:10: note: Double quote to prevent globbing and word splitting. [SC2086] <--[shellcheck]
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config:111:10: note: Double quote to prevent globbing and word splitting. [SC2086] <--[shellcheck]
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config:129:25: note: fgrep is non-standard and deprecated. Use grep -F instead. [SC2197] <--[shellcheck]
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config:133:10: note: Double quote to prevent globbing and word splitting. [SC2086] <--[shellcheck]
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config:139:25: note: fgrep is non-standard and deprecated. Use grep -F instead. [SC2197] <--[shellcheck]
/builddir/build/BUILDROOT/libksba-1.6.6-1.fc40.x86_64/usr/bin/ksba-config:143:10: note: Double quote to prevent globbing and word splitting. [SC2086] <--[shellcheck]
>>> 2024-04-13 07:29:37 "'/usr/bin/mock' '-r' 'fedora-40-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/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/raw-results'"
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
>>> 2024-04-13 07:29:38 "cat '/tmp/csmocky3j8ox83/libksba-1.6.6-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/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/uni-results/cswrap-capture.js'"
>>> 2024-04-13 07:29:38 "csgrep --quiet '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/uni-results/shellcheck-capture.err'"
scan.ini: time-finished = 2024-04-13 07:29:38
scan.ini: exit-code = 0
>>> 2024-04-13 07:29:38 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan.ini' '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/uni-results'/* > '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/scan-results-all.js'"
>>> 2024-04-13 07:29:38 "'/usr/bin/mock' '-r' 'fedora-40-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/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/scan-results-all.js' >'/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/scan-results-all.js.tmp'"
>>> 2024-04-13 07:29:39 "/usr/bin/mock" "-r" "fedora-40-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean"
>>> 2024-04-13 07:29:41 "cat '/tmp/csmocky3j8ox83/libksba-1.6.6-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/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan-results.js'"
>>> 2024-04-13 07:29:41 "cat '/tmp/csmocky3j8ox83/libksba-1.6.6-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/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan-results.js' - | cssort > '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/suppressed-results.js'"
>>> 2024-04-13 07:29:42 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/suppressed-results.js' > '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/suppressed-results.err'"
>>> 2024-04-13 07:29:42 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/suppressed-results.html'"
>>> 2024-04-13 07:29:42 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/debug/suppressed-results-summary.txt'"
>>> 2024-04-13 07:29:42 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan-results.js' > '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan-results.err'"
>>> 2024-04-13 07:29:42 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan-results.js' | cshtml - > '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan-results.html'"
>>> 2024-04-13 07:29:42 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan-results.js' | tee '/tmp/csmocky3j8ox83/libksba-1.6.6-1.fc41/scan-results-summary.txt'"
1 CLANG_WARNING warning[core.NonNullParamChecker]
7 CLANG_WARNING warning[core.NullDereference]
30 CLANG_WARNING warning[deadcode.DeadStores]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak]
6 GCC_ANALYZER_WARNING warning[-Wanalyzer-file-leak]
6 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds]
5 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value]
<<< 2024-04-13 07:29:42 csmock exit code: 0
Wrote: /tmp/tmp6re1whk7/libksba-1.6.6-1.fc41.tar.xz