Task #131070 - stdout.log

back to task #131070
download
COMMAND: koji -p koji download-build --noprogress --arch=src hfsplus-tools-540.1.linux3-38.fc45
-------------------------------------------------------------------------------
Downloading [1/1]: hfsplus-tools-540.1.linux3-38.fc45.src.rpm
COMMAND: su - csmock --session-command 'cd /tmp/tmpu4p3m33a && csmock -r fedora-rawhide-x86_64 -t gcc,clippy,unicontrol,shellcheck,cppcheck -o /tmp/tmpu4p3m33a/hfsplus-tools-540.1.linux3-38.fc45.tar.xz --gcc-analyze --unicontrol-notests --unicontrol-bidi-only --install pam --gcc-analyzer-bin=/usr/bin/gcc /tmp/tmpu4p3m33a/hfsplus-tools-540.1.linux3-38.fc45.src.rpm'
-------------------------------------------------------------------------------
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/tmpu4p3m33a/hfsplus-tools-540.1.linux3-38.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpu4p3m33a/hfsplus-tools-540.1.linux3-38.fc45.src.rpm'
scan.ini: host = ip-172-16-1-149.us-west-2.compute.internal
scan.ini: store-results-to = /tmp/tmpu4p3m33a/hfsplus-tools-540.1.linux3-38.fc45.tar.xz
scan.ini: time-created = 2026-08-03 15:02:02
scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol
scan.ini: mock-config = fedora-rawhide-x86_64
scan.ini: project-name = hfsplus-tools-540.1.linux3-38.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 15:02:02	rpm -qa | sort -V > '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/rpm-list-host.txt'

scan.ini: analyzer-version-unicontrol = 0.0.2
>>> 2026-08-03 15:02:03	"/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 15:02:05	"/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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784160000
Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-38.fc45.src.rpm
Updating and loading repositories:
 fedora                                 100% |   2.0 MiB/s |  24.4 KiB |  00m00s
Repositories loaded.
Package             Arch   Version               Repository      Size
Installing:
 gcc                x86_64 0:16.1.1-4.fc45.1     fedora     121.8 MiB
 libuuid-devel      x86_64 0:2.42.2-3.fc45       fedora      41.0 KiB
 make               x86_64 1:4.4.1-13.fc45       fedora       1.8 MiB
 openssl-devel      x86_64 1:4.0.1-5.fc45        fedora       4.6 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:        13 packages

Total size of inbound packages is 65 MiB. Need to download 0 B.
After this operation, 181 MiB extra will be used (install 181 MiB, remove 0 B).
[ 1/13] gcc-0:16.1.1-4.fc45.1.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 2/13] make-1:4.4.1-13.fc45.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 3/13] libuuid-devel-0:2.42.2-3.fc45.x 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 4/13] cpp-0:16.1.1-4.fc45.1.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 5/13] libmpc-0:1.4.1-2.fc45.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 6/13] openssl-devel-1:4.0.1-5.fc45.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 7/13] glibc-devel-0:2.43.9000-25.fc45 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 8/13] libxcrypt-devel-0:4.5.2-4.fc45. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[ 9/13] libatomic-0:16.1.1-4.fc45.1.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[10/13] kernel-headers-0:7.2.0-0.rc5.41 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[11/13] annobin-plugin-gcc-0:13.28-1.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[12/13] gcc-plugin-annobin-0:16.1.1-4.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
[13/13] annobin-docs-0:13.28-1.fc45.noa 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded
--------------------------------------------------------------------------------
[13/13] Total                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[ 1/15] Verify package files            100% |  47.0   B/s |  13.0   B |  00m00s
[ 2/15] Prepare transaction             100% | 213.0   B/s |  13.0   B |  00m00s
[ 3/15] Installing libmpc-0:1.4.1-2.fc4 100% |  15.1 MiB/s | 170.4 KiB |  00m00s
[ 4/15] Installing cpp-0:16.1.1-4.fc45. 100% | 239.1 MiB/s |  42.6 MiB |  00m00s
[ 5/15] Installing annobin-docs-0:13.28 100% |  14.1 MiB/s | 100.8 KiB |  00m00s
[ 6/15] Installing kernel-headers-0:7.2 100% |  97.9 MiB/s |   7.1 MiB |  00m00s
[ 7/15] Installing glibc-devel-0:2.43.9 100% |  74.7 MiB/s |   2.4 MiB |  00m00s
[ 8/15] Installing libxcrypt-devel-0:4. 100% |   6.5 MiB/s |  33.3 KiB |  00m00s
[ 9/15] Installing libatomic-0:16.1.1-4 100% |  11.4 MiB/s |  46.7 KiB |  00m00s
[10/15] Installing make-1:4.4.1-13.fc45 100% |  53.1 MiB/s |   1.8 MiB |  00m00s
[11/15] Installing gcc-0:16.1.1-4.fc45. 100% | 294.3 MiB/s | 121.8 MiB |  00m00s
[12/15] Installing annobin-plugin-gcc-0 100% |  36.5 MiB/s | 711.1 KiB |  00m00s
[13/15] Installing gcc-plugin-annobin-0 100% |   2.2 MiB/s |  58.5 KiB |  00m00s
[14/15] Installing openssl-devel-1:4.0. 100% |  25.7 MiB/s |   5.6 MiB |  00m00s
[15/15] Installing libuuid-devel-0:2.42 100% |  16.8 KiB/s |  43.9 KiB |  00m03s
Complete!
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784160000
Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-38.fc45.src.rpm
Updating and loading repositories:
 fedora                                 100% |   2.0 MiB/s |  24.4 KiB |  00m00s
Repositories loaded.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package "libuuid-devel-2.42.2-3.fc45.x86_64" is already installed.
Package "make-1:4.4.1-13.fc45.x86_64" is already installed.
Package "openssl-devel-1:4.0.1-5.fc45.x86_64" is already installed.

Nothing to do.

