Task #133066 - zip-3.0-46.fc45/scan.log
back to task #133066download
scan.ini: [scan]
scan.ini: tool = csmock
scan.ini: tool-version = csmock-3.8.7.20260803.142340.gb75b18e-1.el9
scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpf1ali5yu/zip-3.0-46.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpf1ali5yu/zip-3.0-46.fc45.src.rpm'
scan.ini: host = ip-172-16-1-163.us-west-2.compute.internal
scan.ini: store-results-to = /tmp/tmpf1ali5yu/zip-3.0-46.fc45.tar.xz
scan.ini: time-created = 2026-08-03 22:01:05
scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol
scan.ini: mock-config = fedora-rawhide-x86_64
scan.ini: project-name = zip-3.0-46.fc45
scan.ini: known-false-positives = /usr/share/csmock/known-false-positives.js
scan.ini: known-false-positives-rpm = known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
>>> 2026-08-03 22:01:05 rpm -qa | sort -V > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/rpm-list-host.txt'
scan.ini: analyzer-version-unicontrol = 0.0.2
>>> 2026-08-03 22:01:05 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--init"
INFO: mock.py version 6.7 starting (python version = 3.9.23, NVR = mock-6.7-1.el9), args: /usr/libexec/mock/mock --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True -r fedora-rawhide-x86_64 --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: 6.7
INFO: Mock Version: 6.7
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
>>> 2026-08-03 22:01:07 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockmj6qy6ko/zip-3.0-46.fc45.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784246400
Wrote: /builddir/build/SRPMS/zip-3.0-46.fc45.src.rpm
Updating and loading repositories:
fedora 100% | 2.2 MiB/s | 24.4 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
bzip2-devel x86_64 0:1.0.8-24.fc45 fedora 309.8 KiB
gcc x86_64 0:16.1.1-4.fc45.1 fedora 121.8 MiB
make x86_64 1:4.4.1-13.fc45 fedora 1.8 MiB
Installing dependencies:
annobin-docs noarch 0:13.28-1.fc45 fedora 99.7 KiB
annobin-plugin-gcc x86_64 0:13.28-1.fc45 fedora 709.4 KiB
cpp x86_64 0:16.1.1-4.fc45.1 fedora 42.6 MiB
gcc-plugin-annobin x86_64 0:16.1.1-4.fc45.1 fedora 57.1 KiB
glibc-devel x86_64 0:2.43.9000-25.fc45 fedora 2.3 MiB
kernel-headers x86_64 0:7.2.0-0.rc5.41.fc45 fedora 7.0 MiB
libatomic x86_64 0:16.1.1-4.fc45.1 fedora 45.6 KiB
libmpc x86_64 0:1.4.1-2.fc45 fedora 168.8 KiB
libxcrypt-devel x86_64 0:4.5.2-4.fc45 fedora 31.0 KiB
Transaction Summary:
Installing: 12 packages
Total size of inbound packages is 62 MiB. Need to download 0 B.
After this operation, 177 MiB extra will be used (install 177 MiB, remove 0 B).
[ 1/12] gcc-0:16.1.1-4.fc45.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 2/12] make-1:4.4.1-13.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 3/12] bzip2-devel-0:1.0.8-24.fc45.x86 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 4/12] cpp-0:16.1.1-4.fc45.1.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 5/12] libmpc-0:1.4.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/12] glibc-devel-0:2.43.9000-25.fc45 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/12] libxcrypt-devel-0:4.5.2-4.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/12] libatomic-0:16.1.1-4.fc45.1.x86 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/12] kernel-headers-0:7.2.0-0.rc5.41 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/12] annobin-plugin-gcc-0:13.28-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[11/12] gcc-plugin-annobin-0:16.1.1-4.f 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[12/12] annobin-docs-0:13.28-1.fc45.noa 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[12/12] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[ 1/14] Verify package files 100% | 46.0 B/s | 12.0 B | 00m00s
[ 2/14] Prepare transaction 100% | 480.0 B/s | 12.0 B | 00m00s
[ 3/14] Installing libmpc-0:1.4.1-2.fc4 100% | 20.8 MiB/s | 170.4 KiB | 00m00s
[ 4/14] Installing cpp-0:16.1.1-4.fc45. 100% | 301.8 MiB/s | 42.6 MiB | 00m00s
[ 5/14] Installing annobin-docs-0:13.28 100% | 16.4 MiB/s | 100.8 KiB | 00m00s
[ 6/14] Installing kernel-headers-0:7.2 100% | 108.3 MiB/s | 7.1 MiB | 00m00s
[ 7/14] Installing glibc-devel-0:2.43.9 100% | 72.4 MiB/s | 2.4 MiB | 00m00s
[ 8/14] Installing libxcrypt-devel-0:4. 100% | 5.4 MiB/s | 33.3 KiB | 00m00s
[ 9/14] Installing libatomic-0:16.1.1-4 100% | 7.6 MiB/s | 46.7 KiB | 00m00s
[10/14] Installing make-1:4.4.1-13.fc45 100% | 60.1 MiB/s | 1.8 MiB | 00m00s
[11/14] Installing gcc-0:16.1.1-4.fc45. 100% | 359.4 MiB/s | 121.8 MiB | 00m00s
[12/14] Installing annobin-plugin-gcc-0 100% | 46.3 MiB/s | 711.1 KiB | 00m00s
[13/14] Installing gcc-plugin-annobin-0 100% | 4.1 MiB/s | 58.5 KiB | 00m00s
[14/14] Installing bzip2-devel-0:1.0.8- 100% | 130.3 KiB/s | 310.7 KiB | 00m02s
Complete!
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784246400
Wrote: /builddir/build/SRPMS/zip-3.0-46.fc45.src.rpm
Updating and loading repositories:
fedora 100% | 2.0 MiB/s | 24.4 KiB | 00m00s
Repositories loaded.
Package "bzip2-devel-1.0.8-24.fc45.x86_64" is already installed.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package "make-1:4.4.1-13.fc45.x86_64" is already installed.
Nothing to do.
>>> 2026-08-03 22:01:15 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "tar" "pam" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
fedora 100% | 1.8 MiB/s | 24.4 KiB | 00m00s
Repositories loaded.
Package "tar-2:1.35-9.fc45.x86_64" is already installed.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package Arch Version Repository Size
Installing:
ShellCheck x86_64 0:0.11.0-5.fc45 fedora 22.4 MiB
cppcheck x86_64 0:2.21.1-2.fc45 fedora 11.1 MiB
pam x86_64 0:1.7.2-4.fc45 fedora 1.6 MiB
Installing dependencies:
authselect x86_64 0:1.7.1-2.fc45 fedora 202.1 KiB
authselect-libs x86_64 0:1.7.1-2.fc45 fedora 889.7 KiB
cracklib x86_64 0:2.10.3-2.fc45 fedora 234.6 KiB
expat x86_64 0:2.8.1-2.fc45 fedora 323.5 KiB
gdbm x86_64 1:1.23-12.fc45 fedora 455.9 KiB
libnsl2 x86_64 0:2.0.1-6.fc45 fedora 57.7 KiB
libpwquality x86_64 0:1.4.5-18.fc45 fedora 412.7 KiB
libtirpc x86_64 0:1.3.7-3.fc45 fedora 208.3 KiB
mpdecimal x86_64 0:4.0.1-4.fc45 fedora 221.2 KiB
numactl-libs x86_64 0:2.0.19-5.fc45 fedora 56.8 KiB
python-pip-wheel noarch 0:26.1.2-2.fc45 fedora 1.2 MiB
python3 x86_64 0:3.15.0~b4-1.fc45 fedora 28.7 KiB
python3-libs x86_64 0:3.15.0~b4-1.fc45 fedora 48.1 MiB
tinyxml2 x86_64 0:11.0.0-6.fc45 fedora 108.7 KiB
tzdata noarch 0:2026b-2.fc45 fedora 1.2 MiB
Transaction Summary:
Installing: 18 packages
Total size of inbound packages is 21 MiB. Need to download 0 B.
After this operation, 89 MiB extra will be used (install 89 MiB, remove 0 B).
[ 1/18] cppcheck-0:2.21.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 2/18] ShellCheck-0:0.11.0-5.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 3/18] pam-0:1.7.2-4.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 4/18] tinyxml2-0:11.0.0-6.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 5/18] numactl-libs-0:2.0.19-5.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/18] authselect-0:1.7.1-2.fc45.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/18] libnsl2-0:2.0.1-6.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/18] libpwquality-0:1.4.5-18.fc45.x8 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/18] libtirpc-0:1.3.7-3.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/18] authselect-libs-0:1.7.1-2.fc45. 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[11/18] cracklib-0:2.10.3-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[12/18] gdbm-1:1.23-12.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[13/18] python3-0:3.15.0~b4-1.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[14/18] python3-libs-0:3.15.0~b4-1.fc45 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[15/18] expat-0:2.8.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[16/18] mpdecimal-0:4.0.1-4.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[17/18] python-pip-wheel-0:26.1.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[18/18] tzdata-0:2026b-2.fc45.noarch 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[ 1/20] Verify package files 100% | 206.0 B/s | 18.0 B | 00m00s
[ 2/20] Prepare transaction 100% | 500.0 B/s | 18.0 B | 00m00s
[ 3/20] Installing libtirpc-0:1.3.7-3.f 100% | 41.1 MiB/s | 210.4 KiB | 00m00s
[ 4/20] Installing libnsl2-0:2.0.1-6.fc 100% | 9.6 MiB/s | 58.9 KiB | 00m00s
[ 5/20] Installing tzdata-0:2026b-2.fc4 100% | 26.5 MiB/s | 1.5 MiB | 00m00s
[ 6/20] Installing python-pip-wheel-0:2 100% | 311.5 MiB/s | 1.2 MiB | 00m00s
[ 7/20] Installing mpdecimal-0:4.0.1-4. 100% | 108.7 MiB/s | 222.7 KiB | 00m00s
[ 8/20] Installing expat-0:2.8.1-2.fc45 100% | 11.8 MiB/s | 325.6 KiB | 00m00s
[ 9/20] Installing python3-libs-0:3.15. 100% | 245.0 MiB/s | 48.5 MiB | 00m00s
[10/20] Installing python3-0:3.15.0~b4- 100% | 1.6 MiB/s | 30.5 KiB | 00m00s
[11/20] Installing gdbm-1:1.23-12.fc45. 100% | 18.7 MiB/s | 460.8 KiB | 00m00s
[12/20] Installing cracklib-0:2.10.3-2. 100% | 7.1 MiB/s | 246.7 KiB | 00m00s
[13/20] Installing libpwquality-0:1.4.5 100% | 13.0 MiB/s | 425.1 KiB | 00m00s
[14/20] Installing authselect-libs-0:1. 100% | 63.2 MiB/s | 906.3 KiB | 00m00s
[15/20] Installing numactl-libs-0:2.0.1 100% | 28.2 MiB/s | 57.7 KiB | 00m00s
[16/20] Installing tinyxml2-0:11.0.0-6. 100% | 53.7 MiB/s | 110.1 KiB | 00m00s
[17/20] Installing cppcheck-0:2.21.1-2. 100% | 222.1 MiB/s | 11.1 MiB | 00m00s
[18/20] Installing ShellCheck-0:0.11.0- 100% | 361.0 MiB/s | 22.4 MiB | 00m00s
[19/20] Installing authselect-0:1.7.1-2 100% | 9.2 MiB/s | 208.0 KiB | 00m00s
[20/20] Installing pam-0:1.7.2-4.fc45.x 100% | 13.9 MiB/s | 1.7 MiB | 00m00s
Complete!
>>> 2026-08-03 22:01:17 '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/rpm-list-mock.txt
>>> 2026-08-03 22:01:18 '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockmj6qy6ko/rpm-list-mock-provides.txt
>>> 2026-08-03 22:01:19 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--copyin" "/tmp/csmockmj6qy6ko/zip-3.0-46.fc45.src.rpm" "/builddir/zip-3.0-46.fc45.src.rpm"
>>> 2026-08-03 22:01:20 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "chown mockbuild -R /builddir"
>>> 2026-08-03 22:01:21 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpm -Uvh --nodeps '/builddir/zip-3.0-46.fc45.src.rpm'\""
Updating / installing...
zip-3.0-46.fc45 ########################################
>>> 2026-08-03 22:01:22 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/zip.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/zip-3.0-46.fc45.src.rpm || :'\""
setting SOURCE_DATE_EPOCH=1784246400
Wrote: /builddir/build/SRPMS/zip-3.0-46.fc45.src.rpm
renamed 'zip-3.0-46.fc45.src.rpm' -> '/builddir/zip-3.0-46.fc45.src.rpm'
>>> 2026-08-03 22:01:23 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/zip-3.0-46.fc45.src.rpm" "/tmp/csmockmj6qy6ko/zip-3.0-46.fc45.src.rpm"
>>> 2026-08-03 22:01:24 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockmj6qy6ko/zip-3.0-46.fc45.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784246400
Wrote: /builddir/build/SRPMS/zip-3.0-46.fc45.src.rpm
Updating and loading repositories:
fedora 100% | 77.5 KiB/s | 24.4 KiB | 00m00s
Repositories loaded.
Package "bzip2-devel-1.0.8-24.fc45.x86_64" is already installed.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package "make-1:4.4.1-13.fc45.x86_64" is already installed.
Nothing to do.
>>> 2026-08-03 22:01:27 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "tar" "pam" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
fedora 100% | 2.2 MiB/s | 24.4 KiB | 00m00s
Repositories loaded.
Package "tar-2:1.35-9.fc45.x86_64" is already installed.
Package "pam-1.7.2-4.fc45.x86_64" is already installed.
Package "cppcheck-2.21.1-2.fc45.x86_64" is already installed.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package "ShellCheck-0.11.0-5.fc45.x86_64" is already installed.
Nothing to do.
>>> 2026-08-03 22:01:29 '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/rpm-list-mock.txt
>>> 2026-08-03 22:01:29 '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockmj6qy6ko/rpm-list-mock-provides.txt
>>> 2026-08-03 22:01:30 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "clippy"
Updating and loading repositories:
fedora 100% | 2.0 MiB/s | 24.4 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
clippy x86_64 0:1.97.1-2.fc45 fedora 14.4 MiB
Installing dependencies:
cargo x86_64 0:1.97.1-2.fc45 fedora 23.7 MiB
libedit x86_64 0:3.1-60.20260512cvs.fc45 fedora 248.3 KiB
libgit2_1.9 x86_64 0:1.9.6-1.fc45 fedora 1.4 MiB
libssh2 x86_64 0:1.11.1-10.fc45 fedora 334.6 KiB
llhttp x86_64 0:9.4.2-2.fc45 fedora 97.2 KiB
llvm-filesystem x86_64 0:22.1.8-20.fc45 fedora 0.0 B
llvm-libs x86_64 0:22.1.8-20.fc45 fedora 140.5 MiB
rust x86_64 0:1.97.1-2.fc45 fedora 94.7 MiB
rust-std-static x86_64 0:1.97.1-2.fc45 fedora 165.3 MiB
Transaction Summary:
Installing: 10 packages
Total size of inbound packages is 117 MiB. Need to download 0 B.
After this operation, 441 MiB extra will be used (install 441 MiB, remove 0 B).
[ 1/10] clippy-0:1.97.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 2/10] cargo-0:1.97.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 3/10] rust-0:1.97.1-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 4/10] libgit2_1.9-0:1.9.6-1.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 5/10] libssh2-0:1.11.1-10.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 6/10] llvm-libs-0:22.1.8-20.fc45.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 7/10] rust-std-static-0:1.97.1-2.fc45 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 8/10] llhttp-0:9.4.2-2.fc45.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[ 9/10] libedit-0:3.1-60.20260512cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
[10/10] llvm-filesystem-0:22.1.8-20.fc4 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[10/10] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[ 1/12] Verify package files 100% | 20.0 B/s | 10.0 B | 00m00s
[ 2/12] Prepare transaction 100% | 454.0 B/s | 10.0 B | 00m00s
[ 3/12] Installing libssh2-0:1.11.1-10. 100% | 41.0 MiB/s | 336.3 KiB | 00m00s
[ 4/12] Installing llvm-filesystem-0:22 100% | 354.2 KiB/s | 1.1 KiB | 00m00s
[ 5/12] Installing libedit-0:3.1-60.202 100% | 48.8 MiB/s | 250.0 KiB | 00m00s
[ 6/12] Installing llvm-libs-0:22.1.8-2 100% | 399.0 MiB/s | 140.5 MiB | 00m00s
[ 7/12] Installing rust-0:1.97.1-2.fc45 100% | 358.7 MiB/s | 94.7 MiB | 00m00s
[ 8/12] Installing rust-std-static-0:1. 100% | 427.2 MiB/s | 165.3 MiB | 00m00s
[ 9/12] Installing llhttp-0:9.4.2-2.fc4 100% | 24.1 MiB/s | 98.6 KiB | 00m00s
[10/12] Installing libgit2_1.9-0:1.9.6- 100% | 155.5 MiB/s | 1.4 MiB | 00m00s
[11/12] Installing cargo-0:1.97.1-2.fc4 100% | 275.7 MiB/s | 23.7 MiB | 00m00s
[12/12] Installing clippy-0:1.97.1-2.fc 100% | 5.5 MiB/s | 14.4 MiB | 00m03s
Complete!
>>> 2026-08-03 22:01:37 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "python3-magic"
Updating and loading repositories:
fedora 100% | 2.0 MiB/s | 24.4 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
python3-magic noarch 0:0.4.27-18.fc45 fedora 68.3 KiB
Transaction Summary:
Installing: 1 package
Total size of inbound packages is 32 KiB. Need to download 0 B.
After this operation, 68 KiB extra will be used (install 68 KiB, remove 0 B).
[1/1] python3-magic-0:0.4.27-18.fc45.no 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s
[2/3] Prepare transaction 100% | 200.0 B/s | 1.0 B | 00m00s
[3/3] Installing python3-magic-0:0.4.27 100% | 2.1 MiB/s | 72.2 KiB | 00m00s
Complete!
>>> 2026-08-03 22:01:39 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--install" "python3-six"
Updating and loading repositories:
fedora 100% | 2.2 MiB/s | 24.4 KiB | 00m00s
Repositories loaded.
Package Arch Version Repository Size
Installing:
python3-six noarch 0:1.17.0-10.fc45 fedora 118.2 KiB
Transaction Summary:
Installing: 1 package
Total size of inbound packages is 42 KiB. Need to download 0 B.
After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B).
[1/1] python3-six-0:1.17.0-10.fc45.noar 100% | 0.0 B/s | 0.0 B | 00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s
Running transaction
[1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s
[2/3] Prepare transaction 100% | 166.0 B/s | 1.0 B | 00m00s
[3/3] Installing python3-six-0:1.17.0-1 100% | 4.5 MiB/s | 120.5 KiB | 00m00s
Complete!
>>> 2026-08-03 22:01:40 '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/rpm-list-mock.txt
>>> 2026-08-03 22:01:41 '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockmj6qy6ko/rpm-list-mock-provides.txt
>>> 2026-08-03 22:01:42 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "chown mockbuild -R /builddir"
>>> 2026-08-03 22:01:43 tar -cP '/usr/share/csmock/scripts' '/usr/libexec/csgrep-static' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45.src.rpm' | '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'tar -xC/'
tar: Removing leading `/' from member names
scan.ini: analyzer-version-clippy = 1.97.1
>>> 2026-08-03 22:01:43 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh"
renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original'
scan.ini: analyzer-version-cppcheck = 2.21.1
scan.ini: analyzer-version-gcc = 16.1.1
>>> 2026-08-03 22:01:45 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | /usr/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\""
>>> 2026-08-03 22:01:46 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | /usr/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fanalyzer-assume-nothrow\""
>>> 2026-08-03 22:01:47 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | /usr/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\""
>>> 2026-08-03 22:01:48 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "echo '#!/bin/bash
fn=\$(flock /builddir/gcc-results mktemp \"/builddir/gcc-results/\$\$-XXXX.sarif\")
exec /usr/bin/gcc \"\$@\" -fdiagnostics-set-output=\"sarif:file=\$fn\"
' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper"
>>> 2026-08-03 22:01:49 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper"
scan.ini: analyzer-version-gcc-analyzer = 16.1.1
scan.ini: analyzer-version-shellcheck = 0.11.0
>>> 2026-08-03 22:01:51 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"mkdir -pv '/builddir/gcc-results' && touch '/builddir/gcc-results/empty.sarif'\""
mkdir: created directory '/builddir/gcc-results'
>>> 2026-08-03 22:01:52 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpm -Uvh --nodeps '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45.src.rpm'\""
Updating / installing...
zip-3.0-46.fc45 ########################################
>>> 2026-08-03 22:01:53 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "chmod -R +r /builddir"
>>> 2026-08-03 22:01:54 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done"
RUN: /usr/share/csmock/scripts/chroot-fixups/00-pre-usr-move-shells.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh
+ sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs
'/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true'
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh
>>> 2026-08-03 22:01:54 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--unpriv" "--chroot" "/bin/bash -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/zip.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\""
INFO: mock.py version 6.7 starting (python version = 3.9.23, NVR = mock-6.7-1.el9), args: /usr/libexec/mock/mock --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True -r fedora-rawhide-x86_64 --unpriv --chroot '/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/zip.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: 6.7
INFO: Mock Version: 6.7
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/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Start: chroot ['/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
setting SOURCE_DATE_EPOCH=1784246400
Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.NPuqsI
Creating(rpmbuild.env): /builddir/build/BUILD/zip-3.0-build/rpmbuild.env
RPM_SOURCE_DIR="/builddir/build/SOURCES"
RPM_BUILD_DIR="/builddir/build/BUILD/zip-3.0-build"
RPM_OPT_FLAGS="-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes "
RPM_ARCH="x86_64"
RPM_OS="linux"
RPM_BUILD_NCPUS="8"
RPM_SPECPARTS_DIR="/builddir/build/BUILD/zip-3.0-build/SPECPARTS"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS
RPM_DOC_DIR="/usr/share/doc"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="zip"
RPM_PACKAGE_VERSION="3.0"
RPM_PACKAGE_RELEASE="46.fc45"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
LANG=C.UTF-8
export LANG
unset CDPATH DISPLAY ||:
unset DEBUGINFOD_URLS ||:
unset RPM_CONFIG_DIR ||:
RPM_BUILD_ROOT="/builddir/build/BUILD/zip-3.0-build/BUILDROOT"
export RPM_BUILD_ROOT
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig"
export PKG_CONFIG_PATH
CONFIG_SITE=${CONFIG_SITE:-NONE}
export CONFIG_SITE
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KMd1wM
+ umask 022
+ cd /builddir/build/BUILD/zip-3.0-build
+ cd /builddir/build/BUILD/zip-3.0-build
+ rm -rf zip30
+ /usr/bin/rpmuncompress -x /builddir/build/SOURCES/zip30.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd zip30
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #1 (zip-3.0-exec-shield.patch):
+ echo 'Patch #1 (zip-3.0-exec-shield.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .exec-shield --fuzz=0
patching file crc_i386.S
patching file match.S
Patch #2 (zip-3.0-currdir.patch):
+ echo 'Patch #2 (zip-3.0-currdir.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .currdir --fuzz=0
patching file util.c
Patch #3 (zip-3.0-time.patch):
+ echo 'Patch #3 (zip-3.0-time.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .time --fuzz=0
patching file unix/Makefile
Hunk #1 succeeded at 29 (offset 5 lines).
Patch #4 (man.patch):
+ echo 'Patch #4 (man.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .man --fuzz=0
patching file man/zipsplit.1
patching file man/zipnote.1
Patch #5 (zip-3.0-format-security.patch):
+ echo 'Patch #5 (zip-3.0-format-security.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .format-security --fuzz=0
patching file zip.c
Patch #6 (zipnote.patch):
+ echo 'Patch #6 (zipnote.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .zipnote --fuzz=0
patching file zipnote.c
Patch #7 (zip-gnu89-build.patch):
+ echo 'Patch #7 (zip-gnu89-build.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gnu89-build --fuzz=0
patching file unix/Makefile
Patch #8 (buffer_overflow.patch):
+ echo 'Patch #8 (buffer_overflow.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file fileio.c
Patch #9 (zip-3.0-man-strip-extra.patch):
+ echo 'Patch #9 (zip-3.0-man-strip-extra.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file man/zip.1
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Finish: run
>>> 2026-08-03 22:01:55 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "chmod -R +r /builddir/build"
>>> 2026-08-03 22:01:56 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--unpriv" "--chroot" "/bin/bash -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/zip.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.7 starting (python version = 3.9.23, NVR = mock-6.7-1.el9), args: /usr/libexec/mock/mock --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True -r fedora-rawhide-x86_64 --unpriv --chroot '/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/zip.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.7
INFO: Mock Version: 6.7
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/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1784246400
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9URyi1
+ umask 022
+ cd /builddir/build/BUILD/zip-3.0-build
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 zip30
+ /usr/bin/make -O -j8 V=1 VERBOSE=1 -f unix/Makefile prefix=/usr 'CFLAGS_NOOPT=-I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' generic_gcc
/usr/bin/make -f unix/Makefile generic CC="gcc -std=gnu89" CPP="gcc -E"
make[1]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
sh unix/configure "gcc -std=gnu89" "-I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" ""
Check C compiler type (optimization options)
GNU C (-O3)
Check bzip2 support
Check for bzip2 in bzip2 directory
Check if OS already has bzip2 library installed
-- OS supports bzip2 - linking in bzip2
Check for the C preprocessor
Check if we can use asm code
Check for ANSI options
Check for prototypes
Check the handling of const
Check for time_t
Check for size_t
Check for off_t
Check size of UIDs and GIDs
(Now zip stores variable size UIDs/GIDs using a new extra field. This
tests if this OS uses 16-bit UIDs/GIDs and so if the old 16-bit storage
should also be used for backward compatibility.)
s.st_uid is 4 bytes
s.st_gid is 4 bytes
-- UID not 2 bytes - disabling old 16-bit UID/GID support
Check for Large File Support
off_t is 8 bytes
-- yes we have Large File Support!
Check for wide char support
-- have wchar_t - enabling Unicode support
Check for gcc no-builtin flag
Check for rmdir
Check for strchr
Check for strrchr
Check for rename
Check for mktemp
Check for mktime
Check for mkstemp
Check for memset
Check for memmove
Check for strerror
Check for errno declaration
Check for directory libraries
Check for readlink
Check for directory include file
Check for nonexistent include files
Check for term I/O include file
Check for valloc
Check for /usr/local/bin and /usr/local/man
Check for OS-specific flags
Check for symbolic links
make[1]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
eval /usr/bin/make -f unix/Makefile zips `cat flags`
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H globals.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crypt.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H crc32.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zbz2err.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H deflate.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H util.c
/builddir/build/BUILD/zip-3.0-build/zip30/util.c:837: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: bufptr <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/util.c:848: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: argv++ <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/util.c:848: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipup.c
/builddir/build/BUILD/zip-3.0-build/zip30/zipup.c: In function ‘zipup’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipup.c:610: error: memleak(CWE-401): Memory leak: tempextra <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipup.c:403:17: warning: variable ‘p’ set but not used [-Wunused-but-set-variable=] <--[gcc]
403 | zoff_t o = 0, p; /* offsets in zip file */
| ^
/builddir/build/BUILD/zip-3.0-build/zip30/zipup.c: In function ‘bz_compress_init’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipup.c:1674:17: warning: variable ‘bzlibVer’ set but not used [-Wunused-but-set-variable=] <--[gcc]
1674 | const char *bzlibVer;
| ^~~~~~~~
In file included from /builddir/build/BUILD/zip-3.0-build/zip30/zipup.c:109: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipup.c: In function ‘file_read’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/unix/zipup.h:21:22: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
21 | #define zread(f,b,n) read(f,b,n)
| ^~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipup.c:1264:10: note: in expansion of macro ‘zread’ <--[gcc]
1264 | zread(ifile, buf, 1); len = 1; /* keep single \r if EOF */
| ^~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipup.c:610: error: memleak(CWE-401): Memory leak: tempcextra <--[cppcheck]
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H ttyio.c
/builddir/build/BUILD/zip-3.0-build/zip30/ttyio.c: In function ‘getp’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/ttyio.c:628:13: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
628 | read(f, &c, 1);
| ^~~~~~~~~~~~~~
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c
/builddir/build/BUILD/zip-3.0-build/zip30/unix/unix.c:378: error: doubleFree(CWE-415): Memory pointed to by 'name' is freed twice. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/unix/unix.c:470: error: memleak(CWE-401): Memory leak: extra <--[cppcheck]
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o util_.o util.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o unix_.o unix/unix.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crc32_.o crc32.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipcloak.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H trees.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o crypt_.o crypt.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipnote.c
/builddir/build/BUILD/zip-3.0-build/zip30/zipnote.c:598: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: zcomment <--[cppcheck]
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipsplit.c
/builddir/build/BUILD/zip-3.0-build/zip30/zipsplit.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipsplit.c:905: error: useClosedFile(CWE-910): Used file that is not opened. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipsplit.c:884:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
884 | fgets(m, 10, stdin);
| ^~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipsplit.c: In function ‘retry’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipsplit.c:496:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
496 | fgets(m, 10, stdin);
| ^~~~~~~~~~~~~~~~~~~
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o fileio_.o fileio.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘wide_to_local_string’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:3281:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable=] <--[gcc]
3281 | int state_dependent;
| ^~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘ask_for_split_read_path’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:2120:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
2120 | fgets(buf, SPLIT_MAXPATH, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:2143:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
2143 | fgets(buf, SPLIT_MAXPATH, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘ask_for_split_write_path’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:2324:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
2324 | fgets(buf, FNMAX, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: At top level: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:3727:24: warning: ‘no_arg_files_err’ defined but not used [-Wunused-const-variable=] <--[gcc]
3727 | static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n";
| ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘ucs4_string_to_utf8.part.0’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:3018:7: warning: ‘strncpy’ output may be truncated copying between 0 and 1 bytes from a string of length 5 [-Wstringop-truncation] <--[gcc]
3018 | strncpy(utf8buf + count, mb, c);
| ^
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘wide_to_local_string’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:3318:9: warning: ‘__strncat_chk’ output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] <--[gcc]
3318 | strncat(buffer, buf, b);
| ^
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H fileio.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘wide_to_local_string’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:3281:7: warning: variable ‘state_dependent’ set but not used [-Wunused-but-set-variable=] <--[gcc]
3281 | int state_dependent;
| ^~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘ask_for_split_read_path’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:2120:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
2120 | fgets(buf, SPLIT_MAXPATH, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:2143:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
2143 | fgets(buf, SPLIT_MAXPATH, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘ask_for_split_write_path’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:2324:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
2324 | fgets(buf, FNMAX, stdin);
| ^~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: At top level: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:3727:24: warning: ‘no_arg_files_err’ defined but not used [-Wunused-const-variable=] <--[gcc]
3727 | static ZCONST char Far no_arg_files_err[] = "argument files not enabled\n";
| ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘ucs4_string_to_utf8.part.0’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:3018:7: warning: ‘strncpy’ output may be truncated copying between 0 and 1 bytes from a string of length 5 [-Wstringop-truncation] <--[gcc]
3018 | strncpy(utf8buf + count, mb, c);
| ^
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c: In function ‘wide_to_local_string’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/fileio.c:3318:9: warning: ‘__strncat_chk’ output may be truncated copying 1 byte from a string of length 8 [-Wstringop-truncation] <--[gcc]
3318 | strncat(buffer, buf, b);
| ^
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zip.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
In file included from /usr/include/string.h:580, <--[gcc]
from /builddir/build/BUILD/zip-3.0-build/zip30/tailor.h:238, <--[gcc]
from /builddir/build/BUILD/zip-3.0-build/zip30/zip.h:88, <--[gcc]
from /builddir/build/BUILD/zip-3.0-build/zip30/zip.c:16: <--[gcc]
In function ‘strcat’,
inlined from ‘check_zipfile.isra.0’ at zip.c:1466:7:
/usr/include/bits/string_fortified.h:152:10: warning: ‘__memcpy_chk’ writing 2 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=] <--[gcc]
152 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H -DUTIL -o zipfile_.o zipfile.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘ffile_size’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1696:10: warning: variable ‘siz’ set but not used [-Wunused-but-set-variable=] <--[gcc]
1696 | size_t siz;
| ^~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘scanzipf_regnew’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:4030:11: warning: variable ‘version_made’ set but not used [-Wunused-but-set-variable=] <--[gcc]
4030 | ush version_made;
| ^~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:4029:11: warning: variable ‘z64eocdr_size’ set but not used [-Wunused-but-set-variable=] <--[gcc]
4029 | uzoff_t z64eocdr_size;
| ^~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘putend’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:5826:7: warning: variable ‘iNeedZip64’ set but not used [-Wunused-but-set-variable=] <--[gcc]
5826 | int iNeedZip64 = 0;
| ^~~~~~~~~~
In function ‘scanzipf_regnew’,
inlined from ‘readzipfile’ at zipfile.c:5233:14:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:5057:10: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
5057 | *x = z;
| ~~~^~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘readzipfile’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:4049:27: note: ‘x’ was declared here <--[gcc]
4049 | struct zlist far * far *x; /* pointer last entry's link */
| ^
In function ‘write_ushort_to_mem’,
inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3,
inlined from ‘putlocal’ at zipfile.c:5441:3:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc]
465 | *pPtr++ = ((char)(usValue) & 0xff);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putlocal’:
cc1: note: destination object is likely at address zero
In function ‘write_ushort_to_mem’,
inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3,
inlined from ‘putlocal’ at zipfile.c:5441:3:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc]
466 | *pPtr = ((char)(usValue >> 8) & 0xff);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putlocal’:
cc1: note: destination object is likely at address zero
In function ‘write_ushort_to_mem’,
inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3,
inlined from ‘putcentral’ at zipfile.c:5711:3:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc]
465 | *pPtr++ = ((char)(usValue) & 0xff);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putcentral’:
cc1: note: destination object is likely at address zero
In function ‘write_ushort_to_mem’,
inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3,
inlined from ‘putcentral’ at zipfile.c:5711:3:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc]
466 | *pPtr = ((char)(usValue >> 8) & 0xff);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putcentral’:
cc1: note: destination object is likely at address zero
In function ‘write_ushort_to_mem’,
inlined from ‘write_ulong_to_mem’ at zipfile.c:473:3,
inlined from ‘write_int64_to_mem’ at zipfile.c:484:3,
inlined from ‘append_int64_to_mem’ at zipfile.c:629:3,
inlined from ‘putend’ at zipfile.c:5862:5:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465:11: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] <--[gcc]
465 | *pPtr++ = ((char)(usValue) & 0xff);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putend’:
cc1: note: destination object is likely at address zero
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pPtr++ <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1359: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pZ64Extra <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1387: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pTemp <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1459: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pUExtra <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1487: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pTemp <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1591: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pUExtra <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1619: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pTemp <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1389: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1403: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1404: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1405: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1489: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1537: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1539: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1541: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1543: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1621: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1672: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1674: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1676: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1678: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -o zipsplit zipsplit.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -o zipnote zipnote.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o -lbz2
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -o zipcloak zipcloak.o zipfile_.o fileio_.o util_.o globals.o unix_.o crc32_.o crypt_.o ttyio.o -lbz2
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -c -I. -DUNIX -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DBZIP2_SUPPORT -DUIDGID_NOT_16BIT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DHAVE_DIRENT_H -DHAVE_TERMIOS_H zipfile.c
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘ffile_size’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1696:10: warning: variable ‘siz’ set but not used [-Wunused-but-set-variable=] <--[gcc]
1696 | size_t siz;
| ^~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘readlocal’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:2168:11: warning: variable ‘start_offset’ set but not used [-Wunused-but-set-variable=] <--[gcc]
2168 | uzoff_t start_offset = 0;
| ^~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘scanzipf_fixnew’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:3225:11: warning: variable ‘in_cd_start_offset’ set but not used [-Wunused-but-set-variable=] <--[gcc]
3225 | uzoff_t in_cd_start_offset; /* offset of start of cd on cd start disk */
| ^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:3223:11: warning: variable ‘cd_total_entries’ set but not used [-Wunused-but-set-variable=] <--[gcc]
3223 | uzoff_t cd_total_entries = 0; /* number of entries according to EOCDR */
| ^~~~~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘scanzipf_regnew’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:4030:11: warning: variable ‘version_made’ set but not used [-Wunused-but-set-variable=] <--[gcc]
4030 | ush version_made;
| ^~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:4029:11: warning: variable ‘z64eocdr_size’ set but not used [-Wunused-but-set-variable=] <--[gcc]
4029 | uzoff_t z64eocdr_size;
| ^~~~~~~~~~~~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘putend’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:5826:7: warning: variable ‘iNeedZip64’ set but not used [-Wunused-but-set-variable=] <--[gcc]
5826 | int iNeedZip64 = 0;
| ^~~~~~~~~~
In function ‘write_ushort_to_mem’,
inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3,
inlined from ‘putlocal’ at zipfile.c:5441:3:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc]
465 | *pPtr++ = ((char)(usValue) & 0xff);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putlocal’:
cc1: note: destination object is likely at address zero
In function ‘write_ushort_to_mem’,
inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3,
inlined from ‘putlocal’ at zipfile.c:5441:3:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc]
466 | *pPtr = ((char)(usValue >> 8) & 0xff);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putlocal’:
cc1: note: destination object is likely at address zero
In function ‘write_ushort_to_mem’,
inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3,
inlined from ‘putcentral’ at zipfile.c:5711:3:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465:11: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc]
465 | *pPtr++ = ((char)(usValue) & 0xff);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putcentral’:
cc1: note: destination object is likely at address zero
In function ‘write_ushort_to_mem’,
inlined from ‘append_ushort_to_mem’ at zipfile.c:575:3,
inlined from ‘putcentral’ at zipfile.c:5711:3:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:466:9: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] <--[gcc]
466 | *pPtr = ((char)(usValue >> 8) & 0xff);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putcentral’:
cc1: note: destination object is likely at address zero
In function ‘write_ushort_to_mem’,
inlined from ‘write_ulong_to_mem’ at zipfile.c:473:3,
inlined from ‘write_int64_to_mem’ at zipfile.c:484:3,
inlined from ‘append_int64_to_mem’ at zipfile.c:629:3,
inlined from ‘putend’ at zipfile.c:5862:5:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465:11: warning: writing 4 bytes into a region of size 0 [-Wstringop-overflow=] <--[gcc]
465 | *pPtr++ = ((char)(usValue) & 0xff);
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘putend’:
cc1: note: destination object is likely at address zero
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘scanzipf_fixnew’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:3638:14: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
3638 | *x = z;
| ~~~^~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:3217:27: note: ‘x’ was declared here <--[gcc]
3217 | struct zlist far * far *x; /* pointer last entry's link */
| ^
In function ‘scanzipf_regnew’,
inlined from ‘readzipfile’ at zipfile.c:5231:58:
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:5057:10: warning: ‘x’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
5057 | *x = z;
| ~~~^~~
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c: In function ‘readzipfile’: <--[gcc]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:4049:27: note: ‘x’ was declared here <--[gcc]
4049 | struct zlist far * far *x; /* pointer last entry's link */
| ^
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pPtr++ <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1359: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pZ64Extra <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1387: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pTemp <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1459: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pUExtra <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1487: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pTemp <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1591: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pUExtra <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1619: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: pTemp <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:465: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1389: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1403: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1404: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1405: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1489: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1537: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1539: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1541: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1543: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1621: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1672: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1674: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1676: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
/builddir/build/BUILD/zip-3.0-build/zip30/zipfile.c:1678: error: nullPointerArithmeticOutOfMemory(CWE-682): If memory allocation fails: pointer addition with NULL pointer. <--[cppcheck]
make[2]: Entering directory '/builddir/build/BUILD/zip-3.0-build/zip30'
gcc -std=gnu89 -o zip zip.o zipfile.o zipup.o fileio.o util.o globals.o crypt.o ttyio.o unix.o crc32.o zbz2err.o deflate.o trees.o -lbz2
make[2]: Leaving directory '/builddir/build/BUILD/zip-3.0-build/zip30'
In function ‘strcat’,
inlined from ‘check_zipfile.isra’ at zip.c:1466:7:
/usr/include/bits/string_fortified.h:152:10: warning: ‘__builtin___memcpy_chk’ writing 2 bytes into a region of size 1 overflows the destination [-Wstringop-overflow=] <--[gcc]
152 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest));
| ^
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
>>> 2026-08-03 22:02:19 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "rpmbuild --nocheck"
>>> 2026-08-03 22:02:20 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--unpriv" "--chroot" "/bin/bash -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/zip.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.7 starting (python version = 3.9.23, NVR = mock-6.7-1.el9), args: /usr/libexec/mock/mock --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True -r fedora-rawhide-x86_64 --unpriv --chroot '/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/zip.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.7
INFO: Mock Version: 6.7
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/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1784246400
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GA7X8L
+ umask 022
+ cd /builddir/build/BUILD/zip-3.0-build
+ '[' /builddir/build/BUILD/zip-3.0-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/zip-3.0-build/BUILDROOT
++ dirname /builddir/build/BUILD/zip-3.0-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/zip-3.0-build
+ mkdir /builddir/build/BUILD/zip-3.0-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 zip30
+ mkdir -p /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/bin
+ mkdir -p /usr/share/man/man1
+ /usr/bin/make install DESTDIR=/builddir/build/BUILD/zip-3.0-build/BUILDROOT 'INSTALL=/usr/bin/install -p' -f unix/Makefile prefix=/builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr MANDIR=/builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1
mkdir -p /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/bin
cp -p zip zipcloak zipnote zipsplit /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/bin
cd /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/bin; chmod 755 zip zipcloak zipnote zipsplit
mkdir -p /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1
cp -p man/zip.1 /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1/zip.1
chmod 644 /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1/zip.1
cp -p man/zipcloak.1 /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1/zipcloak.1
chmod 644 /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1/zipcloak.1
cp -p man/zipnote.1 /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1/zipnote.1
chmod 644 /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1/zipnote.1
cp -p man/zipsplit.1 /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1/zipsplit.1
chmod 644 /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/man/man1/zipsplit.1
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.0-46.fc45 --unique-debug-suffix -3.0-46.fc45.x86_64 --unique-debug-src-base zip-3.0-46.fc45.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/zip-3.0-build/zip30
find-debuginfo: starting
Extracting debug info from 4 files
DWARF-compressing 4 files
sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/zip-3.0-46.fc45.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
+ COMPRESS='gzip -9 -n'
+ COMPRESS_EXT=.gz
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/bin/add-det --brp -j8 /builddir/build/BUILD/zip-3.0-build/BUILDROOT
Scanned 15 directories and 38 files,
processed 4 inodes,
0 modified (0 replaced + 0 rewritten),
0 unsupported format, 0 errors
+ /usr/bin/linkdupes --brp /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr
Scanned 14 directories and 38 files,
considered 38 files, read 0 files, linked 0 files, 0 errors
sum of sizes of linked files: 0 bytes
Reading /builddir/build/BUILD/zip-3.0-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: zip-3.0-46.fc45.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.qaOUVJ
+ umask 022
+ cd /builddir/build/BUILD/zip-3.0-build
+ cd zip30
+ DOCDIR=/builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ cp -pr /builddir/build/BUILD/zip-3.0-build/zip30/README /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ cp -pr /builddir/build/BUILD/zip-3.0-build/zip30/CHANGES /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ cp -pr /builddir/build/BUILD/zip-3.0-build/zip30/TODO /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ cp -pr /builddir/build/BUILD/zip-3.0-build/zip30/WHATSNEW /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ cp -pr /builddir/build/BUILD/zip-3.0-build/zip30/WHERE /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ cp -pr /builddir/build/BUILD/zip-3.0-build/zip30/README.CR /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ cp -pr /builddir/build/BUILD/zip-3.0-build/zip30/proginfo/algorith.txt /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/doc/zip
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hGKgDR
+ umask 022
+ cd /builddir/build/BUILD/zip-3.0-build
+ cd zip30
+ LICENSEDIR=/builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/licenses/zip
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/licenses/zip
+ cp -pr /builddir/build/BUILD/zip-3.0-build/zip30/LICENSE /builddir/build/BUILD/zip-3.0-build/BUILDROOT/usr/share/licenses/zip
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: zip = 3.0-46.fc45 zip(x86-64) = 3.0-46.fc45
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH)
Processing files: zip-debugsource-3.0-46.fc45.x86_64
Provides: zip-debugsource = 3.0-46.fc45 zip-debugsource(x86-64) = 3.0-46.fc45
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: zip-debuginfo-3.0-46.fc45.x86_64
Provides: debuginfo(build-id) = 2b47da656802971f0408004ef5f1236d2e199c14 debuginfo(build-id) = 416e65fd44e435718f4eb0d4608821117f151a32 debuginfo(build-id) = 82d92b731fdcb7598a690aa6ef10a6fb29c43d21 debuginfo(build-id) = c6cac2919f3e0e84b833d6c65c20470fe5c77138 zip-debuginfo = 3.0-46.fc45 zip-debuginfo(x86-64) = 3.0-46.fc45
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: zip-debugsource(x86-64) = 3.0-46.fc45
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/zip-3.0-build/BUILDROOT
Finish: chroot ['/bin/bash -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fanalyzer-assume-nothrow:-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/zip.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run
>>> 2026-08-03 22:02:21 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*"
Looking for shell scripts... done
>>> 2026-08-03 22:02:22 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log"
>>> 2026-08-03 22:02:24 '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt' '/builddir/gcc-results'' | tar -xC '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/raw-results'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
>>> 2026-08-03 22:02:25 cat '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/uni-results/cswrap-capture.js'
>>> 2026-08-03 22:02:25 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/uni-results/clippy-capture.err
>>> 2026-08-03 22:02:25 cd /tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/uni-results/shellcheck-capture.json
>>> 2026-08-03 22:02:25 csgrep --mode=json '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/uni-results/unicontrol-capture.js'
>>> 2026-08-03 22:02:25 csgrep --mode=json --remove-duplicates --file-glob "/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/raw-results/builddir/gcc-results/*.sarif" > "/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/uni-results/gcc-results.json"
scan.ini: time-finished = 2026-08-03 22:02:25
scan.ini: exit-code = 0
>>> 2026-08-03 22:02:25 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan.ini' '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/uni-results'/* > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/scan-results-all.js'
>>> 2026-08-03 22:02:25 '/usr/bin/mock' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '-r' 'fedora-rawhide-x86_64' '--quiet' '--shell' '/usr/libexec/csgrep-static --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/scan-results-all.js' >'/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/scan-results-all.js.tmp'
>>> 2026-08-03 22:02:26 "/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--clean"
>>> 2026-08-03 22:02:27 cat '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | sed -r 's|(/builddir/build/BUILD/)[^/]+-build/|\1|' | 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' | csdiff --json-output --show-internal "/usr/share/csmock/known-false-positives.js" - | cssort --key=path > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan-results.js'
>>> 2026-08-03 22:02:27 cat '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan-results.js' - | cssort > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/suppressed-results.js'
>>> 2026-08-03 22:02:27 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/suppressed-results.js' > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/suppressed-results.err'
>>> 2026-08-03 22:02:27 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/suppressed-results.js' | cshtml - > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/suppressed-results.html'
>>> 2026-08-03 22:02:27 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/suppressed-results.js' | tee '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/debug/suppressed-results-summary.txt'
1 COMPILER_WARNING note[note]
2 COMPILER_WARNING warning[-Wmaybe-uninitialized]
6 COMPILER_WARNING warning[-Wstringop-overflow=]
2 COMPILER_WARNING warning[-Wstringop-truncation]
10 COMPILER_WARNING warning[-Wunused-but-set-variable=]
1 COMPILER_WARNING warning[-Wunused-const-variable=]
7 COMPILER_WARNING warning[-Wunused-result]
1 CPPCHECK_WARNING error[doubleFree]
3 CPPCHECK_WARNING error[memleak]
16 CPPCHECK_WARNING error[nullPointerArithmeticOutOfMemory]
1 CPPCHECK_WARNING error[useClosedFile]
10 CPPCHECK_WARNING warning[nullPointerOutOfMemory]
9 GCC_ANALYZER_WARNING warning[-Wanalyzer-double-free]
4 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak]
18 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument]
16 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference]
2 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-after-free]
5 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value]
>>> 2026-08-03 22:02:28 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan-results.js' > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan-results.err'
>>> 2026-08-03 22:02:28 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan-results.js' | cshtml - > '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan-results.html'
>>> 2026-08-03 22:02:28 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan-results.js' | tee '/tmp/csmockmj6qy6ko/zip-3.0-46.fc45/scan-results-summary.txt'
2 COMPILER_WARNING warning[-Wmaybe-uninitialized]
6 COMPILER_WARNING warning[-Wstringop-overflow=]
2 COMPILER_WARNING warning[-Wstringop-truncation]
10 COMPILER_WARNING warning[-Wunused-but-set-variable=]
1 COMPILER_WARNING warning[-Wunused-const-variable=]
7 COMPILER_WARNING warning[-Wunused-result]
1 CPPCHECK_WARNING error[doubleFree]
3 CPPCHECK_WARNING error[memleak]
16 CPPCHECK_WARNING error[nullPointerArithmeticOutOfMemory]
1 CPPCHECK_WARNING error[useClosedFile]
10 CPPCHECK_WARNING warning[nullPointerOutOfMemory]
9 GCC_ANALYZER_WARNING warning[-Wanalyzer-double-free]
4 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak]
18 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument]
16 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference]
2 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference]
1 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-after-free]
5 GCC_ANALYZER_WARNING warning[-Wanalyzer-use-of-uninitialized-value]
<<< 2026-08-03 22:02:28 csmock exit code: 0