>>> 2026-08-03 15:02:14	"/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% | 202.0   B/s |  18.0   B |  00m00s
[ 2/20] Prepare transaction             100% | 486.0   B/s |  18.0   B |  00m00s
[ 3/20] Installing libtirpc-0:1.3.7-3.f 100% |  29.3 MiB/s | 210.4 KiB |  00m00s
[ 4/20] Installing libnsl2-0:2.0.1-6.fc 100% |   7.2 MiB/s |  58.9 KiB |  00m00s
[ 5/20] Installing tzdata-0:2026b-2.fc4 100% |  22.9 MiB/s |   1.5 MiB |  00m00s
[ 6/20] Installing python-pip-wheel-0:2 100% | 207.6 MiB/s |   1.2 MiB |  00m00s
[ 7/20] Installing mpdecimal-0:4.0.1-4. 100% |  43.5 MiB/s | 222.7 KiB |  00m00s
[ 8/20] Installing expat-0:2.8.1-2.fc45 100% |   9.6 MiB/s | 325.6 KiB |  00m00s
[ 9/20] Installing python3-libs-0:3.15. 100% | 202.2 MiB/s |  48.5 MiB |  00m00s
[10/20] Installing python3-0:3.15.0~b4- 100% |   1.2 MiB/s |  30.5 KiB |  00m00s
[11/20] Installing gdbm-1:1.23-12.fc45. 100% |  16.7 MiB/s | 460.8 KiB |  00m00s
[12/20] Installing cracklib-0:2.10.3-2. 100% |   7.5 MiB/s | 246.7 KiB |  00m00s
[13/20] Installing libpwquality-0:1.4.5 100% |  12.6 MiB/s | 425.1 KiB |  00m00s
[14/20] Installing authselect-libs-0:1. 100% |  42.1 MiB/s | 906.3 KiB |  00m00s
[15/20] Installing numactl-libs-0:2.0.1 100% |  14.1 MiB/s |  57.7 KiB |  00m00s
[16/20] Installing tinyxml2-0:11.0.0-6. 100% |  21.5 MiB/s | 110.1 KiB |  00m00s
[17/20] Installing cppcheck-0:2.21.1-2. 100% | 185.1 MiB/s |  11.1 MiB |  00m00s
[18/20] Installing ShellCheck-0:0.11.0- 100% | 319.7 MiB/s |  22.4 MiB |  00m00s
[19/20] Installing authselect-0:1.7.1-2 100% |   7.3 MiB/s | 208.0 KiB |  00m00s
[20/20] Installing pam-0:1.7.2-4.fc45.x 100% |  11.1 MiB/s |   1.7 MiB |  00m00s
Complete!

>>> 2026-08-03 15:02: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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/rpm-list-mock.txt

>>> 2026-08-03 15:02: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/csmock5mzwr0z0/rpm-list-mock-provides.txt

>>> 2026-08-03 15:02:19	"/usr/bin/mock" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "-r" "fedora-rawhide-x86_64" "--quiet" "--copyin" "/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45.src.rpm" "/builddir/hfsplus-tools-540.1.linux3-38.fc45.src.rpm"

>>> 2026-08-03 15:02:19	"/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 15:02:20	"/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/hfsplus-tools-540.1.linux3-38.fc45.src.rpm'\""
Updating / installing...
hfsplus-tools-540.1.linux3-38.fc45    ########################################

>>> 2026-08-03 15:02: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 \"rpmbuild -bs --nodeps /builddir/build/SPECS/hfsplus-tools.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/hfsplus-tools-540.1.linux3-38.fc45.src.rpm || :'\""
setting SOURCE_DATE_EPOCH=1784160000
Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-38.fc45.src.rpm
renamed 'hfsplus-tools-540.1.linux3-38.fc45.src.rpm' -> '/builddir/hfsplus-tools-540.1.linux3-38.fc45.src.rpm'

>>> 2026-08-03 15:02:22	"/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/hfsplus-tools-540.1.linux3-38.fc45.src.rpm" "/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45.src.rpm"

>>> 2026-08-03 15:02:23	"/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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1784160000
Wrote: /builddir/build/SRPMS/hfsplus-tools-540.1.linux3-38.fc45.src.rpm
Updating and loading repositories:
 fedora                                 100% |   1.8 MiB/s |  24.4 KiB |  00m00s
Repositories loaded.
Package "gcc-16.1.1-4.fc45.1.x86_64" is already installed.
Package "libuuid-devel-2.42.2-3.fc45.x86_64" is already installed.
Package "make-1:4.4.1-13.fc45.x86_64" is already installed.
Package "openssl-devel-1:4.0.1-5.fc45.x86_64" is already installed.

Nothing to do.

>>> 2026-08-03 15:02: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.0 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 15:02:28	'/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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/rpm-list-mock.txt

>>> 2026-08-03 15:02: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/csmock5mzwr0z0/rpm-list-mock-provides.txt

>>> 2026-08-03 15:02: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% |   1.8 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% | 434.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% | 325.1 MiB/s | 140.5 MiB |  00m00s
[ 7/12] Installing rust-0:1.97.1-2.fc45 100% | 280.1 MiB/s |  94.7 MiB |  00m00s
[ 8/12] Installing rust-std-static-0:1. 100% | 385.4 MiB/s | 165.3 MiB |  00m00s
[ 9/12] Installing llhttp-0:9.4.2-2.fc4 100% |  19.3 MiB/s |  98.6 KiB |  00m00s
[10/12] Installing libgit2_1.9-0:1.9.6- 100% | 107.7 MiB/s |   1.4 MiB |  00m00s
[11/12] Installing cargo-0:1.97.1-2.fc4 100% | 228.0 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 15:02: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% |   1.8 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% | 166.0   B/s |   1.0   B |  00m00s
[3/3] Installing python3-magic-0:0.4.27 100% |   2.4 MiB/s |  72.2 KiB |  00m00s
Complete!

>>> 2026-08-03 15:02: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% | 142.0   B/s |   1.0   B |  00m00s
[3/3] Installing python3-six-0:1.17.0-1 100% |   4.1 MiB/s | 120.5 KiB |  00m00s
Complete!

>>> 2026-08-03 15:02: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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/rpm-list-mock.txt

>>> 2026-08-03 15:02: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/csmock5mzwr0z0/rpm-list-mock-provides.txt

>>> 2026-08-03 15:02: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 15:02: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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.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 15:02:44	"/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 15:02: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\""

>>> 2026-08-03 15:02: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 -fanalyzer-assume-nothrow\""

>>> 2026-08-03 15:02:48	"/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 15:02:49	"/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 15:02:50	"/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 15:02: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 \"mkdir -pv '/builddir/gcc-results' && touch '/builddir/gcc-results/empty.sarif'\""
mkdir: created directory '/builddir/gcc-results'

>>> 2026-08-03 15:02:53	"/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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45.src.rpm'\""
Updating / installing...
hfsplus-tools-540.1.linux3-38.fc45    ########################################

>>> 2026-08-03 15:02:54	"/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 15:02:55	"/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
+ sed -i /usr/include/openssl/e_os2.h -e 's|\(# *if\)def DEBUG_UNUSED|\1 1|'
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 15:02: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 \"rpmbuild -bp --nodeps /builddir/build/SPECS/hfsplus-tools.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/hfsplus-tools.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/hfsplus-tools.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/hfsplus-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
setting SOURCE_DATE_EPOCH=1784160000
Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.cDBHcu
Creating(rpmbuild.env): /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/rpmbuild.env
  RPM_SOURCE_DIR="/builddir/build/SOURCES"
  RPM_BUILD_DIR="/builddir/build/BUILD/hfsplus-tools-540.1.linux3-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/hfsplus-tools-540.1.linux3-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="hfsplus-tools"
  RPM_PACKAGE_VERSION="540.1.linux3"
  RPM_PACKAGE_RELEASE="38.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/hfsplus-tools-540.1.linux3-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.jzNa36
+ umask 022
+ cd /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build
+ cd /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build
+ rm -rf diskdev_cmds-540.1.linux3
+ /usr/bin/rpmuncompress -x /builddir/build/SOURCES/diskdev_cmds-540.1.linux3.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd diskdev_cmds-540.1.linux3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (hfsplus-tools-no-blocks.patch):'
Patch #0 (hfsplus-tools-no-blocks.patch):
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file fsck_hfs.tproj/dfalib/SControl.c
patching file fsck_hfs.tproj/fsck_messages.c
patching file fsck_hfs.tproj/fsck_messages.h
patching file fsck_hfs.tproj/Makefile.lnx
patching file Makefile
Patch #1 (hfsplus-tools-learn-to-stdarg.patch):
+ echo 'Patch #1 (hfsplus-tools-learn-to-stdarg.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file fsck_hfs.tproj/utilities.c
Patch #2 (hfsplus-tools-sysctl.patch):
+ echo 'Patch #2 (hfsplus-tools-sysctl.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file fsck_hfs.tproj/dfalib/Scavenger.h
patching file fsck_hfs.tproj/fsck_hfs.c
patching file fsck_hfs.tproj/utilities.c
patching file newfs_hfs.tproj/makehfs.c
+ find . -type f -name '*.[ch]' -exec chmod -c -x '{}' +
mode of './fsck_hfs.tproj/dfalib/HardLinkCheck.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './fsck_hfs.tproj/dfalib/hfs_endian.h' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './fsck_hfs.tproj/dfalib/hfs_endian.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './fsck_hfs.tproj/dfalib/BTreeScanner.h' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './fsck_hfs.tproj/dfalib/BTreeScanner.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
mode of './fsck_hfs.tproj/dfalib/SRebuildBTree.c' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--)
+ cp /builddir/build/SOURCES/apsl-2.0.txt .
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/bash -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/hfsplus-tools.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Finish: run

>>> 2026-08-03 15:02:57	"/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 15:02:58	"/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/hfsplus-tools.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/hfsplus-tools.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/hfsplus-tools.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/hfsplus-tools.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=1784160000
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PSUZqB
+ umask 022
+ cd /builddir/build/BUILD/hfsplus-tools-540.1.linux3-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 diskdev_cmds-540.1.linux3
+ export 'CFLAGS=-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'
+ CFLAGS='-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'
+ make -j8 -f Makefile
for d in newfs_hfs.tproj fsck_hfs.tproj; do make -C $d -f Makefile.lnx all; done
make[1]: Entering directory '/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o hfs_endian.o hfs_endian.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o makehfs.o makehfs.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o newfs_hfs.o newfs_hfs.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/newfs_hfs.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/newfs_hfs.c:175:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
  175 | main(argc, argv)
      | ^~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/newfs_hfs.c:205:69: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] <--[gcc]
  205 |                                         printf("%s: journal size %lldk too small.  Reset to %dk.\n",
      |                                                                  ~~~^
      |                                                                     |
      |                                                                     long long int
      |                                                                  %ld
  206 |                                                 progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024);
      |                                                           ~~~~~~~~~~~~~~~~~
      |                                                                       |
      |                                                                       uint64_t {aka long unsigned int}
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/newfs_hfs.c: In function ‘hfsplus_params’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/newfs_hfs.c:906:69: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] <--[gcc]
  906 |                                         printf("%s: journal size %lldk too small.  Reset to %dk.\n",
      |                                                                  ~~~^
      |                                                                     |
      |                                                                     long long int
      |                                                                  %ld
  907 |                                                    progname, gJournalSize/1024, JOURNAL_DEFAULT_SIZE/1024);
      |                                                              ~~~~~~~~~~~~~~~~~
      |                                                                          |
      |                                                                          uint64_t {aka long unsigned int}
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/newfs_hfs.c:1057:36: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] <--[gcc]
 1057 |                         printf("%llu sectors (%u bytes per sector)\n", dip->physTotalSectors, dip->physSectorSize);
      |                                 ~~~^                                   ~~~~~~~~~~~~~~~~~~~~~
      |                                    |                                      |
      |                                    long long unsigned int                 uint64_t {aka long unsigned int}
      |                                 %lu
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c: In function ‘make_hfsplus’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:219:33: warning: variable ‘sectorsPerNode’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  219 |         UInt32                  sectorsPerNode;
      |                                 ^~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c: In function ‘WriteBuffer’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:1383:41: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘off_t’ {aka ‘long int’} [-Wformat=] <--[gcc]
 1383 |                 err(1, "read (sector %llu)", physSector);
      |                                      ~~~^    ~~~~~~~~~~
      |                                         |    |
      |                                         |    off_t {aka long int}
      |                                         long long unsigned int
      |                                      %lu
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:1386:42: warning: format ‘%llu’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘off_t’ {aka ‘long int’} [-Wformat=] <--[gcc]
 1386 |                 err(1, "write (sector %llu)", physSector);
      |                                       ~~~^    ~~~~~~~~~~
      |                                          |    |
      |                                          |    off_t {aka long int}
      |                                          long long unsigned int
      |                                       %lu
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c: In function ‘GenerateVolumeUUID’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:1596:17: warning: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] <--[gcc]
 1596 |                 SHA1_Init(&context);
      |                 ^~~~~~~~~
In file included from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:79: <--[gcc]
/usr/include/openssl/sha.h:49:27: note: declared here <--[gcc]
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:1602:17: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] <--[gcc]
 1602 |                 SHA1_Update(&context, &uptime, sizeof(uptime));
      |                 ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here <--[gcc]
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:1647:17: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] <--[gcc]
 1647 |                 SHA1_Update(&context, &sysloadavg, datalen);
      |                 ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here <--[gcc]
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:1660:17: warning: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] <--[gcc]
 1660 |                 SHA1_Update(&context, randomInputBuffer, 26);
      |                 ^~~~~~~~~~~
/usr/include/openssl/sha.h:50:27: note: declared here <--[gcc]
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:1663:17: warning: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] <--[gcc]
 1663 |                 SHA1_Final(digest, &context);
      |                 ^~~~~~~~~~
/usr/include/openssl/sha.h:51:27: note: declared here <--[gcc]
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj/makehfs.c:1659:17: warning: ‘strncpy’ specified bound 26 equals destination size [-Wstringop-truncation] <--[gcc]
 1659 |                 strncpy(randomInputBuffer, asctime(gmtime(&now)), 26);  /* "Mon Mar 27 13:46:26 2000" */
      |                 ^
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -Wl,--build-id -o newfs_hfs hfs_endian.o makehfs.o newfs_hfs.o -lcrypto
make[1]: Leaving directory '/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/newfs_hfs.tproj'
make[1]: Entering directory '/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o fsck_hfs.o fsck_hfs.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o utilities.o utilities.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o cache.o cache.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o fsck_messages.o fsck_messages.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o fsck_debug.o fsck_debug.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o fsck_hfs_strings.o fsck_hfs_strings.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o fsck_strings.o fsck_strings.c
make -C dfalib -f Makefile.lnx libdfa.a
make[2]: Entering directory '/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o hfs_endian.o hfs_endian.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c: In function ‘ckfini’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:115:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
  115 | ckfini(markclean)
      | ^~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c: In function ‘catch’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:259:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
  259 | catch(sig)
      | ^~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c: In function ‘main’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c: In function ‘fsckAskPrompt’: <--[gcc]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o BlockCache.o BlockCache.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o BTree.o BTree.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o BTreeAllocate.o BTreeAllocate.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:453: warning: nullPointer(CWE-476): Possible null pointer dereference: fname <--[cppcheck]
In file included from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/missing.h:5, <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c:127: error: va_end_missing(CWE-664): va_list 'ap' was opened but not closed by va_end(). <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c: In function ‘rawname’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:225:15: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] <--[gcc]
  225 |         (void)strncpy(rawbuf, name, sizeof(rawbuf));
      |               ^
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:232:15: warning: ‘__strncat_chk’ specified bound 32 equals destination size [-Wstringop-truncation] <--[gcc]
  232 |         (void)strncat(rawbuf, &dp[1], sizeof(rawbuf));
      |               ^
In file included from /usr/include/string.h:580, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:70: <--[gcc]
In function ‘strncat’,
    inlined from ‘rawname’ at utilities.c:232:8:
/usr/include/bits/string_fortified.h:161:10: warning: ‘__strncat_chk’ specified bound 32 equals destination size [-Wstringop-overflow=] <--[gcc]
  161 |   return __builtin___strncat_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  162 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/cache.c:1188: warning: nullPointerOutOfMemory(CWE-476): If memory allocation fails, then there is a possible null pointer dereference: temp <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:701: error: va_start_subsequentCalls(CWE-664): va_start() or va_copy() called subsequently on 'ap' without va_end() in between. <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:750: error: va_start_subsequentCalls(CWE-664): va_start() or va_copy() called subsequently on 'ap' without va_end() in between. <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:774: error: va_start_subsequentCalls(CWE-664): va_start() or va_copy() called subsequently on 'ap' without va_end() in between. <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:789: error: va_list_usedBeforeStarted(CWE-664): va_list 'ap_stdout' used before va_start() was called. <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:790: error: va_list_usedBeforeStarted(CWE-664): va_list 'ap_stdout' used before va_start() was called. <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/utilities.c:811: error: va_start_subsequentCalls(CWE-664): va_start() or va_copy() called subsequently on 'ap' without va_end() in between. <--[cppcheck]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:32, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/hfs_endian.c:38: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/hfs_endian.c: In function ‘hfs_swap_HFSBTInternalNode’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/hfs_endian.c:1062:92: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] <--[gcc]
 1062 |                     srcRec->dataExtents[j].startBlock   = SWAP_BE16 (srcRec->dataExtents[j].startBlock);
      |                                                                      ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/hfs_endian.c:1061:31: note: within this loop <--[gcc]
 1061 |                 for (j = 0; j < kHFSExtentDensity * 2; j++) {
      |                             ~~^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c:918: error: va_end_missing(CWE-664): va_list 'ap' was opened but not closed by va_end(). <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c:112:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
  112 | main(argc, argv)
      | ^~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c: In function ‘mountpoint’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c:318:13: warning: unused variable ‘i’ [-Wunused-variable] <--[gcc]
  318 |         int i;
      |             ^
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c:317:13: warning: unused variable ‘result’ [-Wunused-variable] <--[gcc]
  317 |         int result;
      |             ^~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c:315:24: warning: unused variable ‘fsinfo’ [-Wunused-variable] <--[gcc]
  315 |         struct statfs *fsinfo;
      |                        ^~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c: In function ‘checkfilesys’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c:358:13: warning: variable ‘flags’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  358 |         int flags;
      |             ^~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c: In function ‘setup’: <--[gcc]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o BTreeMiscOps.o BTreeMiscOps.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c:722:21: warning: unused variable ‘rv’ [-Wunused-variable] <--[gcc]
  722 |                 int rv;
      |                     ^~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_hfs.c:721:24: warning: unused variable ‘dsize’ [-Wunused-variable] <--[gcc]
  721 |                 size_t dsize = sizeof(memSize);
      |                        ^~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c:522:34: warning: the comparison will always evaluate as ‘false’ for the address of ‘resp’ will never be NULL [-Waddress] <--[gcc]
  522 |                         if (resp == NULL || len == 0) {
      |                                  ^~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c:509:30: note: ‘resp’ declared here <--[gcc]
  509 |                         char resp[80];
      |                              ^~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c:517:25: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
  517 |                         fgets (resp, 80, stdin);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c: In function ‘fsckPrintToString’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c:719:9: warning: ignoring return value of ‘vasprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
  719 |         vasprintf(&tmpstr, m->msg, ap);
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/fsck_messages.c:721:17: warning: ignoring return value of ‘asprintf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc]
  721 |                 asprintf(&retval, "%s%s\n", astr, tmpstr);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o BTreeNodeOps.o BTreeNodeOps.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o BTreeScanner.o BTreeScanner.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o BTreeTreeOps.o BTreeTreeOps.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeMiscOps.c: In function ‘TrySimpleReplace’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeMiscOps.c:498:41: warning: variable ‘didItFit’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  498 |         Boolean                         didItFit;
      |                                         ^~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.c: In function ‘InsertLevel’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.c:487: error: autoVariables(CWE-562): Address of local auto-variable assigned to a function parameter. <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.c:441:34: warning: pointer targets in passing argument 1 of ‘DebugStr’ differ in signedness [-Wpointer-sign] <--[gcc]
  441 |                         DebugStr("InsertLevel: New root from primary key, update from secondary key...");
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  char *
In file included from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTree.h:36, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreePrivate.h:38, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.c:35: <--[gcc]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o CatalogCheck.o CatalogCheck.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:139:27: note: expected ‘ConstStr255Param’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ <--[gcc]
  139 | DebugStr(ConstStr255Param debuggerMsg);
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.c: In function ‘InsertNode’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.c:567:42: warning: variable ‘rightNodeNum’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  567 |         UInt32                           rightNodeNum;
      |                                          ^~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.c: In function ‘AddNewRootNode’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.c:1245:41: warning: variable ‘didItFit’ set but not used [-Wunused-but-set-variable=] <--[gcc]
 1245 |         Boolean                         didItFit;
      |                                         ^~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o HardLinkCheck.o HardLinkCheck.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SBTree.o SBTree.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/CatalogCheck.c: In function ‘UniqueDotName’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTreeTreeOps.cgcc -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 -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SControl.o SControl.c
:522: error: invalidLifetime(CWE-562): Using pointer to local variable 'insertKey' that is out of scope. <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/CatalogCheck.c:1486:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] <--[gcc]
 1486 |     else
      |     ^~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/CatalogCheck.c:1489:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ <--[gcc]
 1489 |         nameLen = strlen((char *) myPtr );
      |         ^~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/CatalogCheck.c: In function ‘RecordTruncation’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/CatalogCheck.c:1696:32: warning: format ‘%qd’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] <--[gcc]
 1696 |         sprintf(oldSizeStr, "%qd", oldSize);
      |                              ~~^   ~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long unsigned int}
      |                                long long int
      |                              %ld
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/CatalogCheck.c:1697:32: warning: format ‘%qd’ expects argument of type ‘long long int’, but argument 3 has type ‘uint64_t’ {aka ‘long unsigned int’} [-Wformat=] <--[gcc]
 1697 |         sprintf(newSizeStr, "%qd", newSize);
      |                              ~~^   ~~~~~~~
      |                                |   |
      |                                |   uint64_t {aka long unsigned int}
      |                                long long int
      |                              %ld
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SVerify1.o SVerify1.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c: In function ‘SearchBTreeRecord’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/HardLinkCheck.c: In function ‘RepairHardLinkChains’: <--[gcc]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SVerify2.o SVerify2.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SRepair.o SRepair.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c: In function ‘CheckHFS’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SVerify1.c: In function ‘RecordBadExtent’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SVerify2.c: In function ‘CompareVolumeHeader’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRepair.c: In function ‘RepairReservedBTreeFields’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/CatalogCheck.c:360: error: leakReturnValNotUsed(CWE-771): Return value of allocation function 'calloc' is not stored. <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/HardLinkCheck.c:557:16: warning: variable ‘folderID’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  557 |         UInt32 folderID;
      |                ^~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/HardLinkCheck.c: In function ‘CheckHardLinks’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/HardLinkCheck.c:901:16: warning: variable ‘prefixlen’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  901 |         size_t prefixlen;
      |                ^~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/HardLinkCheck.c: In function ‘hash_search’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/HardLinkCheck.c:1303:13: warning: variable ‘p’ set but not used [-Wunused-but-set-variable=] <--[gcc]
 1303 |         int p = 1;
      |             ^
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SVerify2.c:1400:33: warning: variable ‘goodValue’ set but not used [-Wunused-but-set-variable=] <--[gcc]
 1400 |         UInt32                  goodValue, badValue;
      |                                 ^~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRepair.c:3433:54: warning: taking address of packed member of ‘struct HFSCatalogThread’ may result in an unaligned pointer value [-Waddress-of-packed-member] <--[gcc]
 3433 |                                 reserved = (UInt32*) &(record.hfsThread.reserved);
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRepair.c: In function ‘SearchExtentInVH’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRepair.c:4730:83: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] <--[gcc]
 4730 |                                                                                 (*(HFSPlusExtentRecord *)fcb->fcbExtents16),
      |                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRepair.c: In function ‘SearchExtentInCatalogBT’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRepair.c:4851:83: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] <--[gcc]
 4851 |                                                                                 (*(HFSPlusExtentRecord *)catRecord->hfsFile.dataExtents),
      |                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRepair.c:4857:83: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] <--[gcc]
 4857 |                                                                                 (*(HFSPlusExtentRecord *)catRecord->hfsFile.rsrcExtents),
      |                                                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
In file included from /usr/include/stdio.h:974, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:36, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/Scavenger.h:30, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRepair.c:34: <--[gcc]
In function ‘snprintf’,
    inlined from ‘FixBadLinkChainFirst’ at SRepair.c:873:9:
/usr/include/bits/stdio2.h:68:10: warning: ‘__snprintf_chk’ specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] <--[gcc]
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o dirhardlink.o dirhardlink.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c:105:34: warning: pointer targets in passing argument 1 of ‘DebugStr’ differ in signedness [-Wpointer-sign] <--[gcc]
  105 |                         DebugStr("SearchBTreeRecord: bad record?");
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  char *
In file included from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTree.h:36, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c:35: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:139:27: note: expected ‘ConstStr255Param’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ <--[gcc]
  139 | DebugStr(ConstStr255Param debuggerMsg);
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c: In function ‘GetBTreeRecord’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c:213:34: warning: pointer targets in passing argument 1 of ‘DebugStr’ differ in signedness [-Wpointer-sign] <--[gcc]
  213 |                         DebugStr("GetBTreeRecord: bad record?");
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  char *
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:139:27: note: expected ‘ConstStr255Param’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ <--[gcc]
  139 | DebugStr(ConstStr255Param debuggerMsg);
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c: In function ‘InsertBTreeRecord’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c:245:26: warning: pointer targets in passing argument 1 of ‘DebugStr’ differ in signedness [-Wpointer-sign] <--[gcc]
  245 |                 DebugStr("InsertBTreeRecord: bad record?");
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          char *
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:139:27: note: expected ‘ConstStr255Param’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ <--[gcc]
  139 | DebugStr(ConstStr255Param debuggerMsg);
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c: In function ‘ReplaceBTreeRecord’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c:307:26: warning: pointer targets in passing argument 1 of ‘DebugStr’ differ in signedness [-Wpointer-sign] <--[gcc]
  307 |                 DebugStr("ReplaceBTreeRecord: bad record?");
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                          |
      |                          char *
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:139:27: note: expected ‘ConstStr255Param’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ <--[gcc]
  139 | DebugStr(ConstStr255Param debuggerMsg);
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c: In function ‘SetEndOfForkProc’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c:346:34: warning: pointer targets in passing argument 1 of ‘DebugStr’ differ in signedness [-Wpointer-sign] <--[gcc]
  346 |                         DebugStr("SetEndOfForkProc: minEOF is smaller than current size!");
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  char *
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:139:27: note: expected ‘ConstStr255Param’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ <--[gcc]
  139 | DebugStr(ConstStr255Param debuggerMsg);
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c: In function ‘CheckBTreeKey’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SBTree.c:444:34: warning: pointer targets in passing argument 1 of ‘DebugStr’ differ in signedness [-Wpointer-sign] <--[gcc]
  444 |                         DebugStr("CheckBTreeKey: bad key length!");
      |                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  char *
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:139:27: note: expected ‘ConstStr255Param’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ <--[gcc]
  139 | DebugStr(ConstStr255Param debuggerMsg);
      |          ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SRebuildBTree.o SRebuildBTree.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SUtils.o SUtils.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c:329:81: warning: comparison between pointer and integer <--[gcc]
  329 |         if (strncpy(dataArea.deviceNode, rdevnode, sizeof(dataArea.deviceNode)) != strlen(rdevnode)) {
      |                                                                                 ^~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c: In function ‘ScavSetUp’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c:1094:16: warning: variable ‘err’ set but not used [-Wunused-but-set-variable=] <--[gcc]
 1094 |         OSErr  err;
      |                ^~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c: In function ‘ScavTerm’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SControl.c:1338:33: warning: variable ‘err’ set but not used [-Wunused-but-set-variable=] <--[gcc]
 1338 |         OSErr                   err;
      |                                 ^~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SVerify1.cgcc -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 -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SKeyCompare.o SKeyCompare.c
:3543:17: warning: variable ‘isHFSPlus’ set but not used [-Wunused-but-set-variable=] <--[gcc]
 3543 |         Boolean isHFSPlus;
      |                 ^~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SVerify1.c: In function ‘IsJournalEmpty’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SVerify1.c:343:33: warning: ‘bsize’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc]
  343 |                         uint8_t block[bsize];
      |                                 ^~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SVerify1.c:334:16: note: ‘bsize’ was declared here <--[gcc]
  334 |         UInt32 bsize;
      |                ^~~~~
In file included from /usr/include/strings.h:144, <--[gcc]
                 from /usr/include/string.h:494, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:35, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/Scavenger.h:30, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SVerify1.c:34: <--[gcc]
In function ‘bcopy’,
    inlined from ‘VLockedChk’ at SVerify1.c:3457:3:
/usr/include/bits/strings_fortified.h:25:10: warning: ‘memcpy’ forming offset [15, 27] is out of the bounds [0, 15] [-Warray-bounds=] <--[gcc]
   25 |   (void) __builtin___memmove_chk (__dest, __src, __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   26 |                                   __glibc_objsize0 (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SDevice.o SDevice.c
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SExtents.o SExtents.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRebuildBTree.c: In function ‘RebuildBTree’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRebuildBTree.c:138:49: warning: variable ‘numRecords’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  138 |         UInt32                                  numRecords = 0;
      |                                                 ^~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRebuildBTree.c: In function ‘InitializeBTree’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRebuildBTree.c:572:41: warning: variable ‘isHFSPlus’ set but not used [-Wunused-but-set-variable=] <--[gcc]
  572 |         Boolean                         isHFSPlus = false;
      |                                         ^~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c: In function ‘utf_encodestr’: <--[gcc]
In file included from /usr/include/strings.h:144, <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.cgcc -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 -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SAllocate.o SAllocate.c
:52:5: warning: old-style function definition [-Wold-style-definition] <--[gcc]
   52 | int utf_encodestr(ucsp, ucslen, utf8p, utf8len, utf8plen)
      |     ^~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c: In function ‘utf_decodestr’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c:106:1: warning: old-style function definition [-Wold-style-definition] <--[gcc]
  106 | utf_decodestr(utf8p, utf8len, ucsp, ucslen, ucsplen)
      | ^~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c: In function ‘AllocMinorRepairOrder’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c:445:10: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] <--[gcc]
  445 |     else if ( fsckGetVerbosity(GPtr->context) >= kDebugLog )
      |          ^~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c:448:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ <--[gcc]
  448 |         if ( GPtr->RepLevel == repairLevelNoProblemsFound )
      |         ^~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c: In function ‘CalculateItemCount’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c:2009:33: warning: variable ‘myVOPtr’ set but not used [-Wunused-but-set-variable=] <--[gcc]
 2009 |         VolumeObjectPtr         myVOPtr;
      |                                 ^~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c: In function ‘PrintName’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c:2374:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] <--[gcc]
 2374 |     for ( i = 0; i < myCount; i++ )
      |     ^~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SUtils.c:2376:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ <--[gcc]
 2376 |         plog( "\n" );
      |         ^~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SCatalog.o SCatalog.c
                 from /usr/include/string.h:494, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SRuntime.h:35, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/BTree.h:36, <--[gcc]
                 from /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SExtents.c:36: <--[gcc]
In function ‘bzero’,
    inlined from ‘DeallocateFile’ at SExtents.c:694:3:
/usr/include/bits/strings_fortified.h:32:10: warning: ‘__memset_chk’ forming offset [64, 75] is out of the bounds [0, 64] of object ‘dataForkExtents’ with type ‘struct HFSPlusExtentDescriptor[8]’ [-Warray-bounds=] <--[gcc]
   32 |   (void) __builtin___memset_chk (__dest, '\0', __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   33 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SExtents.c: In function ‘DeallocateFile’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SExtents.c:680:37: note: ‘dataForkExtents’ declared here <--[gcc]
  680 |                 HFSPlusExtentRecord dataForkExtents;
      |                                     ^~~~~~~~~~~~~~~
In function ‘bzero’,
    inlined from ‘DeallocateFile’ at SExtents.c:697:3:
/usr/include/bits/strings_fortified.h:32:10: warning: ‘__memset_chk’ forming offset [64, 75] is out of the bounds [0, 64] of object ‘rsrcForkExtents’ with type ‘struct HFSPlusExtentDescriptor[8]’ [-Warray-bounds=] <--[gcc]
   32 |   (void) __builtin___memset_chk (__dest, '\0', __len,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   33 |                                  __glibc_objsize0 (__dest));
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SExtents.c: In function ‘DeallocateFile’: <--[gcc]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/SExtents.c:681:37: note: ‘rsrcForkExtents’ declared here <--[gcc]
  681 |                 HFSPlusExtentRecord rsrcForkExtents;
      |                                     ^~~~~~~~~~~~~~~
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o SStubs.o SStubs.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\"   -c -o VolumeBitmapCheck.o VolumeBitmapCheck.c
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/VolumeBitmapCheck.c:1119:13: warning: ‘TrimExtent’ defined but not used [-Wunused-function] <--[gcc]
 1119 | static void TrimExtent(SGlobPtr g, UInt32 startBlock, UInt32 blockCount)
      |             ^~~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/VolumeBitmapCheck.c:1099:13: warning: ‘TrimFlush’ defined but not used [-Wunused-function] <--[gcc]
 1099 | static void TrimFlush(void)
      |             ^~~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/VolumeBitmapCheck.c:1091:13: warning: ‘TrimInit’ defined but not used [-Wunused-function] <--[gcc]
 1091 | static void TrimInit(void)
      |             ^~~~~~~~
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include/hfs/hfs_format.h:614: error: shiftTooManyBitsSigned(CWE-758): Shifting signed 32-bit value by 31 bits is undefined behaviour <--[cppcheck]
ar rc libdfa.a hfs_endian.o BlockCache.o BTree.o BTreeAllocate.o BTreeMiscOps.o BTreeNodeOps.o BTreeScanner.o BTreeTreeOps.o CatalogCheck.o HardLinkCheck.o SBTree.o SControl.o SVerify1.o SVerify2.o SRepair.o dirhardlink.o SRebuildBTree.o SUtils.o SKeyCompare.o SDevice.o SExtents.o SAllocate.o SCatalog.o SStubs.o VolumeBitmapCheck.o
make[2]: Leaving directory '/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -D VERSION=\"540.1.linux3\" -Wl,--build-id fsck_hfs.o utilities.o cache.o fsck_messages.o fsck_debug.o fsck_hfs_strings.o fsck_strings.o dfalib/libdfa.a -o fsck_hfs -lpthread
In function ‘hfs_swap_HFSBTInternalNode’,
    inlined from ‘hfs_swap_BTNode’ at dfalib/hfs_endian.c:306:21:
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/hfs_endian.c:1062:59: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] <--[gcc]
 1062 |                     srcRec->dataExtents[j].startBlock   = SWAP_BE16 (srcRec->dataExtents[j].startBlock);
      |                                                           ^
/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj/dfalib/hfs_endian.c:1061:31: note: within this loop <--[gcc]
 1061 |                 for (j = 0; j < kHFSExtentDensity * 2; j++) {
      |                               ^
In function ‘strncat’,
    inlined from ‘rawname’ at utilities.c:232:8,
    inlined from ‘blockcheck’ at utilities.c:188:9:
/usr/include/bits/string_fortified.h:161:10: warning: ‘__builtin___strncat_chk’ specified bound 32 equals destination size [-Wstringop-overflow=] <--[gcc]
  161 |   return __builtin___strncat_chk (__dest, __src, __len,
      |          ^
In function ‘bcopy’,
    inlined from ‘VLockedChk’ at dfalib/SVerify1.c:3457:3:
/usr/include/bits/strings_fortified.h:25:10: warning: ‘__builtin_memcpy’ reading 28 bytes from a region of size 15 [-Wstringop-overread] <--[gcc]
   25 |   (void) __builtin___memmove_chk (__dest, __src, __len,
      |          ^
In function ‘snprintf’,
    inlined from ‘FixBadLinkChainFirst’ at dfalib/SRepair.c:873:9:
/usr/include/bits/stdio2.h:68:10: warning: ‘__builtin___snprintf_chk’ specified bound 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overread] <--[gcc]
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^
In function ‘bzero’,
    inlined from ‘DeallocateFile’ at dfalib/SExtents.c:694:3,
    inlined from ‘DeleteCatalogNode’ at dfalib/SCatalog.c:238:12:
/usr/include/bits/strings_fortified.h:32:10: warning: ‘__builtin___memset_chk’ writing 52 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] <--[gcc]
   32 |   (void) __builtin___memset_chk (__dest, '\0', __len,
      |          ^
In function ‘bzero’,
    inlined from ‘DeallocateFile’ at dfalib/SExtents.c:697:3,
    inlined from ‘DeleteCatalogNode’ at dfalib/SCatalog.c:238:12:
/usr/include/bits/strings_fortified.h:32:10: warning: ‘__builtin___memset_chk’ writing 52 bytes into a region of size 40 overflows the destination [-Wstringop-overflow=] <--[gcc]
   32 |   (void) __builtin___memset_chk (__dest, '\0', __len,
      |          ^
make[1]: Leaving directory '/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/fsck_hfs.tproj'
+ 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/hfsplus-tools.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 15:03:14	"/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 15:03:15	"/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/hfsplus-tools.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/hfsplus-tools.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/hfsplus-tools.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/hfsplus-tools.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=1784160000
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.29W8zT
+ umask 022
+ cd /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build
+ '[' /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT
++ dirname /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build
+ mkdir /builddir/build/BUILD/hfsplus-tools-540.1.linux3-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 diskdev_cmds-540.1.linux3
+ mkdir -p /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT///bin
+ cp newfs_hfs.tproj/newfs_hfs /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT///bin/mkfs.hfsplus
+ cp fsck_hfs.tproj/fsck_hfs /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT///bin/fsck.hfsplus
+ mkdir -p /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT//usr/share/man/man8
+ cat fsck_hfs.tproj/fsck_hfs.8
+ sed -e 's/[F|f]sck_hfs/fsck.hfsplus/g'
+ cat newfs_hfs.tproj/newfs_hfs.8
+ sed -e 's/[N|n]ewfs_hfs/mkfs.hfsplus/g'
+ cd /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT///bin
+ ln -s fsck.hfsplus fsck.hfs
+ cd /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT//usr/share/man/man8
+ ln -s fsck.hfsplus.8 fsck.hfs.8
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 540.1.linux3-38.fc45 --unique-debug-suffix -540.1.linux3-38.fc45.x86_64 --unique-debug-src-base hfsplus-tools-540.1.linux3-38.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/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3
find-debuginfo: starting
Extracting debug info from 2 files
DWARF-compressing 2 files
sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/hfsplus-tools-540.1.linux3-38.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/hfsplus-tools-540.1.linux3-build/BUILDROOT
Scanned 18 directories and 65 files,
    processed 2 inodes,
    0 modified (0 replaced + 0 rewritten),
    0 unsupported format, 0 errors
+ /usr/bin/linkdupes --brp /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT/usr
Scanned 16 directories and 62 files,
    considered 61 files, read 0 files, linked 0 files, 0 errors
    sum of sizes of linked files: 0 bytes
Reading /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: hfsplus-tools-540.1.linux3-38.fc45.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.53TwBp
+ umask 022
+ cd /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build
+ cd diskdev_cmds-540.1.linux3
+ DOCDIR=/builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT/usr/share/doc/hfsplus-tools
+ export LC_ALL=C.UTF-8
+ LC_ALL=C.UTF-8
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT/usr/share/doc/hfsplus-tools
+ cp -pr /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/diskdev_cmds-540.1.linux3/apsl-2.0.txt /builddir/build/BUILD/hfsplus-tools-540.1.linux3-build/BUILDROOT/usr/share/doc/hfsplus-tools
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: hfsplus-tools = 540.1.linux3-38.fc45 hfsplus-tools(x86-64) = 540.1.linux3-38.fc45
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: filesystem(unmerged-sbin-symlinks) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcrypto.so.4()(64bit) libcrypto.so.4(OPENSSL_4.0.0)(64bit) rtld(GNU_HASH)
Conflicts: hfsplusutils
Processing files: hfsplus-tools-debugsource-540.1.linux3-38.fc45.x86_64
Provides: hfsplus-tools-debugsource = 540.1.linux3-38.fc45 hfsplus-tools-debugsource(x86-64) = 540.1.linux3-38.fc45
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: hfsplus-tools-debuginfo-540.1.linux3-38.fc45.x86_64
Provides: debuginfo(build-id) = 9b4d1ad8c42ec146e4c17e28ad61d21f7e644747 debuginfo(build-id) = ed651f04c2d7c3a56282da0735cd48c35bfae531 hfsplus-tools-debuginfo = 540.1.linux3-38.fc45 hfsplus-tools-debuginfo(x86-64) = 540.1.linux3-38.fc45
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: hfsplus-tools-debugsource(x86-64) = 540.1.linux3-38.fc45
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/hfsplus-tools-540.1.linux3-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/hfsplus-tools.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 15:03:16	"/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 15:03:17	"/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 15:03:19	'/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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/raw-results'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets

>>> 2026-08-03 15:03:20	cat '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/uni-results/cswrap-capture.js'

>>> 2026-08-03 15:03:20	set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/uni-results/clippy-capture.err

>>> 2026-08-03 15:03:20	cd /tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/uni-results/shellcheck-capture.json

>>> 2026-08-03 15:03:20	csgrep --mode=json '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/uni-results/unicontrol-capture.js'

>>> 2026-08-03 15:03:20	csgrep --mode=json --remove-duplicates --file-glob "/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/raw-results/builddir/gcc-results/*.sarif" > "/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/uni-results/gcc-results.json"

scan.ini: time-finished = 2026-08-03 15:03:20
scan.ini: exit-code = 0
>>> 2026-08-03 15:03:20	cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan.ini' '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/uni-results'/* > '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/scan-results-all.js'

>>> 2026-08-03 15:03:20	'/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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/scan-results-all.js' >'/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/scan-results-all.js.tmp'

>>> 2026-08-03 15:03:21	"/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 15:03:21	cat '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan-results.js'

>>> 2026-08-03 15:03:22	cat '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.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/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan-results.js' - | cssort > '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/suppressed-results.js'

>>> 2026-08-03 15:03:22	csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/suppressed-results.js' > '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/suppressed-results.err'

>>> 2026-08-03 15:03:22	csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/suppressed-results.js' | cshtml - > '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/suppressed-results.html'

>>> 2026-08-03 15:03:22	csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/suppressed-results.js' | tee '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/debug/suppressed-results-summary.txt'
      1	COMPILER_WARNING                                	warning
      2	COMPILER_WARNING                                	warning[-Waddress-of-packed-member]
      1	COMPILER_WARNING                                	warning[-Waddress]
      3	COMPILER_WARNING                                	warning[-Waggressive-loop-optimizations]
     10	COMPILER_WARNING                                	warning[-Wdeprecated-declarations]
      7	COMPILER_WARNING                                	warning[-Wformat=]
      1	COMPILER_WARNING                                	warning[-Wmaybe-uninitialized]
      3	COMPILER_WARNING                                	warning[-Wmisleading-indentation]
     12	COMPILER_WARNING                                	warning[-Wold-style-definition]
      7	COMPILER_WARNING                                	warning[-Wpointer-sign]
      3	COMPILER_WARNING                                	warning[-Wstrict-aliasing]
      4	COMPILER_WARNING                                	warning[-Wstringop-overflow=]
      4	COMPILER_WARNING                                	warning[-Wstringop-overread]
      3	COMPILER_WARNING                                	warning[-Wstringop-truncation]
     15	COMPILER_WARNING                                	warning[-Wunused-but-set-variable=]
      3	COMPILER_WARNING                                	warning[-Wunused-function]
      3	COMPILER_WARNING                                	warning[-Wunused-result]
      5	COMPILER_WARNING                                	warning[-Wunused-variable]
      1	COMPILER_WARNING                                	warning[warning]
      1	CPPCHECK_WARNING                                	error[autoVariables]
      1	CPPCHECK_WARNING                                	error[invalidLifetime]
      1	CPPCHECK_WARNING                                	error[leakReturnValNotUsed]
      1	CPPCHECK_WARNING                                	error[shiftTooManyBitsSigned]
      2	CPPCHECK_WARNING                                	error[va_end_missing]
      2	CPPCHECK_WARNING                                	error[va_list_usedBeforeStarted]
      4	CPPCHECK_WARNING                                	error[va_start_subsequentCalls]
      1	CPPCHECK_WARNING                                	warning[nullPointerOutOfMemory]
      1	CPPCHECK_WARNING                                	warning[nullPointer]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-deref-before-check]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-file-leak]
      6	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-malloc-leak]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-null-argument]
      3	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-null-dereference]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-out-of-bounds]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-argument]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-dereference]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-use-after-free]
      6	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-va-list-leak]

>>> 2026-08-03 15:03:22	csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan-results.js' > '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan-results.err'

>>> 2026-08-03 15:03:22	csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan-results.js' | cshtml - > '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan-results.html'

>>> 2026-08-03 15:03:22	csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan-results.js' | tee '/tmp/csmock5mzwr0z0/hfsplus-tools-540.1.linux3-38.fc45/scan-results-summary.txt'
      1	COMPILER_WARNING                                	warning
      2	COMPILER_WARNING                                	warning[-Waddress-of-packed-member]
      1	COMPILER_WARNING                                	warning[-Waddress]
      3	COMPILER_WARNING                                	warning[-Waggressive-loop-optimizations]
     10	COMPILER_WARNING                                	warning[-Wdeprecated-declarations]
      7	COMPILER_WARNING                                	warning[-Wformat=]
      1	COMPILER_WARNING                                	warning[-Wmaybe-uninitialized]
      3	COMPILER_WARNING                                	warning[-Wmisleading-indentation]
     12	COMPILER_WARNING                                	warning[-Wold-style-definition]
      7	COMPILER_WARNING                                	warning[-Wpointer-sign]
      3	COMPILER_WARNING                                	warning[-Wstrict-aliasing]
      4	COMPILER_WARNING                                	warning[-Wstringop-overflow=]
      4	COMPILER_WARNING                                	warning[-Wstringop-overread]
      3	COMPILER_WARNING                                	warning[-Wstringop-truncation]
     15	COMPILER_WARNING                                	warning[-Wunused-but-set-variable=]
      3	COMPILER_WARNING                                	warning[-Wunused-function]
      3	COMPILER_WARNING                                	warning[-Wunused-result]
      5	COMPILER_WARNING                                	warning[-Wunused-variable]
      1	COMPILER_WARNING                                	warning[warning]
      1	CPPCHECK_WARNING                                	error[autoVariables]
      1	CPPCHECK_WARNING                                	error[invalidLifetime]
      1	CPPCHECK_WARNING                                	error[leakReturnValNotUsed]
      1	CPPCHECK_WARNING                                	error[shiftTooManyBitsSigned]
      2	CPPCHECK_WARNING                                	error[va_end_missing]
      2	CPPCHECK_WARNING                                	error[va_list_usedBeforeStarted]
      4	CPPCHECK_WARNING                                	error[va_start_subsequentCalls]
      1	CPPCHECK_WARNING                                	warning[nullPointerOutOfMemory]
      1	CPPCHECK_WARNING                                	warning[nullPointer]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-deref-before-check]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-file-leak]
      6	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-malloc-leak]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-null-argument]
      3	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-null-dereference]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-out-of-bounds]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-argument]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-possible-null-dereference]
      1	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-use-after-free]
      6	GCC_ANALYZER_WARNING                            	warning[-Wanalyzer-va-list-leak]

<<< 2026-08-03 15:03:22	csmock exit code: 0

Wrote: /tmp/tmpu4p3m33a/hfsplus-tools-540.1.linux3-38.fc45.tar.xz