Mock Version: 6.7 Mock Version: 6.7 Mock Version: 6.7 Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '40bcb77d071f4633a9ec78af0f4670ac', '-D', '/var/lib/mock/f45-build-122434-20018/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/clamav.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1786320000 Wrote: /builddir/build/SRPMS/clamav-1.4.6-1.fc45.src.rpm Child return code was: 0 Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '60d42eeac5454ad98e4aa65962307d69', '-D', '/var/lib/mock/f45-build-122434-20018/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/clamav.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1786320000 Wrote: /builddir/build/SRPMS/clamav-1.4.6-1.fc45.src.rpm Child return code was: 0 Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '03ddf869c476432794edcec267d4a246', '-D', '/var/lib/mock/f45-build-122434-20018/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target riscv64 --nodeps /builddir/build/SPECS/clamav.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1786320000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.frBOY7 Creating(rpmbuild.env): /builddir/build/BUILD/clamav-1.4.6-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/clamav-1.4.6-build" RPM_OPT_FLAGS="-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -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="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/clamav-1.4.6-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="clamav" RPM_PACKAGE_VERSION="1.4.6" RPM_PACKAGE_RELEASE="1.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/clamav-1.4.6-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.OfDkO7 + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd /builddir/build/BUILD/clamav-1.4.6-build + rm -rf clamav-1.4.6 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/clamav-1.4.6-norar.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd clamav-1.4.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + cd libclamav_rust + sed -i -e '/^base64 *=/s/= .*/= "0.22"/' Cargo.toml + sed -i -e '/^bindgen *=/s/= .*/= "0.72"/' Cargo.toml + sed -i -e '/^cbindgen *=/s/= *".*"/= "0.26"/' Cargo.toml + sed -i -e '/^onenote_parser *=/s/= *.*/= "0.3.1"/' Cargo.toml + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + cd .. Patch #1 (clamav-default_confs.patch): + echo 'Patch #1 (clamav-default_confs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .default_confs --fuzz=0 patching file clamconf/clamconf.c patching file docs/man/clamav-milter.8.in patching file docs/man/clamav-milter.conf.5.in patching file docs/man/clamd.8.in Hunk #2 succeeded at 140 (offset 7 lines). patching file docs/man/clamd.conf.5.in Hunk #1 succeeded at 817 (offset 52 lines). patching file platform.h.in Patch #2 (clamav-private.patch): + echo 'Patch #2 (clamav-private.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .private --fuzz=0 patching file libclamav.pc.in patching file clamav-config.in Patch #5 (clamav-clamonacc-service.patch): + echo 'Patch #5 (clamav-clamonacc-service.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .clamonacc-service --fuzz=0 patching file clamonacc/clamav-clamonacc.service.in Patch #6 (clamav-freshclam.service.patch): + echo 'Patch #6 (clamav-freshclam.service.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .freshclam-service --fuzz=0 patching file freshclam/clamav-freshclam.service.in Patch #7 (libclamav-pe-Use-endian-wrapper-in-more-places.patch): + echo 'Patch #7 (libclamav-pe-Use-endian-wrapper-in-more-places.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .big-endian --fuzz=0 patching file libclamav/pe.c Patch #8 (clamav-rust-dependency-versions.patch): + echo 'Patch #8 (clamav-rust-dependency-versions.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rust-dependencies --fuzz=0 patching file libclamav_rust/Cargo.toml + install -p -m0644 /builddir/build/SOURCES/README.fedora.md clamav-milter/ + mkdir -p libclamunrar libclamunrar_iface + touch libclamunrar/Makefile.in libclamunrar/all libclamunrar/install + cat + cat + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zS0Gsf + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/clamav-1.4.6-1.fc45.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7eb400ff7fd94a07bfd8341e31ca111c', '-D', '/var/lib/mock/f45-build-122434-20018/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target riscv64 --nodeps /builddir/build/SPECS/clamav.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1786320000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.OyhSJ9 + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/clamav-1.4.6-1.fc45.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'be49591fd0754deea75bb6a79b120963', '-D', '/var/lib/mock/f45-build-122434-20018/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.u6ufdra0:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target riscv64 /builddir/build/SPECS/clamav.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1786320000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.5Dydqs + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.G6Qorn + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 clamav-1.4.6 ++ echo -Wl,-z,relro -Wl,--as-needed -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 ++ sed '/-Wl,--as-needed/!s/$/ -Wl,--as-needed/' + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -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' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 have_cv_ipv6=yes + have_cv_ipv6=yes + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 + /usr/bin/cmake -S . -B redhat-linux-build -G Ninja -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_FULL_SBINDIR:PATH=/usr/bin -DCMAKE_INSTALL_SBINDIR:PATH=bin -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON '-DRUSTFLAGS=-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' -DAPP_CONFIG_DIRECTORY=/etc -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/clamav -DCLAMAV_USER=clamupdate -DCLAMAV_GROUP=clamupdate -DDATABASE_DIRECTORY=/var/lib/clamav -DDO_NOT_SET_RPATH=ON -DENABLE_UNRAR=OFF -- The C compiler identification is GNU 16.1.1 -- The CXX compiler identification is GNU 16.1.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found Git: /usr/bin/git (found version "2.55.0") -- Rust tool `cargo` found: /usr/bin/cargo, 1.97.1 -- Rust tool `rustc` found: /usr/bin/rustc, 1.97.1 -- Rust tool `rustup` not found. -- Rust tool `rust-gdb` not found. -- Rust tool `rust-lldb` not found. -- Rust tool `rustdoc` found: /usr/bin/rustdoc, 1.97.1 -- Rust tool `rustfmt` not found. -- Rust tool `bindgen` not found. -- Rust's native static libs: -lgcc_s;-lutil;-lrt;-lpthread;-lm;-ldl;-lc -- Found Rust: /usr/bin/cargo (found version "1.97.1") -- Found Libcheck: /usr/include -- Found Python3: /usr/bin/python3.15 (found version "3.15.0") found components: Interpreter -- Valgrind found: /usr/bin/valgrind, 3.27.1 -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.5.7") -- Found ZLIB: /usr/lib64/libz.so (found version "1.3.1") -- Found BZip2: /usr/lib64/libbz2.so (found version "1.0.8") -- Looking for BZ2_bzCompressInit -- Looking for BZ2_bzCompressInit - found -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.13.9") -- Found PCRE2: /usr/lib64/libpcre2-8.so -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- Found Iconv: /usr/lib64/libc.so -- Found JSONC: /usr/lib64/libjson-c.so -- Found CURL: /usr/lib64/libcurl.so (found version "8.21.0") -- Found CURSES: /usr/lib64/libncurses.so;/usr/lib64/libtinfo.so -- Found Milter: /usr/lib64/libmilter.so -- Found SYSTEMD: /usr/lib64/libsystemd.so (found version "261") -- systemd services install dir: /usr/lib/systemd/system -- Performing Test CXX_FLAG__std_c_14 -- Performing Test CXX_FLAG__std_c_14 - Success -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for fcntl.h -- Looking for fcntl.h - found -- Looking for grp.h -- Looking for grp.h - found -- Looking for limits.h -- Looking for limits.h - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for netdb.h -- Looking for netdb.h - found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for poll.h -- Looking for poll.h - found -- Looking for pwd.h -- Looking for pwd.h - found -- Looking for stdbool.h -- Looking for stdbool.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for string.h -- Looking for string.h - found -- Looking for strings.h -- Looking for strings.h - found -- Looking for sys/cdefs.h -- Looking for sys/cdefs.h - found -- Looking for sys/dl.h -- Looking for sys/dl.h - not found -- Looking for sys/fileio.h -- Looking for sys/fileio.h - not found -- Looking for sys/mman.h -- Looking for sys/mman.h - found -- Looking for sys/param.h -- Looking for sys/param.h - found -- Looking for sys/queue.h -- Looking for sys/queue.h - found -- Looking for sys/select.h -- Looking for sys/select.h - found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/stat.h -- Looking for sys/stat.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for sys/times.h -- Looking for sys/times.h - found -- Looking for sys/uio.h -- Looking for sys/uio.h - found -- Looking for syslog.h -- Looking for syslog.h - found -- Looking for termios.h -- Looking for termios.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for sys/fanotify.h -- Looking for sys/fanotify.h - found -- Looking for resolv.h -- Looking for resolv.h - found -- Looking for dirent.h -- Looking for dirent.h - found -- Looking for dlfcn.h -- Looking for dlfcn.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for sys/inttypes.h -- Looking for sys/inttypes.h - not found -- Looking for sys/int_types.h -- Looking for sys/int_types.h - not found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of ssize_t -- Check size of ssize_t - done -- Check size of off_t -- Check size of off_t - done -- Check size of int -- Check size of int - done -- Check size of short -- Check size of short - done -- Check size of long -- Check size of long - done -- Check size of long long -- Check size of long long - done -- Performing Test HAVE_RESTRICT -- Performing Test HAVE_RESTRICT - Success -- Performing Test HAVE_ATTRIB_PACKED -- Performing Test HAVE_ATTRIB_PACKED - Success -- Performing Test HAVE_ATTRIB_ALIGNED -- Performing Test HAVE_ATTRIB_ALIGNED - Success -- Performing Test HAVE_SYSTEM_LFS_FTS -- Performing Test HAVE_SYSTEM_LFS_FTS - Success -- Looking for recvmsg -- Looking for recvmsg - found -- Looking for sendmsg -- Looking for sendmsg - found -- Performing Test HAVE_CONTROL_IN_MSGHDR -- Performing Test HAVE_CONTROL_IN_MSGHDR - Success -- Performing Test HAVE_STRUCT_TM_TM_GMTOFF -- Performing Test HAVE_STRUCT_TM_TM_GMTOFF - Success -- Check size of int * -- Check size of int * - done -- Check size of time_t -- Check size of time_t - done -- Looking for _Exit -- Looking for _Exit - found -- Looking for accept4 -- Looking for accept4 - not found -- Looking for snprintf -- Looking for snprintf - found -- Looking for stat64 -- Looking for stat64 - not found -- Looking for strcasestr -- Looking for strcasestr - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for strlcat -- Looking for strlcat - found -- Looking for strlcpy -- Looking for strlcpy - found -- Looking for strndup -- Looking for strndup - found -- Looking for strnlen -- Looking for strnlen - found -- Looking for strnstr -- Looking for strnstr - not found -- Looking for sysctlbyname -- Looking for sysctlbyname - not found -- Looking for timegm -- Looking for timegm - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for funlinkat -- Looking for funlinkat - not found -- Looking for fseeko -- Looking for fseeko - found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for getpagesize -- Looking for getpagesize - found -- Looking for mkstemp -- Looking for mkstemp - not found -- Looking for poll -- Looking for poll - found -- Looking for setgroups -- Looking for setgroups - not found -- Looking for setsid -- Looking for setsid - found -- Looking for initgroups -- Looking for initgroups - found -- Performing Test C_FLAG__Wall -- Performing Test C_FLAG__Wall - Success -- Performing Test C_FLAG__Wextra -- Performing Test C_FLAG__Wextra - Success -- Performing Test C_FLAG__Wformat_security -- Performing Test C_FLAG__Wformat_security - Success -- Performing Test CXX_FLAG__Wall -- Performing Test CXX_FLAG__Wall - Success -- Performing Test CXX_FLAG__Wformat_security -- Performing Test CXX_FLAG__Wformat_security - Success -- Performing Test CXX_FLAG__Wno_comment -- Performing Test CXX_FLAG__Wno_comment - Success -- Performing Test HAVE_MMAP -- Performing Test HAVE_MMAP - Success -- Performing Test HAVE_MMAP_MAP_ANONYMOUS -- Performing Test HAVE_MMAP_MAP_ANONYMOUS - Success -- Performing Test HAVE_SYSCONF_SC_PAGESIZE -- Performing Test HAVE_SYSCONF_SC_PAGESIZE - Success -- Configuration Options Summary -- Package Version: ClamAV 1.4.6 libclamav version: 12:3:0 libfreshclam version: 3:2:0 Install prefix: /usr Install database dir: /var/lib/clamav Install config dir: /etc Host system: Linux-7.0.11-200.0.riscv64.omni.fc44.riscv64 Target system: Linux-7.0.11-200.0.riscv64.omni.fc44.riscv64 Compiler: Build type: RelWithDebInfo C compiler: /usr/bin/gcc C++ compiler: /usr/bin/g++ Rust toolchain: /usr/bin/cargo (1.97.1) CFLAGS: -O2 -g -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer CXXFLAGS: -O2 -g -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer WARNCFLAGS: -Wall -Wextra -Wformat-security -- Engine Options -- Bytecode Runtime: interpreter -- Test Dependencies -- Unit Test Framework: libcheck /usr/include /usr/lib64/libcheck.so Feature Test Framework: python3 /usr/bin/python3.15 test command pytest;-v -- libclamav Dependencies -- Compression support: bzip2 /usr/include /usr/lib64/libbz2.so zlib /usr/include /usr/lib64/libz.so XML support: libxml2 /usr/include/libxml2;/usr/include/libxml2;/usr/include /usr/lib64/libxml2.so RegEx support: libpcre2 /usr/include /usr/lib64/libpcre2-8.so Crypto support: openssl /usr/include /usr/lib64/libssl.so;/usr/lib64/libcrypto.so JSON support: json-c /usr/include/json-c /usr/lib64/libjson-c.so Threading support: -- libfreshclam Extra Dependencies -- HTTP support: curl /usr/include /usr/lib64/libcurl.so -- Application Extra Dependencies -- GUI support: ncurses /usr/include /usr/lib64/libncurses.so;/usr/lib64/libtinfo.so -- Warning: libjson-c is known to share symbol names with other JSON libraries which may result in crashes for applications that use libclamav. Consider providing a static json-c library that was compiled with: CFLAGS="-fPIC". Default build settings for json-c 0.15+ should also work. Use the `-DENABLE_JSON_SHARED=OFF` option to prefer detection of the static library, or use -DJSONC_INCLUDE_DIR and -DJSONC_LIBRARY to specify the static JSON library. Build Options: Build apps: ON Shared library: ON Static library: OFF Enable UnRAR: OFF Examples: OFF Tests: ON Build man pages: ON Build doxygen HTML: OFF Maintainer Mode: OFF Build Extras: Build milter: ON (toggle with -DENABLE_MILTER=ON/OFF) Build clamonacc: ON (toggle with -DENABLE_CLAMONACC=ON/OFF) pthread Locale support: iconv /usr/include /usr/lib64/libc.so systemd: unit directory /usr/lib/systemd/system systemd ctl support: libsystemd /usr/include /usr/lib64/libsystemd.so Milter Support: libmilter /usr/include /usr/lib64/libmilter.so -- Configuring done (74.6s) -- Generating done (0.9s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose Change Dir: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 8 [1/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/crc32.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/crc32.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/crc32.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/crc32.c [2/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/cabc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/cabc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/cabc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/cabc.c [3/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/hlpc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/hlpc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/hlpc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/hlpc.c [4/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/chmc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/chmc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/chmc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/chmc.c [5/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/hlpd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/hlpd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/hlpd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/hlpd.c [6/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/kwajc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/kwajc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/kwajc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/kwajc.c [7/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzxc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/lzxc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/lzxc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/lzxc.c [8/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/litc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/litc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/litc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/litc.c [9/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/litd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/litd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/litd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/litd.c [10/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/mszipc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/mszipc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/mszipc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/mszipc.c [11/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/oabc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/oabc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/oabc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/oabc.c [12/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzssd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/lzssd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/lzssd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/lzssd.c [13/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/system.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/system.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/system.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/system.c [14/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/szddc.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/szddc.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/szddc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/szddc.c [15/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/oabd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/oabd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/oabd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/oabd.c [16/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/szddd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/szddd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/szddd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/szddd.c [17/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o -MF libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o.d -o libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/strlcpy.c [18/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/cabd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/cabd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/cabd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/cabd.c [19/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/kwajd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/kwajd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/kwajd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/kwajd.c [20/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regerror.c.o -MF libclamav/CMakeFiles/regex.dir/regex/regerror.c.o.d -o libclamav/CMakeFiles/regex.dir/regex/regerror.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regerror.c [21/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/mszipd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/mszipd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/mszipd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/mszipd.c [22/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regfree.c.o -MF libclamav/CMakeFiles/regex.dir/regex/regfree.c.o.d -o libclamav/CMakeFiles/regex.dir/regex/regfree.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regfree.c [23/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/chmd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/chmd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/chmd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/chmd.c [24/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zAlloc.c [25/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zBuf.c [26/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zBuf2.c [27/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/qtmd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/qtmd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/qtmd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/qtmd.c [28/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zCrc.c [29/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zCrcOpt.c [30/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dclammspack_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -MD -MT libclammspack/CMakeFiles/clammspack.dir/mspack/lzxd.c.o -MF libclammspack/CMakeFiles/clammspack.dir/mspack/lzxd.c.o.d -o libclammspack/CMakeFiles/clammspack.dir/mspack/lzxd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack/lzxd.c [31/330] : && /usr/bin/gcc -fPIC -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -shared -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=libclammspack/CMakeFiles/clammspack.dir/link.d -Wl,-soname,libclammspack.so.0 -o libclammspack/libclammspack.so.0.8.0 libclammspack/CMakeFiles/clammspack.dir/mspack/cabc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/cabd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/chmc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/chmd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/crc32.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/hlpc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/hlpd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/kwajc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/kwajd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/litc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/litd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/lzssd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/lzxc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/lzxd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/mszipc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/mszipd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/oabc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/oabd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/qtmd.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/system.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/szddc.c.o libclammspack/CMakeFiles/clammspack.dir/mspack/szddd.c.o && : [32/330] /usr/bin/cmake -E cmake_symlink_library libclammspack/libclammspack.so.0.8.0 libclammspack/libclammspack.so.0 libclammspack/libclammspack.so && : [33/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zFile.c [34/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zDec.c [35/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zStream.c [36/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/Bcj2.c [37/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/Bra.c [38/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/Bra86.c [39/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o -MF libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o.d -o libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c: In function ‘cli_regcomp_real’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c:188:22: warning: comparison of integer expressions of different signedness: ‘sopno’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 188 | if (p->ssize < len) { | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c: In function ‘freeset’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c:1097:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1097 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c: In function ‘freezeset’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c:1125:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1125 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c:1128:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1128 | if (i == css) | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c: In function ‘firstch’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c:1149:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1149 | for (i = 0; i < css; i++) | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c: In function ‘nch’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regcomp.c:1166:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 1166 | for (i = 0; i < css; i++) | ^ [40/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/BraIA64.c [41/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/CpuArch.c [42/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/Delta.c [43/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/Lzma2Dec.c [44/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/regex.dir/regex/regexec.c.o -MF libclamav/CMakeFiles/regex.dir/regex/regexec.c.o.d -o libclamav/CMakeFiles/regex.dir/regex/regexec.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regexec.c In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regexec.c:81: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c: In function ‘smatcher’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 219 | for (i = 1; i <= m->g->nsub; i++) | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:226:44: warning: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 226 | m->lastpos = (char **)cli_max_malloc((g->nplus+1) * | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:277:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 277 | for (i = 1; i < nmatch; i++) | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:278:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 278 | if (i <= m->g->nsub) | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c: In function ‘sdissect’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:311:21: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable=] 311 | const char *dp; | ^~ In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/regexec.c:130: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c: In function ‘lmatcher’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:219:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 219 | for (i = 1; i <= m->g->nsub; i++) | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:226:44: warning: assignment to ‘const char **’ from incompatible pointer type ‘char **’ [-Wincompatible-pointer-types] 226 | m->lastpos = (char **)cli_max_malloc((g->nplus+1) * | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:277:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 277 | for (i = 1; i < nmatch; i++) | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:278:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 278 | if (i <= m->g->nsub) | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c: In function ‘ldissect’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex/engine.c:311:21: warning: variable ‘dp’ set but not used [-Wunused-but-set-variable=] 311 | const char *dp; | ^~ [45/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/Xz.c [46/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzCrc64.c [47/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/Ppmd7Dec.c [48/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/Ppmd7.c [49/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_compiler.c.o -MF libclamav/CMakeFiles/yara.dir/yara_compiler.c.o.d -o libclamav/CMakeFiles/yara.dir/yara_compiler.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_compiler.c [50/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c: In function ‘Xz_ReadIndex2’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:87:11: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 87 | if (crc != GetUi32(buf + size)) | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:92:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 92 | READ_VARINT_AND_CHECK(buf, pos, size, &numBlocks64); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:92:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 92 | READ_VARINT_AND_CHECK(buf, pos, size, &numBlocks64); | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:110:7: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 110 | READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:110:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 110 | READ_VARINT_AND_CHECK(buf, pos, size, &block->totalSize); | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:27:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:111:7: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 111 | READ_VARINT_AND_CHECK(buf, pos, size, &block->unpackSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:111:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 111 | READ_VARINT_AND_CHECK(buf, pos, size, &block->unpackSize); | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:27:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 27 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:79:24: warning: variable ‘crcStartPos’ set but not used [-Wunused-but-set-variable=] 79 | size_t i, numBlocks, crcStartPos, pos = 1; | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c: In function ‘Xz_ReadBackward’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzIn.c:201:20: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘UInt32’ {aka ‘unsigned int’} [-Wsign-compare] 201 | if (GetUi32(buf) != CrcCalc(buf + 4, 6)) | ^~ [51/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/7zIn.c [52/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/LzmaDec.c [53/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_hash.c.o -MF libclamav/CMakeFiles/yara.dir/yara_hash.c.o.d -o libclamav/CMakeFiles/yara.dir/yara_hash.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_hash.c [54/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o -MF libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o.d -o libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c: In function ‘Lzma2State_Code’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:309:80: warning: implicit conversion from ‘ECoderFinishMode’ to ‘ELzmaFinishMode’ [-Wenum-conversion] 309 | SRes res = Lzma2Dec_DecodeToBuf((CLzma2Dec *)pp, dest, destLen, src, srcLen, finishMode, &status); | ^~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c: In function ‘Xz_ParseHeader’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:501:56: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 501 | if (CrcCalc(buf + XZ_SIG_SIZE, XZ_STREAM_FLAGS_SIZE) != | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c: In function ‘Xz_CheckFooter’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:511:21: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘UInt32’ {aka ‘unsigned int’} [-Wsign-compare] 511 | (GetUi32(buf) == CrcCalc(buf + 4, 6) && | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c: In function ‘XzBlock_Parse’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:527:35: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 527 | if (CrcCalc(header, headerSize) != GetUi32(header + headerSize)) | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:518:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 518 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:537:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 537 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:537:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 537 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->packSize); | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:518:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 518 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:518:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 518 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:543:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 543 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:543:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 543 | READ_VARINT_AND_CHECK(header, pos, headerSize, &p->unpackSize); | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:518:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 518 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:518:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 518 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:550:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 550 | READ_VARINT_AND_CHECK(header, pos, headerSize, &filter->id); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:550:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 550 | READ_VARINT_AND_CHECK(header, pos, headerSize, &filter->id); | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:518:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 518 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:518:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 518 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:551:5: note: in expansion of macro ‘READ_VARINT_AND_CHECK’ 551 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:551:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 551 | READ_VARINT_AND_CHECK(header, pos, headerSize, &size); | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:518:40: note: in definition of macro ‘READ_VARINT_AND_CHECK’ 518 | if (s == 0) return SZ_ERROR_ARCHIVE; pos += s; } | ^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c: In function ‘XzUnpacker_Code’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z/XzDec.c:850:38: warning: comparison of integer expressions of different signedness: ‘UInt32’ {aka ‘unsigned int’} and ‘int32_t’ {aka ‘int’} [-Wsign-compare] 850 | if (CRC_GET_DIGEST(p->crc) != GetUi32(p->buf)) | ^~ [55/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/cmake -E make_directory /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles [56/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_parser.c.o -MF libclamav/CMakeFiles/yara.dir/yara_parser.c.o.d -o libclamav/CMakeFiles/yara.dir/yara_parser.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_parser.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_parser.c: In function ‘yr_parser_reduce_string_declaration’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_parser.c:466:9: warning: variable ‘re_flags’ set but not used [-Wunused-but-set-variable=] 466 | int re_flags = 0; | ^~~~~~~~ [57/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_arena.c.o -MF libclamav/CMakeFiles/yara.dir/yara_arena.c.o.d -o libclamav/CMakeFiles/yara.dir/yara_arena.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_arena.c [58/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.cab.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab' [59/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe' [60/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o -MF libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o.d -o libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_nojit.c [61/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.arj.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj' [62/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.zip.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip' [63/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf' [64/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd' [65/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.chm.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm' [66/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz' [67/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.sis.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis' [68/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe' [69/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe' [70/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe' [71/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_exec.c.o -MF libclamav/CMakeFiles/yara.dir/yara_exec.c.o.d -o libclamav/CMakeFiles/yara.dir/yara_exec.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_exec.c [72/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe' [73/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe' [74/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe' [75/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe' [76/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe' [77/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.pdf.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf' [78/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe' [79/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.mail.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail' [80/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.ppt.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt' [81/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.tnef.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef' [82/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe' [83/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64' [84/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip' [85/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe' [86/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu' [87/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc' [88/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex' [89/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip' [90/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html' [91/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio' [92/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio' [93/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio' [94/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe' [95/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio' [96/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.7z.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z' [97/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz' [98/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe' [99/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe' [100/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.iso.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso' [101/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_lexer.c.o -MF libclamav/CMakeFiles/yara.dir/yara_lexer.c.o.d -o libclamav/CMakeFiles/yara.dir/yara_lexer.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_lexer.c yara_lexer.c:2571:24: warning: ‘yy_fatal_error’ defined but not used [-Wunused-function] yara_lexer.l: In function ‘yara_yylex’: yara_lexer.l:263:16: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 999 [-Wformat-truncation=] In file included from /usr/include/stdio.h:974, from yara_lexer.c:32: In function ‘snprintf’, inlined from ‘yara_yylex’ at yara_lexer.l:262:7: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 26 and 1049 bytes into a destination of size 1024 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [102/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe' [103/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso' [104/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2' [105/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip' [106/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe' [107/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz' [108/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one' [109/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -I/usr/include/libxml2 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/yara.dir/yara_grammar.c.o -MF libclamav/CMakeFiles/yara.dir/yara_grammar.c.o.d -o libclamav/CMakeFiles/yara.dir/yara_grammar.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_grammar.c In file included from yara_grammar.y:67: yara_grammar.c: In function ‘yara_yyparse’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yara_lexer.h:46:17: warning: variable ‘yara_yynerrs’ set but not used [-Wunused-but-set-variable=] 46 | #define yynerrs yara_yynerrs | ^~~~~~~~~~~~ yara_grammar.c:1466:9: note: in expansion of macro ‘yynerrs’ [110/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one' [111/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input && /usr/bin/python3.15 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/xor_testfile.py --in_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one.xor --out_file /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one Created: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one' [112/330] cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust && /usr/bin/cmake -E env CARGO_CMD=build CARGO_TARGET_DIR=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build MAINTAINER_MODE=OFF CARGO_INCLUDE_DIRECTORIES="/usr/include/libxml2;/usr/include;/usr/include;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/..;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build;/usr/include/json-c;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust;/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include;/usr/include/libxml2;/usr/include/libxml2;/usr/include;/usr/include/json-c;/usr/include" 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\ -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\ -g /usr/bin/cargo build --target riscv64gc-unknown-linux-gnu --release --target-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build Locking 149 packages to latest compatible versions Adding thiserror v1.0.69 (available: v2.0.18) Compiling proc-macro2 v1.0.106 Compiling quote v1.0.47 Compiling autocfg v1.5.1 Compiling unicode-ident v1.0.24 Compiling cfg-if v1.0.4 Compiling libc v0.2.189 Compiling crossbeam-utils v0.8.22 Compiling crossbeam-epoch v0.9.20 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.106/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=472a58dfd4e227af -C extra-filename=-c290fe4ff840c476 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/proc-macro2-c290fe4ff840c476 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/quote-1.0.47/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=ad0c6caa5bd661cd -C extra-filename=-6e327d732fa0c98d --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/quote-6e327d732fa0c98d -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=a83d7ec7f507cc44 -C extra-filename=-8b3086eac78d1ebe --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2021 /usr/share/cargo/registry/unicode-ident-1.0.24/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d4f46db21aa683ed -C extra-filename=-bd5e6a2d3a0f40a7 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.5.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d7045a3de519ea5f -C extra-filename=-5471698b73493db1 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.22/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=ea1e94b3880a7f71 -C extra-filename=-1e87134aa5c9e7fc --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/crossbeam-utils-1e87134aa5c9e7fc -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.189/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=2253349cfc13f29d -C extra-filename=-e37a948d5086debc --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/libc-e37a948d5086debc -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crossbeam-epoch-0.9.20/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "nightly", "std"))' -C metadata=9a633bd4a433db2d -C extra-filename=-82a7c07dd7f8cfe7 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/crossbeam-epoch-82a7c07dd7f8cfe7 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling memchr v2.8.3 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.8.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=80c4ddf2c996a392 -C extra-filename=-0ce24d36cae9bd72 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling glob v0.3.4 Running `/usr/bin/rustc --crate-name glob --edition=2021 /usr/share/cargo/registry/glob-0.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=97828b1bd90ba720 -C extra-filename=-b10681c3e5c3aff3 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/crossbeam-epoch-82a7c07dd7f8cfe7/build-script-build` Compiling prettyplease v0.2.37 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/prettyplease-0.2.37/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="verbatim"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("verbatim"))' -C metadata=1a146ad39de1cf56 -C extra-filename=-7437235a4bb3e986 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/prettyplease-7437235a4bb3e986 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/quote-6e327d732fa0c98d/build-script-build` Compiling crossbeam-deque v0.8.7 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crossbeam-deque-0.8.7/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=79acd33f4712afeb -C extra-filename=-4e6e21c10403d66b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/crossbeam-deque-4e6e21c10403d66b -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/crossbeam-utils-1e87134aa5c9e7fc/build-script-build` Running `/usr/bin/rustc --crate-name crossbeam_utils --edition=2021 /usr/share/cargo/registry/crossbeam-utils-0.8.22/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=42466a83764e6484 -C extra-filename=-956e45d0e3e219de --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g --check-cfg 'cfg(crossbeam_no_atomic,crossbeam_sanitize_thread)'` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/proc-macro2-c290fe4ff840c476/build-script-build` Compiling either v1.16.0 Running `/usr/bin/rustc --crate-name either --edition=2021 /usr/share/cargo/registry/either-1.16.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "use_std"))' -C metadata=eab7a6a31087deaf -C extra-filename=-02984d800a5a5329 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.106/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=71a7030615c11f73 -C extra-filename=-b29e92b45c886b2f --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern unicode_ident=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libunicode_ident-bd5e6a2d3a0f40a7.rmeta --cap-lints allow --cfg wrap_proc_macro --cfg proc_macro_span_location --cfg proc_macro_span_file --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(proc_macro_span_file)' --check-cfg 'cfg(proc_macro_span_location)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_build_probe)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/crossbeam-deque-4e6e21c10403d66b/build-script-build` Compiling rustix v1.1.4 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rustix-1.1.4/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(sanitize_memory)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=850bffea81b155ba -C extra-filename=-75ca5d5b9a11de36 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/rustix-75ca5d5b9a11de36 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling rayon-core v1.13.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rayon-core-1.13.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=c948faccb83c96a5 -C extra-filename=-2d14b4d04865bf82 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/rayon-core-2d14b4d04865bf82 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling getrandom v0.4.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2024 /usr/share/cargo/registry/getrandom-0.4.3/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--warn=clippy::useless_conversion' --warn=unused_lifetimes '--warn=clippy::unnecessary_cast' --warn=unexpected_cfgs '--warn=clippy::ptr_as_ptr' --warn=missing_docs '--warn=clippy::fn_to_numeric_cast_with_truncation' '--warn=clippy::fn_to_numeric_cast' '--warn=clippy::checked_conversions' '--warn=clippy::char_lit_as_u8' '--warn=clippy::cast_sign_loss' '--warn=clippy::cast_ptr_alignment' '--warn=clippy::cast_precision_loss' '--warn=clippy::cast_possible_wrap' '--warn=clippy::cast_possible_truncation' '--warn=clippy::cast_lossless' --check-cfg 'cfg(getrandom_backend, values("custom", "efi_rng", "rdrand", "rndr", "linux_getrandom", "linux_raw", "windows_legacy", "unsupported", "extern_impl"))' --check-cfg 'cfg(getrandom_msan)' --check-cfg 'cfg(getrandom_test_linux_fallback)' --check-cfg 'cfg(getrandom_test_linux_without_fallback)' --check-cfg 'cfg(getrandom_test_netbsd_fallback)' --check-cfg 'cfg(target_os, values("cygwin"))' --check-cfg 'cfg(target_os, values("motor"))' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std", "sys_rng", "wasm_js"))' -C metadata=0f48875ec7b809f8 -C extra-filename=-bbcac3d5f058e86f --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/getrandom-bbcac3d5f058e86f -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling clang-sys v1.8.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/clang-sys-1.8.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_10_0"' --cfg 'feature="clang_11_0"' --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="clang_7_0"' --cfg 'feature="clang_8_0"' --cfg 'feature="clang_9_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clang_10_0", "clang_11_0", "clang_12_0", "clang_13_0", "clang_14_0", "clang_15_0", "clang_16_0", "clang_17_0", "clang_18_0", "clang_3_5", "clang_3_6", "clang_3_7", "clang_3_8", "clang_3_9", "clang_4_0", "clang_5_0", "clang_6_0", "clang_7_0", "clang_8_0", "clang_9_0", "libcpp", "libloading", "runtime", "static"))' -C metadata=b1eeed94a899f8c8 -C extra-filename=-23f5280cb38c66d5 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/clang-sys-23f5280cb38c66d5 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern glob=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libglob-b10681c3e5c3aff3.rlib --cap-lints allow` Compiling num-traits v0.2.19 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=480bbbdac92ffdf3 -C extra-filename=-b94d1608f91d0ba3 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/num-traits-b94d1608f91d0ba3 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern autocfg=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libautocfg-5471698b73493db1.rlib --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/rayon-core-2d14b4d04865bf82/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/libc-e37a948d5086debc/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/libc-e37a948d5086debc/build-script-build` Compiling simd-adler32 v0.3.10 Running `/usr/bin/rustc --crate-name simd_adler32 --edition=2018 /usr/share/cargo/registry/simd-adler32-0.3.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="const-generics"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("const-generics", "default", "nightly", "std"))' -C metadata=0aa57922d0661461 -C extra-filename=-6650474482406499 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling version_check v0.9.5 Running `/usr/bin/rustc --crate-name version_check --edition=2015 /usr/share/cargo/registry/version_check-0.9.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=56ecd3f30bc70b36 -C extra-filename=-478dd898780d3d9c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling serde_core v1.0.228 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=ad82ed1826ac7e60 -C extra-filename=-2aaed17e1b580583 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/serde_core-2aaed17e1b580583 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/num-traits-b94d1608f91d0ba3/build-script-build` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=de277a7ef2ccbd3b -C extra-filename=-90311dd057d1af87 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=ff6b05d4e9908ff6 -C extra-filename=-acb16adf8b9b1e56 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g --cfg has_total_cmp --check-cfg 'cfg(has_total_cmp)'` Compiling equator-macro v0.6.0 Running `/usr/bin/rustc --crate-name equator_macro --edition=2021 /usr/share/cargo/registry/equator-macro-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=a9160e09ab4da9f3 -C extra-filename=-15c9c8994d8bd395 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro --cap-lints allow` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.189/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=acac355ed80c6ef0 -C extra-filename=-05c81fb8766c8d79 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g --cfg freebsd12 --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_picolibc)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(musl32_time64)' --check-cfg 'cfg(musl_redir_time64)' --check-cfg 'cfg(vxworks_lt_25_09)' --check-cfg 'cfg(libc_pauthtest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt","qnx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/serde_core-2aaed17e1b580583/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.189/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=32277fcd95be2ce7 -C extra-filename=-1294b02935111a6b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow --cfg freebsd12 --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_picolibc)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(musl32_time64)' --check-cfg 'cfg(musl_redir_time64)' --check-cfg 'cfg(vxworks_lt_25_09)' --check-cfg 'cfg(libc_pauthtest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt","qnx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling crc32fast v1.5.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crc32fast-1.5.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=8ec23d95e075521c -C extra-filename=-284ed49b3f79ff7a --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/crc32fast-284ed49b3f79ff7a -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name quote --edition=2021 /usr/share/cargo/registry/quote-1.0.47/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=dc3a06651e47680d -C extra-filename=-bd6a7ffd978ca8fb --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rmeta --cap-lints allow --check-cfg 'cfg(no_diagnostic_namespace)'` Running `/usr/bin/rustc --crate-name crossbeam_epoch --edition=2021 /usr/share/cargo/registry/crossbeam-epoch-0.9.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "nightly", "std"))' -C metadata=ec5a1e0ffe9884e6 -C extra-filename=-8eb0350acf3fb142 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrossbeam_utils-956e45d0e3e219de.rmeta --cap-lints allow -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 -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 -g --check-cfg 'cfg(crossbeam_sanitize_thread)'` Compiling equator v0.6.0 Running `/usr/bin/rustc --crate-name equator --edition=2021 /usr/share/cargo/registry/equator-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=6aae27c347f5294d -C extra-filename=-5e25fea61ff49b71 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern equator_macro=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libequator_macro-15c9c8994d8bd395.so --cap-lints allow -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 -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 -g` Compiling syn v2.0.119 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.119/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="visit-mut"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=4660979cf0b64fa7 -C extra-filename=-b29a68fd13d32a9c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rmeta --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rmeta --extern unicode_ident=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libunicode_ident-bd5e6a2d3a0f40a7.rmeta --cap-lints allow` Compiling generic-array v0.14.9 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/generic-array-0.14.9/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="more_lengths"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("more_lengths", "serde", "zeroize"))' -C metadata=7676432cfabd0add -C extra-filename=-4218b0e27994211d --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/generic-array-4218b0e27994211d -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern version_check=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libversion_check-478dd898780d3d9c.rlib --cap-lints allow` Compiling anyhow v1.0.103 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/anyhow-1.0.103/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "std"))' -C metadata=59eb1b685de6f945 -C extra-filename=-b3096a899cb4cf33 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/anyhow-b3096a899cb4cf33 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.8.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=1072c6428ac750cb -C extra-filename=-15279a6720be5684 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/generic-array-4218b0e27994211d/build-script-build` Running `/usr/bin/rustc --crate-name crossbeam_deque --edition=2021 /usr/share/cargo/registry/crossbeam-deque-0.8.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs '--allow=clippy::lint_groups_priority' '--allow=clippy::declare_interior_mutable_const' --check-cfg 'cfg(crossbeam_loom)' --check-cfg 'cfg(crossbeam_sanitize)' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=6486f3dc3da67547 -C extra-filename=-072a43d16d4c0d24 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern crossbeam_epoch=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrossbeam_epoch-8eb0350acf3fb142.rmeta --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrossbeam_utils-956e45d0e3e219de.rmeta --cap-lints allow -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 -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 -g --check-cfg 'cfg(crossbeam_sanitize_thread)'` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/anyhow-b3096a899cb4cf33/build-script-build` Running `/usr/bin/rustc --crate-name rayon_core --edition=2021 /usr/share/cargo/registry/rayon-core-1.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f4ab87617a3b5cc2 -C extra-filename=-af2dc0f77ba56502 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern crossbeam_deque=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrossbeam_deque-072a43d16d4c0d24.rmeta --extern crossbeam_utils=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrossbeam_utils-956e45d0e3e219de.rmeta --cap-lints allow -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 -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 -g` Compiling aligned-vec v0.6.4 Running `/usr/bin/rustc --crate-name aligned_vec --edition=2021 /usr/share/cargo/registry/aligned-vec-0.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=03a6d6f12119658b -C extra-filename=-e2956d1892f61af6 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern equator=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libequator-5e25fea61ff49b71.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/crc32fast-284ed49b3f79ff7a/build-script-build` Running `/usr/bin/rustc --crate-name serde_core --edition=2021 /usr/share/cargo/registry/serde_core-1.0.228/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="result"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "rc", "result", "std", "unstable"))' -C metadata=fb45e5ee1b120088 -C extra-filename=-1a4184a065529112 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Compiling zerocopy v0.8.52 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/zerocopy-0.8.52/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="derive"' --cfg 'feature="simd"' --cfg 'feature="zerocopy-derive"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=5d8558089e7b4660 -C extra-filename=-0706ac983f278a10 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/zerocopy-0706ac983f278a10 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling paste v1.0.15 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/paste-1.0.15/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e784832bc3965038 -C extra-filename=-fe100c6b1e3db547 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/paste-fe100c6b1e3db547 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling thiserror v2.0.18 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/thiserror-2.0.18/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=e3c539ad3f6f8a7a -C extra-filename=-c036686a5da8399c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/thiserror-c036686a5da8399c -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling log v0.4.33 Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.33/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("kv", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "serde_core", "std"))' -C metadata=999e5d4b1c5169a7 -C extra-filename=-a688ca771d745a6e --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling num-integer v0.1.46 Running `/usr/bin/rustc --crate-name num_integer --edition=2018 /usr/share/cargo/registry/num-integer-0.1.46/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=84a119ae82ba948b -C extra-filename=-7940d1f6cd08fb65 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --cap-lints allow -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 -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 -g` Compiling serde v1.0.228 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde-1.0.228/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=2b900788cb1c746d -C extra-filename=-f643742f803983f8 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/serde-f643742f803983f8 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling stable_deref_trait v1.2.1 Running `/usr/bin/rustc --crate-name stable_deref_trait --edition=2015 /usr/share/cargo/registry/stable_deref_trait-1.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=1f533e098ed0667e -C extra-filename=-7a0f30f9fa351596 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling bitflags v2.13.1 Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "bytemuck", "example_generated", "serde", "serde_core", "std"))' -C metadata=4be5b30d85ed17d9 -C extra-filename=-eaeff3294629a488 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling zmij v1.0.21 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/zmij-1.0.21/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=706cdda6321c2d8d -C extra-filename=-8a64d33c75311d9f --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/zmij-8a64d33c75311d9f -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling arrayvec v0.7.7 Running `/usr/bin/rustc --crate-name arrayvec --edition=2018 /usr/share/cargo/registry/arrayvec-0.7.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "zeroize"))' -C metadata=ebb729c5793487a1 -C extra-filename=-6a233b93d6f24491 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling adler2 v2.0.1 Running `/usr/bin/rustc --crate-name adler2 --edition=2021 /usr/share/cargo/registry/adler2-2.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=c6c68f7b1df838c6 -C extra-filename=-769ec86f6e5e5861 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "bytemuck", "example_generated", "serde", "serde_core", "std"))' -C metadata=ff5ddded63891624 -C extra-filename=-c44468fe88cbe296 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling bindgen v0.72.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/bindgen-0.72.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--warn=clippy::pedantic' '--allow=clippy::wildcard_imports' '--allow=clippy::used_underscore_binding' '--allow=clippy::unused_self' --warn=unused_qualifications '--allow=clippy::unreadable_literal' '--allow=clippy::unnecessary_wraps' '--allow=clippy::trivially_copy_pass_by_ref' '--allow=clippy::too_many_lines' '--allow=clippy::struct_field_names' '--allow=clippy::struct_excessive_bools' '--allow=clippy::similar_names' '--allow=clippy::return_self_not_must_use' '--allow=clippy::redundant_closure_for_method_calls' '--allow=clippy::must_use_candidate' '--allow=clippy::module_name_repetitions' '--allow=clippy::missing_panics_doc' '--allow=clippy::missing_errors_doc' '--allow=clippy::maybe_infinite_iter' '--allow=clippy::match_same_arms' '--allow=clippy::items_after_statements' '--allow=clippy::implicit_hasher' '--allow=clippy::ignored_unit_patterns' '--allow=clippy::enum_glob_use' '--allow=clippy::default_trait_access' '--allow=clippy::cast_sign_loss' '--allow=clippy::cast_precision_loss' '--allow=clippy::cast_possible_wrap' '--allow=clippy::cast_possible_truncation' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="logging"' --cfg 'feature="prettyplease"' --cfg 'feature="runtime"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__cli", "__testing_only_extra_assertions", "__testing_only_libclang_16", "__testing_only_libclang_9", "default", "experimental", "logging", "prettyplease", "runtime", "static"))' -C metadata=5bfb3e51b299279e -C extra-filename=-70c089c528b338ef --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/bindgen-70c089c528b338ef -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling num-bigint v0.4.8 Running `/usr/bin/rustc --crate-name num_bigint --edition=2021 /usr/share/cargo/registry/num-bigint-0.4.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "quickcheck", "rand", "serde", "std"))' -C metadata=99796e62bc63a009 -C extra-filename=-8df175af6c877500 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_integer=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_integer-7940d1f6cd08fb65.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --cap-lints allow -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 -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 -g` Compiling typenum v1.20.1 Running `/usr/bin/rustc --crate-name typenum --edition=2018 /usr/share/cargo/registry/typenum-1.20.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("const-generics", "i128", "scale-info", "scale_info", "strict"))' -C metadata=cef28c654b03d809 -C extra-filename=-9d8531292dc734bd --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling miniz_oxide v0.8.9 Running `/usr/bin/rustc --crate-name miniz_oxide --edition=2021 /usr/share/cargo/registry/miniz_oxide-0.8.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --cfg 'feature="default"' --cfg 'feature="simd"' --cfg 'feature="simd-adler32"' --cfg 'feature="with-alloc"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "block-boundary", "core", "default", "rustc-dep-of-std", "serde", "simd", "simd-adler32", "std", "with-alloc"))' -C metadata=620ab05a1172ea2a -C extra-filename=-d84595c4dec53c31 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern adler2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libadler2-769ec86f6e5e5861.rmeta --extern simd_adler32=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libsimd_adler32-6650474482406499.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/zmij-8a64d33c75311d9f/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/serde-f643742f803983f8/build-script-build` Compiling as-slice v0.2.1 Running `/usr/bin/rustc --crate-name as_slice --edition=2015 /usr/share/cargo/registry/as-slice-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=957143180c80a5f6 -C extra-filename=-62e402578b9362f2 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern stable_deref_trait=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libstable_deref_trait-7a0f30f9fa351596.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/thiserror-c036686a5da8399c/build-script-build` Compiling rayon v1.12.0 Running `/usr/bin/rustc --crate-name rayon --edition=2021 /usr/share/cargo/registry/rayon-1.12.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=8e92feabb8c404c4 -C extra-filename=-dbf38bf872e5c9a0 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern either=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libeither-02984d800a5a5329.rmeta --extern rayon_core=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librayon_core-af2dc0f77ba56502.rmeta --cap-lints allow -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 -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 -g` Compiling v_frame v0.3.9 Running `/usr/bin/rustc --crate-name v_frame --edition=2021 /usr/share/cargo/registry/v_frame-0.3.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("serde", "serialize"))' -C metadata=dc1ea0ddfe9268ff -C extra-filename=-05c79467ab12d37e --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern aligned_vec=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libaligned_vec-e2956d1892f61af6.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/paste-fe100c6b1e3db547/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/zerocopy-0706ac983f278a10/build-script-build` Running `/usr/bin/rustc --crate-name crc32fast --edition=2021 /usr/share/cargo/registry/crc32fast-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=2c5ddd9866c49ef2 -C extra-filename=-039876eb9c50fbb3 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --cap-lints allow -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 -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 -g --cfg stable_arm_crc32_intrinsics --check-cfg 'cfg(stable_arm_crc32_intrinsics)'` Running `/usr/bin/rustc --crate-name anyhow --edition=2021 /usr/share/cargo/registry/anyhow-1.0.103/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace", "default", "std"))' -C metadata=404e916643dffee3 -C extra-filename=-d9933c1780977f36 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g --check-cfg 'cfg(anyhow_build_probe)' --check-cfg 'cfg(anyhow_nightly_testing)' --check-cfg 'cfg(anyhow_no_clippy_format_args)' --check-cfg 'cfg(anyhow_no_core_error)' --check-cfg 'cfg(error_generic_member_access)'` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/clang-sys-23f5280cb38c66d5/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/rustix-75ca5d5b9a11de36/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/getrandom-bbcac3d5f058e86f/build-script-build` Compiling indexmap v1.9.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/indexmap-1.9.3/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "quickcheck", "rayon", "rustc-rayon", "serde", "serde-1", "std", "test_debug", "test_low_transition_point"))' -C metadata=e40117034c6e5629 -C extra-filename=-72ade37ee48ca9e1 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/indexmap-72ade37ee48ca9e1 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern autocfg=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libautocfg-5471698b73493db1.rlib --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/prettyplease-7437235a4bb3e986/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/proc-macro2-c290fe4ff840c476/build-script-build` Compiling av-scenechange v0.14.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/av-scenechange-0.14.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs '--warn=clippy::missing_inline_in_public_items' '--warn=clippy::inline_always' --check-cfg 'cfg(asm_x86_64)' --check-cfg 'cfg(asm_neon)' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("asm", "binary", "cc", "clap", "console", "default", "devel", "fern", "ffmpeg", "ffmpeg-the-third", "libc", "nasm-rs", "serde", "serde_json", "serialize", "tracing", "tracing-chrome", "tracing-subscriber", "vapoursynth"))' -C metadata=5f26808be00e9afb -C extra-filename=-57be54c0dfe58fbc --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/av-scenechange-57be54c0dfe58fbc -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name generic_array --edition=2015 /usr/share/cargo/registry/generic-array-0.14.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="more_lengths"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("more_lengths", "serde", "zeroize"))' -C metadata=935cc23c2faf3ced -C extra-filename=-9419c11897bfbfe7 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern typenum=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libtypenum-9d8531292dc734bd.rmeta --cap-lints allow -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 -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 -g --cfg relaxed_coherence --cfg ga_is_deprecated --check-cfg 'cfg(ga_is_deprecated)'` Compiling minimal-lexical v0.2.1 Running `/usr/bin/rustc --crate-name minimal_lexical --edition=2018 /usr/share/cargo/registry/minimal-lexical-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compact", "default", "lint", "nightly", "std"))' -C metadata=653c39d4d5cd50af -C extra-filename=-15676a2ecf56b187 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name unicode_ident --edition=2021 /usr/share/cargo/registry/unicode-ident-1.0.24/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ea9dc4dd21b2df26 -C extra-filename=-cda2fed8e511af68 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling serde_json v1.0.151 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/serde_json-1.0.151/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=d11957642ec4a188 -C extra-filename=-0b9a801d5e21af13 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/serde_json-0b9a801d5e21af13 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling linux-raw-sys v0.12.1 Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.12.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(target_arch, values("xtensa"))' -C debug-assertions=off --cfg 'feature="auxvec"' --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("auxvec", "bootparam", "btrfs", "core", "default", "elf", "elf_uapi", "errno", "general", "if_arp", "if_ether", "if_packet", "if_tun", "image", "io_uring", "ioctl", "landlock", "loop_device", "mempolicy", "net", "netlink", "no_std", "prctl", "ptrace", "rustc-dep-of-std", "std", "system", "vm_sockets", "xdp"))' -C metadata=8847ee836ff87d06 -C extra-filename=-7eeec4d1ccb0972c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling syn v1.0.109 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/syn-1.0.109/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="extra-traits"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=9d7676c69f8d7d63 -C extra-filename=-215a9e71539f3f56 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/syn-215a9e71539f3f56 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling regex-syntax v0.8.11 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --allow=unexpected_cfgs --check-cfg 'cfg(docsrs_regex)' -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode-perl"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=b49a1ab30324d993 -C extra-filename=-203bfe0796b4fee2 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/syn-215a9e71539f3f56/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/serde_json-0b9a801d5e21af13/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.106/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=c8c435bdcfb2af29 -C extra-filename=-0266906b2ab7d536 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern unicode_ident=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libunicode_ident-cda2fed8e511af68.rmeta --cap-lints allow -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 -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 -g --cfg wrap_proc_macro --cfg proc_macro_span_location --cfg proc_macro_span_file --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(proc_macro_span_file)' --check-cfg 'cfg(proc_macro_span_location)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_build_probe)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-1.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(sanitize_memory)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=2c05e5f94a545492 -C extra-filename=-373e2ec03f0a6e6c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libbitflags-eaeff3294629a488.rmeta --extern linux_raw_sys=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/liblinux_raw_sys-7eeec4d1ccb0972c.rmeta --cap-lints allow --cfg static_assertions --cfg lower_upper_exp_for_non_zero --cfg rustc_diagnostics --cfg linux_raw_dep --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling nom v7.1.3 Running `/usr/bin/rustc --crate-name nom --edition=2018 /usr/share/cargo/registry/nom-7.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "docsrs", "std"))' -C metadata=890c4cd20e54c0dd -C extra-filename=-86f4b0bead4bd74b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern memchr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libmemchr-15279a6720be5684.rmeta --extern minimal_lexical=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libminimal_lexical-15676a2ecf56b187.rmeta --cap-lints allow` Compiling num-rational v0.4.2 Running `/usr/bin/rustc --crate-name num_rational --edition=2021 /usr/share/cargo/registry/num-rational-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="num-bigint"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "num-bigint", "num-bigint-std", "serde", "std"))' -C metadata=6e83504e8f51dbac -C extra-filename=-589d10e6bcab8023 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_bigint=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_bigint-8df175af6c877500.rmeta --extern num_integer=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_integer-7940d1f6cd08fb65.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --cap-lints allow -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 -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 -g` Compiling regex-automata v0.4.18 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --allow=unexpected_cfgs --check-cfg 'cfg(docsrs_regex)' -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="meta"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-word-boundary"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=496c5700b5fe745f -C extra-filename=-8962666bd936a0b2 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern regex_syntax=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libregex_syntax-203bfe0796b4fee2.rmeta --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/av-scenechange-57be54c0dfe58fbc/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/indexmap-72ade37ee48ca9e1/build-script-build` Running `/usr/bin/rustc --crate-name getrandom --edition=2024 /usr/share/cargo/registry/getrandom-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no '--warn=clippy::useless_conversion' --warn=unused_lifetimes '--warn=clippy::unnecessary_cast' --warn=unexpected_cfgs '--warn=clippy::ptr_as_ptr' --warn=missing_docs '--warn=clippy::fn_to_numeric_cast_with_truncation' '--warn=clippy::fn_to_numeric_cast' '--warn=clippy::checked_conversions' '--warn=clippy::char_lit_as_u8' '--warn=clippy::cast_sign_loss' '--warn=clippy::cast_ptr_alignment' '--warn=clippy::cast_precision_loss' '--warn=clippy::cast_possible_wrap' '--warn=clippy::cast_possible_truncation' '--warn=clippy::cast_lossless' --check-cfg 'cfg(getrandom_backend, values("custom", "efi_rng", "rdrand", "rndr", "linux_getrandom", "linux_raw", "windows_legacy", "unsupported", "extern_impl"))' --check-cfg 'cfg(getrandom_msan)' --check-cfg 'cfg(getrandom_test_linux_fallback)' --check-cfg 'cfg(getrandom_test_linux_without_fallback)' --check-cfg 'cfg(getrandom_test_netbsd_fallback)' --check-cfg 'cfg(target_os, values("cygwin"))' --check-cfg 'cfg(target_os, values("motor"))' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std", "sys_rng", "wasm_js"))' -C metadata=60891af9ccf9cb3e -C extra-filename=-326830af63cc250c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libcfg_if-90311dd057d1af87.rmeta --extern libc=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/liblibc-1294b02935111a6b.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name paste --edition=2018 /usr/share/cargo/registry/paste-1.0.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=9f569c05f0b8e51a -C extra-filename=-2b5b051a2c4eaaaf --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro --cap-lints allow --check-cfg 'cfg(no_literal_fromstr)' --check-cfg 'cfg(feature, values("protocol_feature_paste"))'` Compiling aligned v0.4.3 Running `/usr/bin/rustc --crate-name aligned --edition=2024 /usr/share/cargo/registry/aligned-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=74d2094ed079615e -C extra-filename=-976898e576ec6fde --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern as_slice=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libas_slice-62e402578b9362f2.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name zmij --edition=2021 /usr/share/cargo/registry/zmij-1.0.21/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=442571d30085641d -C extra-filename=-7a134d7a05dbf92c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow --check-cfg 'cfg(exhaustive)' --check-cfg 'cfg(zmij_no_select_unpredictable)'` Compiling libloading v0.8.9 Running `/usr/bin/rustc --crate-name libloading --edition=2015 /usr/share/cargo/registry/libloading-0.8.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(libloading_docs)' --check-cfg 'cfg(target_os, values("cygwin"))' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=fcc2648d3b6089fb -C extra-filename=-b39a3070491c507d --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libcfg_if-90311dd057d1af87.rmeta --cap-lints allow` Compiling nom v8.0.0 Running `/usr/bin/rustc --crate-name nom --edition=2021 /usr/share/cargo/registry/nom-8.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "docsrs", "std"))' -C metadata=bb898addcf288a97 -C extra-filename=-ce87fce98f189ecd --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern memchr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libmemchr-0ce24d36cae9bd72.rmeta --cap-lints allow -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 -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 -g` Compiling core2 v0.4.0 Running `/usr/bin/rustc --crate-name core2 --edition=2018 /usr/share/cargo/registry/core2-0.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "nightly", "std"))' -C metadata=b0db2ed69897edae -C extra-filename=-61296efdd0c4a52b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern memchr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libmemchr-0ce24d36cae9bd72.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/quote-6e327d732fa0c98d/build-script-build` Compiling once_cell v1.21.4 Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.21.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=ba9e7101973a3d4c -C extra-filename=-2f63f68f25b236d9 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling y4m v0.8.0 Running `/usr/bin/rustc --crate-name y4m --edition=2015 /usr/share/cargo/registry/y4m-0.8.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=efd0482e87d785a7 -C extra-filename=-c7cb443b0ed4e711 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name either --edition=2021 /usr/share/cargo/registry/either-1.16.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std", "use_std"))' -C metadata=ee1af92ff5513e95 -C extra-filename=-385004f47e732c50 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling quick-error v2.0.1 Running `/usr/bin/rustc --crate-name quick_error --edition=2018 /usr/share/cargo/registry/quick-error-2.0.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=82a3ee125b06ca59 -C extra-filename=-6f78bc197e37c613 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling itoa v1.0.18 Running `/usr/bin/rustc --crate-name itoa --edition=2021 /usr/share/cargo/registry/itoa-1.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no-panic"))' -C metadata=c0bd0502e8172bea -C extra-filename=-0336939a7bf56c68 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name log --edition=2021 /usr/share/cargo/registry/log-0.4.33/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("kv", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "serde_core", "std"))' -C metadata=3a845f8e7c7b6449 -C extra-filename=-e1aaab4923e691c0 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling hashbrown v0.12.3 Running `/usr/bin/rustc --crate-name hashbrown --edition=2021 /usr/share/cargo/registry/hashbrown-0.12.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="raw"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("ahash", "ahash-compile-time-rng", "bumpalo", "default", "inline-more", "raw", "rayon", "serde"))' -C metadata=fb8fba9e8c45dfa9 -C extra-filename=-3385d3a322e02712 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling cbindgen v0.26.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 /usr/share/cargo/registry/cbindgen-0.26.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default"))' -C metadata=1612d955547a5f9c -C extra-filename=-6f58ea0dfbc6c3cd --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/cbindgen-6f58ea0dfbc6c3cd -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling pastey v0.2.3 Running `/usr/bin/rustc --crate-name pastey --edition=2018 /usr/share/cargo/registry/pastey-0.2.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(coverage_nightly)' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ee989d40d68688e6 -C extra-filename=-2383fcbf219a7ff4 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro --cap-lints allow` Compiling fastrand v2.5.0 Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=bb6e60124783dcf7 -C extra-filename=-70a591fad759c3df --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling rav1e v0.8.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rav1e-0.8.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::upper_case_acronyms' --warn=unexpected_cfgs '--allow=clippy::too_many_arguments' '--allow=clippy::needless_range_loop' '--warn=clippy::missing_safety_doc' '--warn=clippy::missing_panics_doc' '--warn=clippy::missing_errors_doc' '--allow=clippy::enum_variant_names' '--warn=clippy::doc_markdown' '--warn=clippy::doc_link_with_quotes' '--allow=clippy::comparison_chain' --check-cfg 'cfg(nasm_x86_64)' --check-cfg 'cfg(asm_neon)' --check-cfg 'cfg(cargo_c)' --check-cfg 'cfg(fuzzing)' -C debug-assertions=off --cfg 'feature="threading"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("asm", "av-metrics", "backtrace", "binaries", "capi", "cc", "channel-api", "check_asm", "clap", "clap_complete", "console", "crossbeam", "dav1d-sys", "decode_test_dav1d", "default", "desync_finder", "dump_ivf", "fern", "ivf", "nasm-rs", "nom", "quick_test", "scan_fmt", "serde", "serde-big-array", "serialize", "signal-hook", "signal_support", "threading", "toml", "unstable", "y4m"))' -C metadata=bdd4c2b4eb3c1d8d -C extra-filename=-b817f6ac5e6f4dcc --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/rav1e-b817f6ac5e6f4dcc -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/cbindgen-6f58ea0dfbc6c3cd/build-script-build` Compiling itertools v0.13.0 Running `/usr/bin/rustc --crate-name itertools --edition=2018 /usr/share/cargo/registry/itertools-0.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="use_alloc"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_alloc", "use_std"))' -C metadata=9f04f9bb204c171d -C extra-filename=-19c118c5b99ea6da --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern either=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libeither-385004f47e732c50.rmeta --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/rav1e-b817f6ac5e6f4dcc/build-script-build` Compiling tempfile v3.27.0 Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.27.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="getrandom"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "getrandom", "nightly"))' -C metadata=6506ad45123237cb -C extra-filename=-faf519dcec54b1fe --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern fastrand=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libfastrand-70a591fad759c3df.rmeta --extern getrandom=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libgetrandom-326830af63cc250c.rmeta --extern once_cell=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libonce_cell-2f63f68f25b236d9.rmeta --extern rustix=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/librustix-373e2ec03f0a6e6c.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name serde_json --edition=2021 /usr/share/cargo/registry/serde_json-1.0.151/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary_precision", "default", "float_roundtrip", "indexmap", "preserve_order", "raw_value", "std", "unbounded_depth"))' -C metadata=0cb32dc05289cae8 -C extra-filename=-bd21ccb4f423e9d0 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern itoa=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libitoa-0336939a7bf56c68.rmeta --extern memchr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libmemchr-15279a6720be5684.rmeta --extern serde_core=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libserde_core-1a4184a065529112.rmeta --extern zmij=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libzmij-7a134d7a05dbf92c.rmeta --cap-lints allow --cfg 'fast_arithmetic="64"' --check-cfg 'cfg(fast_arithmetic, values("32", "64"))'` Running `/usr/bin/rustc --crate-name quote --edition=2021 /usr/share/cargo/registry/quote-1.0.47/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=5968f3f26aad8bf7 -C extra-filename=-6d3a9d94db9693e3 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libproc_macro2-0266906b2ab7d536.rmeta --cap-lints allow -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 -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 -g --check-cfg 'cfg(no_diagnostic_namespace)'` Running `/usr/bin/rustc --crate-name indexmap --edition=2021 /usr/share/cargo/registry/indexmap-1.9.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "quickcheck", "rayon", "rustc-rayon", "serde", "serde-1", "std", "test_debug", "test_low_transition_point"))' -C metadata=f6adf11eb011ff32 -C extra-filename=-bc78f17044fdb90f --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern hashbrown=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libhashbrown-3385d3a322e02712.rmeta --cap-lints allow --cfg has_std --check-cfg 'cfg(has_std)'` Compiling bitstream-io v4.9.0 Running `/usr/bin/rustc --crate-name bitstream_io --edition=2018 /usr/share/cargo/registry/bitstream-io-4.9.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=b30eb606a12bb9ed -C extra-filename=-7b3b671cbb76b388 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern core2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcore2-61296efdd0c4a52b.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name clang_sys --edition=2021 /usr/share/cargo/registry/clang-sys-1.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clang_10_0"' --cfg 'feature="clang_11_0"' --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="clang_7_0"' --cfg 'feature="clang_8_0"' --cfg 'feature="clang_9_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clang_10_0", "clang_11_0", "clang_12_0", "clang_13_0", "clang_14_0", "clang_15_0", "clang_16_0", "clang_17_0", "clang_18_0", "clang_3_5", "clang_3_6", "clang_3_7", "clang_3_8", "clang_3_9", "clang_4_0", "clang_5_0", "clang_6_0", "clang_7_0", "clang_8_0", "clang_9_0", "libcpp", "libloading", "runtime", "static"))' -C metadata=232229484fb40ac0 -C extra-filename=-dd9fdde1843df0f2 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern glob=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libglob-b10681c3e5c3aff3.rmeta --extern libc=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/liblibc-1294b02935111a6b.rmeta --extern libloading=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/liblibloading-b39a3070491c507d.rmeta --cap-lints allow` Compiling thiserror-impl v2.0.18 Running `/usr/bin/rustc --crate-name thiserror_impl --edition=2021 /usr/share/cargo/registry/thiserror-impl-2.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=0457f716447e2ea9 -C extra-filename=-b389c75ab66822ac --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rlib --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rlib --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rlib --extern proc_macro --cap-lints allow` Compiling zerocopy-derive v0.8.52 Running `/usr/bin/rustc --crate-name zerocopy_derive --edition=2021 /usr/share/cargo/registry/zerocopy-derive-0.8.52/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(zerocopy_derive_union_into_bytes)' --check-cfg 'cfg(zerocopy_unstable_linux)' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=bc7824a8808edbef -C extra-filename=-3c97d18294647341 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rlib --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rlib --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rlib --extern proc_macro --cap-lints allow` Compiling serde_derive v1.0.228 Running `/usr/bin/rustc --crate-name serde_derive --edition=2021 /usr/share/cargo/registry/serde_derive-1.0.228/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deserialize_in_place"))' -C metadata=1ec05bc2ebdb0301 -C extra-filename=-27b64e6440d8939b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rlib --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rlib --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rlib --extern proc_macro --cap-lints allow` Compiling arg_enum_proc_macro v0.3.4 Running `/usr/bin/rustc --crate-name arg_enum_proc_macro --edition=2018 /usr/share/cargo/registry/arg_enum_proc_macro-0.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=0cd0be915c884c7a -C extra-filename=-46a3d6ad6da119f8 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rlib --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rlib --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rlib --extern proc_macro --cap-lints allow` Compiling regex v1.13.1 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --allow=unexpected_cfgs --check-cfg 'cfg(docsrs_regex)' -C debug-assertions=off --cfg 'feature="std"' --cfg 'feature="unicode-perl"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "logging", "pattern", "perf", "perf-backtrack", "perf-cache", "perf-dfa", "perf-dfa-full", "perf-inline", "perf-literal", "perf-onepass", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=9a8b6a0d6e01158c -C extra-filename=-e13dc0ce6bb5af34 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern regex_automata=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libregex_automata-8962666bd936a0b2.rmeta --extern regex_syntax=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libregex_syntax-203bfe0796b4fee2.rmeta --cap-lints allow` Compiling num-derive v0.4.2 Running `/usr/bin/rustc --crate-name num_derive --edition=2021 /usr/share/cargo/registry/num-derive-0.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=7a6a75c7f069f78e -C extra-filename=-dfcacc88a5c8b143 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rlib --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rlib --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rlib --extern proc_macro --cap-lints allow` Compiling cexpr v0.6.0 Running `/usr/bin/rustc --crate-name cexpr --edition=2018 /usr/share/cargo/registry/cexpr-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=bd43973cd4d929c9 -C extra-filename=-1f11618aec4460e9 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern nom=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libnom-86f4b0bead4bd74b.rmeta --cap-lints allow` Compiling maybe-rayon v0.1.1 Running `/usr/bin/rustc --crate-name maybe_rayon --edition=2021 /usr/share/cargo/registry/maybe-rayon-0.1.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="rayon"' --cfg 'feature="threads"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rayon", "threads"))' -C metadata=91653b9c85de06f6 -C extra-filename=-fef5ceff8fa97386 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --extern rayon=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librayon-dbf38bf872e5c9a0.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name prettyplease --edition=2021 /usr/share/cargo/registry/prettyplease-0.2.37/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="verbatim"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("verbatim"))' -C metadata=ccd4b08aa6cff4b6 -C extra-filename=-d5b976b428756c31 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rmeta --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rmeta --cap-lints allow --check-cfg 'cfg(exhaustive)' --check-cfg 'cfg(prettyplease_debug)' --check-cfg 'cfg(prettyplease_debug_indent)'` Running `/usr/bin/rustc --crate-name thiserror --edition=2021 /usr/share/cargo/registry/thiserror-2.0.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=25b509a176a78d96 -C extra-filename=-15806aa9af425d93 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern thiserror_impl=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libthiserror_impl-b389c75ab66822ac.so --cap-lints allow -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 -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 -g --check-cfg 'cfg(error_generic_member_access)' --check-cfg 'cfg(thiserror_nightly_testing)' --check-cfg 'cfg(thiserror_no_backtrace_type)'` Running `/usr/bin/rustc --crate-name av_scenechange --edition=2021 /usr/share/cargo/registry/av-scenechange-0.14.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs '--warn=clippy::missing_inline_in_public_items' '--warn=clippy::inline_always' --check-cfg 'cfg(asm_x86_64)' --check-cfg 'cfg(asm_neon)' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("asm", "binary", "cc", "clap", "console", "default", "devel", "fern", "ffmpeg", "ffmpeg-the-third", "libc", "nasm-rs", "serde", "serde_json", "serialize", "tracing", "tracing-chrome", "tracing-subscriber", "vapoursynth"))' -C metadata=1399503427169bc1 -C extra-filename=-6bc14d766f24e4ef --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern aligned=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libaligned-976898e576ec6fde.rmeta --extern anyhow=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libanyhow-d9933c1780977f36.rmeta --extern arg_enum_proc_macro=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libarg_enum_proc_macro-46a3d6ad6da119f8.so --extern arrayvec=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libarrayvec-6a233b93d6f24491.rmeta --extern log=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblog-a688ca771d745a6e.rmeta --extern num_rational=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_rational-589d10e6bcab8023.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --extern pastey=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libpastey-2383fcbf219a7ff4.so --extern rayon=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librayon-dbf38bf872e5c9a0.rmeta --extern thiserror=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libthiserror-15806aa9af425d93.rmeta --extern v_frame=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libv_frame-05c79467ab12d37e.rmeta --extern y4m=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liby4m-c7cb443b0ed4e711.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name zerocopy --edition=2021 /usr/share/cargo/registry/zerocopy-0.8.52/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="derive"' --cfg 'feature="simd"' --cfg 'feature="zerocopy-derive"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__internal_use_only_features_that_work_on_stable", "alloc", "derive", "float-nightly", "simd", "simd-nightly", "std", "zerocopy-derive"))' -C metadata=eb44e3db559dd156 -C extra-filename=-83de12a5cd896737 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern zerocopy_derive=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libzerocopy_derive-3c97d18294647341.so --cap-lints allow -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 -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 -g --check-cfg 'cfg(no_zerocopy_simd_x86_avx12_1_89_0)' --check-cfg 'cfg(rust, values("1.89.0"))' --check-cfg 'cfg(no_zerocopy_core_error_1_81_0)' --check-cfg 'cfg(rust, values("1.81.0"))' --check-cfg 'cfg(no_zerocopy_diagnostic_on_unimplemented_1_78_0)' --check-cfg 'cfg(rust, values("1.78.0"))' --check-cfg 'cfg(no_zerocopy_generic_bounds_in_const_fn_1_61_0)' --check-cfg 'cfg(rust, values("1.61.0"))' --check-cfg 'cfg(no_zerocopy_target_has_atomics_1_60_0)' --check-cfg 'cfg(rust, values("1.60.0"))' --check-cfg 'cfg(no_zerocopy_aarch64_simd_1_59_0)' --check-cfg 'cfg(rust, values("1.59.0"))' --check-cfg 'cfg(no_zerocopy_aarch64_simd_be_1_87_0)' --check-cfg 'cfg(rust, values("1.87.0"))' --check-cfg 'cfg(no_zerocopy_panic_in_const_and_vec_try_reserve_1_57_0)' --check-cfg 'cfg(rust, values("1.57.0"))' --check-cfg 'cfg(doc_cfg)' --check-cfg 'cfg(kani)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_NIGHTLY_FEATURES_IN_TESTS)' --check-cfg 'cfg(__ZEROCOPY_INTERNAL_USE_ONLY_DEV_MODE)' --check-cfg 'cfg(coverage_nightly)' --check-cfg 'cfg(zerocopy_inline_always)' --check-cfg 'cfg(zerocopy_unstable_ptr)' --check-cfg 'cfg(zerocopy_unstable_linux)' --check-cfg 'cfg(no_fp_fmt_parse)'` Compiling block-buffer v0.10.4 Running `/usr/bin/rustc --crate-name block_buffer --edition=2018 /usr/share/cargo/registry/block-buffer-0.10.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=53b87981613da722 -C extra-filename=-df1cae32f09e041e --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern generic_array=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libgeneric_array-9419c11897bfbfe7.rmeta --cap-lints allow -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 -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 -g` Compiling crypto-common v0.1.7 Running `/usr/bin/rustc --crate-name crypto_common --edition=2018 /usr/share/cargo/registry/crypto-common-0.1.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("getrandom", "rand_core", "std"))' -C metadata=fdc542f3986e6cba -C extra-filename=-0818994755fc4091 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern generic_array=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libgeneric_array-9419c11897bfbfe7.rmeta --extern typenum=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libtypenum-9d8531292dc734bd.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name syn --edition=2018 /usr/share/cargo/registry/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="extra-traits"' --cfg 'feature="fold"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="quote"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "test", "visit", "visit-mut"))' -C metadata=4c0e501902ddc9c4 -C extra-filename=-ed86032744b5e312 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rmeta --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rmeta --extern unicode_ident=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libunicode_ident-bd5e6a2d3a0f40a7.rmeta --cap-lints allow --cfg syn_disable_nightly_tests` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/bindgen-70c089c528b338ef/build-script-build` Compiling flate2 v1.1.9 Running `/usr/bin/rustc --crate-name flate2 --edition=2018 /usr/share/cargo/registry/flate2-1.1.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="any_impl"' --cfg 'feature="default"' --cfg 'feature="miniz_oxide"' --cfg 'feature="rust_backend"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("any_c_zlib", "any_impl", "any_zlib", "cloudflare-zlib-sys", "cloudflare_zlib", "default", "document-features", "libz-ng-sys", "libz-sys", "miniz-sys", "miniz_oxide", "rust_backend", "zlib", "zlib-default", "zlib-ng", "zlib-ng-compat", "zlib-rs"))' -C metadata=7279a98f17974908 -C extra-filename=-95c29ba20286ad61 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern crc32fast=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrc32fast-039876eb9c50fbb3.rmeta --extern miniz_oxide=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libminiz_oxide-d84595c4dec53c31.rmeta --cap-lints allow -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 -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 -g` Compiling simd_helpers v0.1.0 Running `/usr/bin/rustc --crate-name simd_helpers --edition=2018 /usr/share/cargo/registry/simd_helpers-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=008d0c8969e538c5 -C extra-filename=-efe5c9194230b0ab --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rlib --extern proc_macro --cap-lints allow` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/clang-sys-23f5280cb38c66d5/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/num-traits-b94d1608f91d0ba3/build-script-build` Compiling av1-grain v0.2.5 Running `/usr/bin/rustc --crate-name av1_grain --edition=2021 /usr/share/cargo/registry/av1-grain-0.2.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no '--warn=clippy::zero_sized_map_values' '--warn=clippy::verbose_file_reads' '--warn=clippy::verbose_bit_mask' '--warn=clippy::unwrap_used' '--warn=clippy::unused_rounding' '--warn=clippy::unused_peekable' '--warn=clippy::unused_async' '--warn=clippy::unnecessary_join' '--warn=clippy::unnecessary_debug_formatting' '--warn=clippy::unnecessary_box_returns' '--allow=clippy::uninlined_format_args' '--warn=clippy::undocumented_unsafe_blocks' '--warn=clippy::trivially_copy_pass_by_ref' '--warn=clippy::trivial_regex' '--warn=clippy::transmute_undefined_repr' '--warn=clippy::transmute_ptr_to_ptr' '--warn=clippy::tests_outside_test_module' '--warn=clippy::suspicious_xor_used_as_pow' '--warn=clippy::suspicious_operation_groupings' '--warn=clippy::suboptimal_flops' '--warn=clippy::string_slice' '--warn=clippy::string_lit_chars_any' '--warn=clippy::str_split_at_newline' '--warn=clippy::stable_sort_primitive' '--deny=clippy::significant_drop_in_scrutinee' '--warn=clippy::set_contains_or_insert' '--warn=clippy::semicolon_if_nothing_returned' '--warn=clippy::ref_option_ref' '--warn=clippy::ref_option' '--warn=clippy::redundant_test_prefix' '--warn=clippy::redundant_clone' '--warn=clippy::read_zero_byte_vec' '--warn=clippy::rc_mutex' '--warn=clippy::rc_buffer' '--warn=clippy::range_plus_one' '--warn=clippy::range_minus_one' '--warn=clippy::precedence_bits' '--warn=clippy::pathbuf_init_then_push' '--warn=clippy::path_buf_push_overwrite' '--warn=clippy::or_fun_call' '--warn=clippy::option_if_let_else' '--warn=clippy::option_as_ref_cloned' '--warn=clippy::non_zero_suggestions' '--warn=clippy::non_std_lazy_statics' '--deny=clippy::non_send_fields_in_send_ty' '--warn=clippy::needless_pass_by_value' '--warn=clippy::needless_pass_by_ref_mut' '--warn=clippy::needless_continue' '--warn=clippy::needless_collect' '--warn=clippy::needless_bitwise_bool' '--warn=clippy::naive_bytecount' '--warn=clippy::mutex_integer' '--warn=clippy::mutex_atomic' '--warn=clippy::mut_mut' '--warn=clippy::mixed_read_write_in_expression' '--warn=clippy::missing_inline_in_public_items' '--warn=clippy::mismatching_type_param_order' '--warn=clippy::mem_forget' '--warn=clippy::maybe_infinite_iter' '--warn=clippy::match_bool' '--warn=clippy::map_with_unused_argument_over_ranges' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_string_new' '--warn=clippy::manual_midpoint' '--warn=clippy::manual_let_else' '--warn=clippy::manual_is_variant_and' '--warn=clippy::manual_is_power_of_two' '--warn=clippy::manual_instant_elapsed' '--warn=clippy::manual_assert' '--warn=clippy::macro_use_imports' '--deny=clippy::linkedlist' '--warn=clippy::large_types_passed_by_value' '--warn=clippy::large_stack_frames' '--warn=clippy::large_stack_arrays' '--warn=clippy::large_include_file' '--warn=clippy::large_futures' '--warn=clippy::iter_with_drain' '--warn=clippy::iter_on_single_items' '--warn=clippy::iter_on_empty_collections' '--warn=clippy::iter_filter_is_some' '--warn=clippy::iter_filter_is_ok' '--warn=clippy::invalid_upcast_comparisons' '--warn=clippy::inline_always' '--warn=clippy::infinite_loop' '--warn=clippy::inefficient_to_string' '--warn=clippy::inconsistent_struct_constructor' '--warn=clippy::imprecise_flops' '--warn=clippy::implicit_clone' '--warn=clippy::ignore_without_reason' '--warn=clippy::if_then_some_else_none' '--warn=clippy::future_not_send' '--warn=clippy::format_push_string' '--warn=clippy::format_collect' '--warn=clippy::flat_map_option' '--warn=clippy::filter_map_next' '--warn=clippy::filetype_is_file' '--deny=clippy::expl_impl_clone_on_copy' '--warn=clippy::equatable_if_let' '--warn=clippy::enum_glob_use' '--deny=clippy::debug_assert_with_mut_call' '--warn=clippy::dbg_macro' '--warn=clippy::create_dir' '--warn=clippy::collection_is_never_read' '--warn=clippy::cloned_instead_of_copied' '--warn=clippy::clone_on_ref_ptr' '--warn=clippy::clear_with_drain' '--warn=clippy::checked_conversions' '--deny=clippy::cfg_not_test' '--warn=clippy::case_sensitive_file_extension_comparisons' --cfg 'feature="create"' --cfg 'feature="default"' --cfg 'feature="diff"' --cfg 'feature="estimate"' --cfg 'feature="nom"' --cfg 'feature="num-rational"' --cfg 'feature="parse"' --cfg 'feature="v_frame"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("create", "default", "diff", "estimate", "nom", "num-rational", "parse", "serde", "serialize", "unstable", "v_frame"))' -C metadata=57c06f5a3434e44f -C extra-filename=-c7f1b06ddfcb5924 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern anyhow=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libanyhow-d9933c1780977f36.rmeta --extern arrayvec=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libarrayvec-6a233b93d6f24491.rmeta --extern log=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblog-a688ca771d745a6e.rmeta --extern nom=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnom-ce87fce98f189ecd.rmeta --extern num_rational=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_rational-589d10e6bcab8023.rmeta --extern v_frame=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libv_frame-05c79467ab12d37e.rmeta --cap-lints allow -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 -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 -g` Compiling itertools v0.14.0 Running `/usr/bin/rustc --crate-name itertools --edition=2018 /usr/share/cargo/registry/itertools-0.14.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_alloc"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_alloc", "use_std"))' -C metadata=b7bb476fb993229c -C extra-filename=-36851298d4276344 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern either=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libeither-02984d800a5a5329.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/prettyplease-7437235a4bb3e986/build-script-build` Compiling imgref v1.12.0 Running `/usr/bin/rustc --crate-name imgref --edition=2021 /usr/share/cargo/registry/imgref-1.12.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deprecated"))' -C metadata=9fdc3a8a6f75ab11 -C extra-filename=-7a17ce31253b35ac --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling thiserror v1.0.69 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/thiserror-1.0.69/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=6a89164b58c84d33 -C extra-filename=-1533b92f399cb0fa --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/thiserror-1533b92f399cb0fa -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling zune-core v0.5.1 Running `/usr/bin/rustc --crate-name zune_core --edition=2021 /usr/share/cargo/registry/zune-core-0.5.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("log", "serde", "std"))' -C metadata=599bb76d4c4c4823 -C extra-filename=-af5423c4e4bf4be1 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling weezl v0.1.12 Running `/usr/bin/rustc --crate-name weezl --edition=2018 /usr/share/cargo/registry/weezl-0.1.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "async", "default", "futures", "std"))' -C metadata=a2fdcd136ff18721 -C extra-filename=-35e7a3cbd952a76c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling new_debug_unreachable v1.0.6 Running `/usr/bin/rustc --crate-name debug_unreachable --edition=2021 /usr/share/cargo/registry/new_debug_unreachable-1.0.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=aebfcf7276526019 -C extra-filename=-4aeefe93cefdeb4d --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling heck v0.5.0 Running `/usr/bin/rustc --crate-name heck --edition=2021 /usr/share/cargo/registry/heck-0.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=b7552e1d47a4459e -C extra-filename=-101ca7963ddf199a --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling rustc-hash v2.1.3 Running `/usr/bin/rustc --crate-name rustc_hash --edition=2021 /usr/share/cargo/registry/rustc-hash-2.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "rand", "std"))' -C metadata=0a9229f0c3dbfc09 -C extra-filename=-ab31ac8c3fbbb454 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --allow=unexpected_cfgs --check-cfg 'cfg(docsrs_regex)' --cfg 'feature="std"' --cfg 'feature="unicode-perl"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=47bba76627138317 -C extra-filename=-27663a5fc2f2dcf8 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name serde --edition=2021 /usr/share/cargo/registry/serde-1.0.228/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="serde_derive"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=8cc3cdb3407022c2 -C extra-filename=-bc19baa32772803a --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern serde_core=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libserde_core-1a4184a065529112.rmeta --extern serde_derive=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libserde_derive-27b64e6440d8939b.so --cap-lints allow --cfg if_docsrs_then_no_serde_core --check-cfg 'cfg(feature, values("result"))' --check-cfg 'cfg(if_docsrs_then_no_serde_core)' --check-cfg 'cfg(no_core_cstr)' --check-cfg 'cfg(no_core_error)' --check-cfg 'cfg(no_core_net)' --check-cfg 'cfg(no_core_num_saturating)' --check-cfg 'cfg(no_diagnostic_namespace)' --check-cfg 'cfg(no_serde_derive)' --check-cfg 'cfg(no_std_atomic)' --check-cfg 'cfg(no_std_atomic64)' --check-cfg 'cfg(no_target_has_atomic)'` Running `/usr/bin/rustc --crate-name minimal_lexical --edition=2018 /usr/share/cargo/registry/minimal-lexical-0.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compact", "default", "lint", "nightly", "std"))' -C metadata=17413e6bc2e24b26 -C extra-filename=-247dbb4b2815d8fb --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling strength_reduce v0.2.4 Running `/usr/bin/rustc --crate-name strength_reduce --edition=2015 /usr/share/cargo/registry/strength_reduce-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=622bea036d3edcc4 -C extra-filename=-dac0e53b290c90a3 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling noop_proc_macro v0.3.0 Running `/usr/bin/rustc --crate-name noop_proc_macro --edition=2018 /usr/share/cargo/registry/noop_proc_macro-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=3131327beedb52de -C extra-filename=-9e3e5119930e0285 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro --cap-lints allow` Compiling shlex v1.3.0 Running `/usr/bin/rustc --crate-name shlex --edition=2015 /usr/share/cargo/registry/shlex-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=b5f477781bad0880 -C extra-filename=-9880b2d4c93a0410 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow` Compiling toml v0.5.11 Running `/usr/bin/rustc --crate-name toml --edition=2018 /usr/share/cargo/registry/toml-0.5.11/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "indexmap", "preserve_order"))' -C metadata=35ff081594bfc42d -C extra-filename=-e88cf0c628aab29b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern serde=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libserde-bc19baa32772803a.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name bindgen --edition=2021 /usr/share/cargo/registry/bindgen-0.72.1/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no '--warn=clippy::pedantic' '--allow=clippy::wildcard_imports' '--allow=clippy::used_underscore_binding' '--allow=clippy::unused_self' --warn=unused_qualifications '--allow=clippy::unreadable_literal' '--allow=clippy::unnecessary_wraps' '--allow=clippy::trivially_copy_pass_by_ref' '--allow=clippy::too_many_lines' '--allow=clippy::struct_field_names' '--allow=clippy::struct_excessive_bools' '--allow=clippy::similar_names' '--allow=clippy::return_self_not_must_use' '--allow=clippy::redundant_closure_for_method_calls' '--allow=clippy::must_use_candidate' '--allow=clippy::module_name_repetitions' '--allow=clippy::missing_panics_doc' '--allow=clippy::missing_errors_doc' '--allow=clippy::maybe_infinite_iter' '--allow=clippy::match_same_arms' '--allow=clippy::items_after_statements' '--allow=clippy::implicit_hasher' '--allow=clippy::ignored_unit_patterns' '--allow=clippy::enum_glob_use' '--allow=clippy::default_trait_access' '--allow=clippy::cast_sign_loss' '--allow=clippy::cast_precision_loss' '--allow=clippy::cast_possible_wrap' '--allow=clippy::cast_possible_truncation' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="logging"' --cfg 'feature="prettyplease"' --cfg 'feature="runtime"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__cli", "__testing_only_extra_assertions", "__testing_only_libclang_16", "__testing_only_libclang_9", "default", "experimental", "logging", "prettyplease", "runtime", "static"))' -C metadata=ab6ec433296cc622 -C extra-filename=-7aaeb3c41d3b3e35 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libbitflags-eaeff3294629a488.rmeta --extern cexpr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libcexpr-1f11618aec4460e9.rmeta --extern clang_sys=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libclang_sys-dd9fdde1843df0f2.rmeta --extern itertools=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libitertools-19c118c5b99ea6da.rmeta --extern log=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/liblog-e1aaab4923e691c0.rmeta --extern prettyplease=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libprettyplease-d5b976b428756c31.rmeta --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rmeta --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rmeta --extern regex=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libregex-e13dc0ce6bb5af34.rmeta --extern rustc_hash=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/librustc_hash-ab31ac8c3fbbb454.rmeta --extern shlex=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libshlex-9880b2d4c93a0410.rmeta --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rmeta --cap-lints allow` Running `/usr/bin/rustc --crate-name rav1e --edition=2021 /usr/share/cargo/registry/rav1e-0.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no '--allow=clippy::upper_case_acronyms' --warn=unexpected_cfgs '--allow=clippy::too_many_arguments' '--allow=clippy::needless_range_loop' '--warn=clippy::missing_safety_doc' '--warn=clippy::missing_panics_doc' '--warn=clippy::missing_errors_doc' '--allow=clippy::enum_variant_names' '--warn=clippy::doc_markdown' '--warn=clippy::doc_link_with_quotes' '--allow=clippy::comparison_chain' --check-cfg 'cfg(nasm_x86_64)' --check-cfg 'cfg(asm_neon)' --check-cfg 'cfg(cargo_c)' --check-cfg 'cfg(fuzzing)' --cfg 'feature="threading"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("asm", "av-metrics", "backtrace", "binaries", "capi", "cc", "channel-api", "check_asm", "clap", "clap_complete", "console", "crossbeam", "dav1d-sys", "decode_test_dav1d", "default", "desync_finder", "dump_ivf", "fern", "ivf", "nasm-rs", "nom", "quick_test", "scan_fmt", "serde", "serde-big-array", "serialize", "signal-hook", "signal_support", "threading", "toml", "unstable", "y4m"))' -C metadata=45827d1ecf7b05f4 -C extra-filename=-7c7e98d2075eba4e --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern aligned_vec=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libaligned_vec-e2956d1892f61af6.rmeta --extern arg_enum_proc_macro=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libarg_enum_proc_macro-46a3d6ad6da119f8.so --extern arrayvec=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libarrayvec-6a233b93d6f24491.rmeta --extern av_scenechange=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libav_scenechange-6bc14d766f24e4ef.rmeta --extern av1_grain=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libav1_grain-c7f1b06ddfcb5924.rmeta --extern bitstream_io=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbitstream_io-7b3b671cbb76b388.rmeta --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --extern itertools=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libitertools-36851298d4276344.rmeta --extern libc=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblibc-05c81fb8766c8d79.rmeta --extern log=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblog-a688ca771d745a6e.rmeta --extern rayon=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libmaybe_rayon-fef5ceff8fa97386.rmeta --extern debug_unreachable=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libdebug_unreachable-4aeefe93cefdeb4d.rmeta --extern noop_proc_macro=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libnoop_proc_macro-9e3e5119930e0285.so --extern num_derive=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libnum_derive-dfcacc88a5c8b143.so --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --extern paste=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libpaste-2b5b051a2c4eaaaf.so --extern simd_helpers=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsimd_helpers-efe5c9194230b0ab.so --extern thiserror=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libthiserror-15806aa9af425d93.rmeta --extern v_frame=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libv_frame-05c79467ab12d37e.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --allow=unexpected_cfgs --check-cfg 'cfg(docsrs_regex)' --cfg 'feature="alloc"' --cfg 'feature="meta"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-word-boundary"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=44130ab7af294ea2 -C extra-filename=-fe9193937e521443 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern regex_syntax=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libregex_syntax-27663a5fc2f2dcf8.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name cbindgen --edition=2018 /usr/share/cargo/registry/cbindgen-0.26.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default"))' -C metadata=22233c0ac3be90d9 -C extra-filename=-cae358ca9b9a0dc8 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern heck=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libheck-101ca7963ddf199a.rmeta --extern indexmap=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libindexmap-bc78f17044fdb90f.rmeta --extern log=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/liblog-e1aaab4923e691c0.rmeta --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rmeta --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rmeta --extern serde=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libserde-bc19baa32772803a.rmeta --extern serde_json=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libserde_json-bd21ccb4f423e9d0.rmeta --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-ed86032744b5e312.rmeta --extern tempfile=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libtempfile-faf519dcec54b1fe.rmeta --extern toml=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libtoml-e88cf0c628aab29b.rmeta --cap-lints allow` Compiling transpose v0.2.3 Running `/usr/bin/rustc --crate-name transpose --edition=2015 /usr/share/cargo/registry/transpose-0.2.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=a220acdc9f13ab95 -C extra-filename=-e39504094f2495ff --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_integer=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_integer-7940d1f6cd08fb65.rmeta --extern strength_reduce=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libstrength_reduce-dac0e53b290c90a3.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name nom --edition=2018 /usr/share/cargo/registry/nom-7.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "docsrs", "std"))' -C metadata=a68213ec37e4252c -C extra-filename=-13a434e9f7388820 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern memchr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libmemchr-0ce24d36cae9bd72.rmeta --extern minimal_lexical=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libminimal_lexical-247dbb4b2815d8fb.rmeta --cap-lints allow -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 -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 -g` Compiling half v2.7.1 Running `/usr/bin/rustc --crate-name half --edition=2021 /usr/share/cargo/registry/half-2.7.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "bytemuck", "default", "nightly", "num-traits", "rand_distr", "rkyv", "serde", "std", "use-intrinsics", "zerocopy"))' -C metadata=eb8189ae4a8d2351 -C extra-filename=-6858ab0f4368023e --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --extern zerocopy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libzerocopy-83de12a5cd896737.rmeta --cap-lints allow -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 -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 -g` Compiling zune-jpeg v0.5.13 Running `/usr/bin/rustc --crate-name zune_jpeg --edition=2021 /usr/share/cargo/registry/zune-jpeg-0.5.13/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --cfg 'feature="default"' --cfg 'feature="neon"' --cfg 'feature="std"' --cfg 'feature="x86"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "log", "neon", "portable_simd", "std", "x86"))' -C metadata=1756b4150801d29c -C extra-filename=-ba3684cc0dce7197 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern zune_core=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libzune_core-af5423c4e4bf4be1.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/thiserror-1533b92f399cb0fa/build-script-build` Compiling loop9 v0.1.5 Running `/usr/bin/rustc --crate-name loop9 --edition=2021 /usr/share/cargo/registry/loop9-0.1.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=26769a2403f93c27 -C extra-filename=-20aa1fd4f4038110 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern imgref=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libimgref-7a17ce31253b35ac.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name num_traits --edition=2021 /usr/share/cargo/registry/num-traits-0.2.19/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="i128"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "libm", "std"))' -C metadata=aef124b1940d7cdb -C extra-filename=-686a4e2c2d8b31da --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow --cfg has_total_cmp --check-cfg 'cfg(has_total_cmp)'` Compiling digest v0.10.7 Running `/usr/bin/rustc --crate-name digest --edition=2018 /usr/share/cargo/registry/digest-0.10.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="block-buffer"' --cfg 'feature="core-api"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "blobby", "block-buffer", "const-oid", "core-api", "default", "dev", "mac", "oid", "rand_core", "std", "subtle"))' -C metadata=5eeff6e26407d866 -C extra-filename=-87b5c00c85e9096b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern block_buffer=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libblock_buffer-df1cae32f09e041e.rmeta --extern crypto_common=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrypto_common-0818994755fc4091.rmeta --cap-lints allow -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 -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 -g` Compiling thiserror-impl v1.0.69 Running `/usr/bin/rustc --crate-name thiserror_impl --edition=2021 /usr/share/cargo/registry/thiserror-impl-1.0.69/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=7c4a2db350432e51 -C extra-filename=-8e6c87610d32307d --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libproc_macro2-b29e92b45c886b2f.rlib --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rlib --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rlib --extern proc_macro --cap-lints allow` Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.119/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="visit-mut"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=a609a6c19a2f6355 -C extra-filename=-b932715a12ae74f1 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libproc_macro2-0266906b2ab7d536.rmeta --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libquote-6d3a9d94db9693e3.rmeta --extern unicode_ident=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libunicode_ident-cda2fed8e511af68.rmeta --cap-lints allow -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 -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 -g` Compiling avif-serialize v0.8.6 Running `/usr/bin/rustc --crate-name avif_serialize --edition=2021 /usr/share/cargo/registry/avif-serialize-0.8.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1c441770cc7f7852 -C extra-filename=-3260b958925f7aae --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern arrayvec=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libarrayvec-6a233b93d6f24491.rmeta --cap-lints allow -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 -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 -g` Compiling primal-check v0.3.4 Running `/usr/bin/rustc --crate-name primal_check --edition=2018 /usr/share/cargo/registry/primal-check-0.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("unstable"))' -C metadata=a1728d6fc4ad7c25 -C extra-filename=-6a29bb40b323dbb2 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_integer=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_integer-7940d1f6cd08fb65.rmeta --cap-lints allow -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 -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 -g` Compiling num-complex v0.4.6 Running `/usr/bin/rustc --crate-name num_complex --edition=2021 /usr/share/cargo/registry/num-complex-0.4.6/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bytecheck", "bytemuck", "default", "libm", "rand", "rkyv", "serde", "std"))' -C metadata=d8a989bcc25963a9 -C extra-filename=-c5d2a6f13c653787 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --cap-lints allow -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 -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 -g` Compiling pxfm v0.1.23 Running `/usr/bin/rustc --crate-name pxfm --edition=2024 /usr/share/cargo/registry/pxfm-0.1.23/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=fcfc1a494d738ad4 -C extra-filename=-3a6611a2dfd20de9 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --cap-lints allow -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 -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 -g` Compiling zune-inflate v0.2.54 Running `/usr/bin/rustc --crate-name zune_inflate --edition=2021 /usr/share/cargo/registry/zune-inflate-0.2.54/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="simd-adler32"' --cfg 'feature="zlib"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "gzip", "simd-adler32", "std", "zlib"))' -C metadata=0d5830ba63f48c90 -C extra-filename=-40a7cf5dfda26d32 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern simd_adler32=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libsimd_adler32-6650474482406499.rmeta --cap-lints allow -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 -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 -g` Compiling fdeflate v0.3.7 Running `/usr/bin/rustc --crate-name fdeflate --edition=2021 /usr/share/cargo/registry/fdeflate-0.3.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --allow=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=313c0397a64c6330 -C extra-filename=-f693e6498c9e01a0 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern simd_adler32=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libsimd_adler32-6650474482406499.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/rustix-75ca5d5b9a11de36/build-script-build` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/getrandom-bbcac3d5f058e86f/build-script-build` Running `/usr/bin/rustc --crate-name itertools --edition=2018 /usr/share/cargo/registry/itertools-0.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_alloc"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_alloc", "use_std"))' -C metadata=d754cfd87e0f1f6e -C extra-filename=-203ce7fc89ef5a2f --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern either=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libeither-02984d800a5a5329.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name libloading --edition=2015 /usr/share/cargo/registry/libloading-0.8.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(libloading_docs)' --check-cfg 'cfg(target_os, values("cygwin"))' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=d05f8035a7bf8f51 -C extra-filename=-6b97b407f5554151 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --cap-lints allow -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 -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 -g` Compiling bit_field v0.10.3 Running `/usr/bin/rustc --crate-name bit_field --edition=2015 /usr/share/cargo/registry/bit_field-0.10.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=af18af5ee716b75c -C extra-filename=-b7d69b7b9ecbf748 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling rgb v0.8.53 Running `/usr/bin/rustc --crate-name rgb --edition=2021 /usr/share/cargo/registry/rgb-0.8.53/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("argb", "as-bytes", "bytemuck", "checked_fns", "default", "defmt-03", "grb", "serde", "unstable-experimental"))' -C metadata=5291b69b641eee1d -C extra-filename=-cb1e821f01ed1bad --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling byteorder-lite v0.1.0 Running `/usr/bin/rustc --crate-name byteorder_lite --edition=2021 /usr/share/cargo/registry/byteorder-lite-0.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=4d920dac92140464 -C extra-filename=-8885e6f05598b5cf --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling smallvec v1.15.1 Running `/usr/bin/rustc --crate-name smallvec --edition=2018 /usr/share/cargo/registry/smallvec-1.15.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "bincode", "const_generics", "const_new", "debugger_visualizer", "drain_filter", "drain_keep_rest", "impl_bincode", "malloc_size_of", "may_dangle", "serde", "specialization", "union", "unty", "write"))' -C metadata=8be981657bd5e28c -C extra-filename=-c9722cec94418f02 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling iana-time-zone v0.1.65 Running `/usr/bin/rustc --crate-name iana_time_zone --edition=2021 /usr/share/cargo/registry/iana-time-zone-0.1.65/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="fallback"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("fallback"))' -C metadata=da83076de25d7284 -C extra-filename=-b097ee394af44a63 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling color_quant v1.1.0 Running `/usr/bin/rustc --crate-name color_quant --edition=2015 /usr/share/cargo/registry/color_quant-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=ff1150ecdb898c0c -C extra-filename=-dc463062b9fef88e --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling lebe v0.5.3 Running `/usr/bin/rustc --crate-name lebe --edition=2018 /usr/share/cargo/registry/lebe-0.5.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e6b54a1f2e35584a -C extra-filename=-17ecec71e9ae61ef --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.12.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(target_arch, values("xtensa"))' --cfg 'feature="auxvec"' --cfg 'feature="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("auxvec", "bootparam", "btrfs", "core", "default", "elf", "elf_uapi", "errno", "general", "if_arp", "if_ether", "if_packet", "if_tun", "image", "io_uring", "ioctl", "landlock", "loop_device", "mempolicy", "net", "netlink", "no_std", "prctl", "ptrace", "rustc-dep-of-std", "std", "system", "vm_sockets", "xdp"))' -C metadata=b475cd7320a283a7 -C extra-filename=-469227561f44061b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name glob --edition=2021 /usr/share/cargo/registry/glob-0.3.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=71b601b251ffbb62 -C extra-filename=-142f26273a3177ee --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling fax v0.2.7 Running `/usr/bin/rustc --crate-name fax --edition=2018 /usr/share/cargo/registry/fax-0.2.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("debug", "generate_bitmaps"))' -C metadata=4f9037f9ad0dc8e6 -C extra-filename=-d952fc6135a3fc7a --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling bytemuck v1.25.2 Running `/usr/bin/rustc --crate-name bytemuck --edition=2018 /usr/share/cargo/registry/bytemuck-1.25.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --deny=unexpected_cfgs --check-cfg 'cfg(target_arch, values("spirv"))' --cfg 'feature="extern_crate_alloc"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("aarch64_simd", "align_offset", "alloc_uninit", "avx512_simd", "bytemuck_derive", "const_zeroed", "derive", "extern_crate_alloc", "extern_crate_std", "impl_core_error", "latest_stable_rust", "min_const_generics", "must_cast", "must_cast_extra", "nightly_docs", "nightly_float", "nightly_portable_simd", "nightly_stdsimd", "pod_saturating", "rustversion", "track_caller", "transparentwrapper_extra", "unsound_ptr_pod_impl", "wasm_simd", "zeroable_atomics", "zeroable_maybe_uninit", "zeroable_unwind_fn"))' -C metadata=f30b8e9ea841e5e2 -C extra-filename=-d2f3c0d8b33ed61b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling tiff v0.11.3 Running `/usr/bin/rustc --crate-name tiff --edition=2021 /usr/share/cargo/registry/tiff-0.11.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="deflate"' --cfg 'feature="fax"' --cfg 'feature="jpeg"' --cfg 'feature="lzw"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "deflate", "fax", "jpeg", "lzw", "webp", "zstd"))' -C metadata=e921255997f5aa40 -C extra-filename=-816dd1b6dfec5d91 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern fax34=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libfax-d952fc6135a3fc7a.rmeta --extern flate2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libflate2-95c29ba20286ad61.rmeta --extern half=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libhalf-6858ab0f4368023e.rmeta --extern quick_error=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libquick_error-6f78bc197e37c613.rmeta --extern weezl=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libweezl-35e7a3cbd952a76c.rmeta --extern zune_jpeg=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libzune_jpeg-ba3684cc0dce7197.rmeta --cap-lints allow -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 -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 -g` Compiling qoi v0.4.1 Running `/usr/bin/rustc --crate-name qoi --edition=2021 /usr/share/cargo/registry/qoi-0.4.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "reference", "std"))' -C metadata=5e53b96f6914e64c -C extra-filename=-90e51f8e2ccb6e09 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bytemuck=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbytemuck-d2f3c0d8b33ed61b.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-1.1.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(error_in_core)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(linux_raw_dep)' --check-cfg 'cfg(lower_upper_exp_for_non_zero)' --check-cfg 'cfg(sanitize_memory)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(rustc_diagnostics)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(wasip2)' --check-cfg 'cfg(target_arch, values("xtensa"))' --check-cfg 'cfg(target_os, values("cygwin"))' --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "default", "event", "fs", "io_uring", "libc", "libc_errno", "linux_4_11", "linux_5_1", "linux_5_11", "linux_latest", "mm", "mount", "net", "param", "pipe", "process", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' -C metadata=cfce86172d079b52 -C extra-filename=-3cdd839ce56867f6 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbitflags-c44468fe88cbe296.rmeta --extern linux_raw_sys=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblinux_raw_sys-469227561f44061b.rmeta --cap-lints allow -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 -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 -g --cfg static_assertions --cfg lower_upper_exp_for_non_zero --cfg rustc_diagnostics --cfg linux_raw_dep --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling moxcms v0.8.1 Running `/usr/bin/rustc --crate-name moxcms --edition=2024 /usr/share/cargo/registry/moxcms-0.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="avx"' --cfg 'feature="avx_luts"' --cfg 'feature="avx_shaper_fixed_point_paths"' --cfg 'feature="avx_shaper_paths"' --cfg 'feature="default"' --cfg 'feature="lut"' --cfg 'feature="neon"' --cfg 'feature="neon_luts"' --cfg 'feature="neon_shaper_fixed_point_paths"' --cfg 'feature="neon_shaper_paths"' --cfg 'feature="sse"' --cfg 'feature="sse_luts"' --cfg 'feature="sse_shaper_fixed_point_paths"' --cfg 'feature="sse_shaper_paths"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("any_to_any", "avx", "avx512", "avx512_shaper_fixed_point_paths", "avx512_shaper_optimized_paths", "avx_luts", "avx_shaper_fixed_point_paths", "avx_shaper_optimized_paths", "avx_shaper_paths", "default", "extended_range", "in_place", "lut", "neon", "neon_luts", "neon_shaper_fixed_point_paths", "neon_shaper_optimized_paths", "neon_shaper_paths", "options", "sse", "sse_luts", "sse_shaper_fixed_point_paths", "sse_shaper_optimized_paths", "sse_shaper_paths"))' -C metadata=c68df47d8e9621a2 -C extra-filename=-1f5703e460014d7a --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --extern pxfm=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libpxfm-3a6611a2dfd20de9.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name clang_sys --edition=2021 /usr/share/cargo/registry/clang-sys-1.8.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="clang_10_0"' --cfg 'feature="clang_11_0"' --cfg 'feature="clang_3_5"' --cfg 'feature="clang_3_6"' --cfg 'feature="clang_3_7"' --cfg 'feature="clang_3_8"' --cfg 'feature="clang_3_9"' --cfg 'feature="clang_4_0"' --cfg 'feature="clang_5_0"' --cfg 'feature="clang_6_0"' --cfg 'feature="clang_7_0"' --cfg 'feature="clang_8_0"' --cfg 'feature="clang_9_0"' --cfg 'feature="libloading"' --cfg 'feature="runtime"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("clang_10_0", "clang_11_0", "clang_12_0", "clang_13_0", "clang_14_0", "clang_15_0", "clang_16_0", "clang_17_0", "clang_18_0", "clang_3_5", "clang_3_6", "clang_3_7", "clang_3_8", "clang_3_9", "clang_4_0", "clang_5_0", "clang_6_0", "clang_7_0", "clang_8_0", "clang_9_0", "libcpp", "libloading", "runtime", "static"))' -C metadata=4bbc99f48fd008ab -C extra-filename=-2c0f48f11e35e260 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern glob=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libglob-142f26273a3177ee.rmeta --extern libc=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblibc-05c81fb8766c8d79.rmeta --extern libloading=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblibloading-6b97b407f5554151.rmeta --cap-lints allow -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 -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 -g` Compiling exr v1.74.0 Running `/usr/bin/rustc --crate-name exr --edition=2018 /usr/share/cargo/registry/exr-1.74.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="rayon"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rayon"))' -C metadata=f070763e4f36fb3b -C extra-filename=-fa87b23c424f5b61 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bit_field=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbit_field-b7d69b7b9ecbf748.rmeta --extern half=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libhalf-6858ab0f4368023e.rmeta --extern lebe=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblebe-17ecec71e9ae61ef.rmeta --extern miniz_oxide=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libminiz_oxide-d84595c4dec53c31.rmeta --extern rayon_core=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librayon_core-af2dc0f77ba56502.rmeta --extern smallvec=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libsmallvec-c9722cec94418f02.rmeta --extern zune_inflate=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libzune_inflate-40a7cf5dfda26d32.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name prettyplease --edition=2021 /usr/share/cargo/registry/prettyplease-0.2.37/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="verbatim"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("verbatim"))' -C metadata=850eecb1a57df26f -C extra-filename=-3ca688462d7b9e2e --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libproc_macro2-0266906b2ab7d536.rmeta --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libsyn-b932715a12ae74f1.rmeta --cap-lints allow -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 -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 -g --check-cfg 'cfg(exhaustive)' --check-cfg 'cfg(prettyplease_debug)' --check-cfg 'cfg(prettyplease_debug_indent)'` Compiling gif v0.14.2 Running `/usr/bin/rustc --crate-name gif --edition=2021 /usr/share/cargo/registry/gif-0.14.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="color_quant"' --cfg 'feature="default"' --cfg 'feature="raii_no_panic"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("color_quant", "default", "raii_no_panic", "std"))' -C metadata=f83d3325ed436eb8 -C extra-filename=-b5a7d3902bbf2a98 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern color_quant=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcolor_quant-dc463062b9fef88e.rmeta --extern weezl=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libweezl-35e7a3cbd952a76c.rmeta --cap-lints allow -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 -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 -g` Compiling clamav_rust v0.0.1 (/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust) Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 libclamav_rust/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("not_ready"))' -C metadata=309d720880e260f7 -C extra-filename=-439b064f7a4e8cd5 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/clamav_rust-439b064f7a4e8cd5 -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bindgen=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libbindgen-7aaeb3c41d3b3e35.rlib --extern cbindgen=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libcbindgen-cae358ca9b9a0dc8.rlib` Compiling chrono v0.4.44 Running `/usr/bin/rustc --crate-name chrono --edition=2021 /usr/share/cargo/registry/chrono-0.4.44/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="clock"' --cfg 'feature="iana-time-zone"' --cfg 'feature="now"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "clock", "core-error", "default", "iana-time-zone", "libc", "now", "oldtime", "pure-rust-locales", "rkyv", "rkyv-16", "rkyv-32", "rkyv-64", "rkyv-validation", "serde", "std", "unstable-locales"))' -C metadata=7469d97e11670f42 -C extra-filename=-c0222ab06dcaa6e0 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern iana_time_zone=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libiana_time_zone-b097ee394af44a63.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --cap-lints allow -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 -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 -g` Compiling ravif v0.13.0 Running `/usr/bin/rustc --crate-name ravif --edition=2024 /usr/share/cargo/registry/ravif-0.13.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="threading"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("asm", "default", "threading"))' -C metadata=8ebf3d5c35986174 -C extra-filename=-d5acbdc008b5430e --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern avif_serialize=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libavif_serialize-3260b958925f7aae.rmeta --extern imgref=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libimgref-7a17ce31253b35ac.rmeta --extern loop9=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libloop9-20aa1fd4f4038110.rmeta --extern quick_error=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libquick_error-6f78bc197e37c613.rmeta --extern rav1e=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librav1e-7c7e98d2075eba4e.rmeta --extern rayon=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librayon-dbf38bf872e5c9a0.rmeta --extern rgb=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librgb-cb1e821f01ed1bad.rmeta --cap-lints allow -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 -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 -g` Compiling image-webp v0.2.4 Running `/usr/bin/rustc --crate-name image_webp --edition=2021 /usr/share/cargo/registry/image-webp-0.2.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("_benchmarks"))' -C metadata=2160dba4794cfc5c -C extra-filename=-9e1fed39c7f2e94c --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern byteorder_lite=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbyteorder_lite-8885e6f05598b5cf.rmeta --extern quick_error=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libquick_error-6f78bc197e37c613.rmeta --cap-lints allow -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 -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 -g` Compiling png v0.18.1 Running `/usr/bin/rustc --crate-name png --edition=2021 /usr/share/cargo/registry/png-0.18.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("zlib-rs"))' -C metadata=c33de8f640204ec0 -C extra-filename=-9daac15cdaa08149 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbitflags-c44468fe88cbe296.rmeta --extern crc32fast=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrc32fast-039876eb9c50fbb3.rmeta --extern fdeflate=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libfdeflate-f693e6498c9e01a0.rmeta --extern flate2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libflate2-95c29ba20286ad61.rmeta --extern miniz_oxide=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libminiz_oxide-d84595c4dec53c31.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name getrandom --edition=2024 /usr/share/cargo/registry/getrandom-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no '--warn=clippy::useless_conversion' --warn=unused_lifetimes '--warn=clippy::unnecessary_cast' --warn=unexpected_cfgs '--warn=clippy::ptr_as_ptr' --warn=missing_docs '--warn=clippy::fn_to_numeric_cast_with_truncation' '--warn=clippy::fn_to_numeric_cast' '--warn=clippy::checked_conversions' '--warn=clippy::char_lit_as_u8' '--warn=clippy::cast_sign_loss' '--warn=clippy::cast_ptr_alignment' '--warn=clippy::cast_precision_loss' '--warn=clippy::cast_possible_wrap' '--warn=clippy::cast_possible_truncation' '--warn=clippy::cast_lossless' --check-cfg 'cfg(getrandom_backend, values("custom", "efi_rng", "rdrand", "rndr", "linux_getrandom", "linux_raw", "windows_legacy", "unsupported", "extern_impl"))' --check-cfg 'cfg(getrandom_msan)' --check-cfg 'cfg(getrandom_test_linux_fallback)' --check-cfg 'cfg(getrandom_test_linux_without_fallback)' --check-cfg 'cfg(getrandom_test_netbsd_fallback)' --check-cfg 'cfg(target_os, values("cygwin"))' --check-cfg 'cfg(target_os, values("motor"))' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("std", "sys_rng", "wasm_js"))' -C metadata=8d87f6fc62749a0f -C extra-filename=-2862d0dfc219c0ff --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --extern libc=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblibc-05c81fb8766c8d79.rmeta --cap-lints allow -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 -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 -g` Compiling rustfft v6.4.0 Running `/usr/bin/rustc --crate-name rustfft --edition=2021 /usr/share/cargo/registry/rustfft-6.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="avx"' --cfg 'feature="default"' --cfg 'feature="neon"' --cfg 'feature="sse"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("avx", "default", "neon", "sse"))' -C metadata=8a434be6df448540 -C extra-filename=-879a840ff1085bd1 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_complex=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_complex-c5d2a6f13c653787.rmeta --extern num_integer=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_integer-7940d1f6cd08fb65.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --extern primal_check=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libprimal_check-6a29bb40b323dbb2.rmeta --extern strength_reduce=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libstrength_reduce-dac0e53b290c90a3.rmeta --extern transpose=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libtranspose-e39504094f2495ff.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name thiserror --edition=2021 /usr/share/cargo/registry/thiserror-1.0.69/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1b11c8e1460c8f77 -C extra-filename=-231b44cc5aeffb56 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern thiserror_impl=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libthiserror_impl-8e6c87610d32307d.so --cap-lints allow -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 -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 -g --check-cfg 'cfg(error_generic_member_access)' --check-cfg 'cfg(thiserror_nightly_testing)'` Compiling enum-primitive-derive v0.3.0 Running `/usr/bin/rustc --crate-name enum_primitive_derive --edition=2018 /usr/share/cargo/registry/enum-primitive-derive-0.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=c520f12142ec33e1 -C extra-filename=-e8b65b54f9adfbbd --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libnum_traits-686a4e2c2d8b31da.rlib --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libquote-bd6a7ffd978ca8fb.rlib --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libsyn-b29a68fd13d32a9c.rlib --extern proc_macro --cap-lints allow` Running `/usr/bin/rustc --crate-name cexpr --edition=2018 /usr/share/cargo/registry/cexpr-0.6.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=1ea1a81784c78317 -C extra-filename=-eae9dfaf3d7a7928 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern nom=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnom-13a434e9f7388820.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.13.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --allow=unexpected_cfgs --check-cfg 'cfg(docsrs_regex)' --cfg 'feature="std"' --cfg 'feature="unicode-perl"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "logging", "pattern", "perf", "perf-backtrack", "perf-cache", "perf-dfa", "perf-dfa-full", "perf-inline", "perf-literal", "perf-onepass", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=8259f8a2350eb0b4 -C extra-filename=-84735d8eb1bf6ee0 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern regex_automata=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libregex_automata-fe9193937e521443.rmeta --extern regex_syntax=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libregex_syntax-27663a5fc2f2dcf8.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/bindgen-70c089c528b338ef/build-script-build` Compiling encoding_rs v0.8.35 Running `/usr/bin/rustc --crate-name encoding_rs --edition=2018 /usr/share/cargo/registry/encoding_rs-0.8.35/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "fast-big5-hanzi-encode", "fast-gb-hanzi-encode", "fast-hangul-encode", "fast-hanja-encode", "fast-kanji-encode", "fast-legacy-encode", "less-slow-big5-hanzi-encode", "less-slow-gb-hanzi-encode", "less-slow-kanji-encode", "serde"))' -C metadata=41dfb2b4b19de5be -C extra-filename=-926f80e6bdc4187b --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=8bf57777c762f2ec -C extra-filename=-895b97485d89ca88 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling tinyvec v1.11.0 Running `/usr/bin/rustc --crate-name tinyvec --edition=2018 /usr/share/cargo/registry/tinyvec-1.11.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "default", "experimental_write_impl", "grab_spare_slice", "latest_stable_rust", "nightly_slice_partition_dedup", "rustc_1_40", "rustc_1_55", "rustc_1_57", "rustc_1_61", "serde", "std", "tinyvec_macros"))' -C metadata=625b48d4a56006ba -C extra-filename=-0dc404092af13797 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling widestring v1.2.1 Running `/usr/bin/rustc --crate-name widestring --edition=2021 /usr/share/cargo/registry/widestring-1.2.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "debugger_visualizer", "default", "std"))' -C metadata=fb38ca769db0bc53 -C extra-filename=-1dcab611017b8bd0 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name shlex --edition=2015 /usr/share/cargo/registry/shlex-1.3.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=f22e59890ef9da45 -C extra-filename=-f01c4cbd194a1252 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling uuid v1.24.0 Running `/usr/bin/rustc --crate-name uuid --edition=2021 /usr/share/cargo/registry/uuid-1.24.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --allow=unexpected_cfgs --check-cfg 'cfg(uuid_unstable)' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "atomic", "bytemuck", "default", "fast-rng", "md5", "rng", "rng-getrandom", "rng-rand", "serde", "sha1", "slog", "std", "v1", "v3", "v4", "v5", "v6", "v7", "v8"))' -C metadata=5066e70922b5b5a2 -C extra-filename=-0a4fa329f56d20b1 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name rustc_hash --edition=2021 /usr/share/cargo/registry/rustc-hash-2.1.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "rand", "std"))' -C metadata=7e1327cf96d0df0b -C extra-filename=-ce499a83602eee00 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.21.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=b6da5c7bd4c47c57 -C extra-filename=-d4f2af8391a771de --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling bytes v1.12.1 Running `/usr/bin/rustc --crate-name bytes --edition=2021 /usr/share/cargo/registry/bytes-1.12.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --warn=unexpected_cfgs --check-cfg 'cfg(loom)' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "extra-platforms", "serde", "std"))' -C metadata=477393aa0dcc9dec -C extra-filename=-d3893e1759410a16 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.27.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="getrandom"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "getrandom", "nightly"))' -C metadata=a5c0921fb4954521 -C extra-filename=-caf1e0ebba267971 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern fastrand=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libfastrand-895b97485d89ca88.rmeta --extern getrandom=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libgetrandom-2862d0dfc219c0ff.rmeta --extern once_cell=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libonce_cell-d4f2af8391a771de.rmeta --extern rustix=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librustix-3cdd839ce56867f6.rmeta --cap-lints allow -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 -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 -g` Compiling onenote_parser v0.3.1 Running `/usr/bin/rustc --crate-name onenote_parser --edition=2018 /usr/share/cargo/registry/onenote_parser-0.3.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("backtrace"))' -C metadata=c69eeefed59856a3 -C extra-filename=-c2f5c6b15d7a4032 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bytes=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbytes-d3893e1759410a16.rmeta --extern encoding_rs=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libencoding_rs-926f80e6bdc4187b.rmeta --extern enum_primitive_derive=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libenum_primitive_derive-e8b65b54f9adfbbd.so --extern itertools=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libitertools-203ce7fc89ef5a2f.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --extern paste=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps/libpaste-2b5b051a2c4eaaaf.so --extern thiserror=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libthiserror-231b44cc5aeffb56.rmeta --extern uuid=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libuuid-0a4fa329f56d20b1.rmeta --extern widestring=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libwidestring-1dcab611017b8bd0.rmeta --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name bindgen --edition=2021 /usr/share/cargo/registry/bindgen-0.72.1/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no '--warn=clippy::pedantic' '--allow=clippy::wildcard_imports' '--allow=clippy::used_underscore_binding' '--allow=clippy::unused_self' --warn=unused_qualifications '--allow=clippy::unreadable_literal' '--allow=clippy::unnecessary_wraps' '--allow=clippy::trivially_copy_pass_by_ref' '--allow=clippy::too_many_lines' '--allow=clippy::struct_field_names' '--allow=clippy::struct_excessive_bools' '--allow=clippy::similar_names' '--allow=clippy::return_self_not_must_use' '--allow=clippy::redundant_closure_for_method_calls' '--allow=clippy::must_use_candidate' '--allow=clippy::module_name_repetitions' '--allow=clippy::missing_panics_doc' '--allow=clippy::missing_errors_doc' '--allow=clippy::maybe_infinite_iter' '--allow=clippy::match_same_arms' '--allow=clippy::items_after_statements' '--allow=clippy::implicit_hasher' '--allow=clippy::ignored_unit_patterns' '--allow=clippy::enum_glob_use' '--allow=clippy::default_trait_access' '--allow=clippy::cast_sign_loss' '--allow=clippy::cast_precision_loss' '--allow=clippy::cast_possible_wrap' '--allow=clippy::cast_possible_truncation' --cfg 'feature="default"' --cfg 'feature="logging"' --cfg 'feature="prettyplease"' --cfg 'feature="runtime"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("__cli", "__testing_only_extra_assertions", "__testing_only_libclang_16", "__testing_only_libclang_9", "default", "experimental", "logging", "prettyplease", "runtime", "static"))' -C metadata=d12db93ee92bcb9b -C extra-filename=-99891526490be3bf --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbitflags-c44468fe88cbe296.rmeta --extern cexpr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcexpr-eae9dfaf3d7a7928.rmeta --extern clang_sys=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libclang_sys-2c0f48f11e35e260.rmeta --extern itertools=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libitertools-203ce7fc89ef5a2f.rmeta --extern log=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblog-a688ca771d745a6e.rmeta --extern prettyplease=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libprettyplease-3ca688462d7b9e2e.rmeta --extern proc_macro2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libproc_macro2-0266906b2ab7d536.rmeta --extern quote=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libquote-6d3a9d94db9693e3.rmeta --extern regex=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libregex-84735d8eb1bf6ee0.rmeta --extern rustc_hash=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librustc_hash-ce499a83602eee00.rmeta --extern shlex=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libshlex-f01c4cbd194a1252.rmeta --extern syn=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libsyn-b932715a12ae74f1.rmeta --cap-lints allow -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 -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 -g` Compiling bzip2-rs v0.1.2 Running `/usr/bin/rustc --crate-name bzip2_rs --edition=2018 /usr/share/cargo/registry/bzip2-rs-0.1.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "rustc_1_37", "rustc_1_40", "rustc_1_51"))' -C metadata=7647e5d59b1f1049 -C extra-filename=-5d568e79edca9c19 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern crc32fast=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcrc32fast-039876eb9c50fbb3.rmeta --extern tinyvec=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libtinyvec-0dc404092af13797.rmeta --cap-lints allow -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 -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 -g` Compiling rustdct v0.7.1 Running `/usr/bin/rustc --crate-name rustdct --edition=2018 /usr/share/cargo/registry/rustdct-0.7.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=12c5b419ef189266 -C extra-filename=-412d6f20783dcd21 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern rustfft=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librustfft-879a840ff1085bd1.rmeta --cap-lints allow -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 -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 -g` Compiling image v0.25.10 Running `/usr/bin/rustc --crate-name image --edition=2021 /usr/share/cargo/registry/image-0.25.10/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="avif"' --cfg 'feature="bmp"' --cfg 'feature="dds"' --cfg 'feature="default"' --cfg 'feature="default-formats"' --cfg 'feature="exr"' --cfg 'feature="ff"' --cfg 'feature="gif"' --cfg 'feature="hdr"' --cfg 'feature="ico"' --cfg 'feature="jpeg"' --cfg 'feature="png"' --cfg 'feature="pnm"' --cfg 'feature="qoi"' --cfg 'feature="rayon"' --cfg 'feature="tga"' --cfg 'feature="tiff"' --cfg 'feature="webp"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("avif", "avif-native", "benchmarks", "bmp", "color_quant", "dds", "default", "default-formats", "exr", "ff", "gif", "hdr", "ico", "jpeg", "nasm", "png", "pnm", "qoi", "rayon", "serde", "tga", "tiff", "webp"))' -C metadata=d5eebbd87444ab49 -C extra-filename=-0fdf5cd4444e5517 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bytemuck=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbytemuck-d2f3c0d8b33ed61b.rmeta --extern byteorder_lite=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbyteorder_lite-8885e6f05598b5cf.rmeta --extern color_quant=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcolor_quant-dc463062b9fef88e.rmeta --extern exr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libexr-fa87b23c424f5b61.rmeta --extern gif=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libgif-b5a7d3902bbf2a98.rmeta --extern image_webp=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libimage_webp-9e1fed39c7f2e94c.rmeta --extern moxcms=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libmoxcms-1f5703e460014d7a.rmeta --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rmeta --extern png=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libpng-9daac15cdaa08149.rmeta --extern qoi=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libqoi-90e51f8e2ccb6e09.rmeta --extern ravif=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libravif-d5acbdc008b5430e.rmeta --extern rayon=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librayon-dbf38bf872e5c9a0.rmeta --extern rgb=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librgb-cb1e821f01ed1bad.rmeta --extern tiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libtiff-816dd1b6dfec5d91.rmeta --extern zune_core=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libzune_core-af5423c4e4bf4be1.rmeta --extern zune_jpeg=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libzune_jpeg-ba3684cc0dce7197.rmeta --cap-lints allow -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 -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 -g` Running `/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/build/clamav_rust-439b064f7a4e8cd5/build-script-build` Compiling delharc v0.6.1 Running `/usr/bin/rustc --crate-name delharc --edition=2021 /usr/share/cargo/registry/delharc-0.6.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="lh1"' --cfg 'feature="lz"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "lh1", "lhx", "lz", "std"))' -C metadata=9947489bffd0c625 -C extra-filename=-4d7364e150541991 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern bitflags=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbitflags-c44468fe88cbe296.rmeta --extern chrono=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libchrono-c0222ab06dcaa6e0.rmeta --extern memchr=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libmemchr-0ce24d36cae9bd72.rmeta --cap-lints allow -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 -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 -g` Compiling sha2 v0.10.9 Running `/usr/bin/rustc --crate-name sha2 --edition=2018 /usr/share/cargo/registry/sha2-0.10.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("asm", "asm-aarch64", "compress", "default", "force-soft", "force-soft-compact", "loongarch64_asm", "oid", "sha2-asm", "std"))' -C metadata=b09495c0e06162c2 -C extra-filename=-88f7923a9ebf50c4 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --extern digest=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libdigest-87b5c00c85e9096b.rmeta --cap-lints allow -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 -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 -g` Compiling sha1 v0.10.7 Running `/usr/bin/rustc --crate-name sha1 --edition=2018 /usr/share/cargo/registry/sha1-0.10.7/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("asm", "compress", "default", "force-soft", "loongarch64_asm", "oid", "std"))' -C metadata=968bdf288f399fbf -C extra-filename=-918ce319e5469635 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern cfg_if=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libcfg_if-8b3086eac78d1ebe.rmeta --extern digest=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libdigest-87b5c00c85e9096b.rmeta --cap-lints allow -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 -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 -g` Compiling hex-literal v1.1.0 Running `/usr/bin/rustc --crate-name hex_literal --edition=2024 /usr/share/cargo/registry/hex-literal-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=3d88e1cd2318a217 -C extra-filename=-1c7164b265bd42b2 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling byteorder v1.5.0 Running `/usr/bin/rustc --crate-name byteorder --edition=2021 /usr/share/cargo/registry/byteorder-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "i128", "std"))' -C metadata=37fd95b9c85849ae -C extra-filename=-fc523702b29683f6 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling unicode-segmentation v1.13.3 Running `/usr/bin/rustc --crate-name unicode_segmentation --edition=2018 /usr/share/cargo/registry/unicode-segmentation-1.13.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("no_std"))' -C metadata=2f72bb2a4333d041 -C extra-filename=-d132970c412b027a --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling hex v0.4.3 Running `/usr/bin/rustc --crate-name hex --edition=2018 /usr/share/cargo/registry/hex-0.4.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "serde", "std"))' -C metadata=d85ee8cb0a990c6c -C extra-filename=-d881e735cedd8444 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Compiling base64 v0.22.1 Running `/usr/bin/rustc --crate-name base64 --edition=2018 /usr/share/cargo/registry/base64-0.22.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=6283d84d270b17e0 -C extra-filename=-8d89208535dbf385 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --cap-lints allow -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 -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 -g` Running `/usr/bin/rustc --crate-name clamav_rust --edition=2018 libclamav_rust/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type staticlib --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("not_ready"))' -C metadata=4803cbc027eab0f7 -C extra-filename=-e9b319a1bbe16539 --out-dir /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps --target riscv64gc-unknown-linux-gnu -C strip=debuginfo -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps -L dependency=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/release/deps --extern base64=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbase64-8d89208535dbf385.rlib --extern bindgen=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbindgen-99891526490be3bf.rlib --extern byteorder=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbyteorder-fc523702b29683f6.rlib --extern bzip2_rs=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libbzip2_rs-5d568e79edca9c19.rlib --extern delharc=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libdelharc-4d7364e150541991.rlib --extern flate2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libflate2-95c29ba20286ad61.rlib --extern hex=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libhex-d881e735cedd8444.rlib --extern hex_literal=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libhex_literal-1c7164b265bd42b2.rlib --extern image=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libimage-0fdf5cd4444e5517.rlib --extern libc=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblibc-05c81fb8766c8d79.rlib --extern log=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/liblog-a688ca771d745a6e.rlib --extern num_traits=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libnum_traits-acb16adf8b9b1e56.rlib --extern onenote_parser=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libonenote_parser-c2f5c6b15d7a4032.rlib --extern rustdct=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/librustdct-412d6f20783dcd21.rlib --extern sha1=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libsha1-918ce319e5469635.rlib --extern sha2=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libsha2-88f7923a9ebf50c4.rlib --extern tempfile=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libtempfile-caf1e0ebba267971.rlib --extern thiserror=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libthiserror-231b44cc5aeffb56.rlib --extern transpose=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libtranspose-e39504094f2495ff.rlib --extern unicode_segmentation=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/riscv64gc-unknown-linux-gnu/release/deps/libunicode_segmentation-d132970c412b027a.rlib -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 -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 -g` Finished `release` profile [optimized] target(s) in 28m 05s [113/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/iowrap.c.o -MF libclamav/CMakeFiles/clamav.dir/iowrap.c.o.d -o libclamav/CMakeFiles/clamav.dir/iowrap.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/iowrap.c [114/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fpu.c.o -MF libclamav/CMakeFiles/clamav.dir/fpu.c.o.d -o libclamav/CMakeFiles/clamav.dir/fpu.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/fpu.c [115/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/conv.c.o -MF libclamav/CMakeFiles/clamav.dir/conv.c.o.d -o libclamav/CMakeFiles/clamav.dir/conv.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/conv.c [116/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o -MF libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o.d -o libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/sf_base64decode.c [117/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/strlcat.c.o -MF libclamav/CMakeFiles/clamav.dir/strlcat.c.o.d -o libclamav/CMakeFiles/clamav.dir/strlcat.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/strlcat.c [118/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/json_api.c.o -MF libclamav/CMakeFiles/clamav.dir/json_api.c.o.d -o libclamav/CMakeFiles/clamav.dir/json_api.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/json_api.c [119/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/blob.c.o -MF libclamav/CMakeFiles/clamav.dir/blob.c.o.d -o libclamav/CMakeFiles/clamav.dir/blob.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/blob.c [120/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/table.c.o -MF libclamav/CMakeFiles/clamav.dir/table.c.o.d -o libclamav/CMakeFiles/clamav.dir/table.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/table.c [121/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/text.c.o -MF libclamav/CMakeFiles/clamav.dir/text.c.o.d -o libclamav/CMakeFiles/clamav.dir/text.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/text.c [122/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/uniq.c.o -MF libclamav/CMakeFiles/clamav.dir/uniq.c.o.d -o libclamav/CMakeFiles/clamav.dir/uniq.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/uniq.c [123/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hashtab.c.o -MF libclamav/CMakeFiles/clamav.dir/hashtab.c.o.d -o libclamav/CMakeFiles/clamav.dir/hashtab.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/hashtab.c [124/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/others_common.c.o -MF libclamav/CMakeFiles/clamav.dir/others_common.c.o.d -o libclamav/CMakeFiles/clamav.dir/others_common.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/others_common.c [125/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/www.c.o -MF libclamav/CMakeFiles/clamav.dir/www.c.o.d -o libclamav/CMakeFiles/clamav.dir/www.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/www.c [126/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/qsort.c.o -MF libclamav/CMakeFiles/clamav.dir/qsort.c.o.d -o libclamav/CMakeFiles/clamav.dir/qsort.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/qsort.c [127/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/str.c.o -MF libclamav/CMakeFiles/clamav.dir/str.c.o.d -o libclamav/CMakeFiles/clamav.dir/str.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/str.c [128/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o -MF libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o.d -o libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-hash.c [129/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o -MF libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o.d -o libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-bm.c [130/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o -MF libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o.d -o libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-pcre.c [131/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/disasm.c.o -MF libclamav/CMakeFiles/clamav.dir/disasm.c.o.d -o libclamav/CMakeFiles/clamav.dir/disasm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/disasm.c [132/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o -MF libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o.d -o libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-byte-comp.c [133/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o -MF libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o.d -o libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex_pcre.c [134/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/filtering.c.o -MF libclamav/CMakeFiles/clamav.dir/filtering.c.o.d -o libclamav/CMakeFiles/clamav.dir/filtering.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/filtering.c [135/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dsig.c.o -MF libclamav/CMakeFiles/clamav.dir/dsig.c.o.d -o libclamav/CMakeFiles/clamav.dir/dsig.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/dsig.c [136/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dconf.c.o -MF libclamav/CMakeFiles/clamav.dir/dconf.c.o.d -o libclamav/CMakeFiles/clamav.dir/dconf.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/dconf.c [137/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cvd.c.o -MF libclamav/CMakeFiles/clamav.dir/cvd.c.o.d -o libclamav/CMakeFiles/clamav.dir/cvd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/cvd.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/cvd.c: In function ‘cli_untgz’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/cvd.c:91:34: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 91 | path = (char *)calloc(sizeof(char), pathlen); | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/cvd.c:91:34: note: earlier argument should specify number of elements, later size of each element [138/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/crtmgr.c.o -MF libclamav/CMakeFiles/clamav.dir/crtmgr.c.o.d -o libclamav/CMakeFiles/clamav.dir/crtmgr.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/crtmgr.c [139/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher.c.o -MF libclamav/CMakeFiles/clamav.dir/matcher.c.o.d -o libclamav/CMakeFiles/clamav.dir/matcher.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher.c:348:12: warning: conflicting types for ‘cli_caloff’ due to enum/integer mismatch; have ‘cl_error_t(const char *, const struct cli_target_info *, cli_target_t, uint32_t *, uint32_t *, uint32_t *)’ {aka ‘cl_error_t(const char *, const struct cli_target_info *, cli_target_t, unsigned int *, unsigned int *, unsigned int *)’} [-Wenum-int-mismatch] 348 | cl_error_t cli_caloff(const char *offstr, const struct cli_target_info *info, cli_target_t target, uint32_t *offdata, uint32_t *offset_min, uint32_t *offset_max) | ^~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-ac.h:133, from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamav_rust.h:13, from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher.c:36: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher.h:364:12: note: previous declaration of ‘cli_caloff’ with type ‘cl_error_t(const char *, const struct cli_target_info *, unsigned int, uint32_t *, uint32_t *, uint32_t *)’ {aka ‘cl_error_t(const char *, const struct cli_target_info *, unsigned int, unsigned int *, unsigned int *, unsigned int *)’} 364 | cl_error_t cli_caloff(const char *offstr, const struct cli_target_info *info, unsigned int target, uint32_t *offdata, uint32_t *offset_min, uint32_t *offset_max); | ^~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher.c:535:6: warning: conflicting types for ‘cli_targetinfo’ due to enum/integer mismatch; have ‘void(struct cli_target_info *, cli_target_t, cli_ctx *)’ {aka ‘void(struct cli_target_info *, cli_target_t, struct cli_ctx_tag *)’} [-Wenum-int-mismatch] 535 | void cli_targetinfo(struct cli_target_info *info, cli_target_t target, cli_ctx *ctx) | ^~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher.h:394:6: note: previous declaration of ‘cli_targetinfo’ with type ‘void(struct cli_target_info *, unsigned int, cli_ctx *)’ {aka ‘void(struct cli_target_info *, unsigned int, struct cli_ctx_tag *)’} 394 | void cli_targetinfo(struct cli_target_info *info, unsigned int target, cli_ctx *ctx); | ^~~~~~~~~~~~~~ [140/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cache.c.o -MF libclamav/CMakeFiles/clamav.dir/cache.c.o.d -o libclamav/CMakeFiles/clamav.dir/cache.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/cache.c [141/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/perflogging.c.o -MF libclamav/CMakeFiles/clamav.dir/perflogging.c.o.d -o libclamav/CMakeFiles/clamav.dir/perflogging.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/perflogging.c [142/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/filetypes.c.o -MF libclamav/CMakeFiles/clamav.dir/filetypes.c.o.d -o libclamav/CMakeFiles/clamav.dir/filetypes.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/filetypes.c [143/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/crypto.c.o -MF libclamav/CMakeFiles/clamav.dir/crypto.c.o.d -o libclamav/CMakeFiles/clamav.dir/crypto.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/crypto.c [144/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mpool.c.o -MF libclamav/CMakeFiles/clamav.dir/mpool.c.o.d -o libclamav/CMakeFiles/clamav.dir/mpool.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mpool.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mpool.c: In function ‘cli_mpool_virname’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mpool.c:838:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 838 | if ((pt = strchr(virname, ' '))) | ^ [145/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/textdet.c.o -MF libclamav/CMakeFiles/clamav.dir/textdet.c.o.d -o libclamav/CMakeFiles/clamav.dir/textdet.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/textdet.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/textdet.c: In function ‘td_isutf16’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/textdet.c:151:52: warning: variable ‘high’ set but not used [-Wunused-but-set-variable=] 151 | unsigned int be = 1, nobom = 0, i, c, bad = 0, high = 0; | ^~~~ [146/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/version.c.o -MF libclamav/CMakeFiles/clamav.dir/version.c.o.d -o libclamav/CMakeFiles/clamav.dir/version.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/version.c [147/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fmap.c.o -MF libclamav/CMakeFiles/clamav.dir/fmap.c.o.d -o libclamav/CMakeFiles/clamav.dir/fmap.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/fmap.c [148/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/textnorm.c.o -MF libclamav/CMakeFiles/clamav.dir/textnorm.c.o.d -o libclamav/CMakeFiles/clamav.dir/textnorm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/textnorm.c [149/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/others.c.o -MF libclamav/CMakeFiles/clamav.dir/others.c.o.d -o libclamav/CMakeFiles/clamav.dir/others.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/others.c [150/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o -MF libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o.d -o libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/partition_intersection.c [151/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o -MF libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o.d -o libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-ac.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-ac.c: In function ‘cli_ac_scanbuff’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-ac.c:1995:48: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 1995 | return CL_TYPE_IGNORED; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/matcher-ac.c:2062:44: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 2062 | return CL_TYPE_IGNORED; | ^~~~~~~~~~~~~~~ [152/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o -MF libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o.d -o libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/hostid_internal.c [153/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/stats_json.c.o -MF libclamav/CMakeFiles/clamav.dir/stats_json.c.o.d -o libclamav/CMakeFiles/clamav.dir/stats_json.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/stats_json.c [154/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/special.c.o -MF libclamav/CMakeFiles/clamav.dir/special.c.o.d -o libclamav/CMakeFiles/clamav.dir/special.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/special.c [155/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o -MF libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o.d -o libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_api_decl.c [156/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/stats.c.o -MF libclamav/CMakeFiles/clamav.dir/stats.c.o.d -o libclamav/CMakeFiles/clamav.dir/stats.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/stats.c [157/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o -MF libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o.d -o libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.c In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.c:31: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.c: In function ‘cli_detect_environment’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.h:152:9: warning: ‘__builtin_strncpy’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 152 | strncpy((char *)(field), (value), sizeof(field) - 1); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.c:289:13: note: in expansion of macro ‘INIT_STRFIELD’ 289 | INIT_STRFIELD(env->sysname, name.sysname); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.h:152:9: warning: ‘__builtin_strncpy’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 152 | strncpy((char *)(field), (value), sizeof(field) - 1); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.c:290:13: note: in expansion of macro ‘INIT_STRFIELD’ 290 | INIT_STRFIELD(env->release, name.release); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.h:152:9: warning: ‘__builtin_strncpy’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 152 | strncpy((char *)(field), (value), sizeof(field) - 1); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.c:291:13: note: in expansion of macro ‘INIT_STRFIELD’ 291 | INIT_STRFIELD(env->version, name.version); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.h:152:9: warning: ‘__builtin_strncpy’ output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 152 | strncpy((char *)(field), (value), sizeof(field) - 1); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_detect.c:292:13: note: in expansion of macro ‘INIT_STRFIELD’ 292 | INIT_STRFIELD(env->machine, name.machine); | ^~~~~~~~~~~~~ [158/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o -MF libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o.d -o libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/jsparse/js-norm.c [159/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/events.c.o -MF libclamav/CMakeFiles/clamav.dir/events.c.o.d -o libclamav/CMakeFiles/clamav.dir/events.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/events.c [160/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/7z_iface.c.o -MF libclamav/CMakeFiles/clamav.dir/7z_iface.c.o.d -o libclamav/CMakeFiles/clamav.dir/7z_iface.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/7z_iface.c [161/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/explode.c.o -MF libclamav/CMakeFiles/clamav.dir/explode.c.o.d -o libclamav/CMakeFiles/clamav.dir/explode.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/explode.c [162/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o -MF libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o.d -o libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_api.c [163/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o -MF libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o.d -o libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/lzma_iface.c [164/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xz_iface.c.o -MF libclamav/CMakeFiles/clamav.dir/xz_iface.c.o.d -o libclamav/CMakeFiles/clamav.dir/xz_iface.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/xz_iface.c [165/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o -MF libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o.d -o libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/lzw/lzwdec.c [166/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/inflate64.c.o -MF libclamav/CMakeFiles/clamav.dir/inflate64.c.o.d -o libclamav/CMakeFiles/clamav.dir/inflate64.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/inflate64.c [167/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/arc4.c.o -MF libclamav/CMakeFiles/clamav.dir/arc4.c.o.d -o libclamav/CMakeFiles/clamav.dir/arc4.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/arc4.c [168/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/scanners.c.o -MF libclamav/CMakeFiles/clamav.dir/scanners.c.o.d -o libclamav/CMakeFiles/clamav.dir/scanners.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c: In function ‘cli_scanrar_file’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:224:14: warning: variable ‘nTooLargeFilesFound’ set but not used [-Wunused-but-set-variable=] 224 | uint32_t nTooLargeFilesFound = 0; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c: In function ‘cli_scanegg’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:629:14: warning: variable ‘nTooLargeFilesFound’ set but not used [-Wunused-but-set-variable=] 629 | uint32_t nTooLargeFilesFound = 0; | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c: In function ‘scanraw’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:3882:29: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 3882 | ret = CL_TYPE_TEXT_ASCII; | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c: In function ‘scan_common’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:5399:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 5399 | ctx.recursion_stack = calloc(sizeof(recursion_level_t), ctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:5399:46: note: earlier argument should specify number of elements, later size of each element /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c: In function ‘cli_scanegg’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:686:55: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size 5 [-Wformat-truncation=] 686 | snprintf(prefix, prefixLen, "comments_%u", i); | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:686:45: note: directive argument in the range [0, 4294967294] 686 | snprintf(prefix, prefixLen, "comments_%u", i); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:974, from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:29: In function ‘snprintf’, inlined from ‘cli_scanegg’ at /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/scanners.c:686:17: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 11 and 20 bytes into a destination of size 14 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [169/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/readdb.c.o -MF libclamav/CMakeFiles/clamav.dir/readdb.c.o.d -o libclamav/CMakeFiles/clamav.dir/readdb.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c: In function ‘cli_virname’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c:108:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | if ((pt = strstr(virname, " (Clam)"))) | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c: In function ‘cli_signorm’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c:1129:20: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1129 | char *pt = strstr(signame, ".{"); | ^~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c: In function ‘cli_chkpua’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c:1206:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1206 | if (!(pt1 = strchr(sig + 1, '.'))) { | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c:1210:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1210 | if ((pt2 = strrchr(sig + 1, '.')) != pt1) { | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/readdb.c:1222:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1222 | endsig = strrchr(sig, '.'); | ^ [170/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dlp.c.o -MF libclamav/CMakeFiles/clamav.dir/dlp.c.o.d -o libclamav/CMakeFiles/clamav.dir/dlp.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/dlp.c [171/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/entconv.c.o -MF libclamav/CMakeFiles/clamav.dir/entconv.c.o.d -o libclamav/CMakeFiles/clamav.dir/entconv.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/entconv.c [172/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rijndael.c.o -MF libclamav/CMakeFiles/clamav.dir/rijndael.c.o.d -o libclamav/CMakeFiles/clamav.dir/rijndael.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/rijndael.c [173/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/binhex.c.o -MF libclamav/CMakeFiles/clamav.dir/binhex.c.o.d -o libclamav/CMakeFiles/clamav.dir/binhex.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/binhex.c [174/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/cpio.c.o -MF libclamav/CMakeFiles/clamav.dir/cpio.c.o.d -o libclamav/CMakeFiles/clamav.dir/cpio.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/cpio.c [175/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msexpand.c.o -MF libclamav/CMakeFiles/clamav.dir/msexpand.c.o.d -o libclamav/CMakeFiles/clamav.dir/msexpand.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/msexpand.c [176/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/autoit.c.o -MF libclamav/CMakeFiles/clamav.dir/autoit.c.o.d -o libclamav/CMakeFiles/clamav.dir/autoit.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/autoit.c [177/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/libmspack.c.o -MF libclamav/CMakeFiles/clamav.dir/libmspack.c.o.d -o libclamav/CMakeFiles/clamav.dir/libmspack.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/libmspack.c [178/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ishield.c.o -MF libclamav/CMakeFiles/clamav.dir/ishield.c.o.d -o libclamav/CMakeFiles/clamav.dir/ishield.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/ishield.c [179/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o -MF libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o.d -o libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/htmlnorm.c [180/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o -MF libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o.d -o libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/nulsft.c [181/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o -MF libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o.d -o libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/infblock.c [182/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msxml.c.o -MF libclamav/CMakeFiles/clamav.dir/msxml.c.o.d -o libclamav/CMakeFiles/clamav.dir/msxml.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/msxml.c [183/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hwp.c.o -MF libclamav/CMakeFiles/clamav.dir/hwp.c.o.d -o libclamav/CMakeFiles/clamav.dir/hwp.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/hwp.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/hwp.c: In function ‘parsehwp3_paragraph’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/hwp.c:665:9: warning: variable ‘c’ set but not used [-Wunused-but-set-variable=] 665 | int c, l, sp = 0, term = 0; | ^ [184/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o -MF libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o.d -o libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/msxml_parser.c [185/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/msdoc.c.o -MF libclamav/CMakeFiles/clamav.dir/msdoc.c.o.d -o libclamav/CMakeFiles/clamav.dir/msdoc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/msdoc.c [186/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ooxml.c.o -MF libclamav/CMakeFiles/clamav.dir/ooxml.c.o.d -o libclamav/CMakeFiles/clamav.dir/ooxml.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/ooxml.c [187/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o -MF libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o.d -o libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c: In function ‘BZ2_decompress’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:538:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 538 | if (s->smallDecompress) { | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:549:7: note: in expansion of macro ‘GET_UCHAR’ 549 | GET_UCHAR(BZ_X_BLKHDR_1, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:584:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 584 | s->origPtr = 0; | ~~~~~~~~~~~^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:585:7: note: in expansion of macro ‘GET_UCHAR’ 585 | GET_UCHAR(BZ_X_ORIGPTR_1, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:586:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 586 | s->origPtr = (s->origPtr << 8) | ((Int32)uc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:587:7: note: in expansion of macro ‘GET_UCHAR’ 587 | GET_UCHAR(BZ_X_ORIGPTR_2, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:588:18: warning: this statement may fall through [-Wimplicit-fallthrough=] 588 | s->origPtr = (s->origPtr << 8) | ((Int32)uc); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:80:4: note: in expansion of macro ‘GET_BITS’ 80 | GET_BITS(lll,uuu,8) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:589:7: note: in expansion of macro ‘GET_UCHAR’ 589 | GET_UCHAR(BZ_X_ORIGPTR_3, uc); | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:615:17: warning: this statement may fall through [-Wimplicit-fallthrough=] 615 | alphaSize = s->nInUse+2; | ~~~~~~~~~~^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:618:7: note: in expansion of macro ‘GET_BITS’ 618 | GET_BITS(BZ_X_SELECTOR_1, nGroups, 3); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:619:10: warning: this statement may fall through [-Wimplicit-fallthrough=] 619 | if (nGroups < 2 || nGroups > 6) RETURN(BZ_DATA_ERROR); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:620:7: note: in expansion of macro ‘GET_BITS’ 620 | GET_BITS(BZ_X_SELECTOR_2, nSelectors, 15); | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:623:12: warning: this statement may fall through [-Wimplicit-fallthrough=] 623 | j = 0; | ~~^~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:625:13: note: in expansion of macro ‘GET_BIT’ 625 | GET_BIT(BZ_X_SELECTOR_3, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:652:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 652 | if (curr < 1 || curr > 20) RETURN(BZ_DATA_ERROR); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:653:16: note: in expansion of macro ‘GET_BIT’ 653 | GET_BIT(BZ_X_CODING_2, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:654:19: warning: this statement may fall through [-Wimplicit-fallthrough=] 654 | if (uc == 0) break; | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:655:16: note: in expansion of macro ‘GET_BIT’ 655 | GET_BIT(BZ_X_CODING_3, uc); | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:100:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | zn = gMinlen; \ | ~~~^~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:101:4: note: in expansion of macro ‘GET_BITS’ 101 | GET_BITS(label1, zvec, zn); \ | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:106:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | zn++; \ | ~~^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:107:7: note: in expansion of macro ‘GET_BIT’ 107 | GET_BIT(label2, zj); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:704:7: note: in expansion of macro ‘GET_MTF_VAL’ 704 | GET_MTF_VAL(BZ_X_MTF_1, BZ_X_MTF_2, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:100:7: warning: this statement may fall through [-Wimplicit-fallthrough=] 100 | zn = gMinlen; \ | ~~~^~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:101:4: note: in expansion of macro ‘GET_BITS’ 101 | GET_BITS(label1, zvec, zn); \ | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:106:9: warning: this statement may fall through [-Wimplicit-fallthrough=] 106 | zn++; \ | ~~^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:56:4: note: here 56 | case lll: s->state = lll; \ | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:83:4: note: in expansion of macro ‘GET_BITS’ 83 | GET_BITS(lll,uuu,1) | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:107:7: note: in expansion of macro ‘GET_BIT’ 107 | GET_BIT(label2, zj); \ | ^~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/nsis/bzlib.c:814:13: note: in expansion of macro ‘GET_MTF_VAL’ 814 | GET_MTF_VAL(BZ_X_MTF_5, BZ_X_MTF_6, nextSym); | ^~~~~~~~~~~ [188/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rtf.c.o -MF libclamav/CMakeFiles/clamav.dir/rtf.c.o.d -o libclamav/CMakeFiles/clamav.dir/rtf.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/rtf.c [189/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode.c.o -MF libclamav/CMakeFiles/clamav.dir/bytecode.c.o.d -o libclamav/CMakeFiles/clamav.dir/bytecode.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode.c [190/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o -MF libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o.d -o libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/xlm_extract.c [191/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/execs.c.o -MF libclamav/CMakeFiles/clamav.dir/execs.c.o.d -o libclamav/CMakeFiles/clamav.dir/execs.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/execs.c [192/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o -MF libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o.d -o libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/ole2_extract.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/ole2_extract.c: In function ‘cli_ole2_get_property_name2’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/ole2_extract.c:281:41: warning: comparison is always true due to limited range of data type [-Wtype-limits] 281 | if (name[i] < 10 && name[i] >= 0 && name[i + 1] == 0) { | ^~ [193/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/elf.c.o -MF libclamav/CMakeFiles/clamav.dir/elf.c.o.d -o libclamav/CMakeFiles/clamav.dir/elf.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/elf.c [194/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/macho.c.o -MF libclamav/CMakeFiles/clamav.dir/macho.c.o.d -o libclamav/CMakeFiles/clamav.dir/macho.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/macho.c [195/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o -MF libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o.d -o libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/rebuildpe.c [196/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/fsg.c.o -MF libclamav/CMakeFiles/clamav.dir/fsg.c.o.d -o libclamav/CMakeFiles/clamav.dir/fsg.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/fsg.c [197/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/vba_extract.c.o -MF libclamav/CMakeFiles/clamav.dir/vba_extract.c.o.d -o libclamav/CMakeFiles/clamav.dir/vba_extract.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/vba_extract.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/vba_extract.c: In function ‘get_unicode_name’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/vba_extract.c:128:44: warning: comparison is always true due to limited range of data type [-Wtype-limits] 128 | if ((name[i] < 10) && (name[i] >= 0)) { | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/vba_extract.c:135:41: warning: comparison is always false due to limited range of data type [-Wtype-limits] 135 | x = (uint16_t)((name[i] < 0 ? 0 : name[i] << 8) | name[i + 1]); | ^ [198/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/aspack.c.o -MF libclamav/CMakeFiles/clamav.dir/aspack.c.o.d -o libclamav/CMakeFiles/clamav.dir/aspack.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/aspack.c [199/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/asn1.c.o -MF libclamav/CMakeFiles/clamav.dir/asn1.c.o.d -o libclamav/CMakeFiles/clamav.dir/asn1.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/asn1.c [200/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/packlibs.c.o -MF libclamav/CMakeFiles/clamav.dir/packlibs.c.o.d -o libclamav/CMakeFiles/clamav.dir/packlibs.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/packlibs.c [201/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mew.c.o -MF libclamav/CMakeFiles/clamav.dir/mew.c.o.d -o libclamav/CMakeFiles/clamav.dir/mew.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mew.c [202/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/spin.c.o -MF libclamav/CMakeFiles/clamav.dir/spin.c.o.d -o libclamav/CMakeFiles/clamav.dir/spin.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/spin.c [203/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/petite.c.o -MF libclamav/CMakeFiles/clamav.dir/petite.c.o.d -o libclamav/CMakeFiles/clamav.dir/petite.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/petite.c [204/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pe_icons.c.o -MF libclamav/CMakeFiles/clamav.dir/pe_icons.c.o.d -o libclamav/CMakeFiles/clamav.dir/pe_icons.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pe_icons.c [205/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unsp.c.o -MF libclamav/CMakeFiles/clamav.dir/unsp.c.o.d -o libclamav/CMakeFiles/clamav.dir/unsp.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/unsp.c [206/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/yc.c.o -MF libclamav/CMakeFiles/clamav.dir/yc.c.o.d -o libclamav/CMakeFiles/clamav.dir/yc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/yc.c [207/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/line.c.o -MF libclamav/CMakeFiles/clamav.dir/line.c.o.d -o libclamav/CMakeFiles/clamav.dir/line.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/line.c [208/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/upx.c.o -MF libclamav/CMakeFiles/clamav.dir/upx.c.o.d -o libclamav/CMakeFiles/clamav.dir/upx.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/upx.c [209/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o -MF libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o.d -o libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/phish_domaincheck_db.c [210/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/upack.c.o -MF libclamav/CMakeFiles/clamav.dir/upack.c.o.d -o libclamav/CMakeFiles/clamav.dir/upack.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/upack.c [211/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o -MF libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o.d -o libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/phish_allow_list.c [212/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/wwunpack.c.o -MF libclamav/CMakeFiles/clamav.dir/wwunpack.c.o.d -o libclamav/CMakeFiles/clamav.dir/wwunpack.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/wwunpack.c [213/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o -MF libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o.d -o libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex_suffix.c [214/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/regex_list.c.o -MF libclamav/CMakeFiles/clamav.dir/regex_list.c.o.d -o libclamav/CMakeFiles/clamav.dir/regex_list.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/regex_list.c [215/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/message.c.o -MF libclamav/CMakeFiles/clamav.dir/message.c.o.d -o libclamav/CMakeFiles/clamav.dir/message.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/message.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/message.c: In function ‘messageAddArguments’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/message.c:509:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 509 | data = strchr(string, '='); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/message.c:523:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 523 | data = strchr(string, ':'); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/message.c: In function ‘messageExport’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/message.c:1278:27: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1278 | if ((filename = strstr(f, " name=")) != NULL) { | ^ [216/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/uuencode.c.o -MF libclamav/CMakeFiles/clamav.dir/uuencode.c.o.d -o libclamav/CMakeFiles/clamav.dir/uuencode.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/uuencode.c [217/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/tnef.c.o -MF libclamav/CMakeFiles/clamav.dir/tnef.c.o.d -o libclamav/CMakeFiles/clamav.dir/tnef.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/tnef.c [218/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/phishcheck.c.o -MF libclamav/CMakeFiles/clamav.dir/phishcheck.c.o.d -o libclamav/CMakeFiles/clamav.dir/phishcheck.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/phishcheck.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/phishcheck.c: In function ‘isURL’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/phishcheck.c:1012:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1012 | if (!has_proto && (q = memchr(p, '@', end - p))) { | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/phishcheck.c:1022:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1022 | q = strchr(p, '.'); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/phishcheck.c: In function ‘url_hash_match’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/phishcheck.c:1392:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1392 | p = strchr(path_begin + pp[k - 1] + 1, '/'); | ^ [219/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/swf.c.o -MF libclamav/CMakeFiles/clamav.dir/swf.c.o.d -o libclamav/CMakeFiles/clamav.dir/swf.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/swf.c [220/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mbox.c.o -MF libclamav/CMakeFiles/clamav.dir/mbox.c.o.d -o libclamav/CMakeFiles/clamav.dir/mbox.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbox.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbox.c: In function ‘parseEmailBody’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbox.c:2373:28: warning: implicit conversion from ‘enum cl_error_t’ to ‘mbox_status’ [-Wenum-conversion] 2373 | rc = CL_EFORMAT; | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbox.c: In function ‘cli_parse_mbox’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbox.c:844:5: warning: ‘__builtin_strncpy’ output may be truncated copying 1000 bytes from a string of length 1000 [-Wstringop-truncation] 844 | strncpy(buffer, firstLine, sizeof(buffer) - 1); | ^ [221/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdfng.c.o -MF libclamav/CMakeFiles/clamav.dir/pdfng.c.o.d -o libclamav/CMakeFiles/clamav.dir/pdfng.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdfng.c [222/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xdp.c.o -MF libclamav/CMakeFiles/clamav.dir/xdp.c.o.d -o libclamav/CMakeFiles/clamav.dir/xdp.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/xdp.c [223/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o -MF libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o.d -o libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdfdecode.c In function ‘pdf_decodestream_internal’, inlined from ‘pdf_decodestream’ at /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdfdecode.c:161:21: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdfdecode.c:313:12: warning: ‘decoded’ may be used uninitialized [-Wmaybe-uninitialized] 313 | if (!(token->content) || !(token->length)) { | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdfdecode.c: In function ‘pdf_decodestream’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdfdecode.c:893:14: note: ‘decoded’ was declared here 893 | uint8_t *decoded, *temp; | ^~~~~~~ [224/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/sis.c.o -MF libclamav/CMakeFiles/clamav.dir/sis.c.o.d -o libclamav/CMakeFiles/clamav.dir/sis.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/sis.c [225/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/is_tar.c.o -MF libclamav/CMakeFiles/clamav.dir/is_tar.c.o.d -o libclamav/CMakeFiles/clamav.dir/is_tar.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/is_tar.c [226/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/untar.c.o -MF libclamav/CMakeFiles/clamav.dir/untar.c.o.d -o libclamav/CMakeFiles/clamav.dir/untar.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/untar.c [227/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/adc.c.o -MF libclamav/CMakeFiles/clamav.dir/adc.c.o.d -o libclamav/CMakeFiles/clamav.dir/adc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/adc.c [228/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unarj.c.o -MF libclamav/CMakeFiles/clamav.dir/unarj.c.o.d -o libclamav/CMakeFiles/clamav.dir/unarj.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/unarj.c [229/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/unzip.c.o -MF libclamav/CMakeFiles/clamav.dir/unzip.c.o.d -o libclamav/CMakeFiles/clamav.dir/unzip.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/unzip.c [230/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/mbr.c.o -MF libclamav/CMakeFiles/clamav.dir/mbr.c.o.d -o libclamav/CMakeFiles/clamav.dir/mbr.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbr.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbr.c: In function ‘cli_mbr_check’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbr.c:85:16: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 85 | return CL_TYPE_GPT; | ^~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbr.c: In function ‘cli_mbr_check2’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/mbr.c:128:16: warning: implicit conversion from ‘enum cli_file’ to ‘cl_error_t’ [-Wenum-conversion] 128 | return CL_TYPE_GPT; | ^~~~~~~~~~~ [231/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/dmg.c.o -MF libclamav/CMakeFiles/clamav.dir/dmg.c.o.d -o libclamav/CMakeFiles/clamav.dir/dmg.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/dmg.c [232/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/xar.c.o -MF libclamav/CMakeFiles/clamav.dir/xar.c.o.d -o libclamav/CMakeFiles/clamav.dir/xar.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/xar.c [233/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pe.c.o -MF libclamav/CMakeFiles/clamav.dir/pe.c.o.d -o libclamav/CMakeFiles/clamav.dir/pe.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pe.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pe.c: In function ‘hash_impfns’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pe.c:2357:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2357 | UPDATE_IMPHASH(); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pe.c:2398:13: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2398 | UPDATE_IMPHASH(); | ^~~~~~~~~~~~~~ [234/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/gpt.c.o -MF libclamav/CMakeFiles/clamav.dir/gpt.c.o.d -o libclamav/CMakeFiles/clamav.dir/gpt.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/gpt.c [235/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/egg.c.o -MF libclamav/CMakeFiles/clamav.dir/egg.c.o.d -o libclamav/CMakeFiles/clamav.dir/egg.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/egg.c [236/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/apm.c.o -MF libclamav/CMakeFiles/clamav.dir/apm.c.o.d -o libclamav/CMakeFiles/clamav.dir/apm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/apm.c [237/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/openioc.c.o -MF libclamav/CMakeFiles/clamav.dir/openioc.c.o.d -o libclamav/CMakeFiles/clamav.dir/openioc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/openioc.c [238/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/iso9660.c.o -MF libclamav/CMakeFiles/clamav.dir/iso9660.c.o.d -o libclamav/CMakeFiles/clamav.dir/iso9660.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/iso9660.c [239/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/pdf.c.o -MF libclamav/CMakeFiles/clamav.dir/pdf.c.o.d -o libclamav/CMakeFiles/clamav.dir/pdf.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdf.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdf.c: In function ‘pdf_findobj_in_objstm’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdf.c:340:25: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 340 | obj = calloc(sizeof(struct pdf_obj), 1); | ^~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/pdf.c:340:25: note: earlier argument should specify number of elements, later size of each element [240/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/tiff.c.o -MF libclamav/CMakeFiles/clamav.dir/tiff.c.o.d -o libclamav/CMakeFiles/clamav.dir/tiff.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/tiff.c [241/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/png.c.o -MF libclamav/CMakeFiles/clamav.dir/png.c.o.d -o libclamav/CMakeFiles/clamav.dir/png.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/png.c [242/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/jpeg.c.o -MF libclamav/CMakeFiles/clamav.dir/jpeg.c.o.d -o libclamav/CMakeFiles/clamav.dir/jpeg.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/jpeg.c [243/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/gif.c.o -MF libclamav/CMakeFiles/clamav.dir/gif.c.o.d -o libclamav/CMakeFiles/clamav.dir/gif.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/gif.c [244/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/cert_util.c.o -MF common/CMakeFiles/common.dir/cert_util.c.o.d -o common/CMakeFiles/common.dir/cert_util.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/cert_util.c [245/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/getopt.c.o -MF common/CMakeFiles/common.dir/getopt.c.o.d -o common/CMakeFiles/common.dir/getopt.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/getopt.c [246/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/hostid.c.o -MF common/CMakeFiles/common.dir/hostid.c.o.d -o common/CMakeFiles/common.dir/hostid.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/hostid.c [247/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/udf.c.o -MF libclamav/CMakeFiles/clamav.dir/udf.c.o.d -o libclamav/CMakeFiles/clamav.dir/udf.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/udf.c [248/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/idmef_logging.c.o -MF common/CMakeFiles/common.dir/idmef_logging.c.o.d -o common/CMakeFiles/common.dir/idmef_logging.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/idmef_logging.c [249/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/clamdcom.c.o -MF common/CMakeFiles/common.dir/clamdcom.c.o.d -o common/CMakeFiles/common.dir/clamdcom.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/clamdcom.c [250/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/hfsplus.c.o -MF libclamav/CMakeFiles/clamav.dir/hfsplus.c.o.d -o libclamav/CMakeFiles/clamav.dir/hfsplus.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/hfsplus.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/hfsplus.c: In function ‘hfsplus_scanfile’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/hfsplus.c:363:39: warning: variable ‘outputSize’ set but not used [-Wunused-but-set-variable=] 363 | uint32_t currBlock, endBlock, outputSize = 0; | ^~~~~~~~~~ [251/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/linux/cert_util_linux.c.o -MF common/CMakeFiles/common.dir/linux/cert_util_linux.c.o.d -o common/CMakeFiles/common.dir/linux/cert_util_linux.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/linux/cert_util_linux.c [252/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/tar.c.o -MF common/CMakeFiles/common.dir/tar.c.o.d -o common/CMakeFiles/common.dir/tar.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/tar.c [253/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/misc.c.o -MF common/CMakeFiles/common.dir/misc.c.o.d -o common/CMakeFiles/common.dir/misc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/misc.c [254/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/dns.c.o -MF libfreshclam/CMakeFiles/freshclam.dir/dns.c.o.d -o libfreshclam/CMakeFiles/freshclam.dir/dns.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam/dns.c [255/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/output.c.o -MF common/CMakeFiles/common.dir/output.c.o.d -o common/CMakeFiles/common.dir/output.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/output.c [256/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/actions.c.o -MF common/CMakeFiles/common.dir/actions.c.o.d -o common/CMakeFiles/common.dir/actions.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/actions.c [257/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT common/CMakeFiles/common.dir/optparser.c.o -MF common/CMakeFiles/common.dir/optparser.c.o.d -o common/CMakeFiles/common.dir/optparser.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common/optparser.c [258/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o -MF libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o.d -o libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam/libfreshclam.c [259/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/localserver.c.o -MF clamd/CMakeFiles/clamd.dir/localserver.c.o.d -o clamd/CMakeFiles/clamd.dir/localserver.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/localserver.c [260/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamconf/CMakeFiles/clamconf.dir/clamconf.c.o -MF clamconf/CMakeFiles/clamconf.dir/clamconf.c.o.d -o clamconf/CMakeFiles/clamconf.dir/clamconf.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamconf/clamconf.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamconf/clamconf.c: In function ‘main’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamconf/clamconf.c:472:13: warning: ‘__builtin_strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 472 | strncpy(dbdir, pt, sizeof(dbdir)); | ^ [261/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/clamd_others.c.o -MF clamd/CMakeFiles/clamd.dir/clamd_others.c.o.d -o clamd/CMakeFiles/clamd.dir/clamd_others.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/clamd_others.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/clamd_others.c: In function ‘fds_poll_recv’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/clamd_others.c:480:14: warning: variable ‘fdsok’ set but not used [-Wunused-but-set-variable=] 480 | unsigned fdsok = data->nfds; | ^~~~~ [262/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/clamd.c.o -MF clamd/CMakeFiles/clamd.dir/clamd.c.o.d -o clamd/CMakeFiles/clamd.dir/clamd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/clamd.c [263/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/tcpserver.c.o -MF clamd/CMakeFiles/clamd.dir/tcpserver.c.o.d -o clamd/CMakeFiles/clamd.dir/tcpserver.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/tcpserver.c [264/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/scanner.c.o -MF clamd/CMakeFiles/clamd.dir/scanner.c.o.d -o clamd/CMakeFiles/clamd.dir/scanner.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/scanner.c [265/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/session.c.o -MF clamd/CMakeFiles/clamd.dir/session.c.o.d -o clamd/CMakeFiles/clamd.dir/session.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/session.c [266/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o -MF clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o.d -o clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamdscan/clamdscan.c [267/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/c-thread-pool/thpool.c [268/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/client.c.o -MF clamdscan/CMakeFiles/clamdscan.dir/client.c.o.d -o clamdscan/CMakeFiles/clamdscan.dir/client.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamdscan/client.c [269/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/thrmgr.c.o -MF clamd/CMakeFiles/clamd.dir/thrmgr.c.o.d -o clamd/CMakeFiles/clamd.dir/thrmgr.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/thrmgr.c [270/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/clamonacc.c [271/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamdscan/CMakeFiles/clamdscan.dir/proto.c.o -MF clamdscan/CMakeFiles/clamdscan.dir/proto.c.o.d -o clamdscan/CMakeFiles/clamdscan.dir/proto.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamdscan/proto.c [272/330] /usr/bin/gcc -DHAVE_CONFIG_H -Dfreshclam_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o -MF libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o.d -o libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam/libfreshclam_internal.c [273/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/client/communication.c [274/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/client/socket.c [275/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamd/CMakeFiles/clamd.dir/server-th.c.o -MF clamd/CMakeFiles/clamd.dir/server-th.c.o.d -o clamd/CMakeFiles/clamd.dir/server-th.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/server-th.c [276/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/client/client.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/client/client.c: In function ‘onas_client_scan’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/client/client.c:618:121: warning: operand of ‘?:’ changes signedness from ‘int’ to ‘cl_error_t’ due to unsignedness of other operand [-Wsign-compare] 618 | logg(LOGG_DEBUG, "ClamClient: connection could not be established ... return code %d\n", ret_code ? *ret_code : scan_result); | ^~~~~~~~~~~ [277/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/fanotif/fanotif.c [278/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/scan/onas_queue.c [279/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/misc/utils.c [280/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/client/protocol.c [281/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/inotif/hash.c [282/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/inotif/inotif.c [283/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o -MF clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o.d -o clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamonacc/scan/thread.c [284/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o -MF clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o.d -o clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/connpool.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/connpool.c: In function ‘cpool_init’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/connpool.c:212:29: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 212 | if (!(cp = calloc(sizeof(*cp), 1))) { | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/connpool.c:212:29: note: earlier argument should specify number of elements, later size of each element [285/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o -MF clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o.d -o clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/clamav-milter.c [286/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o -MF clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o.d -o clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/allow_list.c [287/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o -MF clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o.d -o clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/netcode.c [288/330] /usr/bin/gcc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/.. -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -isystem /usr/include/libxml2 -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /usr/include/json-c -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIC -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o -MF libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o.d -o libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/bytecode_vm.c [289/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamscan/CMakeFiles/clamscan.dir/clamscan.c.o -MF clamscan/CMakeFiles/clamscan.dir/clamscan.c.o.d -o clamscan/CMakeFiles/clamscan.dir/clamscan.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamscan/clamscan.c [290/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT sigtool/CMakeFiles/sigtool.dir/vba.c.o -MF sigtool/CMakeFiles/sigtool.dir/vba.c.o.d -o sigtool/CMakeFiles/sigtool.dir/vba.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/vba.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/vba.c: In function ‘get_unicode_name’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/vba.c:78:41: warning: comparison is always true due to limited range of data type [-Wtype-limits] 78 | if (name[i] < 10 && name[i] >= 0) { | ^~ [291/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o -MF clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o.d -o clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/clamfi.c [292/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o -MF freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o.d -o freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/freshclam/execute.c [293/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clambc/CMakeFiles/clambc.dir/bcrun.c.o -MF clambc/CMakeFiles/clambc.dir/bcrun.c.o.d -o clambc/CMakeFiles/clambc.dir/bcrun.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clambc/bcrun.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clambc/bcrun.c: In function ‘main’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clambc/bcrun.c:402:51: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 402 | cctx.recursion_stack = calloc(sizeof(recursion_level_t), cctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clambc/bcrun.c:402:51: note: earlier argument should specify number of elements, later size of each element [294/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o -MF freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o.d -o freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/freshclam/notify.c [295/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o -MF unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o.d -o unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_fpu_endian.c [296/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o -MF clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o.d -o clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c: In function ‘main’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:421:8: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 421 | sp = strchr(json_str, '/'); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:474:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 474 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:40: /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:474:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 474 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:474:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 474 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "key", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:481:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 481 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:481:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 481 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:481:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 481 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "acl", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:488:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 488 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:488:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 488 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:488:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 488 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "policy", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:495:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 495 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:495:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 495 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:495:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 495 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-meta-original-filename", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:502:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 502 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:502:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 502 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:502:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 502 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-credential", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:509:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 509 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:509:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 509 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:509:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 509 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-algorithm", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:516:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 516 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:516:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 516 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:516:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 516 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-date", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:523:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:523:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:523:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 523 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "x-amz-signature", CURLFORM_COPYCONTENTS, json_str, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:525:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 525 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:525:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 525 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:525:5: warning: ‘CURLFORM_FILE’ is deprecated: since 7.56.0. Use curl_mime_filedata() [-Wdeprecated-declarations] 525 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "file", CURLFORM_FILE, filename, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2570:3: note: declared here 2570 | CURLFORM_FILE CURL_DEPRECATED(7.56.0, "Use curl_mime_filedata()"), | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:530:5: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 530 | curl_easy_setopt(aws_curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1238:3: note: declared here 1238 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:539:5: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 539 | curl_formfree(post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2672:1: note: declared here 2672 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:559:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:559:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:559:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 559 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "utf8", CURLFORM_COPYCONTENTS, "\x27\x13", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:560:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:560:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:560:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 560 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "authenticity_token", CURLFORM_COPYCONTENTS, authenticity_token, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:561:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:561:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:561:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 561 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "submissionID", CURLFORM_COPYCONTENTS, submissionID, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:562:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:562:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:562:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 562 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "type", CURLFORM_COPYCONTENTS, malware ? "malware" : "fp", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:563:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 563 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:563:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 563 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:563:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 563 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "sendername", CURLFORM_COPYCONTENTS, name, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:564:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:564:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:564:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 564 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "email", CURLFORM_COPYCONTENTS, email, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:566:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:566:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:566:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 566 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "shareSample", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:568:9: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:568:9: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:568:9: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 568 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "virusname", CURLFORM_COPYCONTENTS, fpvname, CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:570:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:570:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:570:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 570 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "description", CURLFORM_COPYCONTENTS, "clamsubmit", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:571:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 571 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:571:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 571 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:571:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 571 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "notify", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:572:5: warning: ‘curl_formadd’ is deprecated: since 7.56.0. Use curl_mime_init() [-Wdeprecated-declarations] 572 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2636:1: note: declared here 2636 | curl_formadd(struct curl_httppost **httppost, | ^~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:572:5: warning: ‘CURLFORM_COPYNAME’ is deprecated: since 7.56.0. Use curl_mime_name() [-Wdeprecated-declarations] 572 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2561:3: note: declared here 2561 | CURLFORM_COPYNAME CURL_DEPRECATED(7.56.0, "Use curl_mime_name()"), | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:572:5: warning: ‘CURLFORM_COPYCONTENTS’ is deprecated: since 7.56.0. Use curl_mime_data() [-Wdeprecated-declarations] 572 | curl_formadd(&post, &last, CURLFORM_COPYNAME, "privacy", CURLFORM_COPYCONTENTS, "on", CURLFORM_END); | ^~~~~~~~~~~~ /usr/include/curl/curl.h:2564:3: note: declared here 2564 | CURLFORM_COPYCONTENTS CURL_DEPRECATED(7.56.0, "Use curl_mime_data()"), | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:575:5: warning: ‘CURLOPT_HTTPPOST’ is deprecated: since 7.56.0. Use CURLOPT_MIMEPOST [-Wdeprecated-declarations] 575 | curl_easy_setopt(clam_curl, CURLOPT_HTTPPOST, post); | ^~~~~~~~~~~~~~~~ /usr/include/curl/curl.h:1238:3: note: declared here 1238 | CURLOPTDEPRECATED(CURLOPT_HTTPPOST, CURLOPTTYPE_OBJECTPOINT, 24, | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamsubmit/clamsubmit.c:620:9: warning: ‘curl_formfree’ is deprecated: since 7.56.0. Use curl_mime_free() [-Wdeprecated-declarations] 620 | curl_formfree(post); | ^~~~~~~~~~~~~ /usr/include/curl/curl.h:2672:1: note: declared here 2672 | curl_formfree(struct curl_httppost *form); | ^~~~~~~~~~~~~ [297/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT clamscan/CMakeFiles/clamscan.dir/manager.c.o -MF clamscan/CMakeFiles/clamscan.dir/manager.c.o.d -o clamscan/CMakeFiles/clamscan.dir/manager.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamscan/manager.c In function ‘checkaccess’, inlined from ‘scanfile’ at /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamscan/manager.c:415:13: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamscan/manager.c:90:21: warning: argument 1 null where non-null expected [-Wnonnull] 90 | if ((user = getpwnam(username)) == NULL) { | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamscan/manager.c:34: /usr/include/pwd.h: In function ‘scanfile’: /usr/include/pwd.h:116:23: note: in a call to function ‘getpwnam’ declared ‘nonnull’ 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ^~~~~~~~ [298/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamd.dir/__/clamd/thrmgr.c.o -MF unit_tests/CMakeFiles/check_clamd.dir/__/clamd/thrmgr.c.o.d -o unit_tests/CMakeFiles/check_clamd.dir/__/clamd/thrmgr.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamd/thrmgr.c [299/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o -MF freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o.d -o freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/freshclam/freshclam.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/freshclam/freshclam.c: In function ‘executeIfNewVersion’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/freshclam/freshclam.c:1359:34: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1359 | if (NULL == (replace_version = strstr(command, "%v"))) { | ^ [300/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_bytecode.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_bytecode.c: In function ‘runtest’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_bytecode.c:68:17: warning: unused variable ‘virname’ [-Wunused-variable] 68 | const char *virname = NULL; | ^~~~~~~ In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_bytecode.c:32: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_bytecode.c: At top level: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_bytecode.c:488:12: warning: ‘test_retmagic_7_int’ defined but not used [-Wunused-variable] 488 | START_TEST(test_retmagic_7_int) | ^~~~~~~~~~~~~~~~~~~ [301/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MD -MT clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o -MF clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o.d -o clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamdtop/clamdtop.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamdtop/clamdtop.c: In function ‘output_queue’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamdtop/clamdtop.c:938:34: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 938 | char *nl = strrchr(++filstart, '\n'); | ^~~~~~~ [302/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_disasm.c [303/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_htmlnorm.c [304/330] : && /usr/bin/gcc -fPIC -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -shared -Wl,-z,relro -Wl,--as-needed -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 -Wl,--version-script=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav/libclamav.map -Wl,--dependency-file=libclamav/CMakeFiles/clamav.dir/link.d -Wl,-soname,libclamav.so.12 -o libclamav/libclamav.so.12.0.3 libclamav/CMakeFiles/regex.dir/regex/strlcpy.c.o libclamav/CMakeFiles/regex.dir/regex/regcomp.c.o libclamav/CMakeFiles/regex.dir/regex/regerror.c.o libclamav/CMakeFiles/regex.dir/regex/regexec.c.o libclamav/CMakeFiles/regex.dir/regex/regfree.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zAlloc.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zBuf2.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrc.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zCrcOpt.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zDec.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zFile.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zIn.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/7zStream.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/Bcj2.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/Bra86.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/BraIA64.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/CpuArch.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/Delta.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/Lzma2Dec.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/LzmaDec.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/Ppmd7Dec.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/Xz.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/XzCrc64.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/XzDec.c.o libclamav/CMakeFiles/lzma_sdk.dir/7z/XzIn.c.o libclamav/CMakeFiles/yara.dir/yara_compiler.c.o libclamav/CMakeFiles/yara.dir/yara_exec.c.o libclamav/CMakeFiles/yara.dir/yara_hash.c.o libclamav/CMakeFiles/yara.dir/yara_parser.c.o libclamav/CMakeFiles/yara.dir/yara_arena.c.o libclamav/CMakeFiles/yara.dir/yara_grammar.c.o libclamav/CMakeFiles/yara.dir/yara_lexer.c.o libclamav/CMakeFiles/bytecode_runtime.dir/bytecode_nojit.c.o libclamav/CMakeFiles/clamav.dir/blob.c.o libclamav/CMakeFiles/clamav.dir/conv.c.o libclamav/CMakeFiles/clamav.dir/fpu.c.o libclamav/CMakeFiles/clamav.dir/hashtab.c.o libclamav/CMakeFiles/clamav.dir/iowrap.c.o libclamav/CMakeFiles/clamav.dir/json_api.c.o libclamav/CMakeFiles/clamav.dir/others_common.c.o libclamav/CMakeFiles/clamav.dir/qsort.c.o libclamav/CMakeFiles/clamav.dir/sf_base64decode.c.o libclamav/CMakeFiles/clamav.dir/str.c.o libclamav/CMakeFiles/clamav.dir/strlcat.c.o libclamav/CMakeFiles/clamav.dir/table.c.o libclamav/CMakeFiles/clamav.dir/text.c.o libclamav/CMakeFiles/clamav.dir/uniq.c.o libclamav/CMakeFiles/clamav.dir/www.c.o libclamav/CMakeFiles/clamav.dir/disasm.c.o libclamav/CMakeFiles/clamav.dir/filtering.c.o libclamav/CMakeFiles/clamav.dir/matcher-ac.c.o libclamav/CMakeFiles/clamav.dir/matcher-bm.c.o libclamav/CMakeFiles/clamav.dir/matcher-byte-comp.c.o libclamav/CMakeFiles/clamav.dir/matcher-hash.c.o libclamav/CMakeFiles/clamav.dir/matcher-pcre.c.o libclamav/CMakeFiles/clamav.dir/matcher.c.o libclamav/CMakeFiles/clamav.dir/regex_pcre.c.o libclamav/CMakeFiles/clamav.dir/cvd.c.o libclamav/CMakeFiles/clamav.dir/dconf.c.o libclamav/CMakeFiles/clamav.dir/dsig.c.o libclamav/CMakeFiles/clamav.dir/readdb.c.o libclamav/CMakeFiles/clamav.dir/cache.c.o libclamav/CMakeFiles/clamav.dir/crtmgr.c.o libclamav/CMakeFiles/clamav.dir/crypto.c.o libclamav/CMakeFiles/clamav.dir/filetypes.c.o libclamav/CMakeFiles/clamav.dir/fmap.c.o libclamav/CMakeFiles/clamav.dir/mpool.c.o libclamav/CMakeFiles/clamav.dir/others.c.o libclamav/CMakeFiles/clamav.dir/perflogging.c.o libclamav/CMakeFiles/clamav.dir/scanners.c.o libclamav/CMakeFiles/clamav.dir/textdet.c.o libclamav/CMakeFiles/clamav.dir/version.c.o libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o libclamav/CMakeFiles/clamav.dir/jsparse/js-norm.c.o libclamav/CMakeFiles/clamav.dir/textnorm.c.o libclamav/CMakeFiles/clamav.dir/partition_intersection.c.o libclamav/CMakeFiles/clamav.dir/special.c.o libclamav/CMakeFiles/clamav.dir/hostid_internal.c.o libclamav/CMakeFiles/clamav.dir/stats_json.c.o libclamav/CMakeFiles/clamav.dir/stats.c.o libclamav/CMakeFiles/clamav.dir/bytecode_api_decl.c.o libclamav/CMakeFiles/clamav.dir/bytecode_api.c.o libclamav/CMakeFiles/clamav.dir/bytecode_detect.c.o libclamav/CMakeFiles/clamav.dir/bytecode_vm.c.o libclamav/CMakeFiles/clamav.dir/bytecode.c.o libclamav/CMakeFiles/clamav.dir/events.c.o libclamav/CMakeFiles/clamav.dir/7z_iface.c.o libclamav/CMakeFiles/clamav.dir/explode.c.o libclamav/CMakeFiles/clamav.dir/inflate64.c.o libclamav/CMakeFiles/clamav.dir/lzma_iface.c.o libclamav/CMakeFiles/clamav.dir/lzw/lzwdec.c.o libclamav/CMakeFiles/clamav.dir/xz_iface.c.o libclamav/CMakeFiles/clamav.dir/arc4.c.o libclamav/CMakeFiles/clamav.dir/rijndael.c.o libclamav/CMakeFiles/clamav.dir/entconv.c.o libclamav/CMakeFiles/clamav.dir/dlp.c.o libclamav/CMakeFiles/clamav.dir/autoit.c.o libclamav/CMakeFiles/clamav.dir/binhex.c.o libclamav/CMakeFiles/clamav.dir/cpio.c.o libclamav/CMakeFiles/clamav.dir/ishield.c.o libclamav/CMakeFiles/clamav.dir/libmspack.c.o libclamav/CMakeFiles/clamav.dir/msexpand.c.o libclamav/CMakeFiles/clamav.dir/nsis/bzlib.c.o libclamav/CMakeFiles/clamav.dir/nsis/infblock.c.o libclamav/CMakeFiles/clamav.dir/nsis/nulsft.c.o libclamav/CMakeFiles/clamav.dir/hwp.c.o libclamav/CMakeFiles/clamav.dir/msdoc.c.o libclamav/CMakeFiles/clamav.dir/msxml_parser.c.o libclamav/CMakeFiles/clamav.dir/msxml.c.o libclamav/CMakeFiles/clamav.dir/ole2_extract.c.o libclamav/CMakeFiles/clamav.dir/xlm_extract.c.o libclamav/CMakeFiles/clamav.dir/ooxml.c.o libclamav/CMakeFiles/clamav.dir/rtf.c.o libclamav/CMakeFiles/clamav.dir/vba_extract.c.o libclamav/CMakeFiles/clamav.dir/asn1.c.o libclamav/CMakeFiles/clamav.dir/elf.c.o libclamav/CMakeFiles/clamav.dir/execs.c.o libclamav/CMakeFiles/clamav.dir/macho.c.o libclamav/CMakeFiles/clamav.dir/pe_icons.c.o libclamav/CMakeFiles/clamav.dir/pe.c.o libclamav/CMakeFiles/clamav.dir/rebuildpe.c.o libclamav/CMakeFiles/clamav.dir/aspack.c.o libclamav/CMakeFiles/clamav.dir/fsg.c.o libclamav/CMakeFiles/clamav.dir/mew.c.o libclamav/CMakeFiles/clamav.dir/packlibs.c.o libclamav/CMakeFiles/clamav.dir/petite.c.o libclamav/CMakeFiles/clamav.dir/spin.c.o libclamav/CMakeFiles/clamav.dir/unsp.c.o libclamav/CMakeFiles/clamav.dir/upack.c.o libclamav/CMakeFiles/clamav.dir/upx.c.o libclamav/CMakeFiles/clamav.dir/wwunpack.c.o libclamav/CMakeFiles/clamav.dir/yc.c.o libclamav/CMakeFiles/clamav.dir/line.c.o libclamav/CMakeFiles/clamav.dir/mbox.c.o libclamav/CMakeFiles/clamav.dir/message.c.o libclamav/CMakeFiles/clamav.dir/phish_domaincheck_db.c.o libclamav/CMakeFiles/clamav.dir/phish_allow_list.c.o libclamav/CMakeFiles/clamav.dir/phishcheck.c.o libclamav/CMakeFiles/clamav.dir/regex_list.c.o libclamav/CMakeFiles/clamav.dir/regex_suffix.c.o libclamav/CMakeFiles/clamav.dir/sis.c.o libclamav/CMakeFiles/clamav.dir/tnef.c.o libclamav/CMakeFiles/clamav.dir/uuencode.c.o libclamav/CMakeFiles/clamav.dir/swf.c.o libclamav/CMakeFiles/clamav.dir/pdf.c.o libclamav/CMakeFiles/clamav.dir/pdfng.c.o libclamav/CMakeFiles/clamav.dir/pdfdecode.c.o libclamav/CMakeFiles/clamav.dir/xdp.c.o libclamav/CMakeFiles/clamav.dir/unarj.c.o libclamav/CMakeFiles/clamav.dir/is_tar.c.o libclamav/CMakeFiles/clamav.dir/untar.c.o libclamav/CMakeFiles/clamav.dir/unzip.c.o libclamav/CMakeFiles/clamav.dir/adc.c.o libclamav/CMakeFiles/clamav.dir/dmg.c.o libclamav/CMakeFiles/clamav.dir/xar.c.o libclamav/CMakeFiles/clamav.dir/egg.c.o libclamav/CMakeFiles/clamav.dir/mbr.c.o libclamav/CMakeFiles/clamav.dir/gpt.c.o libclamav/CMakeFiles/clamav.dir/apm.c.o libclamav/CMakeFiles/clamav.dir/hfsplus.c.o libclamav/CMakeFiles/clamav.dir/iso9660.c.o libclamav/CMakeFiles/clamav.dir/openioc.c.o libclamav/CMakeFiles/clamav.dir/jpeg.c.o libclamav/CMakeFiles/clamav.dir/png.c.o libclamav/CMakeFiles/clamav.dir/tiff.c.o libclamav/CMakeFiles/clamav.dir/gif.c.o libclamav/CMakeFiles/clamav.dir/udf.c.o -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -ldl -lm -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc -lc && : [305/330] /usr/bin/cmake -E cmake_symlink_library libclamav/libclamav.so.12.0.3 libclamav/libclamav.so.12 libclamav/libclamav.so && : [306/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o -MF unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o.d -o unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamd.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamd.c: In function ‘commands_setup’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamd.c:203:17: warning: unused variable ‘nonempty’ [-Wunused-variable] 203 | const char *nonempty = "NONEMPTYFILE"; | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamd.c: At top level: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamd.c:74:12: warning: ‘conn_tcp’ defined but not used [-Wunused-function] 74 | static int conn_tcp(int port) | ^~~~~~~~ [307/330] : && /usr/bin/cmake -E rm -f common/libcommon.a && /usr/bin/ar qc common/libcommon.a common/CMakeFiles/common.dir/cert_util.c.o common/CMakeFiles/common.dir/actions.c.o common/CMakeFiles/common.dir/clamdcom.c.o common/CMakeFiles/common.dir/getopt.c.o common/CMakeFiles/common.dir/hostid.c.o common/CMakeFiles/common.dir/idmef_logging.c.o common/CMakeFiles/common.dir/misc.c.o common/CMakeFiles/common.dir/optparser.c.o common/CMakeFiles/common.dir/output.c.o common/CMakeFiles/common.dir/tar.c.o common/CMakeFiles/common.dir/linux/cert_util_linux.c.o && /usr/bin/ranlib common/libcommon.a && : [308/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_jsnorm.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_jsnorm.c: In function ‘js_buffer_fn’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_jsnorm.c:410:45: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 410 | strncpy(tst + len - sizeof(e), e, sizeof(e)); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_jsnorm.c:415:57: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 415 | strncpy(exp + sizeof(s_exp) + len - 2, e_exp, sizeof(e_exp)); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_jsnorm.c:409:5: warning: ‘__builtin_strncpy’ output may be truncated copying 3 bytes from a string of length 3 [-Wstringop-truncation] 409 | strncpy(tst, s, strlen(s)); | ^ [309/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clamconf/CMakeFiles/clamconf.dir/link.d clamconf/CMakeFiles/clamconf.dir/clamconf.c.o -o clamconf/clamconf -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so && : [310/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clamd/CMakeFiles/clamd.dir/link.d clamd/CMakeFiles/clamd.dir/clamd.c.o clamd/CMakeFiles/clamd.dir/clamd_others.c.o clamd/CMakeFiles/clamd.dir/localserver.c.o clamd/CMakeFiles/clamd.dir/scanner.c.o clamd/CMakeFiles/clamd.dir/server-th.c.o clamd/CMakeFiles/clamd.dir/session.c.o clamd/CMakeFiles/clamd.dir/tcpserver.c.o clamd/CMakeFiles/clamd.dir/thrmgr.c.o -o clamd/clamd -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so && : [311/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_uniq.c [312/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_str.c [313/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_matchers.c [314/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clamdscan/CMakeFiles/clamdscan.dir/link.d clamdscan/CMakeFiles/clamdscan.dir/clamdscan.c.o clamdscan/CMakeFiles/clamdscan.dir/client.c.o clamdscan/CMakeFiles/clamdscan.dir/proto.c.o -o clamdscan/clamdscan -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so && : [315/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clamav-milter/CMakeFiles/clamav-milter.dir/link.d clamav-milter/CMakeFiles/clamav-milter.dir/clamav-milter.c.o clamav-milter/CMakeFiles/clamav-milter.dir/clamfi.c.o clamav-milter/CMakeFiles/clamav-milter.dir/connpool.c.o clamav-milter/CMakeFiles/clamav-milter.dir/netcode.c.o clamav-milter/CMakeFiles/clamav-milter.dir/allow_list.c.o -o clamav-milter/clamav-milter -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a /usr/lib64/libmilter.so libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so && : [316/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c:31: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c: In function ‘regex_list_match_test_fn’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c:297:22: warning: comparison between ‘cl_error_t’ and ‘rtr_t’ {aka ‘enum rtest_result’} [-Wenum-compare] 297 | ck_assert_msg(rc == rtest->result, "regex_list_match"); | ^~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c: In function ‘do_phishing_test’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c:456:35: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 456 | phishingFound = strstr((const char *)virname, detectionName); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c:439:29: warning: unused variable ‘viruname’ [-Wunused-variable] 439 | const char *viruname = NULL; | ^~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c: In function ‘do_phishing_test_allscan’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c:563:35: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 563 | phishingFound = strstr(virname, detectionName); | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_regex.c:546:29: warning: unused variable ‘viruname’ [-Wunused-variable] 546 | const char *viruname = NULL; | ^~~~~~~~ [317/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clamscan/CMakeFiles/clamscan.dir/link.d clamscan/CMakeFiles/clamscan.dir/clamscan.c.o clamscan/CMakeFiles/clamscan.dir/manager.c.o -o clamscan/clamscan -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so && : [318/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clamonacc/CMakeFiles/clamonacc.dir/link.d clamonacc/CMakeFiles/clamonacc.dir/clamonacc.c.o clamonacc/CMakeFiles/clamonacc.dir/c-thread-pool/thpool.c.o clamonacc/CMakeFiles/clamonacc.dir/client/client.c.o clamonacc/CMakeFiles/clamonacc.dir/client/communication.c.o clamonacc/CMakeFiles/clamonacc.dir/client/protocol.c.o clamonacc/CMakeFiles/clamonacc.dir/client/socket.c.o clamonacc/CMakeFiles/clamonacc.dir/fanotif/fanotif.c.o clamonacc/CMakeFiles/clamonacc.dir/inotif/inotif.c.o clamonacc/CMakeFiles/clamonacc.dir/inotif/hash.c.o clamonacc/CMakeFiles/clamonacc.dir/misc/utils.c.o clamonacc/CMakeFiles/clamonacc.dir/scan/onas_queue.c.o clamonacc/CMakeFiles/clamonacc.dir/scan/thread.c.o -o clamonacc/clamonacc -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a /usr/lib64/libcurl.so libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libcurl.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libsystemd.so && : [319/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clamdtop/CMakeFiles/clamdtop.dir/link.d clamdtop/CMakeFiles/clamdtop.dir/clamdtop.c.o -o clamdtop/clamdtop -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so -lncurses /usr/lib64/libtinfo.so && : [320/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=unit_tests/CMakeFiles/check_fpu_endian.dir/link.d unit_tests/CMakeFiles/check_fpu_endian.dir/check_fpu_endian.c.o -o unit_tests/check_fpu_endian -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack libclamav/libclamav.so.12.0.3 /usr/lib64/libcheck.so libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/librt.a /usr/lib64/libm.so /usr/lib64/libsubunit.so && : [321/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=unit_tests/CMakeFiles/check_clamd.dir/link.d unit_tests/CMakeFiles/check_clamd.dir/check_clamd.c.o unit_tests/CMakeFiles/check_clamd.dir/__/clamd/thrmgr.c.o -o unit_tests/check_clamd -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack common/libcommon.a /usr/lib64/libcheck.so libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so /usr/lib64/librt.a /usr/lib64/libm.so /usr/lib64/libsubunit.so && : [322/330] /usr/bin/gcc -DHAVE_CONFIG_H -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -Wall -Wextra -Wformat-security -DWITH_GZFILEOP -MD -MT sigtool/CMakeFiles/sigtool.dir/sigtool.c.o -MF sigtool/CMakeFiles/sigtool.dir/sigtool.c.o.d -o sigtool/CMakeFiles/sigtool.dir/sigtool.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c: In function ‘hashpe’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:222:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 222 | ctx.recursion_stack = calloc(sizeof(recursion_level_t), ctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:222:46: note: earlier argument should specify number of elements, later size of each element /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c: In function ‘convenience_ctx’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:489:47: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 489 | ctx->recursion_stack = calloc(sizeof(recursion_level_t), ctx->recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:489:47: note: earlier argument should specify number of elements, later size of each element /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c: In function ‘matchsig’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:2370:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 2370 | ctx.recursion_stack = calloc(sizeof(recursion_level_t), ctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:2370:46: note: earlier argument should specify number of elements, later size of each element /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c: In function ‘decodehex’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:2724:15: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2724 | if ((wild = strchr(hexsig, '/'))) { | ^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c: In function ‘dumpcerts’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:3577:46: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 3577 | ctx.recursion_stack = calloc(sizeof(recursion_level_t), ctx.recursion_stack_size); | ^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:3577:46: note: earlier argument should specify number of elements, later size of each element /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c: In function ‘main’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:3481:38: warning: ‘%u’ directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 31 [-Wformat-truncation=] 3481 | snprintf(name, sizeof(name), "%s-%u.script", getdbname(opts->filename[0], dbname, sizeof(dbname)), newver); | ^~ In file included from /usr/include/stdio.h:974, from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:29: In function ‘snprintf’, inlined from ‘makediff’ at /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:3481:5, inlined from ‘main’ at /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/sigtool/sigtool.c:3790:15: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 10 and 50 bytes into a destination of size 32 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ [323/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clamsubmit/CMakeFiles/clamsubmit.dir/link.d clamsubmit/CMakeFiles/clamsubmit.dir/clamsubmit.c.o -o clamsubmit/clamsubmit -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libjson-c.so /usr/lib64/libcurl.so libclamav/libclamav.so.12.0.3 /usr/lib64/libjson-c.so libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libcurl.so /usr/lib64/libz.so /usr/lib64/libsystemd.so && : /usr/bin/ld.bfd: warning: libssl.so.4, needed by /usr/lib64/libcurl.so, may conflict with libssl.so.3 /usr/bin/ld.bfd: warning: libcrypto.so.4, needed by /usr/lib64/libcurl.so, may conflict with libcrypto.so.3 [324/330] : && /usr/bin/gcc -fPIC -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -shared -Wl,-z,relro -Wl,--as-needed -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 -Wl,--version-script=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libfreshclam/libfreshclam.map -Wl,--dependency-file=libfreshclam/CMakeFiles/freshclam.dir/link.d -Wl,-soname,libfreshclam.so.3 -o libfreshclam/libfreshclam.so.3.0.2 libfreshclam/CMakeFiles/freshclam.dir/libfreshclam.c.o libfreshclam/CMakeFiles/freshclam.dir/libfreshclam_internal.c.o libfreshclam/CMakeFiles/freshclam.dir/dns.c.o -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a /usr/lib64/libcurl.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so -lresolv /usr/lib64/libcurl.so libclamav/libclamav.so.12.0.3 /usr/lib64/libssl.so /usr/lib64/libcrypto.so libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libz.so /usr/lib64/libsystemd.so && : [325/330] /usr/bin/cmake -E cmake_symlink_library libfreshclam/libfreshclam.so.3.0.2 libfreshclam/libfreshclam.so.3 libfreshclam/libfreshclam.so && : [326/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=freshclam/CMakeFiles/freshclam-bin.dir/link.d freshclam/CMakeFiles/freshclam-bin.dir/freshclam.c.o freshclam/CMakeFiles/freshclam-bin.dir/execute.c.o freshclam/CMakeFiles/freshclam-bin.dir/notify.c.o -o freshclam/freshclam -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libfreshclam:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: libfreshclam/libfreshclam.so.3.0.2 common/libcommon.a libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libz.so /usr/lib64/libsystemd.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so -lresolv && : [327/330] /usr/bin/gcc -DHAVE_CONFIG_H -DOBJDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests\" -DSRCDIR=\"/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests\" -DTHIS_IS_LIBCLAMAV -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclammspack/mspack -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamunrar_iface -I/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/common -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build -isystem /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/libclamav_rust -isystem /usr/include/libxml2 -isystem /usr/include/json-c -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -std=gnu90 -fPIE -DWITH_GZFILEOP -MD -MT unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o -MF unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o.d -o unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c: In function ‘test_cl_cvdunpack_fn’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c:498:12: warning: unused variable ‘utf8_size’ [-Wunused-variable] 498 | size_t utf8_size = 0; | ^~~~~~~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c:497:11: warning: unused variable ‘utf8’ [-Wunused-variable] 497 | char *utf8 = NULL; | ^~~~ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c: In function ‘test_cl_cvdverify_fn’: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c:481:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 481 | fread(cvd_bytes, 1, 5000, orig_fs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c:11: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c: At top level: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/check_clamav.c:494:12: warning: ‘test_cl_cvdunpack’ defined but not used [-Wunused-variable] 494 | START_TEST(test_cl_cvdunpack) | ^~~~~~~~~~~~~~~~~ [328/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=clambc/CMakeFiles/clambc.dir/link.d clambc/CMakeFiles/clambc.dir/bcrun.c.o -o clambc/clambc -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so && : [329/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=sigtool/CMakeFiles/sigtool.dir/link.d sigtool/CMakeFiles/sigtool.dir/sigtool.c.o sigtool/CMakeFiles/sigtool.dir/vba.c.o -o sigtool/sigtool -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack: common/libcommon.a libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so && : [330/330] : && /usr/bin/gcc -O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -g -Wl,-z,relro -Wl,--as-needed -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 -Wl,--dependency-file=unit_tests/CMakeFiles/check_clamav.dir/link.d unit_tests/CMakeFiles/check_clamav.dir/check_bytecode.c.o unit_tests/CMakeFiles/check_clamav.dir/check_clamav.c.o unit_tests/CMakeFiles/check_clamav.dir/check_disasm.c.o unit_tests/CMakeFiles/check_clamav.dir/check_htmlnorm.c.o unit_tests/CMakeFiles/check_clamav.dir/check_jsnorm.c.o unit_tests/CMakeFiles/check_clamav.dir/check_matchers.c.o unit_tests/CMakeFiles/check_clamav.dir/check_regex.c.o unit_tests/CMakeFiles/check_clamav.dir/check_str.c.o unit_tests/CMakeFiles/check_clamav.dir/check_uniq.c.o -o unit_tests/check_clamav -Wl,-rpath,/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav:/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack common/libcommon.a /usr/lib64/libcheck.so libclamav/libclamav.so.12.0.3 libclammspack/libclammspack.so.0.8.0 riscv64gc-unknown-linux-gnu/release/libclamav_rust.a -lgcc_s -lutil -lrt -lpthread -lm -ldl -lc /usr/lib64/libbz2.so /usr/lib64/libpcre2-8.so /usr/lib64/libxml2.so /usr/lib64/libjson-c.so -lc -ldl -lm /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libz.so /usr/lib64/libcurl.so /usr/lib64/libcurl.so /usr/lib64/libsystemd.so /usr/lib64/librt.a /usr/lib64/libm.so /usr/lib64/libsubunit.so && cd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests && /usr/bin/cmake -E copy /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/clamav.hdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/. + cd libclamav_rust + /usr/bin/cargo2rpm --path Cargo.toml license-summary ### BEGIN LICENSE SUMMARY ### # # (Apache-2.0 OR MIT) AND BSD-3-Clause # (MIT OR Apache-2.0) AND Unicode-3.0 # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause # BSD-2-Clause AND ISC # BSD-2-Clause OR Apache-2.0 OR MIT # BSD-3-Clause # BSD-3-Clause OR Apache-2.0 # ISC # MIT # MIT AND BSD-2-Clause AND ISC AND LicenseRef-BSD-2-Clause-WITH-AdditionRef-AOMPL-1.0 # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # MIT OR Zlib OR Apache-2.0 # MPL-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT ### END LICENSE SUMMARY ### + /usr/bin/cargo2rpm --path Cargo.toml license-breakdown + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zsA7JU + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + '[' /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT ++ dirname /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT + mkdir -p /builddir/build/BUILD/clamav-1.4.6-build + mkdir /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 clamav-1.4.6 + rm -rf '_doc*' + DESTDIR=/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "RelWithDebInfo" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamav-config -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/pkgconfig/libclamav.pc -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclammspack.so.0.8.0 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclammspack.so.0 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclammspack.so -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclamav.so.12.0.3 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclamav.so.12 -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclamav.so.12.0.3" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclamav.so -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/include/clamav.h -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/include/clamav-types.h -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/include/clamav-version.h -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclamav_rust.a -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libfreshclam.so.3.0.2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libfreshclam.so.3 -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libfreshclam.so.3.0.2" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libfreshclam.so -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/include/libfreshclam.h -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamconf -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamconf" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamd -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamd" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-daemon.service -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-daemon.socket -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamdscan -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamdscan" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamonacc -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamonacc" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-clamonacc.service -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamav-milter -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamav-milter" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamscan -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamscan" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/sigtool -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/sigtool" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clambc -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clambc" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamsubmit -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamsubmit" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/freshclam -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/freshclam" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-freshclam.service -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-freshclam-once.service -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-freshclam-once.timer -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamdtop -- Set non-toolchain portion of runtime path of "/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/bin/clamdtop" to "" -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/clamd.conf.sample -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/freshclam.conf.sample -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/clamav-milter.conf.sample -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man1/clamscan.1 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man1/freshclam.1 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man1/sigtool.1 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man1/clamdscan.1 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man1/clamconf.1 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man1/clamdtop.1 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man1/clamsubmit.1 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man1/clambc.1 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man5/clamd.conf.5 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man5/clamav-milter.conf.5 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man5/freshclam.conf.5 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man8/clamd.8 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man8/clamav-milter.8 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/man/man8/clamonacc.8 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/theme-dawn-4493f9c8.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/community_resources -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/community_resources/CompileClamAV_AmazonLinux2.txt -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/community_resources/CommunityResources.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/appendix -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/appendix/CvdPrivateMirror.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/appendix/Authenticode.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/appendix/Appendix.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/appendix/FileTypes.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/appendix/FunctionalityLevels.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/appendix/Terminology.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/index.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/theme-tomorrow_night-9dbe62a9.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/toc.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/css/print-9e4910d8.css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/css/chrome-ae938929.css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/css/variables-6d03f665.css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/css/general-8eed8816.css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/cisco.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/change-fork-name.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/flamegraph.svg -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/clamav-git-workflow.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/fork-is-behind.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/create-a-fork.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/logo.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/clone-your-fork.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/images/demon.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-ml.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-safebrowsing.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-ignore.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-eol.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-rust.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-freshclam.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-troubleshoot.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-upgrade.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-cvd.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-uninstall.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-pua.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-misc.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-whichversion.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-scan-alerts.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-malware-fp-reports.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq-win32.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/faq/faq.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/favicon-ba1b3133.png -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/mermaid-init-ccf746f1.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/404.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/print.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/googled62299e9391332c4.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/ayu-highlight-3fdfc3ac.css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/highlight-493f70e1.css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/mark-09e88c2c.min.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/highlight-abc7f01d.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/mode-rust-2c9d5c9a.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Installing -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Installing/Installing-from-source-Unix.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Installing/Packages.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Installing/Docker.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Installing/Add-clamav-user.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Installing/Installing-from-source-Windows.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Installing/Community-projects.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/tips-and-tricks.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/clamav-git-work-flow.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/code-coverage.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/personal-forks.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/build-installer-packages.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/development-builds.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/libclamav.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/fuzzing-sanitizers.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/performance-profiling.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/testing-pull-requests.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/github-pr-basics.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development/Contribute.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/PhishSigs.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/AuthenticodeRules.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/ContainerMetadata.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/HashSignatures.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/YaraRules.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/SignatureNames.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/ExtendedSignatures.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/LogicalSignatures.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/FileTypeMagic.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/EncryptedArchives.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/BytecodeSignatures.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/DatabaseInfo.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/DynamicConfig.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/BodySignatureFormat.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures/AllowLists.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Usage -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Usage/Scanning.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Usage/ClamdProtocol.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Usage/Configuration.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Usage/Services.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Usage/SignatureManagement.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Usage/ReportABug.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/cisco-talos.gpg -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Signatures.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Development.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/OnAccess.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Usage.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/manual/Installing.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/tomorrow-night-4c0ae647.css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/book-a0b12cfe.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/searcher-09f2665d.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/sitemap.xml -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/ace-2a3cd908.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/toc-0c194aa2.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/elasticlunr-ef4e11c1.min.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/searchindex-f120d447.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/mermaid-eefea253.min.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/OPEN-SANS-LICENSE-cfc7749b.txt -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/fonts-9644e21d.css -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/source-code-pro-v11-all-charsets-500-2bdd9410.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-800italic-ba1521ec.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-300-7736aa35.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-italic-6c9463f7.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-800-3d2c812a.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-600italic-1a3e8659.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-300italic-2c7b95c0.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-700-c22fe8c7.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-regular-2e3b1d34.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-700italic-238ae959.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/SOURCE-CODE-PRO-LICENSE-d1e6d465.txt -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/fonts/open-sans-v17-all-charsets-600-486c6759.woff2 -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/Introduction.html -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/clipboard-1626706a.min.js -- Installing: /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav/html/editor-16ca416c.js + install -d -m 0755 /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/tmpfiles.d /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/var/lib/clamav /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/var/spool/quarantine + install -D -m 0644 -p /builddir/build/SOURCES/main-63.cvd /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/var/lib/clamav/main.cvd + install -D -m 0644 -p /builddir/build/SOURCES/daily-28088.cvd /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/var/lib/clamav/daily.cvd + install -D -m 0644 -p /builddir/build/SOURCES/bytecode-339.cvd /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/var/lib/clamav/bytecode.cvd + sed -ri -e 's!^Example!#Example!' -e 's!^#?(UpdateLogFile )!#\1!g;' -e 's!(DatabaseOwner *)clamav$!\1clamupdate!g' /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/freshclam.conf.sample + mv /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/freshclam.conf.sample /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/freshclam.conf + chmod 600 /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/freshclam.conf + install -D -m 0644 -p /builddir/build/SOURCES/clamd.logrotate _doc_server/clamd.logrotate + install -D -m 0644 -p /builddir/build/SOURCES/clamd-README _doc_server/README + ln -s clamav-clamonacc.service /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamonacc.service + install -D -p -m 0644 /builddir/build/SOURCES/clamd@.service /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamd@.service + sed -ri -e 's!^Example!#Example!' -e 's!^#?(LogFile ).*!#\1/var/log/clamd.!g' -e 's!^#?(LocalSocket ).*!#\1/run/clamd./clamd.sock!g' -e 's!^(#?PidFile ).*!\1/run/clamd./clamd.pid!g' -e 's!^#?(User ).*!\1!g' -e 's!^#?(AllowSupplementaryGroups|LogSyslog).*!\1 yes!g' -e 's! /usr/local/share/clamav,! /var/lib/clamav,!g' /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/clamd.conf.sample + install -d -m 0755 /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/clamd.d + sed -e 's!!scan!g;s!!clamscan!g' /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/clamd.conf.sample + mv /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/clamd.conf.sample _doc_server/clamd.conf + cat + sed -ri -e 's!^#?(User).*!\1 clamilt!g' -e 's!^#?(AllowSupplementaryGroups|LogSyslog) .*!\1 yes!g' -e 's! /tmp/clamav-milter.socket! /run/clamav-milter/clamav-milter.socket!g' -e 's! /var/run/clamav-milter.pid! /run/clamav-milter/clamav-milter.pid!g' -e 's!:/var/run/clamd/clamd.socket!:/run/clamd.scan/clamd.sock!g' -e 's! /tmp/clamav-milter.log! /var/log/clamav-milter.log!g' /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/clamav-milter.conf.sample + install -d -m 0755 /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/mail + mv /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/clamav-milter.conf.sample /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/etc/mail/clamav-milter.conf + install -D -p -m 0644 /builddir/build/SOURCES/clamav-milter.systemd /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-milter.service + cat + mv /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/include/clamav-types.h /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/include/clamav-types-64.h + install -m 0644 /builddir/build/SOURCES/clamav-types.h /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/include/clamav-types.h + rm /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-daemon.service /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/systemd/system/clamav-daemon.socket + install -m0644 -D clamav.sysusers.conf /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/sysusers.d/clamav.conf + install -m0644 -D clamd.sysusers.conf /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/sysusers.d/clamd.conf + install -m0644 -D clamav-milter.sysusers.conf /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib/sysusers.d/clamav-milter.conf + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.4.6-1.fc45 --unique-debug-suffix -1.4.6-1.fc45.riscv64 --unique-debug-src-base clamav-1.4.6-1.fc45.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6 find-debuginfo: starting Extracting debug info from 15 files DWARF-compressing 14 files sepdebugcrcfix: Updated 14 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/clamav-1.4.6-1.fc45.riscv64 cpio: redhat-linux-build/yara_grammar.c: Cannot stat: No such file or directory cpio: redhat-linux-build/yara_grammar.h: Cannot stat: No such file or directory cpio: redhat-linux-build/yara_grammar.y: Cannot stat: No such file or directory cpio: redhat-linux-build/yara_lexer.c: Cannot stat: No such file or directory cpio: redhat-linux-build/yara_lexer.l: Cannot stat: No such file or directory 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 mangling shebang in /usr/bin/clamav-config from /bin/sh to #!/usr/bin/sh + /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/clamav-1.4.6-build/BUILDROOT /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/lib64/libclamav_rust.a: replacing with normalized version Scanned 79 directories and 692 files, processed 89 inodes, 1 modified (1 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr Scanned 70 directories and 686 files, considered 679 files, read 35 files, linked 3 files, 0 errors sum of sizes of linked files: 108519 bytes Reading /builddir/build/BUILD/clamav-1.4.6-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.qteV1B + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,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 clamav-1.4.6 + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process --timeout 6000 -j8 -E valgrind Test project /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build Start 1: libclamav Start 2: libclamav_rust Start 3: clamscan Start 4: clamd Start 5: freshclam Start 6: sigtool 1/6 Test #6: sigtool .......................... Passed 9.28 sec 2/6 Test #4: clamd ............................ Passed 44.72 sec 3/6 Test #5: freshclam ........................ Passed 64.91 sec 4/6 Test #1: libclamav ........................ Passed 83.79 sec 5/6 Test #3: clamscan ......................... Passed 173.97 sec 6/6 Test #2: libclamav_rust ................... Passed 249.35 sec 100% tests passed, 0 tests failed out of 6 Total Test time (real) = 249.38 sec + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process --timeout 6000 -j8 -R valgrind Test project /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build Start 2: libclamav_valgrind Start 5: clamscan_valgrind Start 7: clamd_valgrind Start 9: freshclam_valgrind Start 11: sigtool_valgrind 1/5 Test #11: sigtool_valgrind .................***Failed 103.98 sec ============================= test session starts ============================== platform linux -- Python 3.15.0b4, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests collecting ... collected 3 items sigtool_test.py::TC::test_sigtool_00_version PASSED [ 33%] sigtool_test.py::TC::test_sigtool_01_run_cdiff FAILED [ 66%] sigtool_test.py::TC::test_sigtool_01_run_cdiff ERROR [ 66%] sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work FAILED [100%] sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work ERROR [100%] ==================================== ERRORS ==================================== ______________ ERROR at teardown of TC.test_sigtool_01_run_cdiff _______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/sigtool_test.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool run cdiff test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 0 [DEBUG]: stdout: [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-2.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14330== Memcheck, a memory error detector [INFO]: ==14330== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14330== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14330== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff [INFO]: ==14330== Parent PID: 14286 [INFO]: ==14330== [INFO]: --14330-- [INFO]: --14330-- Valgrind options: [INFO]: --14330-- -v [INFO]: --14330-- --trace-children=yes [INFO]: --14330-- --track-fds=yes [INFO]: --14330-- --leak-check=full [INFO]: --14330-- --show-possibly-lost=no [INFO]: --14330-- --show-leak-kinds=definite [INFO]: --14330-- --errors-for-leak-kinds=definite [INFO]: --14330-- --main-stacksize=16777216 [INFO]: --14330-- --gen-suppressions=all [INFO]: --14330-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14330-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log [INFO]: --14330-- --error-exitcode=123 [INFO]: --14330-- Contents of /proc/version: [INFO]: --14330-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14330-- [INFO]: --14330-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14330-- Page sizes: currently 4096, max supported 4096 [INFO]: --14330-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14330-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool [INFO]: --14330-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14330-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14330-- object doesn't have a dynamic symbol table [INFO]: --14330-- Scheduler: using generic scheduler lock implementation. [INFO]: --14330-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14330-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14330== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14330-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14330== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14330-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14330== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14330-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14330== [INFO]: ==14330== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14330== don't want to do, unless you know exactly what you're doing, [INFO]: ==14330== or are doing some strange experiment): [INFO]: ==14330== /usr/libexec/valgrind/../../bin/vgdb --pid=14330 ...command... [INFO]: ==14330== [INFO]: ==14330== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14330== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool [INFO]: ==14330== and then give GDB the following command [INFO]: ==14330== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14330 [INFO]: ==14330== --pid is optional if only one valgrind process is running [INFO]: ==14330== [INFO]: --14330-- REDIR: 0x46c0e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14330-- REDIR: 0x46c12ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14330-- REDIR: 0x46c0e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14330-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14330-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14330-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14330-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14330-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14330-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14330-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14330-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14330-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14330-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14330-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14330-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14330-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14330-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14330-- REDIR: 0x5879c62 (libc.so.6:memchr) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587a42a (libc.so.6:memmove) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c724 (libc.so.6:strncpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c572 (libc.so.6:strlen) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c00e (libc.so.6:strcpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x5879cd4 (libc.so.6:bcmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587b1f6 (libc.so.6:strcat) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c6d0 (libc.so.6:strncmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587a918 (libc.so.6:stpncpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c846 (libc.so.6:rindex) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587b268 (libc.so.6:index) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x5879d46 (libc.so.6:memcpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587a6b4 (libc.so.6:memset) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587b434 (libc.so.6:strcmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x5880a76 (libc.so.6:__strrchr_generic) redirected to 0x4ee6152 (rindex) [INFO]: --14330-- REDIR: 0x588043e (libc.so.6:__strlen_generic) redirected to 0x4ee67d4 (strlen) [INFO]: --14330-- REDIR: 0x5880582 (libc.so.6:__strncmp_generic) redirected to 0x4ee6ed8 (strncmp) [INFO]: --14330-- REDIR: 0x5876ca2 (libc.so.6:malloc) redirected to 0x4ede7fa (malloc) [INFO]: --14330-- REDIR: 0x58ca128 (libc.so.6:__memcpy_chk) redirected to 0x4eea996 (__memcpy_chk) [INFO]: --14330-- REDIR: 0x58800c2 (libc.so.6:__strchr_generic) redirected to 0x4ee6322 (index) [INFO]: --14330-- REDIR: 0x587feb6 (libc.so.6:__memset_generic) redirected to 0x4ee9a26 (memset) [INFO]: --14330-- REDIR: 0x587b2da (libc.so.6:strchrnul) redirected to 0x4eea388 (strchrnul) [INFO]: --14330-- REDIR: 0x587fad6 (libc.so.6:__memcpy_generic) redirected to 0x4ee7d04 (memcpy) [INFO]: --14330-- REDIR: 0x58770e2 (libc.so.6:free) redirected to 0x4ee1144 (free) [INFO]: --14330-- REDIR: 0x587a7b2 (libc.so.6:stpcpy) redirected to 0x4ee9436 (stpcpy) [INFO]: --14330-- REDIR: 0x5880122 (libc.so.6:__strcmp_generic) redirected to 0x4ee7598 (strcmp) [INFO]: --14330-- REDIR: 0x587cf50 (libc.so.6:strstr) redirected to 0x4eeaa6a (strstr) [INFO]: --14330-- REDIR: 0x5877390 (libc.so.6:realloc) redirected to 0x4ee4d14 (realloc) [INFO]: --14330-- REDIR: 0x58778ec (libc.so.6:calloc) redirected to 0x4ee4b56 (calloc) [INFO]: --14330-- REDIR: 0x58803f6 (libc.so.6:__strcpy_generic) redirected to 0x4ee68de (strcpy) [INFO]: --14330-- REDIR: 0x5878176 (libc.so.6:posix_memalign) redirected to 0x4ee5614 (posix_memalign) [INFO]: --14330-- REDIR: 0x587f4e6 (libc.so.6:__memchr_generic) redirected to 0x4ee76ac (memchr) [INFO]: --14330-- REDIR: 0x587fd0a (libc.so.6:__memmove_generic) redirected to 0x4ee9ad0 (memmove) [INFO]: --14330-- REDIR: 0x587f70a (libc.so.6:__memcmp_generic) redirected to 0x4ee9376 (bcmp) [INFO]: ==14330== File descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff is already closed [INFO]: ==14330== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x405A783: rundiff (sigtool.c:1971) [INFO]: ==14330== by 0x405A783: main (sigtool.c:3796) [INFO]: ==14330== Previously closed [INFO]: ==14330== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x40BDBD3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: cdiff_apply (cdiff.rs:596) [INFO]: ==14330== by 0x405A777: rundiff (sigtool.c:1970) [INFO]: ==14330== by 0x405A777: main (sigtool.c:3796) [INFO]: ==14330== Originally opened [INFO]: ==14330== at 0x58B8103: open (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x405A767: open (fcntl2.h:55) [INFO]: ==14330== by 0x405A767: rundiff (sigtool.c:1965) [INFO]: ==14330== by 0x405A767: main (sigtool.c:3796) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:rundiff [INFO]: fun:main [INFO]: } [INFO]: ==14330== [INFO]: ==14330== FILE DESCRIPTORS: 3 open (3 inherited) at exit. [INFO]: ==14330== [INFO]: ==14330== HEAP SUMMARY: [INFO]: ==14330== in use at exit: 165,135 bytes in 3,239 blocks [INFO]: ==14330== total heap usage: 4,982 allocs, 1,743 frees, 463,053 bytes allocated [INFO]: ==14330== [INFO]: ==14330== Searching for pointers to 3,239 not-freed blocks [INFO]: ==14330== Checked 439,008 bytes [INFO]: ==14330== [INFO]: ==14330== LEAK SUMMARY: [INFO]: ==14330== definitely lost: 0 bytes in 0 blocks [INFO]: ==14330== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14330== possibly lost: 48 bytes in 1 blocks [INFO]: ==14330== still reachable: 165,087 bytes in 3,238 blocks [INFO]: ==14330== suppressed: 0 bytes in 0 blocks [INFO]: ==14330== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14330== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14330== [INFO]: ==14330== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==14330== [INFO]: ==14330== 1 errors in context 1 of 1: [INFO]: ==14330== File descriptor 3: is already closed [INFO]: ==14330== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x405A783: rundiff (sigtool.c:1971) [INFO]: ==14330== by 0x405A783: main (sigtool.c:3796) [INFO]: ==14330== Previously closed [INFO]: ==14330== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x40BDBD3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: cdiff_apply (cdiff.rs:596) [INFO]: ==14330== by 0x405A777: rundiff (sigtool.c:1970) [INFO]: ==14330== by 0x405A777: main (sigtool.c:3796) [INFO]: ==14330== Originally opened [INFO]: ==14330== at 0x58B8103: open (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x405A767: open (fcntl2.h:55) [INFO]: ==14330== by 0x405A767: rundiff (sigtool.c:1965) [INFO]: ==14330== by 0x405A767: main (sigtool.c:3796) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:rundiff [INFO]: fun:main [INFO]: } [INFO]: ==14330== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______ ERROR at teardown of TC.test_sigtool_02_rust_logs_messages_work ________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() sigtool_test.py:66: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool test rust log macros work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 0 [DEBUG]: stdout: [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [libclamav_rust/src/cdiff.rs:906:25] &cur_line = [ 68, 83, 73, 71, 58, 84, 70, 100, 57, 82, 66, 101, 117, 54, 119, 90, 119, 102, 77, 114, 87, 71, 115, 71, 72, 57, 87, 79, 83, 115, 49, 106, 43, 51, 115, 43, 80, 68, 50, 102, 86, 84, 76, 119, 82, 56, 81, 103, 118, 50, 81, 86, 70, 50, 53, 69, 88, 110, 73, 102, 72, 52, 99, 75, 109, 75, 82, 68, 111, 113, 68, 67, 76, 69, 48, 80, 54, 75, 107, 51, 75, 82, 82, 79, 107, 118, 97, 83, 71, 118, 48, 49, 97, 105, 71, 77, 78, 82, 122, 89, 51, 98, 72, 107, 71, 81, 108, 83, 85, 115, 50, 112, 54, 107, 88, 85, 111, 86, 52, 66, 43, 84, 76, 110, 49, 103, 90, 89, 82, 52, 120, 54, 88, 72, 55, 71, 117, 70, 80, 111, 108, 102, 120, 103, 72, 117, 122, 75, 57, 55, 52, 122, 120, 111, 120, 88, 101, 55, 71, 104, 122, 72, 80, 86, 103, 120, 116, 85, 73, 54, 117, 79, 68, 108, 122, 74, 78, 119, 50, 72, 102, 67, 88, 71, 47, 77, 113, 80, 110, 78, 109, 77, 83, 67, 49, 121, 113, 117, 90, 106, 109, 122, 65, 51, 97, 107, 48, 43, 106, 114, 100, 113, 102, 109, 103, 56, 99, 50, 55, 120, 83, 114, 118, 100, 55, 47, 54, 75, 54, 73, 116, 121, 89, 69, 97, 57, 113, 51, 72, 80, 76, 47, 57, 103, 55, 65, 78, 75, 81, 48, 66, 43, 48, 84, 101, 103, 88, 121, 83, 100, 109, 73, 107, 90, 43, 80, 89, 103, 102, 54, 117, 51, 117, 69, 120, 48, 57, 100, 98, 51, 82, 88, 76, 107, 101, 115, 85, 56, 75, 51, 98, 118, 100, 86, 90, 83, 69, 121, 121, 82, 104, 48, 105, 114, 43, 71, 105, 98, 114, 71, 77, 50, 70, 101, 102, 49, 71, 117, 103, 116, 78, 65, 73, 56, 103, 85, 81, 65, 65, 57, 79, 116, 74, 109, 104, 117, 78, 85, 115, 98, 101, 87, 78, 100, 68, 86, ] [libclamav_rust/src/cdiff.rs:906:25] &edit.orig_line = [ 68, 83, 73, 71, 58, 83, 73, 112, 90, 119, 112, 79, 78, 114, 74, 104, ] LibClamAV Error: processing: Cannot perform action exchange on line 4 in file test.info. Pattern does not match on line 22: CLOSE [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14350== Memcheck, a memory error detector [INFO]: ==14350== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14350== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14350== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff [INFO]: ==14350== Parent PID: 14286 [INFO]: ==14350== [INFO]: --14350-- [INFO]: --14350-- Valgrind options: [INFO]: --14350-- -v [INFO]: --14350-- --trace-children=yes [INFO]: --14350-- --track-fds=yes [INFO]: --14350-- --leak-check=full [INFO]: --14350-- --show-possibly-lost=no [INFO]: --14350-- --show-leak-kinds=definite [INFO]: --14350-- --errors-for-leak-kinds=definite [INFO]: --14350-- --main-stacksize=16777216 [INFO]: --14350-- --gen-suppressions=all [INFO]: --14350-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14350-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log [INFO]: --14350-- --error-exitcode=123 [INFO]: --14350-- Contents of /proc/version: [INFO]: --14350-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14350-- [INFO]: --14350-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14350-- Page sizes: currently 4096, max supported 4096 [INFO]: --14350-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14350-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool [INFO]: --14350-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14350-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14350-- object doesn't have a dynamic symbol table [INFO]: --14350-- Scheduler: using generic scheduler lock implementation. [INFO]: --14350-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14350-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14350== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14350-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14350== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14350-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14350== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14350-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14350== [INFO]: ==14350== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14350== don't want to do, unless you know exactly what you're doing, [INFO]: ==14350== or are doing some strange experiment): [INFO]: ==14350== /usr/libexec/valgrind/../../bin/vgdb --pid=14350 ...command... [INFO]: ==14350== [INFO]: ==14350== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14350== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool [INFO]: ==14350== and then give GDB the following command [INFO]: ==14350== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14350 [INFO]: ==14350== --pid is optional if only one valgrind process is running [INFO]: ==14350== [INFO]: --14350-- REDIR: 0x46c0e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14350-- REDIR: 0x46c12ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14350-- REDIR: 0x46c0e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14350-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14350-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14350-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14350-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14350-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14350-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14350-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14350-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14350-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14350-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14350-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14350-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14350-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14350-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14350-- REDIR: 0x5879c62 (libc.so.6:memchr) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587a42a (libc.so.6:memmove) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c724 (libc.so.6:strncpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c572 (libc.so.6:strlen) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c00e (libc.so.6:strcpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x5879cd4 (libc.so.6:bcmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587b1f6 (libc.so.6:strcat) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c6d0 (libc.so.6:strncmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587a918 (libc.so.6:stpncpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c846 (libc.so.6:rindex) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587b268 (libc.so.6:index) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x5879d46 (libc.so.6:memcpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587a6b4 (libc.so.6:memset) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587b434 (libc.so.6:strcmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x5880a76 (libc.so.6:__strrchr_generic) redirected to 0x4ee6152 (rindex) [INFO]: --14350-- REDIR: 0x588043e (libc.so.6:__strlen_generic) redirected to 0x4ee67d4 (strlen) [INFO]: --14350-- REDIR: 0x5880582 (libc.so.6:__strncmp_generic) redirected to 0x4ee6ed8 (strncmp) [INFO]: --14350-- REDIR: 0x5876ca2 (libc.so.6:malloc) redirected to 0x4ede7fa (malloc) [INFO]: --14350-- REDIR: 0x58ca128 (libc.so.6:__memcpy_chk) redirected to 0x4eea996 (__memcpy_chk) [INFO]: --14350-- REDIR: 0x58800c2 (libc.so.6:__strchr_generic) redirected to 0x4ee6322 (index) [INFO]: --14350-- REDIR: 0x587feb6 (libc.so.6:__memset_generic) redirected to 0x4ee9a26 (memset) [INFO]: --14350-- REDIR: 0x587b2da (libc.so.6:strchrnul) redirected to 0x4eea388 (strchrnul) [INFO]: --14350-- REDIR: 0x587fad6 (libc.so.6:__memcpy_generic) redirected to 0x4ee7d04 (memcpy) [INFO]: --14350-- REDIR: 0x58770e2 (libc.so.6:free) redirected to 0x4ee1144 (free) [INFO]: --14350-- REDIR: 0x587a7b2 (libc.so.6:stpcpy) redirected to 0x4ee9436 (stpcpy) [INFO]: --14350-- REDIR: 0x5880122 (libc.so.6:__strcmp_generic) redirected to 0x4ee7598 (strcmp) [INFO]: --14350-- REDIR: 0x587cf50 (libc.so.6:strstr) redirected to 0x4eeaa6a (strstr) [INFO]: --14350-- REDIR: 0x5877390 (libc.so.6:realloc) redirected to 0x4ee4d14 (realloc) [INFO]: --14350-- REDIR: 0x58778ec (libc.so.6:calloc) redirected to 0x4ee4b56 (calloc) [INFO]: --14350-- REDIR: 0x58803f6 (libc.so.6:__strcpy_generic) redirected to 0x4ee68de (strcpy) [INFO]: --14350-- REDIR: 0x5878176 (libc.so.6:posix_memalign) redirected to 0x4ee5614 (posix_memalign) [INFO]: --14350-- REDIR: 0x587f4e6 (libc.so.6:__memchr_generic) redirected to 0x4ee76ac (memchr) [INFO]: --14350-- REDIR: 0x587fd0a (libc.so.6:__memmove_generic) redirected to 0x4ee9ad0 (memmove) [INFO]: --14350-- REDIR: 0x587f70a (libc.so.6:__memcmp_generic) redirected to 0x4ee9376 (bcmp) [INFO]: ==14350== File descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff is already closed [INFO]: ==14350== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x405A783: rundiff (sigtool.c:1971) [INFO]: ==14350== by 0x405A783: main (sigtool.c:3796) [INFO]: ==14350== Previously closed [INFO]: ==14350== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x40BDBD3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: cdiff_apply (cdiff.rs:596) [INFO]: ==14350== by 0x405A777: rundiff (sigtool.c:1970) [INFO]: ==14350== by 0x405A777: main (sigtool.c:3796) [INFO]: ==14350== Originally opened [INFO]: ==14350== at 0x58B8103: open (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x405A767: open (fcntl2.h:55) [INFO]: ==14350== by 0x405A767: rundiff (sigtool.c:1965) [INFO]: ==14350== by 0x405A767: main (sigtool.c:3796) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:rundiff [INFO]: fun:main [INFO]: } [INFO]: ==14350== [INFO]: ==14350== FILE DESCRIPTORS: 3 open (3 inherited) at exit. [INFO]: ==14350== [INFO]: ==14350== HEAP SUMMARY: [INFO]: ==14350== in use at exit: 165,135 bytes in 3,239 blocks [INFO]: ==14350== total heap usage: 4,807 allocs, 1,568 frees, 370,106 bytes allocated [INFO]: ==14350== [INFO]: ==14350== Searching for pointers to 3,239 not-freed blocks [INFO]: ==14350== Checked 439,024 bytes [INFO]: ==14350== [INFO]: ==14350== LEAK SUMMARY: [INFO]: ==14350== definitely lost: 0 bytes in 0 blocks [INFO]: ==14350== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14350== possibly lost: 48 bytes in 1 blocks [INFO]: ==14350== still reachable: 165,087 bytes in 3,238 blocks [INFO]: ==14350== suppressed: 0 bytes in 0 blocks [INFO]: ==14350== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14350== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14350== [INFO]: ==14350== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==14350== [INFO]: ==14350== 1 errors in context 1 of 1: [INFO]: ==14350== File descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff is already closed [INFO]: ==14350== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x405A783: rundiff (sigtool.c:1971) [INFO]: ==14350== by 0x405A783: main (sigtool.c:3796) [INFO]: ==14350== Previously closed [INFO]: ==14350== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x40BDBD3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: cdiff_apply (cdiff.rs:596) [INFO]: ==14350== by 0x405A777: rundiff (sigtool.c:1970) [INFO]: ==14350== by 0x405A777: main (sigtool.c:3796) [INFO]: ==14350== Originally opened [INFO]: ==14350== at 0x58B8103: open (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x405A767: open (fcntl2.h:55) [INFO]: ==14350== by 0x405A767: rundiff (sigtool.c:1965) [INFO]: ==14350== by 0x405A767: main (sigtool.c:3796) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:rundiff [INFO]: fun:main [INFO]: } [INFO]: ==14350== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal =================================== FAILURES =================================== _________________________ TC.test_sigtool_01_run_cdiff _________________________ self = def test_sigtool_01_run_cdiff(self): self.step_name('sigtool run cdiff test') # In addition to testing that running a cdiff works, this also tests a regression. # Applying test-3.cdiff was failing because UNLINK wasn't properly implemented (since 0.105.0). # We didn't notice it because logging wasn't enabled, and leniency in our freshclam cdiff process # allowed the test to pass without noticing the bug. self.log.warning('VG: {}'.format(os.getenv("VG"))) (TC.path_tmp / 'run_cdiff').mkdir() os.chdir(str(TC.path_tmp / 'run_cdiff')) command = '{valgrind} {valgrind_args} {sigtool} --unpack {cvd}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cvd=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-1.cvd' ) output = self.execute_command(command) assert output.ec == 0 # success # Apply 1st cdiff. command = '{valgrind} {valgrind_args} {sigtool} --run-cdiff={cdiff}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cdiff=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-2.cdiff' ) output = self.execute_command(command) # Apply 2nd cdiff. This one failed because the CLOSE operation should create a file # if it didn't exist, and it was only appending but not creating. command = '{valgrind} {valgrind_args} {sigtool} --run-cdiff={cdiff}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cdiff=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-3.cdiff' ) output = self.execute_command(command) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E AssertionError: assert 123 == 0 E + where 123 = CmdResult(ec=123, out='', err='').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/sigtool_test.py:122: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool run cdiff test [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 0 [DEBUG]: stdout: [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-2.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14330== Memcheck, a memory error detector [INFO]: ==14330== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14330== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14330== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff [INFO]: ==14330== Parent PID: 14286 [INFO]: ==14330== [INFO]: --14330-- [INFO]: --14330-- Valgrind options: [INFO]: --14330-- -v [INFO]: --14330-- --trace-children=yes [INFO]: --14330-- --track-fds=yes [INFO]: --14330-- --leak-check=full [INFO]: --14330-- --show-possibly-lost=no [INFO]: --14330-- --show-leak-kinds=definite [INFO]: --14330-- --errors-for-leak-kinds=definite [INFO]: --14330-- --main-stacksize=16777216 [INFO]: --14330-- --gen-suppressions=all [INFO]: --14330-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14330-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log [INFO]: --14330-- --error-exitcode=123 [INFO]: --14330-- Contents of /proc/version: [INFO]: --14330-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14330-- [INFO]: --14330-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14330-- Page sizes: currently 4096, max supported 4096 [INFO]: --14330-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14330-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool [INFO]: --14330-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14330-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14330-- object doesn't have a dynamic symbol table [INFO]: --14330-- Scheduler: using generic scheduler lock implementation. [INFO]: --14330-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14330-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14330== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14330-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14330== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14330-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14330== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14330-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14330== [INFO]: ==14330== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14330== don't want to do, unless you know exactly what you're doing, [INFO]: ==14330== or are doing some strange experiment): [INFO]: ==14330== /usr/libexec/valgrind/../../bin/vgdb --pid=14330 ...command... [INFO]: ==14330== [INFO]: ==14330== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14330== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool [INFO]: ==14330== and then give GDB the following command [INFO]: ==14330== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14330 [INFO]: ==14330== --pid is optional if only one valgrind process is running [INFO]: ==14330== [INFO]: --14330-- REDIR: 0x46c0e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14330-- REDIR: 0x46c12ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14330-- REDIR: 0x46c0e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14330-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14330-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14330-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14330-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14330-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14330-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14330-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14330-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14330-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14330-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14330-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14330-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14330-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14330-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14330-- REDIR: 0x5879c62 (libc.so.6:memchr) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587a42a (libc.so.6:memmove) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c724 (libc.so.6:strncpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c572 (libc.so.6:strlen) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c00e (libc.so.6:strcpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x5879cd4 (libc.so.6:bcmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587b1f6 (libc.so.6:strcat) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c6d0 (libc.so.6:strncmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587a918 (libc.so.6:stpncpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587c846 (libc.so.6:rindex) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587b268 (libc.so.6:index) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x5879d46 (libc.so.6:memcpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587a6b4 (libc.so.6:memset) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x587b434 (libc.so.6:strcmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14330-- REDIR: 0x5880a76 (libc.so.6:__strrchr_generic) redirected to 0x4ee6152 (rindex) [INFO]: --14330-- REDIR: 0x588043e (libc.so.6:__strlen_generic) redirected to 0x4ee67d4 (strlen) [INFO]: --14330-- REDIR: 0x5880582 (libc.so.6:__strncmp_generic) redirected to 0x4ee6ed8 (strncmp) [INFO]: --14330-- REDIR: 0x5876ca2 (libc.so.6:malloc) redirected to 0x4ede7fa (malloc) [INFO]: --14330-- REDIR: 0x58ca128 (libc.so.6:__memcpy_chk) redirected to 0x4eea996 (__memcpy_chk) [INFO]: --14330-- REDIR: 0x58800c2 (libc.so.6:__strchr_generic) redirected to 0x4ee6322 (index) [INFO]: --14330-- REDIR: 0x587feb6 (libc.so.6:__memset_generic) redirected to 0x4ee9a26 (memset) [INFO]: --14330-- REDIR: 0x587b2da (libc.so.6:strchrnul) redirected to 0x4eea388 (strchrnul) [INFO]: --14330-- REDIR: 0x587fad6 (libc.so.6:__memcpy_generic) redirected to 0x4ee7d04 (memcpy) [INFO]: --14330-- REDIR: 0x58770e2 (libc.so.6:free) redirected to 0x4ee1144 (free) [INFO]: --14330-- REDIR: 0x587a7b2 (libc.so.6:stpcpy) redirected to 0x4ee9436 (stpcpy) [INFO]: --14330-- REDIR: 0x5880122 (libc.so.6:__strcmp_generic) redirected to 0x4ee7598 (strcmp) [INFO]: --14330-- REDIR: 0x587cf50 (libc.so.6:strstr) redirected to 0x4eeaa6a (strstr) [INFO]: --14330-- REDIR: 0x5877390 (libc.so.6:realloc) redirected to 0x4ee4d14 (realloc) [INFO]: --14330-- REDIR: 0x58778ec (libc.so.6:calloc) redirected to 0x4ee4b56 (calloc) [INFO]: --14330-- REDIR: 0x58803f6 (libc.so.6:__strcpy_generic) redirected to 0x4ee68de (strcpy) [INFO]: --14330-- REDIR: 0x5878176 (libc.so.6:posix_memalign) redirected to 0x4ee5614 (posix_memalign) [INFO]: --14330-- REDIR: 0x587f4e6 (libc.so.6:__memchr_generic) redirected to 0x4ee76ac (memchr) [INFO]: --14330-- REDIR: 0x587fd0a (libc.so.6:__memmove_generic) redirected to 0x4ee9ad0 (memmove) [INFO]: --14330-- REDIR: 0x587f70a (libc.so.6:__memcmp_generic) redirected to 0x4ee9376 (bcmp) [INFO]: ==14330== File descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff is already closed [INFO]: ==14330== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x405A783: rundiff (sigtool.c:1971) [INFO]: ==14330== by 0x405A783: main (sigtool.c:3796) [INFO]: ==14330== Previously closed [INFO]: ==14330== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x40BDBD3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: cdiff_apply (cdiff.rs:596) [INFO]: ==14330== by 0x405A777: rundiff (sigtool.c:1970) [INFO]: ==14330== by 0x405A777: main (sigtool.c:3796) [INFO]: ==14330== Originally opened [INFO]: ==14330== at 0x58B8103: open (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x405A767: open (fcntl2.h:55) [INFO]: ==14330== by 0x405A767: rundiff (sigtool.c:1965) [INFO]: ==14330== by 0x405A767: main (sigtool.c:3796) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:rundiff [INFO]: fun:main [INFO]: } [INFO]: ==14330== [INFO]: ==14330== FILE DESCRIPTORS: 3 open (3 inherited) at exit. [INFO]: ==14330== [INFO]: ==14330== HEAP SUMMARY: [INFO]: ==14330== in use at exit: 165,135 bytes in 3,239 blocks [INFO]: ==14330== total heap usage: 4,982 allocs, 1,743 frees, 463,053 bytes allocated [INFO]: ==14330== [INFO]: ==14330== Searching for pointers to 3,239 not-freed blocks [INFO]: ==14330== Checked 439,008 bytes [INFO]: ==14330== [INFO]: ==14330== LEAK SUMMARY: [INFO]: ==14330== definitely lost: 0 bytes in 0 blocks [INFO]: ==14330== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14330== possibly lost: 48 bytes in 1 blocks [INFO]: ==14330== still reachable: 165,087 bytes in 3,238 blocks [INFO]: ==14330== suppressed: 0 bytes in 0 blocks [INFO]: ==14330== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14330== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14330== [INFO]: ==14330== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==14330== [INFO]: ==14330== 1 errors in context 1 of 1: [INFO]: ==14330== File descriptor 3: is already closed [INFO]: ==14330== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x405A783: rundiff (sigtool.c:1971) [INFO]: ==14330== by 0x405A783: main (sigtool.c:3796) [INFO]: ==14330== Previously closed [INFO]: ==14330== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x40BDBD3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14330== by 0x40BDBD3: cdiff_apply (cdiff.rs:596) [INFO]: ==14330== by 0x405A777: rundiff (sigtool.c:1970) [INFO]: ==14330== by 0x405A777: main (sigtool.c:3796) [INFO]: ==14330== Originally opened [INFO]: ==14330== at 0x58B8103: open (in /usr/lib64/libc.so.6) [INFO]: ==14330== by 0x405A767: open (fcntl2.h:55) [INFO]: ==14330== by 0x405A767: rundiff (sigtool.c:1965) [INFO]: ==14330== by 0x405A767: main (sigtool.c:3796) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:rundiff [INFO]: fun:main [INFO]: } [INFO]: ==14330== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________________ TC.test_sigtool_02_rust_logs_messages_work __________________ self = def test_sigtool_02_rust_logs_messages_work(self): self.step_name('sigtool test rust log macros work') # In addition to testing that running a cdiff works, this also tests a regression. # Applying test-3.cdiff was failing because UNLINK wasn't properly implemented (since 0.105.0). # We didn't notice it because logging wasn't enabled, and leniency in our freshclam cdiff process # allowed the test to pass without noticing the bug. self.log.warning('VG: {}'.format(os.getenv("VG"))) (TC.path_tmp / 'run_cdiff_log').mkdir() os.chdir(str(TC.path_tmp / 'run_cdiff_log')) command = '{valgrind} {valgrind_args} {sigtool} --unpack {cvd}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cvd=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-1.cvd' ) output = self.execute_command(command) assert output.ec == 0 # success # Apply cdiffs in wrong order. Should fail and print a message. command = '{valgrind} {valgrind_args} {sigtool} --run-cdiff={cdiff}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, sigtool=TC.sigtool, cdiff=TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' / 'test-3.cdiff' ) output = self.execute_command(command) > assert output.ec == 1 # failure ^^^^^^^^^^^^^^^^^^^^^ E AssertionError: assert 123 == 1 E + where 123 = CmdResult(ec=123, out='', err='[libclamav_rust/src/cdiff.rs:906:25] &cur_line = [\n 68,\n 83,\n 73,\n 71,\n 58,\n 84,\n 70,\n 100,\n 57,\n 82,\n 66,\n 101,\n 117,\n 54,\n 119,\n 90,\n 119,\n 102,\n 77,\n 114,\n 87,\n 71,\n 115,\n 71,\n 72,\n 57,\n 87,\n 79,\n 83,\n 115,\n 49,\n 106,\n 43,\n 51,\n 115,\n 43,\n 80,\n 68,\n 50,\n 102,\n 86,\n 84,\n 76,\n 119,\n 82,\n 56,\n 81,\n 103,\n 118,\n 50,\n 81,\n 86,\n 70,\n 50,\n 53,\n 69,\n 88,\n 110,\n 73,\n 102,\n 72,\n 52,\n 99,\n 75,\n 109,\n 75,\n 82,\n 68,\n 111,\n 113,\n 68,\n 67,\n 76,\n 69,\n 48,\n 80,\n 54,\n 75,\n 107,\n 51,\n 75,\n 82,\n 82,\n 79,\n 107,\n 118,\n 97,\n 83,\n 71,\n 118,\n 48,\n 49,\n 97,\n 105,\n 71,\n 77,\n 78,\n 82,\n 122,\n 89,\n 51,\n 98,\n 72,\n 107,\n 71,\n 81,\n 108,\n 83,\n 85,\n 115,\n 50,\n 112,\n 54,\n 107,\n 88,\n 85,\n 111,\n 86,\n 52,\n 66,\n ...103,\n 88,\n 121,\n 83,\n 100,\n 109,\n 73,\n 107,\n 90,\n 43,\n 80,\n 89,\n 103,\n 102,\n 54,\n 117,\n 51,\n 117,\n 69,\n 120,\n 48,\n 57,\n 100,\n 98,\n 51,\n 82,\n 88,\n 76,\n 107,\n 101,\n 115,\n 85,\n 56,\n 75,\n 51,\n 98,\n 118,\n 100,\n 86,\n 90,\n 83,\n 69,\n 121,\n 121,\n 82,\n 104,\n 48,\n 105,\n 114,\n 43,\n 71,\n 105,\n 98,\n 114,\n 71,\n 77,\n 50,\n 70,\n 101,\n 102,\n 49,\n 71,\n 117,\n 103,\n 116,\n 78,\n 65,\n 73,\n 56,\n 103,\n 85,\n 81,\n 65,\n 65,\n 57,\n 79,\n 116,\n 74,\n 109,\n 104,\n 117,\n 78,\n 85,\n 115,\n 98,\n 101,\n 87,\n 78,\n 100,\n 68,\n 86,\n]\n[libclamav_rust/src/cdiff.rs:906:25] &edit.orig_line = [\n 68,\n 83,\n 73,\n 71,\n 58,\n 83,\n 73,\n 112,\n 90,\n 119,\n 112,\n 79,\n 78,\n 114,\n 74,\n 104,\n]\nLibClamAV Error: processing: Cannot perform action exchange on line 4 in file test.info. Pattern does not match on line 22: CLOSE\n\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/sigtool_test.py:152: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: sigtool test rust log macros work [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [WARNING]: VG: None [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --unpack /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-1.cvd [DEBUG]: Exit code: 0 [DEBUG]: stdout: [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff [DEBUG]: Exit code: 123 [DEBUG]: stdout: [DEBUG]: stderr: [libclamav_rust/src/cdiff.rs:906:25] &cur_line = [ 68, 83, 73, 71, 58, 84, 70, 100, 57, 82, 66, 101, 117, 54, 119, 90, 119, 102, 77, 114, 87, 71, 115, 71, 72, 57, 87, 79, 83, 115, 49, 106, 43, 51, 115, 43, 80, 68, 50, 102, 86, 84, 76, 119, 82, 56, 81, 103, 118, 50, 81, 86, 70, 50, 53, 69, 88, 110, 73, 102, 72, 52, 99, 75, 109, 75, 82, 68, 111, 113, 68, 67, 76, 69, 48, 80, 54, 75, 107, 51, 75, 82, 82, 79, 107, 118, 97, 83, 71, 118, 48, 49, 97, 105, 71, 77, 78, 82, 122, 89, 51, 98, 72, 107, 71, 81, 108, 83, 85, 115, 50, 112, 54, 107, 88, 85, 111, 86, 52, 66, 43, 84, 76, 110, 49, 103, 90, 89, 82, 52, 120, 54, 88, 72, 55, 71, 117, 70, 80, 111, 108, 102, 120, 103, 72, 117, 122, 75, 57, 55, 52, 122, 120, 111, 120, 88, 101, 55, 71, 104, 122, 72, 80, 86, 103, 120, 116, 85, 73, 54, 117, 79, 68, 108, 122, 74, 78, 119, 50, 72, 102, 67, 88, 71, 47, 77, 113, 80, 110, 78, 109, 77, 83, 67, 49, 121, 113, 117, 90, 106, 109, 122, 65, 51, 97, 107, 48, 43, 106, 114, 100, 113, 102, 109, 103, 56, 99, 50, 55, 120, 83, 114, 118, 100, 55, 47, 54, 75, 54, 73, 116, 121, 89, 69, 97, 57, 113, 51, 72, 80, 76, 47, 57, 103, 55, 65, 78, 75, 81, 48, 66, 43, 48, 84, 101, 103, 88, 121, 83, 100, 109, 73, 107, 90, 43, 80, 89, 103, 102, 54, 117, 51, 117, 69, 120, 48, 57, 100, 98, 51, 82, 88, 76, 107, 101, 115, 85, 56, 75, 51, 98, 118, 100, 86, 90, 83, 69, 121, 121, 82, 104, 48, 105, 114, 43, 71, 105, 98, 114, 71, 77, 50, 70, 101, 102, 49, 71, 117, 103, 116, 78, 65, 73, 56, 103, 85, 81, 65, 65, 57, 79, 116, 74, 109, 104, 117, 78, 85, 115, 98, 101, 87, 78, 100, 68, 86, ] [libclamav_rust/src/cdiff.rs:906:25] &edit.orig_line = [ 68, 83, 73, 71, 58, 83, 73, 112, 90, 119, 112, 79, 78, 114, 74, 104, ] LibClamAV Error: processing: Cannot perform action exchange on line 4 in file test.info. Pattern does not match on line 22: CLOSE [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14350== Memcheck, a memory error detector [INFO]: ==14350== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14350== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14350== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool --run-cdiff=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff [INFO]: ==14350== Parent PID: 14286 [INFO]: ==14350== [INFO]: --14350-- [INFO]: --14350-- Valgrind options: [INFO]: --14350-- -v [INFO]: --14350-- --trace-children=yes [INFO]: --14350-- --track-fds=yes [INFO]: --14350-- --leak-check=full [INFO]: --14350-- --show-possibly-lost=no [INFO]: --14350-- --show-leak-kinds=definite [INFO]: --14350-- --errors-for-leak-kinds=definite [INFO]: --14350-- --main-stacksize=16777216 [INFO]: --14350-- --gen-suppressions=all [INFO]: --14350-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14350-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ksa1hjal/valgrind.log [INFO]: --14350-- --error-exitcode=123 [INFO]: --14350-- Contents of /proc/version: [INFO]: --14350-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14350-- [INFO]: --14350-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14350-- Page sizes: currently 4096, max supported 4096 [INFO]: --14350-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14350-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool [INFO]: --14350-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14350-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14350-- object doesn't have a dynamic symbol table [INFO]: --14350-- Scheduler: using generic scheduler lock implementation. [INFO]: --14350-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14350-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14350== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14350-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14350== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14350-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14350== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14350-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14350== [INFO]: ==14350== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14350== don't want to do, unless you know exactly what you're doing, [INFO]: ==14350== or are doing some strange experiment): [INFO]: ==14350== /usr/libexec/valgrind/../../bin/vgdb --pid=14350 ...command... [INFO]: ==14350== [INFO]: ==14350== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14350== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/sigtool/sigtool [INFO]: ==14350== and then give GDB the following command [INFO]: ==14350== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14350 [INFO]: ==14350== --pid is optional if only one valgrind process is running [INFO]: ==14350== [INFO]: --14350-- REDIR: 0x46c0e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14350-- REDIR: 0x46c12ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14350-- REDIR: 0x46c0e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14350-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14350-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14350-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14350-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14350-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14350-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14350-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14350-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14350-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14350-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14350-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14350-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14350-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14350-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14350-- REDIR: 0x5879c62 (libc.so.6:memchr) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587a42a (libc.so.6:memmove) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c724 (libc.so.6:strncpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c572 (libc.so.6:strlen) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c00e (libc.so.6:strcpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x5879cd4 (libc.so.6:bcmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587b1f6 (libc.so.6:strcat) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c6d0 (libc.so.6:strncmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587a918 (libc.so.6:stpncpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587c846 (libc.so.6:rindex) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587b268 (libc.so.6:index) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x5879d46 (libc.so.6:memcpy) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587a6b4 (libc.so.6:memset) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x587b434 (libc.so.6:strcmp) redirected to 0x4eda3b8 (_vgnU_ifunc_wrapper) [INFO]: --14350-- REDIR: 0x5880a76 (libc.so.6:__strrchr_generic) redirected to 0x4ee6152 (rindex) [INFO]: --14350-- REDIR: 0x588043e (libc.so.6:__strlen_generic) redirected to 0x4ee67d4 (strlen) [INFO]: --14350-- REDIR: 0x5880582 (libc.so.6:__strncmp_generic) redirected to 0x4ee6ed8 (strncmp) [INFO]: --14350-- REDIR: 0x5876ca2 (libc.so.6:malloc) redirected to 0x4ede7fa (malloc) [INFO]: --14350-- REDIR: 0x58ca128 (libc.so.6:__memcpy_chk) redirected to 0x4eea996 (__memcpy_chk) [INFO]: --14350-- REDIR: 0x58800c2 (libc.so.6:__strchr_generic) redirected to 0x4ee6322 (index) [INFO]: --14350-- REDIR: 0x587feb6 (libc.so.6:__memset_generic) redirected to 0x4ee9a26 (memset) [INFO]: --14350-- REDIR: 0x587b2da (libc.so.6:strchrnul) redirected to 0x4eea388 (strchrnul) [INFO]: --14350-- REDIR: 0x587fad6 (libc.so.6:__memcpy_generic) redirected to 0x4ee7d04 (memcpy) [INFO]: --14350-- REDIR: 0x58770e2 (libc.so.6:free) redirected to 0x4ee1144 (free) [INFO]: --14350-- REDIR: 0x587a7b2 (libc.so.6:stpcpy) redirected to 0x4ee9436 (stpcpy) [INFO]: --14350-- REDIR: 0x5880122 (libc.so.6:__strcmp_generic) redirected to 0x4ee7598 (strcmp) [INFO]: --14350-- REDIR: 0x587cf50 (libc.so.6:strstr) redirected to 0x4eeaa6a (strstr) [INFO]: --14350-- REDIR: 0x5877390 (libc.so.6:realloc) redirected to 0x4ee4d14 (realloc) [INFO]: --14350-- REDIR: 0x58778ec (libc.so.6:calloc) redirected to 0x4ee4b56 (calloc) [INFO]: --14350-- REDIR: 0x58803f6 (libc.so.6:__strcpy_generic) redirected to 0x4ee68de (strcpy) [INFO]: --14350-- REDIR: 0x5878176 (libc.so.6:posix_memalign) redirected to 0x4ee5614 (posix_memalign) [INFO]: --14350-- REDIR: 0x587f4e6 (libc.so.6:__memchr_generic) redirected to 0x4ee76ac (memchr) [INFO]: --14350-- REDIR: 0x587fd0a (libc.so.6:__memmove_generic) redirected to 0x4ee9ad0 (memmove) [INFO]: --14350-- REDIR: 0x587f70a (libc.so.6:__memcmp_generic) redirected to 0x4ee9376 (bcmp) [INFO]: ==14350== File descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff is already closed [INFO]: ==14350== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x405A783: rundiff (sigtool.c:1971) [INFO]: ==14350== by 0x405A783: main (sigtool.c:3796) [INFO]: ==14350== Previously closed [INFO]: ==14350== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x40BDBD3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: cdiff_apply (cdiff.rs:596) [INFO]: ==14350== by 0x405A777: rundiff (sigtool.c:1970) [INFO]: ==14350== by 0x405A777: main (sigtool.c:3796) [INFO]: ==14350== Originally opened [INFO]: ==14350== at 0x58B8103: open (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x405A767: open (fcntl2.h:55) [INFO]: ==14350== by 0x405A767: rundiff (sigtool.c:1965) [INFO]: ==14350== by 0x405A767: main (sigtool.c:3796) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:rundiff [INFO]: fun:main [INFO]: } [INFO]: ==14350== [INFO]: ==14350== FILE DESCRIPTORS: 3 open (3 inherited) at exit. [INFO]: ==14350== [INFO]: ==14350== HEAP SUMMARY: [INFO]: ==14350== in use at exit: 165,135 bytes in 3,239 blocks [INFO]: ==14350== total heap usage: 4,807 allocs, 1,568 frees, 370,106 bytes allocated [INFO]: ==14350== [INFO]: ==14350== Searching for pointers to 3,239 not-freed blocks [INFO]: ==14350== Checked 439,024 bytes [INFO]: ==14350== [INFO]: ==14350== LEAK SUMMARY: [INFO]: ==14350== definitely lost: 0 bytes in 0 blocks [INFO]: ==14350== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14350== possibly lost: 48 bytes in 1 blocks [INFO]: ==14350== still reachable: 165,087 bytes in 3,238 blocks [INFO]: ==14350== suppressed: 0 bytes in 0 blocks [INFO]: ==14350== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14350== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14350== [INFO]: ==14350== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==14350== [INFO]: ==14350== 1 errors in context 1 of 1: [INFO]: ==14350== File descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/freshclam_testfiles/test-3.cdiff is already closed [INFO]: ==14350== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x405A783: rundiff (sigtool.c:1971) [INFO]: ==14350== by 0x405A783: main (sigtool.c:3796) [INFO]: ==14350== Previously closed [INFO]: ==14350== at 0x58B48CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x40BDBD3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14350== by 0x40BDBD3: cdiff_apply (cdiff.rs:596) [INFO]: ==14350== by 0x405A777: rundiff (sigtool.c:1970) [INFO]: ==14350== by 0x405A777: main (sigtool.c:3796) [INFO]: ==14350== Originally opened [INFO]: ==14350== at 0x58B8103: open (in /usr/lib64/libc.so.6) [INFO]: ==14350== by 0x405A767: open (fcntl2.h:55) [INFO]: ==14350== by 0x405A767: rundiff (sigtool.c:1965) [INFO]: ==14350== by 0x405A767: main (sigtool.c:3796) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:rundiff [INFO]: fun:main [INFO]: } [INFO]: ==14350== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED sigtool_test.py::TC::test_sigtool_01_run_cdiff - AssertionError: asser... FAILED sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work - Asserti... ERROR sigtool_test.py::TC::test_sigtool_01_run_cdiff - AssertionError: Valgri... ERROR sigtool_test.py::TC::test_sigtool_02_rust_logs_messages_work - Assertio... =============== 2 failed, 1 passed, 2 errors in 96.71s (0:01:36) =============== 2/5 Test #7: clamd_valgrind ...................***Failed 173.81 sec ============================= test session starts ============================== platform linux -- Python 3.15.0b4, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests collecting ... collected 15 items clamd_test.py::TC::test_clamd_00_version PASSED [ 6%] clamd_test.py::TC::test_clamd_01_ping_pong FAILED [ 13%] clamd_test.py::TC::test_clamd_01_ping_pong ERROR [ 13%] clamd_test.py::TC::test_clamd_02_clamdscan_version FAILED [ 20%] clamd_test.py::TC::test_clamd_02_clamdscan_version ERROR [ 20%] clamd_test.py::TC::test_clamd_03_reload FAILED [ 26%] clamd_test.py::TC::test_clamd_03_reload ERROR [ 26%] clamd_test.py::TC::test_clamd_04_all_testfiles FAILED [ 33%] clamd_test.py::TC::test_clamd_04_all_testfiles ERROR [ 33%] clamd_test.py::TC::test_clamd_05_check_clamd FAILED [ 40%] clamd_test.py::TC::test_clamd_05_check_clamd ERROR [ 40%] clamd_test.py::TC::test_clamd_05a_quarantine_copy_uses_real_source_path FAILED [ 46%] clamd_test.py::TC::test_clamd_05a_quarantine_copy_uses_real_source_path ERROR [ 46%] clamd_test.py::TC::test_clamd_05b_quarantine_copy_modes_use_real_source_path FAILED [ 53%] clamd_test.py::TC::test_clamd_05b_quarantine_copy_modes_use_real_source_path ERROR [ 53%] clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off FAILED [ 60%] clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off ERROR [ 60%] clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on FAILED [ 66%] clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on ERROR [ 66%] clamd_test.py::TC::test_clamd_08_VirusEvent FAILED [ 73%] clamd_test.py::TC::test_clamd_08_VirusEvent ERROR [ 73%] clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath FAILED [ 80%] clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath ERROR [ 80%] clamd_test.py::TC::test_clamd_10_allmatch_not_sticky FAILED [ 86%] clamd_test.py::TC::test_clamd_10_allmatch_not_sticky ERROR [ 86%] clamd_test.py::TC::test_clamd_11_alertexceedsmax_maxfilesize FAILED [ 93%] clamd_test.py::TC::test_clamd_12_onenote_disabled FAILED [100%] ==================================== ERRORS ==================================== _______________ ERROR at teardown of TC.test_clamd_01_ping_pong ________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan PING PONG feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PING timeout exceeded; No response from clamd [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14304== Memcheck, a memory error detector [INFO]: ==14304== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14304== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14304== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14304== Parent PID: 14284 [INFO]: ==14304== [INFO]: --14304-- [INFO]: --14304-- Valgrind options: [INFO]: --14304-- -v [INFO]: --14304-- --trace-children=yes [INFO]: --14304-- --track-fds=yes [INFO]: --14304-- --leak-check=full [INFO]: --14304-- --show-possibly-lost=no [INFO]: --14304-- --show-leak-kinds=definite [INFO]: --14304-- --errors-for-leak-kinds=definite [INFO]: --14304-- --main-stacksize=16777216 [INFO]: --14304-- --gen-suppressions=all [INFO]: --14304-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14304-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14304-- --error-exitcode=123 [INFO]: --14304-- Contents of /proc/version: [INFO]: --14304-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14304-- [INFO]: --14304-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14304-- Page sizes: currently 4096, max supported 4096 [INFO]: --14304-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14304-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14304-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14304-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14304-- object doesn't have a dynamic symbol table [INFO]: --14304-- Scheduler: using generic scheduler lock implementation. [INFO]: --14304-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14304-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14304== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14304-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14304== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14304-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14304== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14304-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14304== [INFO]: ==14304== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14304== don't want to do, unless you know exactly what you're doing, [INFO]: ==14304== or are doing some strange experiment): [INFO]: ==14304== /usr/libexec/valgrind/../../bin/vgdb --pid=14304 ...command... [INFO]: ==14304== [INFO]: ==14304== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14304== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14304== and then give GDB the following command [INFO]: ==14304== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14304 [INFO]: ==14304== --pid is optional if only one valgrind process is running [INFO]: ==14304== [INFO]: --14304-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14304-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14304-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14304-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14304-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14304-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14304-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14304-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14304-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14304-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14304-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14304-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14304-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14304-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14304-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14304-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14304-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14304-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14304-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14304-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14304-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14304-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14304-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14304-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14304-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14304-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14304-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14304-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14304-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14304-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14304-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14304-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14304-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14304-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14304-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14304-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14304-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14304-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14304-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14304-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14304== [INFO]: ==14304== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14304== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14304== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14304== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14304== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14304== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14304== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14304== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14304== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14304== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14304== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14304== by 0x4001035: main (clamd.c:223) [INFO]: ==14304== [INFO]: ==14304== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14304== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14304== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14304== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14304== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14304== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14304== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14304== by 0x4001035: main (clamd.c:223) [INFO]: ==14304== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14304== [INFO]: ==14304== HEAP SUMMARY: [INFO]: ==14304== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14304== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14304== [INFO]: ==14304== Searching for pointers to 414 not-freed blocks [INFO]: ==14304== Checked 307,456 bytes [INFO]: ==14304== [INFO]: ==14304== LEAK SUMMARY: [INFO]: ==14304== definitely lost: 0 bytes in 0 blocks [INFO]: ==14304== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14304== possibly lost: 0 bytes in 0 blocks [INFO]: ==14304== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14304== suppressed: 0 bytes in 0 blocks [INFO]: ==14304== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14304== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14304== [INFO]: ==14304== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________ ERROR at teardown of TC.test_clamd_02_clamdscan_version ____________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan version feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PING timeout exceeded; No response from clamd [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14311== Memcheck, a memory error detector [INFO]: ==14311== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14311== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14311== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14311== Parent PID: 14284 [INFO]: ==14311== [INFO]: --14311-- [INFO]: --14311-- Valgrind options: [INFO]: --14311-- -v [INFO]: --14311-- --trace-children=yes [INFO]: --14311-- --track-fds=yes [INFO]: --14311-- --leak-check=full [INFO]: --14311-- --show-possibly-lost=no [INFO]: --14311-- --show-leak-kinds=definite [INFO]: --14311-- --errors-for-leak-kinds=definite [INFO]: --14311-- --main-stacksize=16777216 [INFO]: --14311-- --gen-suppressions=all [INFO]: --14311-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14311-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14311-- --error-exitcode=123 [INFO]: --14311-- Contents of /proc/version: [INFO]: --14311-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14311-- [INFO]: --14311-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14311-- Page sizes: currently 4096, max supported 4096 [INFO]: --14311-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14311-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14311-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14311-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14311-- object doesn't have a dynamic symbol table [INFO]: --14311-- Scheduler: using generic scheduler lock implementation. [INFO]: --14311-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14311-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14311== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14311-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14311== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14311-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14311== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14311-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14311== [INFO]: ==14311== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14311== don't want to do, unless you know exactly what you're doing, [INFO]: ==14311== or are doing some strange experiment): [INFO]: ==14311== /usr/libexec/valgrind/../../bin/vgdb --pid=14311 ...command... [INFO]: ==14311== [INFO]: ==14311== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14311== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14311== and then give GDB the following command [INFO]: ==14311== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14311 [INFO]: ==14311== --pid is optional if only one valgrind process is running [INFO]: ==14311== [INFO]: --14311-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14311-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14311-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14311-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14311-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14311-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14311-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14311-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14311-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14311-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14311-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14311-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14311-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14311-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14311-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14311-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14311-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14311-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14311-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14311-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14311-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14311-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14311-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14311-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14311-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14311-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14311-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14311-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14311-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14311-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14311-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14311-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14311-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14311-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14311-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14311-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14311-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14311-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14311-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14311-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14311== [INFO]: ==14311== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14311== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14311== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14311== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14311== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14311== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14311== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14311== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14311== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14311== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14311== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14311== by 0x4001035: main (clamd.c:223) [INFO]: ==14311== [INFO]: ==14311== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14311== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14311== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14311== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14311== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14311== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14311== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14311== by 0x4001035: main (clamd.c:223) [INFO]: ==14311== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14311== [INFO]: ==14311== HEAP SUMMARY: [INFO]: ==14311== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14311== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14311== [INFO]: ==14311== Searching for pointers to 414 not-freed blocks [INFO]: ==14311== Checked 307,456 bytes [INFO]: ==14311== [INFO]: ==14311== LEAK SUMMARY: [INFO]: ==14311== definitely lost: 0 bytes in 0 blocks [INFO]: ==14311== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14311== possibly lost: 0 bytes in 0 blocks [INFO]: ==14311== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14311== suppressed: 0 bytes in 0 blocks [INFO]: ==14311== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14311== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14311== [INFO]: ==14311== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________ ERROR at teardown of TC.test_clamd_03_reload _________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test scan before & after reload [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/reload-testfile -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.017 sec (0 m 4 s) Start Date: 2026:08:11 13:25:35 End Date: 2026:08:11 13:25:39 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14316== Memcheck, a memory error detector [INFO]: ==14316== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14316== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14316== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14316== Parent PID: 14284 [INFO]: ==14316== [INFO]: --14316-- [INFO]: --14316-- Valgrind options: [INFO]: --14316-- -v [INFO]: --14316-- --trace-children=yes [INFO]: --14316-- --track-fds=yes [INFO]: --14316-- --leak-check=full [INFO]: --14316-- --show-possibly-lost=no [INFO]: --14316-- --show-leak-kinds=definite [INFO]: --14316-- --errors-for-leak-kinds=definite [INFO]: --14316-- --main-stacksize=16777216 [INFO]: --14316-- --gen-suppressions=all [INFO]: --14316-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14316-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14316-- --error-exitcode=123 [INFO]: --14316-- Contents of /proc/version: [INFO]: --14316-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14316-- [INFO]: --14316-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14316-- Page sizes: currently 4096, max supported 4096 [INFO]: --14316-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14316-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14316-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14316-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14316-- object doesn't have a dynamic symbol table [INFO]: --14316-- Scheduler: using generic scheduler lock implementation. [INFO]: --14316-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14316-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14316== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14316-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14316== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14316-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14316== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14316-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14316== [INFO]: ==14316== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14316== don't want to do, unless you know exactly what you're doing, [INFO]: ==14316== or are doing some strange experiment): [INFO]: ==14316== /usr/libexec/valgrind/../../bin/vgdb --pid=14316 ...command... [INFO]: ==14316== [INFO]: ==14316== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14316== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14316== and then give GDB the following command [INFO]: ==14316== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14316 [INFO]: ==14316== --pid is optional if only one valgrind process is running [INFO]: ==14316== [INFO]: --14316-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14316-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14316-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14316-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14316-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14316-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14316-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14316-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14316-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14316-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14316-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14316-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14316-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14316-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14316-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14316-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14316-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14316-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14316-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14316-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14316-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14316-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14316-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14316-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14316-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14316-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14316-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14316-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14316-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14316-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14316-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14316-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14316-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14316-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14316-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14316-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14316-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14316-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14316-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14316-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14316== [INFO]: ==14316== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14316== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14316== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14316== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14316== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14316== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14316== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14316== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14316== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14316== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14316== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14316== by 0x4001035: main (clamd.c:223) [INFO]: ==14316== [INFO]: ==14316== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14316== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14316== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14316== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14316== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14316== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14316== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14316== by 0x4001035: main (clamd.c:223) [INFO]: ==14316== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14316== [INFO]: ==14316== HEAP SUMMARY: [INFO]: ==14316== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14316== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14316== [INFO]: ==14316== Searching for pointers to 414 not-freed blocks [INFO]: ==14316== Checked 307,456 bytes [INFO]: ==14316== [INFO]: ==14316== LEAK SUMMARY: [INFO]: ==14316== definitely lost: 0 bytes in 0 blocks [INFO]: ==14316== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14316== possibly lost: 0 bytes in 0 blocks [INFO]: ==14316== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14316== suppressed: 0 bytes in 0 blocks [INFO]: ==14316== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14316== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14316== [INFO]: ==14316== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________ ERROR at teardown of TC.test_clamd_04_all_testfiles ______________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan scan of all `test` files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.013 sec (0 m 4 s) Start Date: 2026:08:11 13:25:47 End Date: 2026:08:11 13:25:51 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14326== Memcheck, a memory error detector [INFO]: ==14326== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14326== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14326== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14326== Parent PID: 14284 [INFO]: ==14326== [INFO]: --14326-- [INFO]: --14326-- Valgrind options: [INFO]: --14326-- -v [INFO]: --14326-- --trace-children=yes [INFO]: --14326-- --track-fds=yes [INFO]: --14326-- --leak-check=full [INFO]: --14326-- --show-possibly-lost=no [INFO]: --14326-- --show-leak-kinds=definite [INFO]: --14326-- --errors-for-leak-kinds=definite [INFO]: --14326-- --main-stacksize=16777216 [INFO]: --14326-- --gen-suppressions=all [INFO]: --14326-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14326-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14326-- --error-exitcode=123 [INFO]: --14326-- Contents of /proc/version: [INFO]: --14326-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14326-- [INFO]: --14326-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14326-- Page sizes: currently 4096, max supported 4096 [INFO]: --14326-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14326-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14326-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14326-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14326-- object doesn't have a dynamic symbol table [INFO]: --14326-- Scheduler: using generic scheduler lock implementation. [INFO]: --14326-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14326-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14326== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14326-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14326== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14326-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14326== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14326-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14326== [INFO]: ==14326== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14326== don't want to do, unless you know exactly what you're doing, [INFO]: ==14326== or are doing some strange experiment): [INFO]: ==14326== /usr/libexec/valgrind/../../bin/vgdb --pid=14326 ...command... [INFO]: ==14326== [INFO]: ==14326== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14326== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14326== and then give GDB the following command [INFO]: ==14326== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14326 [INFO]: ==14326== --pid is optional if only one valgrind process is running [INFO]: ==14326== [INFO]: --14326-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14326-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14326-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14326-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14326-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14326-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14326-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14326-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14326-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14326-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14326-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14326-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14326-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14326-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14326-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14326-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14326-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14326-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14326-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14326-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14326-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14326-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14326-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14326-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14326-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14326-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14326-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14326-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14326-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14326-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14326-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14326-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14326-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14326-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14326-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14326-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14326-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14326-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14326-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14326-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14326== [INFO]: ==14326== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14326== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14326== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14326== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14326== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14326== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14326== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14326== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14326== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14326== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14326== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14326== by 0x4001035: main (clamd.c:223) [INFO]: ==14326== [INFO]: ==14326== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14326== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14326== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14326== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14326== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14326== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14326== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14326== by 0x4001035: main (clamd.c:223) [INFO]: ==14326== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14326== [INFO]: ==14326== HEAP SUMMARY: [INFO]: ==14326== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14326== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14326== [INFO]: ==14326== Searching for pointers to 414 not-freed blocks [INFO]: ==14326== Checked 307,456 bytes [INFO]: ==14326== [INFO]: ==14326== LEAK SUMMARY: [INFO]: ==14326== definitely lost: 0 bytes in 0 blocks [INFO]: ==14326== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14326== possibly lost: 0 bytes in 0 blocks [INFO]: ==14326== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14326== suppressed: 0 bytes in 0 blocks [INFO]: ==14326== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14326== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14326== [INFO]: ==14326== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________ ERROR at teardown of TC.test_clamd_05_check_clamd _______________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + check_clamd [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PING timeout exceeded; No response from clamd [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14333== Memcheck, a memory error detector [INFO]: ==14333== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14333== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14333== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14333== Parent PID: 14284 [INFO]: ==14333== [INFO]: --14333-- [INFO]: --14333-- Valgrind options: [INFO]: --14333-- -v [INFO]: --14333-- --trace-children=yes [INFO]: --14333-- --track-fds=yes [INFO]: --14333-- --leak-check=full [INFO]: --14333-- --show-possibly-lost=no [INFO]: --14333-- --show-leak-kinds=definite [INFO]: --14333-- --errors-for-leak-kinds=definite [INFO]: --14333-- --main-stacksize=16777216 [INFO]: --14333-- --gen-suppressions=all [INFO]: --14333-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14333-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14333-- --error-exitcode=123 [INFO]: --14333-- Contents of /proc/version: [INFO]: --14333-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14333-- [INFO]: --14333-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14333-- Page sizes: currently 4096, max supported 4096 [INFO]: --14333-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14333-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14333-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14333-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14333-- object doesn't have a dynamic symbol table [INFO]: --14333-- Scheduler: using generic scheduler lock implementation. [INFO]: --14333-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14333-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14333== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14333-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14333== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14333-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14333== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14333-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14333== [INFO]: ==14333== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14333== don't want to do, unless you know exactly what you're doing, [INFO]: ==14333== or are doing some strange experiment): [INFO]: ==14333== /usr/libexec/valgrind/../../bin/vgdb --pid=14333 ...command... [INFO]: ==14333== [INFO]: ==14333== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14333== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14333== and then give GDB the following command [INFO]: ==14333== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14333 [INFO]: ==14333== --pid is optional if only one valgrind process is running [INFO]: ==14333== [INFO]: --14333-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14333-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14333-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14333-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14333-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14333-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14333-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14333-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14333-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14333-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14333-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14333-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14333-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14333-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14333-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14333-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14333-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14333-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14333-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14333-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14333-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14333-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14333-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14333-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14333-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14333-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14333-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14333-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14333-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14333-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14333-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14333-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14333-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14333-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14333-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14333-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14333-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14333-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14333-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14333-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14333== [INFO]: ==14333== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14333== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14333== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14333== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14333== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14333== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14333== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14333== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14333== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14333== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14333== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14333== by 0x4001035: main (clamd.c:223) [INFO]: ==14333== [INFO]: ==14333== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14333== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14333== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14333== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14333== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14333== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14333== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14333== by 0x4001035: main (clamd.c:223) [INFO]: ==14333== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14333== [INFO]: ==14333== HEAP SUMMARY: [INFO]: ==14333== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14333== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14333== [INFO]: ==14333== Searching for pointers to 414 not-freed blocks [INFO]: ==14333== Checked 307,456 bytes [INFO]: ==14333== [INFO]: ==14333== LEAK SUMMARY: [INFO]: ==14333== definitely lost: 0 bytes in 0 blocks [INFO]: ==14333== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14333== possibly lost: 0 bytes in 0 blocks [INFO]: ==14333== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14333== suppressed: 0 bytes in 0 blocks [INFO]: ==14333== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14333== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14333== [INFO]: ==14333== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _ ERROR at teardown of TC.test_clamd_05a_quarantine_copy_uses_real_source_path _ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamdscan --copy keeps the display path while quarantining the real source path [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait --copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-link-quarantine -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-link-source [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.003 sec (0 m 4 s) Start Date: 2026:08:11 13:26:09 End Date: 2026:08:11 13:26:14 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14340== Memcheck, a memory error detector [INFO]: ==14340== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14340== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14340== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf [INFO]: ==14340== Parent PID: 14284 [INFO]: ==14340== [INFO]: --14340-- [INFO]: --14340-- Valgrind options: [INFO]: --14340-- -v [INFO]: --14340-- --trace-children=yes [INFO]: --14340-- --track-fds=yes [INFO]: --14340-- --leak-check=full [INFO]: --14340-- --show-possibly-lost=no [INFO]: --14340-- --show-leak-kinds=definite [INFO]: --14340-- --errors-for-leak-kinds=definite [INFO]: --14340-- --main-stacksize=16777216 [INFO]: --14340-- --gen-suppressions=all [INFO]: --14340-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14340-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14340-- --error-exitcode=123 [INFO]: --14340-- Contents of /proc/version: [INFO]: --14340-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14340-- [INFO]: --14340-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14340-- Page sizes: currently 4096, max supported 4096 [INFO]: --14340-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14340-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14340-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14340-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14340-- object doesn't have a dynamic symbol table [INFO]: --14340-- Scheduler: using generic scheduler lock implementation. [INFO]: --14340-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14340-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14340== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14340-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14340== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14340-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14340== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14340-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14340== [INFO]: ==14340== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14340== don't want to do, unless you know exactly what you're doing, [INFO]: ==14340== or are doing some strange experiment): [INFO]: ==14340== /usr/libexec/valgrind/../../bin/vgdb --pid=14340 ...command... [INFO]: ==14340== [INFO]: ==14340== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14340== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14340== and then give GDB the following command [INFO]: ==14340== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14340 [INFO]: ==14340== --pid is optional if only one valgrind process is running [INFO]: ==14340== [INFO]: --14340-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14340-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14340-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14340-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14340-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14340-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14340-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14340-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14340-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14340-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14340-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14340-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14340-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14340-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14340-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14340-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14340-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14340-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14340-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14340-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14340-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14340-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14340-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14340-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14340-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14340-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14340-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14340-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14340-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14340-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14340-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14340-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14340-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14340-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14340-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14340-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14340-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14340-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14340-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14340-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14340== [INFO]: ==14340== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14340== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14340== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14340== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14340== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14340== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14340== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14340== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14340== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14340== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14340== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14340== by 0x4001035: main (clamd.c:223) [INFO]: ==14340== [INFO]: ==14340== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14340== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf [INFO]: ==14340== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14340== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14340== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14340== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14340== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14340== by 0x4001035: main (clamd.c:223) [INFO]: ==14340== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14340== [INFO]: ==14340== HEAP SUMMARY: [INFO]: ==14340== in use at exit: 25,636 bytes in 414 blocks [INFO]: ==14340== total heap usage: 455 allocs, 41 frees, 37,169 bytes allocated [INFO]: ==14340== [INFO]: ==14340== Searching for pointers to 414 not-freed blocks [INFO]: ==14340== Checked 307,456 bytes [INFO]: ==14340== [INFO]: ==14340== LEAK SUMMARY: [INFO]: ==14340== definitely lost: 0 bytes in 0 blocks [INFO]: ==14340== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14340== possibly lost: 0 bytes in 0 blocks [INFO]: ==14340== still reachable: 25,636 bytes in 414 blocks [INFO]: ==14340== suppressed: 0 bytes in 0 blocks [INFO]: ==14340== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14340== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14340== [INFO]: ==14340== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _ ERROR at teardown of TC.test_clamd_05b_quarantine_copy_modes_use_real_source_path _ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamdscan --copy source binding across scan modes [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait --copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-quarantine-default -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link/payload-link [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.003 sec (0 m 4 s) Start Date: 2026:08:11 13:26:20 End Date: 2026:08:11 13:26:24 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14343== Memcheck, a memory error detector [INFO]: ==14343== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14343== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14343== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf [INFO]: ==14343== Parent PID: 14284 [INFO]: ==14343== [INFO]: --14343-- [INFO]: --14343-- Valgrind options: [INFO]: --14343-- -v [INFO]: --14343-- --trace-children=yes [INFO]: --14343-- --track-fds=yes [INFO]: --14343-- --leak-check=full [INFO]: --14343-- --show-possibly-lost=no [INFO]: --14343-- --show-leak-kinds=definite [INFO]: --14343-- --errors-for-leak-kinds=definite [INFO]: --14343-- --main-stacksize=16777216 [INFO]: --14343-- --gen-suppressions=all [INFO]: --14343-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14343-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14343-- --error-exitcode=123 [INFO]: --14343-- Contents of /proc/version: [INFO]: --14343-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14343-- [INFO]: --14343-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14343-- Page sizes: currently 4096, max supported 4096 [INFO]: --14343-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14343-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14343-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14343-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14343-- object doesn't have a dynamic symbol table [INFO]: --14343-- Scheduler: using generic scheduler lock implementation. [INFO]: --14343-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14343-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14343== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14343-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14343== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14343-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14343== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14343-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14343== [INFO]: ==14343== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14343== don't want to do, unless you know exactly what you're doing, [INFO]: ==14343== or are doing some strange experiment): [INFO]: ==14343== /usr/libexec/valgrind/../../bin/vgdb --pid=14343 ...command... [INFO]: ==14343== [INFO]: ==14343== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14343== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14343== and then give GDB the following command [INFO]: ==14343== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14343 [INFO]: ==14343== --pid is optional if only one valgrind process is running [INFO]: ==14343== [INFO]: --14343-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14343-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14343-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14343-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14343-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14343-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14343-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14343-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14343-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14343-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14343-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14343-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14343-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14343-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14343-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14343-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14343-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14343-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14343-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14343-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14343-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14343-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14343-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14343-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14343-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14343-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14343-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14343-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14343-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14343-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14343-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14343-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14343-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14343-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14343-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14343-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14343-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14343-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14343-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14343-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14343== [INFO]: ==14343== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14343== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14343== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14343== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14343== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14343== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14343== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14343== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14343== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14343== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14343== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14343== by 0x4001035: main (clamd.c:223) [INFO]: ==14343== [INFO]: ==14343== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14343== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf [INFO]: ==14343== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14343== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14343== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14343== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14343== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14343== by 0x4001035: main (clamd.c:223) [INFO]: ==14343== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14343== [INFO]: ==14343== HEAP SUMMARY: [INFO]: ==14343== in use at exit: 25,630 bytes in 414 blocks [INFO]: ==14343== total heap usage: 455 allocs, 41 frees, 37,163 bytes allocated [INFO]: ==14343== [INFO]: ==14343== Searching for pointers to 414 not-freed blocks [INFO]: ==14343== Checked 307,440 bytes [INFO]: ==14343== [INFO]: ==14343== LEAK SUMMARY: [INFO]: ==14343== definitely lost: 0 bytes in 0 blocks [INFO]: ==14343== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14343== possibly lost: 0 bytes in 0 blocks [INFO]: ==14343== still reachable: 25,630 bytes in 414 blocks [INFO]: ==14343== suppressed: 0 bytes in 0 blocks [INFO]: ==14343== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14343== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14343== [INFO]: ==14343== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______ ERROR at teardown of TC.test_clamd_06_HeuristicScanPrecedence_off _______ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ HeuristicScanPrecedence no (default) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.013 sec (0 m 4 s) Start Date: 2026:08:11 13:26:31 End Date: 2026:08:11 13:26:35 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14352== Memcheck, a memory error detector [INFO]: ==14352== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14352== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14352== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14352== Parent PID: 14284 [INFO]: ==14352== [INFO]: --14352-- [INFO]: --14352-- Valgrind options: [INFO]: --14352-- -v [INFO]: --14352-- --trace-children=yes [INFO]: --14352-- --track-fds=yes [INFO]: --14352-- --leak-check=full [INFO]: --14352-- --show-possibly-lost=no [INFO]: --14352-- --show-leak-kinds=definite [INFO]: --14352-- --errors-for-leak-kinds=definite [INFO]: --14352-- --main-stacksize=16777216 [INFO]: --14352-- --gen-suppressions=all [INFO]: --14352-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14352-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14352-- --error-exitcode=123 [INFO]: --14352-- Contents of /proc/version: [INFO]: --14352-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14352-- [INFO]: --14352-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14352-- Page sizes: currently 4096, max supported 4096 [INFO]: --14352-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14352-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14352-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14352-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14352-- object doesn't have a dynamic symbol table [INFO]: --14352-- Scheduler: using generic scheduler lock implementation. [INFO]: --14352-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14352-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14352== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14352-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14352== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14352-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14352== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14352-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14352== [INFO]: ==14352== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14352== don't want to do, unless you know exactly what you're doing, [INFO]: ==14352== or are doing some strange experiment): [INFO]: ==14352== /usr/libexec/valgrind/../../bin/vgdb --pid=14352 ...command... [INFO]: ==14352== [INFO]: ==14352== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14352== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14352== and then give GDB the following command [INFO]: ==14352== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14352 [INFO]: ==14352== --pid is optional if only one valgrind process is running [INFO]: ==14352== [INFO]: --14352-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14352-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14352-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14352-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14352-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14352-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14352-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14352-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14352-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14352-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14352-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14352-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14352-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14352-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14352-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14352-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14352-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14352-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14352-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14352-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14352-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14352-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14352-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14352-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14352-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14352-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14352-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14352-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14352-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14352-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14352-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14352-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14352-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14352-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14352-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14352-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14352-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14352-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14352-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14352-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14352== [INFO]: ==14352== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14352== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14352== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14352== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14352== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14352== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14352== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14352== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14352== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14352== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14352== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14352== by 0x4001035: main (clamd.c:223) [INFO]: ==14352== [INFO]: ==14352== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14352== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14352== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14352== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14352== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14352== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14352== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14352== by 0x4001035: main (clamd.c:223) [INFO]: ==14352== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14352== [INFO]: ==14352== HEAP SUMMARY: [INFO]: ==14352== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14352== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14352== [INFO]: ==14352== Searching for pointers to 414 not-freed blocks [INFO]: ==14352== Checked 307,472 bytes [INFO]: ==14352== [INFO]: ==14352== LEAK SUMMARY: [INFO]: ==14352== definitely lost: 0 bytes in 0 blocks [INFO]: ==14352== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14352== possibly lost: 0 bytes in 0 blocks [INFO]: ==14352== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14352== suppressed: 0 bytes in 0 blocks [INFO]: ==14352== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14352== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14352== [INFO]: ==14352== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______ ERROR at teardown of TC.test_clamd_07_HeuristicScanPrecedence_on _______ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ HeuristicScanPrecedence yes [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.012 sec (0 m 4 s) Start Date: 2026:08:11 13:26:42 End Date: 2026:08:11 13:26:46 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14355== Memcheck, a memory error detector [INFO]: ==14355== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14355== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14355== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14355== Parent PID: 14284 [INFO]: ==14355== [INFO]: --14355-- [INFO]: --14355-- Valgrind options: [INFO]: --14355-- -v [INFO]: --14355-- --trace-children=yes [INFO]: --14355-- --track-fds=yes [INFO]: --14355-- --leak-check=full [INFO]: --14355-- --show-possibly-lost=no [INFO]: --14355-- --show-leak-kinds=definite [INFO]: --14355-- --errors-for-leak-kinds=definite [INFO]: --14355-- --main-stacksize=16777216 [INFO]: --14355-- --gen-suppressions=all [INFO]: --14355-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14355-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14355-- --error-exitcode=123 [INFO]: --14355-- Contents of /proc/version: [INFO]: --14355-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14355-- [INFO]: --14355-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14355-- Page sizes: currently 4096, max supported 4096 [INFO]: --14355-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14355-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14355-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14355-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14355-- object doesn't have a dynamic symbol table [INFO]: --14355-- Scheduler: using generic scheduler lock implementation. [INFO]: --14355-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14355-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14355== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14355-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14355== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14355-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14355== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14355-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14355== [INFO]: ==14355== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14355== don't want to do, unless you know exactly what you're doing, [INFO]: ==14355== or are doing some strange experiment): [INFO]: ==14355== /usr/libexec/valgrind/../../bin/vgdb --pid=14355 ...command... [INFO]: ==14355== [INFO]: ==14355== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14355== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14355== and then give GDB the following command [INFO]: ==14355== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14355 [INFO]: ==14355== --pid is optional if only one valgrind process is running [INFO]: ==14355== [INFO]: --14355-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14355-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14355-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14355-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14355-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14355-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14355-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14355-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14355-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14355-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14355-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14355-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14355-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14355-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14355-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14355-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14355-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14355-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14355-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14355-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14355-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14355-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14355-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14355-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14355-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14355-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14355-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14355-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14355-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14355-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14355-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14355-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14355-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14355-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14355-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14355-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14355-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14355-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14355-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14355-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14355== [INFO]: ==14355== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14355== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14355== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14355== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14355== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14355== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14355== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14355== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14355== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14355== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14355== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14355== by 0x4001035: main (clamd.c:223) [INFO]: ==14355== [INFO]: ==14355== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14355== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14355== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14355== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14355== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14355== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14355== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14355== by 0x4001035: main (clamd.c:223) [INFO]: ==14355== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14355== [INFO]: ==14355== HEAP SUMMARY: [INFO]: ==14355== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14355== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14355== [INFO]: ==14355== Searching for pointers to 414 not-freed blocks [INFO]: ==14355== Checked 307,528 bytes [INFO]: ==14355== [INFO]: ==14355== LEAK SUMMARY: [INFO]: ==14355== definitely lost: 0 bytes in 0 blocks [INFO]: ==14355== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14355== possibly lost: 0 bytes in 0 blocks [INFO]: ==14355== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14355== suppressed: 0 bytes in 0 blocks [INFO]: ==14355== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14355== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14355== [INFO]: ==14355== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _______________ ERROR at teardown of TC.test_clamd_08_VirusEvent _______________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ VirusEvent [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.017 sec (0 m 4 s) Start Date: 2026:08:11 13:26:53 End Date: 2026:08:11 13:26:57 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14362== Memcheck, a memory error detector [INFO]: ==14362== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14362== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14362== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14362== Parent PID: 14284 [INFO]: ==14362== [INFO]: --14362-- [INFO]: --14362-- Valgrind options: [INFO]: --14362-- -v [INFO]: --14362-- --trace-children=yes [INFO]: --14362-- --track-fds=yes [INFO]: --14362-- --leak-check=full [INFO]: --14362-- --show-possibly-lost=no [INFO]: --14362-- --show-leak-kinds=definite [INFO]: --14362-- --errors-for-leak-kinds=definite [INFO]: --14362-- --main-stacksize=16777216 [INFO]: --14362-- --gen-suppressions=all [INFO]: --14362-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14362-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14362-- --error-exitcode=123 [INFO]: --14362-- Contents of /proc/version: [INFO]: --14362-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14362-- [INFO]: --14362-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14362-- Page sizes: currently 4096, max supported 4096 [INFO]: --14362-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14362-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14362-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14362-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14362-- object doesn't have a dynamic symbol table [INFO]: --14362-- Scheduler: using generic scheduler lock implementation. [INFO]: --14362-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14362-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14362== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14362-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14362== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14362-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14362== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14362-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14362== [INFO]: ==14362== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14362== don't want to do, unless you know exactly what you're doing, [INFO]: ==14362== or are doing some strange experiment): [INFO]: ==14362== /usr/libexec/valgrind/../../bin/vgdb --pid=14362 ...command... [INFO]: ==14362== [INFO]: ==14362== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14362== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14362== and then give GDB the following command [INFO]: ==14362== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14362 [INFO]: ==14362== --pid is optional if only one valgrind process is running [INFO]: ==14362== [INFO]: --14362-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14362-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14362-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14362-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14362-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14362-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14362-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14362-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14362-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14362-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14362-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14362-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14362-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14362-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14362-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14362-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14362-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14362-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14362-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14362-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14362-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14362-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14362-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14362-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14362-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14362-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14362-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14362-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14362-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14362-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14362-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14362-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14362-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14362-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14362-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14362-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14362-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14362-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14362-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14362-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14362== [INFO]: ==14362== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14362== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14362== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14362== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14362== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14362== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14362== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14362== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14362== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14362== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14362== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14362== by 0x4001035: main (clamd.c:223) [INFO]: ==14362== [INFO]: ==14362== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14362== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14362== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14362== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14362== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14362== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14362== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14362== by 0x4001035: main (clamd.c:223) [INFO]: ==14362== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14362== [INFO]: ==14362== HEAP SUMMARY: [INFO]: ==14362== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14362== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14362== [INFO]: ==14362== Searching for pointers to 414 not-freed blocks [INFO]: ==14362== Checked 307,728 bytes [INFO]: ==14362== [INFO]: ==14362== LEAK SUMMARY: [INFO]: ==14362== definitely lost: 0 bytes in 0 blocks [INFO]: ==14362== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14362== possibly lost: 0 bytes in 0 blocks [INFO]: ==14362== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14362== suppressed: 0 bytes in 0 blocks [INFO]: ==14362== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14362== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14362== [INFO]: ==14362== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________ ERROR at teardown of TC.test_clamd_09_clamdscan_ExcludePath __________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ ExcludePath [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf Tue Aug 11 13:27:03 2026 -> Limits: Global time limit set to 120000 milliseconds. Tue Aug 11 13:27:03 2026 -> Limits: Global size limit set to 419430400 bytes. Tue Aug 11 13:27:03 2026 -> Limits: File size limit set to 104857600 bytes. Tue Aug 11 13:27:03 2026 -> Limits: Recursion level limit set to 17. Tue Aug 11 13:27:03 2026 -> Limits: Files limit set to 10000. Tue Aug 11 13:27:03 2026 -> Limits: Core-dump limit is 0. Tue Aug 11 13:27:03 2026 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxPartitions limit set to 50. Tue Aug 11 13:27:03 2026 -> Limits: MaxIconsPE limit set to 100. Tue Aug 11 13:27:03 2026 -> Limits: MaxRecHWP3 limit set to 16. Tue Aug 11 13:27:03 2026 -> Limits: PCREMatchLimit limit set to 100000. Tue Aug 11 13:27:03 2026 -> Limits: PCRERecMatchLimit limit set to 2000. Tue Aug 11 13:27:03 2026 -> Limits: PCREMaxFileSize limit set to 104857600. Tue Aug 11 13:27:03 2026 -> Archive support enabled. Tue Aug 11 13:27:03 2026 -> Image (graphics) scanning support enabled. Tue Aug 11 13:27:03 2026 -> Detection using image fuzzy hash enabled. Tue Aug 11 13:27:03 2026 -> AlertExceedsMax heuristic detection disabled. Tue Aug 11 13:27:03 2026 -> Heuristic alerts enabled. Tue Aug 11 13:27:03 2026 -> Portable Executable support enabled. Tue Aug 11 13:27:03 2026 -> ELF support enabled. Tue Aug 11 13:27:03 2026 -> Mail files support enabled. Tue Aug 11 13:27:03 2026 -> OLE2 support enabled. Tue Aug 11 13:27:03 2026 -> PDF support enabled. Tue Aug 11 13:27:03 2026 -> SWF support enabled. Tue Aug 11 13:27:03 2026 -> HTML support enabled. Tue Aug 11 13:27:03 2026 -> XMLDOCS support enabled. Tue Aug 11 13:27:03 2026 -> HWP3 support enabled. Tue Aug 11 13:27:03 2026 -> OneNote support enabled. Tue Aug 11 13:27:03 2026 -> Heuristic: precedence enabled Tue Aug 11 13:27:03 2026 -> Self checking every 600 seconds. Tue Aug 11 13:27:03 2026 -> Listening daemon: PID: 14369 Tue Aug 11 13:27:03 2026 -> MaxQueue set to: 800 Tue Aug 11 13:27:10 2026 -> Not supported file type: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.socket Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/reload-testfile: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-link-target: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.pid: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/database/clamav.hdb: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/database/daily.pdb: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-link-db/trigger.hdb: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link/payload.bin: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-db/trigger.hdb: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 2 Time: 0.189 sec (0 m 0 s) Start Date: 2026:08:11 13:27:10 End Date: 2026:08:11 13:27:10 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14371== Memcheck, a memory error detector [INFO]: ==14371== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14371== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14371== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14371== Parent PID: 14284 [INFO]: ==14371== [INFO]: --14371-- [INFO]: --14371-- Valgrind options: [INFO]: --14371-- -v [INFO]: --14371-- --trace-children=yes [INFO]: --14371-- --track-fds=yes [INFO]: --14371-- --leak-check=full [INFO]: --14371-- --show-possibly-lost=no [INFO]: --14371-- --show-leak-kinds=definite [INFO]: --14371-- --errors-for-leak-kinds=definite [INFO]: --14371-- --main-stacksize=16777216 [INFO]: --14371-- --gen-suppressions=all [INFO]: --14371-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14371-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14371-- --error-exitcode=123 [INFO]: --14371-- Contents of /proc/version: [INFO]: --14371-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14371-- [INFO]: --14371-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14371-- Page sizes: currently 4096, max supported 4096 [INFO]: --14371-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --14371-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14371-- object doesn't have a dynamic symbol table [INFO]: --14371-- Scheduler: using generic scheduler lock implementation. [INFO]: --14371-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14371-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14371== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== [INFO]: ==14371== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14371== don't want to do, unless you know exactly what you're doing, [INFO]: ==14371== or are doing some strange experiment): [INFO]: ==14371== /usr/libexec/valgrind/../../bin/vgdb --pid=14371 ...command... [INFO]: ==14371== [INFO]: ==14371== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14371== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==14371== and then give GDB the following command [INFO]: ==14371== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14371 [INFO]: ==14371== --pid is optional if only one valgrind process is running [INFO]: ==14371== [INFO]: --14371-- REDIR: 0x4045e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14371-- REDIR: 0x40462ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14371-- REDIR: 0x4045e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14371-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14371-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14371-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14371-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14371-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14371-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14371-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14371-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14371-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14371-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14371-- REDIR: 0x512fc62 (libc.so.6:memchr) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x513042a (libc.so.6:memmove) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132724 (libc.so.6:strncpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132572 (libc.so.6:strlen) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x513200e (libc.so.6:strcpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x512fcd4 (libc.so.6:bcmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51311f6 (libc.so.6:strcat) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51326d0 (libc.so.6:strncmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5130918 (libc.so.6:stpncpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132846 (libc.so.6:rindex) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5131268 (libc.so.6:index) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x512fd46 (libc.so.6:memcpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51306b4 (libc.so.6:memset) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5131434 (libc.so.6:strcmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5136a76 (libc.so.6:__strrchr_generic) redirected to 0x486b152 (rindex) [INFO]: --14371-- REDIR: 0x513643e (libc.so.6:__strlen_generic) redirected to 0x486b7d4 (strlen) [INFO]: --14371-- REDIR: 0x5136582 (libc.so.6:__strncmp_generic) redirected to 0x486bed8 (strncmp) [INFO]: --14371-- REDIR: 0x512cca2 (libc.so.6:malloc) redirected to 0x48637fa (malloc) [INFO]: --14371-- REDIR: 0x5180128 (libc.so.6:__memcpy_chk) redirected to 0x486f996 (__memcpy_chk) [INFO]: --14371-- REDIR: 0x51360c2 (libc.so.6:__strchr_generic) redirected to 0x486b322 (index) [INFO]: --14371-- REDIR: 0x5136122 (libc.so.6:__strcmp_generic) redirected to 0x486c598 (strcmp) [INFO]: --14371-- REDIR: 0x512d0e2 (libc.so.6:free) redirected to 0x4866144 (free) [INFO]: --14371-- REDIR: 0x5135d0a (libc.so.6:__memmove_generic) redirected to 0x486ead0 (memmove) [INFO]: --14371-- REDIR: 0x512d8ec (libc.so.6:calloc) redirected to 0x4869b56 (calloc) [INFO]: --14371-- REDIR: 0x5132f50 (libc.so.6:strstr) redirected to 0x486fa6a (strstr) [INFO]: --14371-- REDIR: 0x51354e6 (libc.so.6:__memchr_generic) redirected to 0x486c6ac (memchr) [INFO]: --14371-- REDIR: 0x5135ad6 (libc.so.6:__memcpy_generic) redirected to 0x486cd04 (memcpy) [INFO]: --14371-- REDIR: 0x513281c (libc.so.6:strpbrk) redirected to 0x486fb90 (strpbrk) [INFO]: --14371-- REDIR: 0x5135eb6 (libc.so.6:__memset_generic) redirected to 0x486ea26 (memset) [INFO]: --14371-- REDIR: 0x512d390 (libc.so.6:realloc) redirected to 0x4869d14 (realloc) [INFO]: --14371-- REDIR: 0x513098a (libc.so.6:strcasecmp) redirected to 0x486c0dc (strcasecmp) [INFO]: --14371-- REDIR: 0x51369ca (libc.so.6:__strncpy_generic) redirected to 0x486ba42 (strncpy) [INFO]: --14371-- REDIR: 0x513570a (libc.so.6:__memcmp_generic) redirected to 0x486e376 (bcmp) [INFO]: --14371-- REDIR: 0x51312da (libc.so.6:strchrnul) redirected to 0x486f388 (strchrnul) [INFO]: ==14371== [INFO]: ==14371== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14371== Open AF_UNIX socket 3: [INFO]: ==14371== at 0x5177E7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14371== by 0x40057F5: dconnect (clamdcom.c:350) [INFO]: ==14371== by 0x400169D: ping_clamd (client.c:223) [INFO]: ==14371== by 0x4001CF9: client (client.c:388) [INFO]: ==14371== by 0x4000E43: main (clamdscan.c:169) [INFO]: ==14371== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:client [INFO]: fun:main [INFO]: } [INFO]: ==14371== [INFO]: ==14371== HEAP SUMMARY: [INFO]: ==14371== in use at exit: 0 bytes in 0 blocks [INFO]: ==14371== total heap usage: 877 allocs, 877 frees, 68,510 bytes allocated [INFO]: ==14371== [INFO]: ==14371== All heap blocks were freed -- no leaks are possible [INFO]: ==14371== [INFO]: ==14371== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Tue Aug 11 13:27:11 2026 -> Waiting for all threads to finish Tue Aug 11 13:27:11 2026 -> Shutting down the main sockets. Tue Aug 11 13:27:11 2026 -> Pid file removed. Tue Aug 11 13:27:11 2026 -> --- Stopped at Tue Aug 11 13:27:11 2026 Tue Aug 11 13:27:11 2026 -> Closing the main sockets. Tue Aug 11 13:27:11 2026 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14371== Memcheck, a memory error detector [INFO]: ==14371== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14371== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14371== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14371== Parent PID: 14284 [INFO]: ==14371== [INFO]: --14371-- [INFO]: --14371-- Valgrind options: [INFO]: --14371-- -v [INFO]: --14371-- --trace-children=yes [INFO]: --14371-- --track-fds=yes [INFO]: --14371-- --leak-check=full [INFO]: --14371-- --show-possibly-lost=no [INFO]: --14371-- --show-leak-kinds=definite [INFO]: --14371-- --errors-for-leak-kinds=definite [INFO]: --14371-- --main-stacksize=16777216 [INFO]: --14371-- --gen-suppressions=all [INFO]: --14371-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14371-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14371-- --error-exitcode=123 [INFO]: --14371-- Contents of /proc/version: [INFO]: --14371-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14371-- [INFO]: --14371-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14371-- Page sizes: currently 4096, max supported 4096 [INFO]: --14371-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --14371-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14371-- object doesn't have a dynamic symbol table [INFO]: --14371-- Scheduler: using generic scheduler lock implementation. [INFO]: --14371-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14371-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14371== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== [INFO]: ==14371== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14371== don't want to do, unless you know exactly what you're doing, [INFO]: ==14371== or are doing some strange experiment): [INFO]: ==14371== /usr/libexec/valgrind/../../bin/vgdb --pid=14371 ...command... [INFO]: ==14371== [INFO]: ==14371== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14371== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==14371== and then give GDB the following command [INFO]: ==14371== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14371 [INFO]: ==14371== --pid is optional if only one valgrind process is running [INFO]: ==14371== [INFO]: --14371-- REDIR: 0x4045e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14371-- REDIR: 0x40462ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14371-- REDIR: 0x4045e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14371-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14371-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14371-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14371-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14371-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14371-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14371-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14371-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14371-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14371-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14371-- REDIR: 0x512fc62 (libc.so.6:memchr) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x513042a (libc.so.6:memmove) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132724 (libc.so.6:strncpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132572 (libc.so.6:strlen) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x513200e (libc.so.6:strcpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x512fcd4 (libc.so.6:bcmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51311f6 (libc.so.6:strcat) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51326d0 (libc.so.6:strncmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5130918 (libc.so.6:stpncpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132846 (libc.so.6:rindex) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5131268 (libc.so.6:index) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x512fd46 (libc.so.6:memcpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51306b4 (libc.so.6:memset) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5131434 (libc.so.6:strcmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5136a76 (libc.so.6:__strrchr_generic) redirected to 0x486b152 (rindex) [INFO]: --14371-- REDIR: 0x513643e (libc.so.6:__strlen_generic) redirected to 0x486b7d4 (strlen) [INFO]: --14371-- REDIR: 0x5136582 (libc.so.6:__strncmp_generic) redirected to 0x486bed8 (strncmp) [INFO]: --14371-- REDIR: 0x512cca2 (libc.so.6:malloc) redirected to 0x48637fa (malloc) [INFO]: --14371-- REDIR: 0x5180128 (libc.so.6:__memcpy_chk) redirected to 0x486f996 (__memcpy_chk) [INFO]: --14371-- REDIR: 0x51360c2 (libc.so.6:__strchr_generic) redirected to 0x486b322 (index) [INFO]: --14371-- REDIR: 0x5136122 (libc.so.6:__strcmp_generic) redirected to 0x486c598 (strcmp) [INFO]: --14371-- REDIR: 0x512d0e2 (libc.so.6:free) redirected to 0x4866144 (free) [INFO]: --14371-- REDIR: 0x5135d0a (libc.so.6:__memmove_generic) redirected to 0x486ead0 (memmove) [INFO]: --14371-- REDIR: 0x512d8ec (libc.so.6:calloc) redirected to 0x4869b56 (calloc) [INFO]: --14371-- REDIR: 0x5132f50 (libc.so.6:strstr) redirected to 0x486fa6a (strstr) [INFO]: --14371-- REDIR: 0x51354e6 (libc.so.6:__memchr_generic) redirected to 0x486c6ac (memchr) [INFO]: --14371-- REDIR: 0x5135ad6 (libc.so.6:__memcpy_generic) redirected to 0x486cd04 (memcpy) [INFO]: --14371-- REDIR: 0x513281c (libc.so.6:strpbrk) redirected to 0x486fb90 (strpbrk) [INFO]: --14371-- REDIR: 0x5135eb6 (libc.so.6:__memset_generic) redirected to 0x486ea26 (memset) [INFO]: --14371-- REDIR: 0x512d390 (libc.so.6:realloc) redirected to 0x4869d14 (realloc) [INFO]: --14371-- REDIR: 0x513098a (libc.so.6:strcasecmp) redirected to 0x486c0dc (strcasecmp) [INFO]: --14371-- REDIR: 0x51369ca (libc.so.6:__strncpy_generic) redirected to 0x486ba42 (strncpy) [INFO]: --14371-- REDIR: 0x513570a (libc.so.6:__memcmp_generic) redirected to 0x486e376 (bcmp) [INFO]: --14371-- REDIR: 0x51312da (libc.so.6:strchrnul) redirected to 0x486f388 (strchrnul) [INFO]: ==14371== [INFO]: ==14371== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14371== Open AF_UNIX socket 3: [INFO]: ==14371== at 0x5177E7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14371== by 0x40057F5: dconnect (clamdcom.c:350) [INFO]: ==14371== by 0x400169D: ping_clamd (client.c:223) [INFO]: ==14371== by 0x4001CF9: client (client.c:388) [INFO]: ==14371== by 0x4000E43: main (clamdscan.c:169) [INFO]: ==14371== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:client [INFO]: fun:main [INFO]: } [INFO]: ==14371== [INFO]: ==14371== HEAP SUMMARY: [INFO]: ==14371== in use at exit: 0 bytes in 0 blocks [INFO]: ==14371== total heap usage: 877 allocs, 877 frees, 68,510 bytes allocated [INFO]: ==14371== [INFO]: ==14371== All heap blocks were freed -- no leaks are possible [INFO]: ==14371== [INFO]: ==14371== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) __________ ERROR at teardown of TC.test_clamd_10_allmatch_not_sticky ___________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamdscan --allmatch is not sticky [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf --wait --ping 10 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/pe_allmatch/test.exe LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 9.022 sec (0 m 9 s) Start Date: 2026:08:11 13:27:14 End Date: 2026:08:11 13:27:23 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14378== Memcheck, a memory error detector [INFO]: ==14378== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14378== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14378== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14378== Parent PID: 14284 [INFO]: ==14378== [INFO]: --14378-- [INFO]: --14378-- Valgrind options: [INFO]: --14378-- -v [INFO]: --14378-- --trace-children=yes [INFO]: --14378-- --track-fds=yes [INFO]: --14378-- --leak-check=full [INFO]: --14378-- --show-possibly-lost=no [INFO]: --14378-- --show-leak-kinds=definite [INFO]: --14378-- --errors-for-leak-kinds=definite [INFO]: --14378-- --main-stacksize=16777216 [INFO]: --14378-- --gen-suppressions=all [INFO]: --14378-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14378-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14378-- --error-exitcode=123 [INFO]: --14378-- Contents of /proc/version: [INFO]: --14378-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14378-- [INFO]: --14378-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14378-- Page sizes: currently 4096, max supported 4096 [INFO]: --14378-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14378-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14378-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14378-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14378-- object doesn't have a dynamic symbol table [INFO]: --14378-- Scheduler: using generic scheduler lock implementation. [INFO]: --14378-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14378-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14378== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14378-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14378== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14378-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14378== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14378-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14378== [INFO]: ==14378== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14378== don't want to do, unless you know exactly what you're doing, [INFO]: ==14378== or are doing some strange experiment): [INFO]: ==14378== /usr/libexec/valgrind/../../bin/vgdb --pid=14378 ...command... [INFO]: ==14378== [INFO]: ==14378== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14378== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14378== and then give GDB the following command [INFO]: ==14378== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14378 [INFO]: ==14378== --pid is optional if only one valgrind process is running [INFO]: ==14378== [INFO]: --14378-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14378-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14378-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14378-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14378-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14378-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14378-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14378-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14378-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14378-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14378-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14378-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14378-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14378-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14378-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14378-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14378-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14378-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14378-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14378-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14378-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14378-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14378-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14378-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14378-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14378-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14378-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14378-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14378-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14378-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14378-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14378-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14378-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14378-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14378-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14378-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14378-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14378-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14378-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14378-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: --14378-- REDIR: 0x513c9ca (libc.so.6:__strncpy_generic) redirected to 0x4871a42 (strncpy) [INFO]: --14378-- REDIR: 0x5138496 (libc.so.6:strlcat) redirected to 0x4871656 (strlcat) [INFO]: --14378-- REDIR: 0x518662a (libc.so.6:__stpcpy_chk) redirected to 0x4875430 (__stpcpy_chk) [INFO]: --14378-- REDIR: 0x51866d2 (libc.so.6:__strcpy_chk) redirected to 0x48753fa (__strcpy_chk) [INFO]: --14378-- REDIR: 0x513862c (libc.so.6:strncasecmp_l) redirected to 0x48723e8 (strncasecmp_l) [INFO]: ==14378== [INFO]: ==14378== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14378== at 0x517527A: __read_nocancel (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511E215: _IO_file_underflow@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511FF15: _IO_default_uflow (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5114FE9: _IO_getline_info (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511D2EB: fgets_unlocked (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5193149: do_init (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x51297A7: __pthread_once_slow.isra.0 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5129835: pthread_once@@GLIBC_2.34 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5193BC3: __resolv_conf_load (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5197A65: __resolv_conf_get_current (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5194609: __res_vinit (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x519864D: maybe_init (in /usr/lib64/libc.so.6) [INFO]: ==14378== [INFO]: ==14378== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14378== Open file descriptor 3: /etc/host.conf [INFO]: ==14378== at 0x5175134: __open_nocancel (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511DB7F: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5193103: do_init (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x51297A7: __pthread_once_slow.isra.0 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5129835: pthread_once@@GLIBC_2.34 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5193BC3: __resolv_conf_load (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5197A65: __resolv_conf_get_current (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5194609: __res_vinit (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x519864D: maybe_init (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5198787: __resolv_context_get (in /usr/lib64/libc.so.6) [INFO]: ==14378== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:__open_nocancel [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:do_init [INFO]: fun:__pthread_once_slow.isra.0 [INFO]: fun:pthread_once@@GLIBC_2.34 [INFO]: fun:__resolv_conf_load [INFO]: fun:__resolv_conf_get_current [INFO]: fun:__res_vinit [INFO]: fun:maybe_init [INFO]: fun:__resolv_context_get [INFO]: } [INFO]: ==14378== [INFO]: ==14378== HEAP SUMMARY: [INFO]: ==14378== in use at exit: 793,213 bytes in 891 blocks [INFO]: ==14378== total heap usage: 5,885 allocs, 4,994 frees, 2,988,958 bytes allocated [INFO]: ==14378== [INFO]: ==14378== Searching for pointers to 891 not-freed blocks [INFO]: ==14378== Checked 11,167,216 bytes [INFO]: ==14378== [INFO]: ==14378== LEAK SUMMARY: [INFO]: ==14378== definitely lost: 0 bytes in 0 blocks [INFO]: ==14378== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14378== possibly lost: 0 bytes in 0 blocks [INFO]: ==14378== still reachable: 793,213 bytes in 891 blocks [INFO]: ==14378== suppressed: 0 bytes in 0 blocks [INFO]: ==14378== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14378== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14378== [INFO]: ==14378== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) =================================== FAILURES =================================== __________________________ TC.test_clamd_01_ping_pong __________________________ self = def test_clamd_01_ping_pong(self): ''' Verify that clamd responds to a PING command ''' self.step_name('Testing clamd + clamdscan PING PONG feature') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None output = self.execute_command('{clamdscan} -p 5 -c {clamd_config}'.format( clamdscan=TC.clamdscan, clamd_config=TC.clamd_config)) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E AssertionError: assert 21 == 0 E + where 21 = CmdResult(ec=21, out='Could not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nPING timeout exceeded; No response from clamd\n', err='ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:309: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan PING PONG feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PING timeout exceeded; No response from clamd [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14304== Memcheck, a memory error detector [INFO]: ==14304== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14304== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14304== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14304== Parent PID: 14284 [INFO]: ==14304== [INFO]: --14304-- [INFO]: --14304-- Valgrind options: [INFO]: --14304-- -v [INFO]: --14304-- --trace-children=yes [INFO]: --14304-- --track-fds=yes [INFO]: --14304-- --leak-check=full [INFO]: --14304-- --show-possibly-lost=no [INFO]: --14304-- --show-leak-kinds=definite [INFO]: --14304-- --errors-for-leak-kinds=definite [INFO]: --14304-- --main-stacksize=16777216 [INFO]: --14304-- --gen-suppressions=all [INFO]: --14304-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14304-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14304-- --error-exitcode=123 [INFO]: --14304-- Contents of /proc/version: [INFO]: --14304-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14304-- [INFO]: --14304-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14304-- Page sizes: currently 4096, max supported 4096 [INFO]: --14304-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14304-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14304-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14304-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14304-- object doesn't have a dynamic symbol table [INFO]: --14304-- Scheduler: using generic scheduler lock implementation. [INFO]: --14304-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14304-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14304== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14304-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14304== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14304-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14304== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14304-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14304== [INFO]: ==14304== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14304== don't want to do, unless you know exactly what you're doing, [INFO]: ==14304== or are doing some strange experiment): [INFO]: ==14304== /usr/libexec/valgrind/../../bin/vgdb --pid=14304 ...command... [INFO]: ==14304== [INFO]: ==14304== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14304== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14304== and then give GDB the following command [INFO]: ==14304== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14304 [INFO]: ==14304== --pid is optional if only one valgrind process is running [INFO]: ==14304== [INFO]: --14304-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14304-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14304-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14304-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14304-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14304-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14304-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14304-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14304-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14304-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14304-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14304-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14304-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14304-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14304-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14304-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14304-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14304-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14304-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14304-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14304-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14304-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14304-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14304-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14304-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14304-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14304-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14304-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14304-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14304-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14304-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14304-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14304-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14304-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14304-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14304-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14304-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14304-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14304-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14304-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14304-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14304== [INFO]: ==14304== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14304== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14304== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14304== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14304== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14304== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14304== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14304== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14304== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14304== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14304== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14304== by 0x4001035: main (clamd.c:223) [INFO]: ==14304== [INFO]: ==14304== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14304== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14304== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14304== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14304== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14304== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14304== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14304== by 0x4001035: main (clamd.c:223) [INFO]: ==14304== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14304== [INFO]: ==14304== HEAP SUMMARY: [INFO]: ==14304== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14304== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14304== [INFO]: ==14304== Searching for pointers to 414 not-freed blocks [INFO]: ==14304== Checked 307,456 bytes [INFO]: ==14304== [INFO]: ==14304== LEAK SUMMARY: [INFO]: ==14304== definitely lost: 0 bytes in 0 blocks [INFO]: ==14304== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14304== possibly lost: 0 bytes in 0 blocks [INFO]: ==14304== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14304== suppressed: 0 bytes in 0 blocks [INFO]: ==14304== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14304== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14304== [INFO]: ==14304== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ______________________ TC.test_clamd_02_clamdscan_version ______________________ self = def test_clamd_02_clamdscan_version(self): ''' Verify that clamdscan --version returns the expected version # Explanation: clamdscan --version will query clamd for its version and print out clamd's version. If it can't connect to clamd, it'll throw and error saying as much and then report its own version. In this test, we want to check clamd's version through clamdscan. ''' self.step_name('Testing clamd + clamdscan version feature') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None # First we'll ping-pong to make sure clamd is up # If clamd isn't up before the version test, clamdscan will return its # own version, which isn't really the point of the test. output = self.execute_command('{clamdscan} --ping 5 -c {clamd_config}'.format( clamdscan=TC.clamdscan, clamd_config=TC.clamd_config)) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E AssertionError: assert 21 == 0 E + where 21 = CmdResult(ec=21, out='Could not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nPING timeout exceeded; No response from clamd\n', err='ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:333: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan version feature [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PING timeout exceeded; No response from clamd [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14311== Memcheck, a memory error detector [INFO]: ==14311== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14311== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14311== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14311== Parent PID: 14284 [INFO]: ==14311== [INFO]: --14311-- [INFO]: --14311-- Valgrind options: [INFO]: --14311-- -v [INFO]: --14311-- --trace-children=yes [INFO]: --14311-- --track-fds=yes [INFO]: --14311-- --leak-check=full [INFO]: --14311-- --show-possibly-lost=no [INFO]: --14311-- --show-leak-kinds=definite [INFO]: --14311-- --errors-for-leak-kinds=definite [INFO]: --14311-- --main-stacksize=16777216 [INFO]: --14311-- --gen-suppressions=all [INFO]: --14311-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14311-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14311-- --error-exitcode=123 [INFO]: --14311-- Contents of /proc/version: [INFO]: --14311-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14311-- [INFO]: --14311-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14311-- Page sizes: currently 4096, max supported 4096 [INFO]: --14311-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14311-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14311-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14311-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14311-- object doesn't have a dynamic symbol table [INFO]: --14311-- Scheduler: using generic scheduler lock implementation. [INFO]: --14311-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14311-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14311== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14311-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14311== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14311-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14311== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14311-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14311== [INFO]: ==14311== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14311== don't want to do, unless you know exactly what you're doing, [INFO]: ==14311== or are doing some strange experiment): [INFO]: ==14311== /usr/libexec/valgrind/../../bin/vgdb --pid=14311 ...command... [INFO]: ==14311== [INFO]: ==14311== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14311== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14311== and then give GDB the following command [INFO]: ==14311== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14311 [INFO]: ==14311== --pid is optional if only one valgrind process is running [INFO]: ==14311== [INFO]: --14311-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14311-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14311-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14311-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14311-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14311-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14311-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14311-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14311-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14311-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14311-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14311-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14311-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14311-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14311-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14311-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14311-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14311-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14311-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14311-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14311-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14311-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14311-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14311-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14311-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14311-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14311-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14311-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14311-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14311-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14311-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14311-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14311-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14311-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14311-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14311-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14311-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14311-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14311-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14311-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14311-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14311== [INFO]: ==14311== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14311== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14311== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14311== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14311== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14311== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14311== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14311== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14311== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14311== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14311== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14311== by 0x4001035: main (clamd.c:223) [INFO]: ==14311== [INFO]: ==14311== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14311== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14311== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14311== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14311== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14311== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14311== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14311== by 0x4001035: main (clamd.c:223) [INFO]: ==14311== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14311== [INFO]: ==14311== HEAP SUMMARY: [INFO]: ==14311== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14311== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14311== [INFO]: ==14311== Searching for pointers to 414 not-freed blocks [INFO]: ==14311== Checked 307,456 bytes [INFO]: ==14311== [INFO]: ==14311== LEAK SUMMARY: [INFO]: ==14311== definitely lost: 0 bytes in 0 blocks [INFO]: ==14311== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14311== possibly lost: 0 bytes in 0 blocks [INFO]: ==14311== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14311== suppressed: 0 bytes in 0 blocks [INFO]: ==14311== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14311== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14311== [INFO]: ==14311== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________________________ TC.test_clamd_03_reload ____________________________ self = def test_clamd_03_reload(self): ''' In this test, it is not supposed to detect until we actually put the signature there and reload! ''' self.step_name('Test scan before & after reload') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None (TC.path_tmp / 'reload-testfile').write_bytes(b'ClamAV-RELOAD-Test') > self.run_clamdscan('{}'.format(TC.path_tmp / 'reload-testfile'), expected_ec=0, expected_out=['reload-testfile: OK', 'Infected files: 0']) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:357: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:202: in run_clamdscan self.verify_output(output.out, expected=expected_out, unexpected=unexpected_out) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:248: in verify_output log_checker.verify_expected_output(expected, text, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_items = ['reload-testfile: OK', 'Infected files: 0'] output = 'Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 4.017 sec (0 m 4 s)\nStart Date: 2026:08:11 13:25:35\nEnd Date: 2026:08:11 13:25:39\n' order = 1 def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): """Check presence of regex patterns in output string. :Parameters: - `expected_items`: a list of regex patterns that should be found in `output`. - `output`: a string with output to verify. - `order`: STRICT_ORDER, ANY_ORDER. :Exceptions: - `AssertionError`: is raised if: 1)`output` is not a string. 2) one of expected items was not found in `output`. 3) items were found in wrong order. """ if output != None and not isinstance(output, str): output = output.decode("utf-8", "ignore") assert isinstance(output, str), "`output` must be a string." expected_items = self._prepare_value(expected_items) last_found_position = 0 for item in expected_items: pattern = re.compile(item) match = pattern.search(output) > assert match, "Expected item `%s` not found in output:\n%s" % ( ^^^^^ item, output, ) E AssertionError: Expected item `reload-testfile: OK` not found in output: E Wait timeout exceeded; Could not connect to clamd E E ----------- SCAN SUMMARY ----------- E Infected files: 0 E Time: 4.017 sec (0 m 4 s) E Start Date: 2026:08:11 13:25:35 E End Date: 2026:08:11 13:25:39 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:794: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test scan before & after reload [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/reload-testfile -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.017 sec (0 m 4 s) Start Date: 2026:08:11 13:25:35 End Date: 2026:08:11 13:25:39 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14316== Memcheck, a memory error detector [INFO]: ==14316== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14316== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14316== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14316== Parent PID: 14284 [INFO]: ==14316== [INFO]: --14316-- [INFO]: --14316-- Valgrind options: [INFO]: --14316-- -v [INFO]: --14316-- --trace-children=yes [INFO]: --14316-- --track-fds=yes [INFO]: --14316-- --leak-check=full [INFO]: --14316-- --show-possibly-lost=no [INFO]: --14316-- --show-leak-kinds=definite [INFO]: --14316-- --errors-for-leak-kinds=definite [INFO]: --14316-- --main-stacksize=16777216 [INFO]: --14316-- --gen-suppressions=all [INFO]: --14316-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14316-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14316-- --error-exitcode=123 [INFO]: --14316-- Contents of /proc/version: [INFO]: --14316-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14316-- [INFO]: --14316-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14316-- Page sizes: currently 4096, max supported 4096 [INFO]: --14316-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14316-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14316-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14316-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14316-- object doesn't have a dynamic symbol table [INFO]: --14316-- Scheduler: using generic scheduler lock implementation. [INFO]: --14316-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14316-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14316== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14316-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14316== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14316-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14316== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14316-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14316== [INFO]: ==14316== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14316== don't want to do, unless you know exactly what you're doing, [INFO]: ==14316== or are doing some strange experiment): [INFO]: ==14316== /usr/libexec/valgrind/../../bin/vgdb --pid=14316 ...command... [INFO]: ==14316== [INFO]: ==14316== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14316== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14316== and then give GDB the following command [INFO]: ==14316== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14316 [INFO]: ==14316== --pid is optional if only one valgrind process is running [INFO]: ==14316== [INFO]: --14316-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14316-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14316-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14316-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14316-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14316-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14316-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14316-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14316-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14316-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14316-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14316-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14316-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14316-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14316-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14316-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14316-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14316-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14316-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14316-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14316-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14316-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14316-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14316-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14316-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14316-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14316-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14316-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14316-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14316-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14316-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14316-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14316-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14316-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14316-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14316-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14316-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14316-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14316-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14316-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14316-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14316== [INFO]: ==14316== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14316== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14316== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14316== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14316== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14316== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14316== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14316== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14316== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14316== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14316== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14316== by 0x4001035: main (clamd.c:223) [INFO]: ==14316== [INFO]: ==14316== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14316== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14316== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14316== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14316== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14316== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14316== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14316== by 0x4001035: main (clamd.c:223) [INFO]: ==14316== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14316== [INFO]: ==14316== HEAP SUMMARY: [INFO]: ==14316== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14316== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14316== [INFO]: ==14316== Searching for pointers to 414 not-freed blocks [INFO]: ==14316== Checked 307,456 bytes [INFO]: ==14316== [INFO]: ==14316== LEAK SUMMARY: [INFO]: ==14316== definitely lost: 0 bytes in 0 blocks [INFO]: ==14316== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14316== possibly lost: 0 bytes in 0 blocks [INFO]: ==14316== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14316== suppressed: 0 bytes in 0 blocks [INFO]: ==14316== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14316== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14316== [INFO]: ==14316== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ________________________ TC.test_clamd_04_all_testfiles ________________________ self = def test_clamd_04_all_testfiles(self): ''' Verify that clamd + clamdscan detect each of our /unit_tests/input/clamav_hdb_scanfiles/clam* test files. ''' self.step_name('Testing clamd + clamdscan scan of all `test` files') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None testfiles = ' '.join([str(testpath) for testpath in TC.testpaths]) expected_results = ['{}: ClamAV-Test-File.UNOFFICIAL FOUND'.format(testpath.name) for testpath in TC.testpaths] expected_results.append('Infected files: {}'.format(len(TC.testpaths))) > self.run_clamdscan(testfiles, expected_ec=1, expected_out=expected_results) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:388: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:202: in run_clamdscan self.verify_output(output.out, expected=expected_out, unexpected=unexpected_out) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:248: in verify_output log_checker.verify_expected_output(expected, text, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_items = ['clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.exe: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.arj: ClamAV-Test-...IAL FOUND', 'clam.exe.rtf: ClamAV-Test-File.UNOFFICIAL FOUND', 'clam.exe.szdd: ClamAV-Test-File.UNOFFICIAL FOUND', ...] output = 'Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 4.013 sec (0 m 4 s)\nStart Date: 2026:08:11 13:25:47\nEnd Date: 2026:08:11 13:25:51\n' order = 1 def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): """Check presence of regex patterns in output string. :Parameters: - `expected_items`: a list of regex patterns that should be found in `output`. - `output`: a string with output to verify. - `order`: STRICT_ORDER, ANY_ORDER. :Exceptions: - `AssertionError`: is raised if: 1)`output` is not a string. 2) one of expected items was not found in `output`. 3) items were found in wrong order. """ if output != None and not isinstance(output, str): output = output.decode("utf-8", "ignore") assert isinstance(output, str), "`output` must be a string." expected_items = self._prepare_value(expected_items) last_found_position = 0 for item in expected_items: pattern = re.compile(item) match = pattern.search(output) > assert match, "Expected item `%s` not found in output:\n%s" % ( ^^^^^ item, output, ) E AssertionError: Expected item `clam.cab: ClamAV-Test-File.UNOFFICIAL FOUND` not found in output: E Wait timeout exceeded; Could not connect to clamd E E ----------- SCAN SUMMARY ----------- E Infected files: 0 E Time: 4.013 sec (0 m 4 s) E Start Date: 2026:08:11 13:25:47 E End Date: 2026:08:11 13:25:51 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:794: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan scan of all `test` files [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.cab /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.arj /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.zip /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.rtf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.szdd /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.chm /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tar.gz /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.sis /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upx.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-aspack.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-pespin.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-mew.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-fsg.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-wwpack.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-petite.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-nsis.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-upack.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.pdf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.mail /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ppt /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.tnef /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea05.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.d64.zip /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ea06.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.base64 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.mbox.uu /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.ole.doc /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.binhex /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.impl.zip /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.html /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-be.cpio /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bin-le.cpio /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.newc.cpio /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam-yc.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.odc.cpio /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.7z /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_cache_emax.tgz /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_int.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_ISmsi_ext.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.iso /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_int.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clamjol.iso /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.bz2 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.bz2.zip /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam_IScab_ext.exe /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.013 sec (0 m 4 s) Start Date: 2026:08:11 13:25:47 End Date: 2026:08:11 13:25:51 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14326== Memcheck, a memory error detector [INFO]: ==14326== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14326== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14326== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14326== Parent PID: 14284 [INFO]: ==14326== [INFO]: --14326-- [INFO]: --14326-- Valgrind options: [INFO]: --14326-- -v [INFO]: --14326-- --trace-children=yes [INFO]: --14326-- --track-fds=yes [INFO]: --14326-- --leak-check=full [INFO]: --14326-- --show-possibly-lost=no [INFO]: --14326-- --show-leak-kinds=definite [INFO]: --14326-- --errors-for-leak-kinds=definite [INFO]: --14326-- --main-stacksize=16777216 [INFO]: --14326-- --gen-suppressions=all [INFO]: --14326-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14326-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14326-- --error-exitcode=123 [INFO]: --14326-- Contents of /proc/version: [INFO]: --14326-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14326-- [INFO]: --14326-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14326-- Page sizes: currently 4096, max supported 4096 [INFO]: --14326-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14326-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14326-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14326-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14326-- object doesn't have a dynamic symbol table [INFO]: --14326-- Scheduler: using generic scheduler lock implementation. [INFO]: --14326-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14326-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14326== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14326-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14326== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14326-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14326== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14326-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14326== [INFO]: ==14326== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14326== don't want to do, unless you know exactly what you're doing, [INFO]: ==14326== or are doing some strange experiment): [INFO]: ==14326== /usr/libexec/valgrind/../../bin/vgdb --pid=14326 ...command... [INFO]: ==14326== [INFO]: ==14326== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14326== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14326== and then give GDB the following command [INFO]: ==14326== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14326 [INFO]: ==14326== --pid is optional if only one valgrind process is running [INFO]: ==14326== [INFO]: --14326-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14326-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14326-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14326-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14326-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14326-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14326-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14326-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14326-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14326-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14326-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14326-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14326-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14326-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14326-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14326-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14326-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14326-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14326-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14326-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14326-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14326-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14326-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14326-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14326-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14326-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14326-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14326-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14326-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14326-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14326-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14326-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14326-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14326-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14326-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14326-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14326-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14326-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14326-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14326-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14326-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14326== [INFO]: ==14326== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14326== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14326== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14326== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14326== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14326== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14326== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14326== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14326== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14326== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14326== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14326== by 0x4001035: main (clamd.c:223) [INFO]: ==14326== [INFO]: ==14326== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14326== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14326== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14326== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14326== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14326== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14326== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14326== by 0x4001035: main (clamd.c:223) [INFO]: ==14326== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14326== [INFO]: ==14326== HEAP SUMMARY: [INFO]: ==14326== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14326== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14326== [INFO]: ==14326== Searching for pointers to 414 not-freed blocks [INFO]: ==14326== Checked 307,456 bytes [INFO]: ==14326== [INFO]: ==14326== LEAK SUMMARY: [INFO]: ==14326== definitely lost: 0 bytes in 0 blocks [INFO]: ==14326== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14326== possibly lost: 0 bytes in 0 blocks [INFO]: ==14326== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14326== suppressed: 0 bytes in 0 blocks [INFO]: ==14326== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14326== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14326== [INFO]: ==14326== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_clamd_05_check_clamd _________________________ self = def test_clamd_05_check_clamd(self): ''' Uses the check_clamd program to test clamd's socket API in various ways that aren't possible with clamdscan. ''' self.step_name('Testing clamd + check_clamd') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None # Let's first use the ping-pong test to make sure clamd is listening. output = self.execute_command('{clamdscan} -p 5 -c {clamd_config}'.format( clamdscan=TC.clamdscan, clamd_config=TC.clamd_config)) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E AssertionError: assert 21 == 0 E + where 21 = CmdResult(ec=21, out='Could not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nCould not connect, will PING again in 1 second\nPING timeout exceeded; No response from clamd\n', err='ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:406: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + check_clamd [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -p 5 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second Could not connect, will PING again in 1 second PING timeout exceeded; No response from clamd [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14333== Memcheck, a memory error detector [INFO]: ==14333== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14333== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14333== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14333== Parent PID: 14284 [INFO]: ==14333== [INFO]: --14333-- [INFO]: --14333-- Valgrind options: [INFO]: --14333-- -v [INFO]: --14333-- --trace-children=yes [INFO]: --14333-- --track-fds=yes [INFO]: --14333-- --leak-check=full [INFO]: --14333-- --show-possibly-lost=no [INFO]: --14333-- --show-leak-kinds=definite [INFO]: --14333-- --errors-for-leak-kinds=definite [INFO]: --14333-- --main-stacksize=16777216 [INFO]: --14333-- --gen-suppressions=all [INFO]: --14333-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14333-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14333-- --error-exitcode=123 [INFO]: --14333-- Contents of /proc/version: [INFO]: --14333-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14333-- [INFO]: --14333-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14333-- Page sizes: currently 4096, max supported 4096 [INFO]: --14333-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14333-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14333-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14333-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14333-- object doesn't have a dynamic symbol table [INFO]: --14333-- Scheduler: using generic scheduler lock implementation. [INFO]: --14333-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14333-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14333== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14333-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14333== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14333-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14333== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14333-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14333== [INFO]: ==14333== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14333== don't want to do, unless you know exactly what you're doing, [INFO]: ==14333== or are doing some strange experiment): [INFO]: ==14333== /usr/libexec/valgrind/../../bin/vgdb --pid=14333 ...command... [INFO]: ==14333== [INFO]: ==14333== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14333== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14333== and then give GDB the following command [INFO]: ==14333== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14333 [INFO]: ==14333== --pid is optional if only one valgrind process is running [INFO]: ==14333== [INFO]: --14333-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14333-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14333-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14333-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14333-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14333-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14333-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14333-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14333-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14333-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14333-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14333-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14333-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14333-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14333-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14333-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14333-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14333-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14333-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14333-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14333-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14333-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14333-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14333-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14333-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14333-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14333-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14333-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14333-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14333-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14333-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14333-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14333-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14333-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14333-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14333-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14333-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14333-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14333-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14333-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14333-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14333== [INFO]: ==14333== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14333== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14333== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14333== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14333== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14333== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14333== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14333== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14333== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14333== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14333== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14333== by 0x4001035: main (clamd.c:223) [INFO]: ==14333== [INFO]: ==14333== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14333== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14333== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14333== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14333== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14333== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14333== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14333== by 0x4001035: main (clamd.c:223) [INFO]: ==14333== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14333== [INFO]: ==14333== HEAP SUMMARY: [INFO]: ==14333== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14333== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14333== [INFO]: ==14333== Searching for pointers to 414 not-freed blocks [INFO]: ==14333== Checked 307,456 bytes [INFO]: ==14333== [INFO]: ==14333== LEAK SUMMARY: [INFO]: ==14333== definitely lost: 0 bytes in 0 blocks [INFO]: ==14333== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14333== possibly lost: 0 bytes in 0 blocks [INFO]: ==14333== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14333== suppressed: 0 bytes in 0 blocks [INFO]: ==14333== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14333== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14333== [INFO]: ==14333== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ___________ TC.test_clamd_05a_quarantine_copy_uses_real_source_path ____________ self = @unittest.skipIf(not hasattr(os, 'symlink'), 'This platform does not support symlink creation in the test environment.') def test_clamd_05a_quarantine_copy_uses_real_source_path(self): self.step_name('Testing clamdscan --copy keeps the display path while quarantining the real source path') payload = b'CLAM-2976 clamd symlink quarantine payload\n' payload_path = TC.path_tmp / 'clamd-link-target' payload_path.write_bytes(payload) link_path = TC.path_tmp / 'clamd-link-source' try: self._create_file_symlink(link_path, payload_path) except OSError: self.skipTest('File symlink creation is not permitted in this test environment.') quarantine_dir = TC.path_tmp / 'clamd-link-quarantine' quarantine_dir.mkdir() db_dir = TC.path_tmp / 'clamd-link-db' db_dir.mkdir() (db_dir / 'trigger.hdb').write_text( '{}:{}:{}\n'.format( hashlib.sha256(payload).hexdigest(), len(payload), 'CLAM-2976-CLAMD-SOURCE-LINK', ) ) config = ''' Foreground yes PidFile {pid} DatabaseDirectory {dbdir} LogFileMaxSize 0 LogTime yes LogClean yes LogVerbose yes ExitOnOOM yes DetectPUA yes ScanPDF yes CommandReadTimeout 1 MaxQueue 800 MaxConnectionQueueLength 1024 FollowFileSymlinks yes '''.format(pid=TC.clamd_pid, dbdir=db_dir) if operating_system == 'windows': config += ''' TCPSocket {socket} TCPAddr localhost '''.format(socket=TC.clamd_port_num) else: config += ''' LocalSocket {localsocket} '''.format(localsocket=TC.clamd_socket) clamd_config = TC.path_tmp / 'clamd-follow-links.conf' clamd_config.write_text(config) self.start_clamd(clamd_config=clamd_config) poll = self.proc.poll() assert poll == None output = self.execute_command('{clamdscan} --ping 5 --wait --copy={quarantine_dir} -c {clamd_config} {link_path}'.format( clamdscan=TC.clamdscan, quarantine_dir=quarantine_dir, clamd_config=clamd_config, link_path=link_path, )) > assert output.ec == 1 E AssertionError: assert 21 == 1 E + where 21 = CmdResult(ec=21, out='Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 4.003 sec (0 m 4 s)\nStart Date: 2026:08:11 13:26:09\nEnd Date: 2026:08:11 13:26:14\n', err='ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:496: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamdscan --copy keeps the display path while quarantining the real source path [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait --copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-link-quarantine -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-link-source [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.003 sec (0 m 4 s) Start Date: 2026:08:11 13:26:09 End Date: 2026:08:11 13:26:14 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14340== Memcheck, a memory error detector [INFO]: ==14340== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14340== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14340== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf [INFO]: ==14340== Parent PID: 14284 [INFO]: ==14340== [INFO]: --14340-- [INFO]: --14340-- Valgrind options: [INFO]: --14340-- -v [INFO]: --14340-- --trace-children=yes [INFO]: --14340-- --track-fds=yes [INFO]: --14340-- --leak-check=full [INFO]: --14340-- --show-possibly-lost=no [INFO]: --14340-- --show-leak-kinds=definite [INFO]: --14340-- --errors-for-leak-kinds=definite [INFO]: --14340-- --main-stacksize=16777216 [INFO]: --14340-- --gen-suppressions=all [INFO]: --14340-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14340-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14340-- --error-exitcode=123 [INFO]: --14340-- Contents of /proc/version: [INFO]: --14340-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14340-- [INFO]: --14340-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14340-- Page sizes: currently 4096, max supported 4096 [INFO]: --14340-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14340-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14340-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14340-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14340-- object doesn't have a dynamic symbol table [INFO]: --14340-- Scheduler: using generic scheduler lock implementation. [INFO]: --14340-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14340-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14340== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14340-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14340== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14340-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14340== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14340-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14340== [INFO]: ==14340== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14340== don't want to do, unless you know exactly what you're doing, [INFO]: ==14340== or are doing some strange experiment): [INFO]: ==14340== /usr/libexec/valgrind/../../bin/vgdb --pid=14340 ...command... [INFO]: ==14340== [INFO]: ==14340== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14340== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14340== and then give GDB the following command [INFO]: ==14340== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14340 [INFO]: ==14340== --pid is optional if only one valgrind process is running [INFO]: ==14340== [INFO]: --14340-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14340-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14340-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14340-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14340-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14340-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14340-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14340-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14340-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14340-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14340-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14340-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14340-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14340-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14340-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14340-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14340-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14340-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14340-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14340-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14340-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14340-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14340-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14340-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14340-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14340-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14340-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14340-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14340-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14340-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14340-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14340-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14340-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14340-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14340-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14340-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14340-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14340-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14340-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14340-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14340-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14340== [INFO]: ==14340== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14340== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14340== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14340== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14340== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14340== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14340== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14340== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14340== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14340== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14340== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14340== by 0x4001035: main (clamd.c:223) [INFO]: ==14340== [INFO]: ==14340== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14340== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf [INFO]: ==14340== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14340== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14340== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14340== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14340== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14340== by 0x4001035: main (clamd.c:223) [INFO]: ==14340== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14340== [INFO]: ==14340== HEAP SUMMARY: [INFO]: ==14340== in use at exit: 25,636 bytes in 414 blocks [INFO]: ==14340== total heap usage: 455 allocs, 41 frees, 37,169 bytes allocated [INFO]: ==14340== [INFO]: ==14340== Searching for pointers to 414 not-freed blocks [INFO]: ==14340== Checked 307,456 bytes [INFO]: ==14340== [INFO]: ==14340== LEAK SUMMARY: [INFO]: ==14340== definitely lost: 0 bytes in 0 blocks [INFO]: ==14340== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14340== possibly lost: 0 bytes in 0 blocks [INFO]: ==14340== still reachable: 25,636 bytes in 414 blocks [INFO]: ==14340== suppressed: 0 bytes in 0 blocks [INFO]: ==14340== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14340== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14340== [INFO]: ==14340== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________ TC.test_clamd_05b_quarantine_copy_modes_use_real_source_path _________ self = @unittest.skipIf(not hasattr(os, 'symlink'), 'This platform does not support symlink creation in the test environment.') def test_clamd_05b_quarantine_copy_modes_use_real_source_path(self): self.step_name('Testing clamdscan --copy source binding across scan modes') parent_dir = TC.path_tmp / 'clamd-mode-link' parent_dir.mkdir() payload = b'CLAM-2959 clamdscan quarantine mode payload\n' payload_path = parent_dir / 'payload.bin' payload_path.write_bytes(payload) link_path = parent_dir / 'payload-link' try: self._create_file_symlink(link_path, payload_path) except OSError: self.skipTest('File symlink creation is not permitted in this test environment.') db_dir = TC.path_tmp / 'clamd-mode-db' db_dir.mkdir() (db_dir / 'trigger.hdb').write_text( '{}:{}:{}\n'.format( hashlib.sha256(payload).hexdigest(), len(payload), 'CLAM-2959-CLAMDSCAN-MODE-LINK', ) ) config = ''' Foreground yes PidFile {pid} DatabaseDirectory {dbdir} LogFileMaxSize 0 LogTime yes LogClean yes LogVerbose yes ExitOnOOM yes DetectPUA yes ScanPDF yes CommandReadTimeout 1 MaxQueue 800 MaxConnectionQueueLength 1024 FollowFileSymlinks yes '''.format(pid=TC.clamd_pid, dbdir=db_dir) if operating_system == 'windows': config += ''' TCPSocket {socket} TCPAddr localhost '''.format(socket=TC.clamd_port_num) else: config += ''' LocalSocket {localsocket} '''.format(localsocket=TC.clamd_socket) clamd_config = TC.path_tmp / 'clamd-mode-link.conf' clamd_config.write_text(config) self.start_clamd(clamd_config=clamd_config) poll = self.proc.poll() assert poll == None mode_args = [ ('default', ''), ('stream', '--stream'), ('multiscan', '--multiscan'), ] if TC.has_fdpass_support: mode_args.append(('fdpass', '--fdpass')) for mode_name, arg_variation in mode_args: quarantine_dir = TC.path_tmp / 'clamd-mode-quarantine-{}'.format(mode_name) quarantine_dir.mkdir() output = self.execute_command('{clamdscan} --ping 5 --wait {arg_variation} --copy={quarantine_dir} -c {clamd_config} {link_path}'.format( clamdscan=TC.clamdscan, arg_variation=arg_variation, quarantine_dir=quarantine_dir, clamd_config=clamd_config, link_path=link_path, )) > assert output.ec == 1 E AssertionError: assert 21 == 1 E + where 21 = CmdResult(ec=21, out='Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 4.003 sec (0 m 4 s)\nStart Date: 2026:08:11 13:26:20\nEnd Date: 2026:08:11 13:26:24\n', err='ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:600: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamdscan --copy source binding across scan modes [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait --copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-quarantine-default -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link/payload-link [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.003 sec (0 m 4 s) Start Date: 2026:08:11 13:26:20 End Date: 2026:08:11 13:26:24 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14343== Memcheck, a memory error detector [INFO]: ==14343== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14343== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14343== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf [INFO]: ==14343== Parent PID: 14284 [INFO]: ==14343== [INFO]: --14343-- [INFO]: --14343-- Valgrind options: [INFO]: --14343-- -v [INFO]: --14343-- --trace-children=yes [INFO]: --14343-- --track-fds=yes [INFO]: --14343-- --leak-check=full [INFO]: --14343-- --show-possibly-lost=no [INFO]: --14343-- --show-leak-kinds=definite [INFO]: --14343-- --errors-for-leak-kinds=definite [INFO]: --14343-- --main-stacksize=16777216 [INFO]: --14343-- --gen-suppressions=all [INFO]: --14343-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14343-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14343-- --error-exitcode=123 [INFO]: --14343-- Contents of /proc/version: [INFO]: --14343-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14343-- [INFO]: --14343-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14343-- Page sizes: currently 4096, max supported 4096 [INFO]: --14343-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14343-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14343-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14343-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14343-- object doesn't have a dynamic symbol table [INFO]: --14343-- Scheduler: using generic scheduler lock implementation. [INFO]: --14343-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14343-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14343== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14343-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14343== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14343-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14343== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14343-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14343== [INFO]: ==14343== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14343== don't want to do, unless you know exactly what you're doing, [INFO]: ==14343== or are doing some strange experiment): [INFO]: ==14343== /usr/libexec/valgrind/../../bin/vgdb --pid=14343 ...command... [INFO]: ==14343== [INFO]: ==14343== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14343== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14343== and then give GDB the following command [INFO]: ==14343== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14343 [INFO]: ==14343== --pid is optional if only one valgrind process is running [INFO]: ==14343== [INFO]: --14343-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14343-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14343-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14343-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14343-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14343-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14343-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14343-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14343-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14343-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14343-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14343-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14343-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14343-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14343-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14343-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14343-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14343-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14343-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14343-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14343-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14343-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14343-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14343-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14343-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14343-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14343-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14343-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14343-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14343-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14343-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14343-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14343-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14343-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14343-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14343-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14343-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14343-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14343-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14343-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14343-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14343== [INFO]: ==14343== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14343== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14343== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14343== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14343== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14343== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14343== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14343== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14343== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14343== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14343== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14343== by 0x4001035: main (clamd.c:223) [INFO]: ==14343== [INFO]: ==14343== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14343== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf [INFO]: ==14343== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14343== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14343== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14343== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14343== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14343== by 0x4001035: main (clamd.c:223) [INFO]: ==14343== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14343== [INFO]: ==14343== HEAP SUMMARY: [INFO]: ==14343== in use at exit: 25,630 bytes in 414 blocks [INFO]: ==14343== total heap usage: 455 allocs, 41 frees, 37,163 bytes allocated [INFO]: ==14343== [INFO]: ==14343== Searching for pointers to 414 not-freed blocks [INFO]: ==14343== Checked 307,440 bytes [INFO]: ==14343== [INFO]: ==14343== LEAK SUMMARY: [INFO]: ==14343== definitely lost: 0 bytes in 0 blocks [INFO]: ==14343== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14343== possibly lost: 0 bytes in 0 blocks [INFO]: ==14343== still reachable: 25,630 bytes in 414 blocks [INFO]: ==14343== suppressed: 0 bytes in 0 blocks [INFO]: ==14343== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14343== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14343== [INFO]: ==14343== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________ TC.test_clamd_06_HeuristicScanPrecedence_off _________________ self = def test_clamd_06_HeuristicScanPrecedence_off(self): ''' Verify that HeuristicScanPrecedence off works as expected (default) In a later test, we'll add `HeuristicScanPrecedence yes` to the config and retest with it on. With it off, we expect the scan to complete and the "real" virus to alert rather than the heuristic. ''' self.step_name('Testing clamd + clamdscan w/ HeuristicScanPrecedence no (default)') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None > self.run_clamdscan('{}'.format(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe_and_mail.tar.gz'), expected_ec=1, expected_out=['ClamAV-Test-File']) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:632: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:202: in run_clamdscan self.verify_output(output.out, expected=expected_out, unexpected=unexpected_out) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:248: in verify_output log_checker.verify_expected_output(expected, text, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_items = ['ClamAV-Test-File'] output = 'Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 4.013 sec (0 m 4 s)\nStart Date: 2026:08:11 13:26:31\nEnd Date: 2026:08:11 13:26:35\n' order = 1 def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): """Check presence of regex patterns in output string. :Parameters: - `expected_items`: a list of regex patterns that should be found in `output`. - `output`: a string with output to verify. - `order`: STRICT_ORDER, ANY_ORDER. :Exceptions: - `AssertionError`: is raised if: 1)`output` is not a string. 2) one of expected items was not found in `output`. 3) items were found in wrong order. """ if output != None and not isinstance(output, str): output = output.decode("utf-8", "ignore") assert isinstance(output, str), "`output` must be a string." expected_items = self._prepare_value(expected_items) last_found_position = 0 for item in expected_items: pattern = re.compile(item) match = pattern.search(output) > assert match, "Expected item `%s` not found in output:\n%s" % ( ^^^^^ item, output, ) E AssertionError: Expected item `ClamAV-Test-File` not found in output: E Wait timeout exceeded; Could not connect to clamd E E ----------- SCAN SUMMARY ----------- E Infected files: 0 E Time: 4.013 sec (0 m 4 s) E Start Date: 2026:08:11 13:26:31 E End Date: 2026:08:11 13:26:35 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:794: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ HeuristicScanPrecedence no (default) [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.013 sec (0 m 4 s) Start Date: 2026:08:11 13:26:31 End Date: 2026:08:11 13:26:35 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14352== Memcheck, a memory error detector [INFO]: ==14352== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14352== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14352== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14352== Parent PID: 14284 [INFO]: ==14352== [INFO]: --14352-- [INFO]: --14352-- Valgrind options: [INFO]: --14352-- -v [INFO]: --14352-- --trace-children=yes [INFO]: --14352-- --track-fds=yes [INFO]: --14352-- --leak-check=full [INFO]: --14352-- --show-possibly-lost=no [INFO]: --14352-- --show-leak-kinds=definite [INFO]: --14352-- --errors-for-leak-kinds=definite [INFO]: --14352-- --main-stacksize=16777216 [INFO]: --14352-- --gen-suppressions=all [INFO]: --14352-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14352-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14352-- --error-exitcode=123 [INFO]: --14352-- Contents of /proc/version: [INFO]: --14352-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14352-- [INFO]: --14352-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14352-- Page sizes: currently 4096, max supported 4096 [INFO]: --14352-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14352-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14352-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14352-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14352-- object doesn't have a dynamic symbol table [INFO]: --14352-- Scheduler: using generic scheduler lock implementation. [INFO]: --14352-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14352-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14352== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14352-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14352== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14352-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14352== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14352-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14352== [INFO]: ==14352== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14352== don't want to do, unless you know exactly what you're doing, [INFO]: ==14352== or are doing some strange experiment): [INFO]: ==14352== /usr/libexec/valgrind/../../bin/vgdb --pid=14352 ...command... [INFO]: ==14352== [INFO]: ==14352== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14352== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14352== and then give GDB the following command [INFO]: ==14352== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14352 [INFO]: ==14352== --pid is optional if only one valgrind process is running [INFO]: ==14352== [INFO]: --14352-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14352-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14352-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14352-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14352-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14352-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14352-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14352-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14352-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14352-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14352-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14352-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14352-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14352-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14352-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14352-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14352-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14352-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14352-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14352-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14352-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14352-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14352-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14352-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14352-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14352-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14352-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14352-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14352-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14352-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14352-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14352-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14352-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14352-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14352-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14352-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14352-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14352-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14352-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14352-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14352-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14352== [INFO]: ==14352== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14352== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14352== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14352== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14352== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14352== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14352== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14352== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14352== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14352== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14352== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14352== by 0x4001035: main (clamd.c:223) [INFO]: ==14352== [INFO]: ==14352== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14352== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14352== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14352== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14352== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14352== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14352== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14352== by 0x4001035: main (clamd.c:223) [INFO]: ==14352== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14352== [INFO]: ==14352== HEAP SUMMARY: [INFO]: ==14352== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14352== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14352== [INFO]: ==14352== Searching for pointers to 414 not-freed blocks [INFO]: ==14352== Checked 307,472 bytes [INFO]: ==14352== [INFO]: ==14352== LEAK SUMMARY: [INFO]: ==14352== definitely lost: 0 bytes in 0 blocks [INFO]: ==14352== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14352== possibly lost: 0 bytes in 0 blocks [INFO]: ==14352== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14352== suppressed: 0 bytes in 0 blocks [INFO]: ==14352== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14352== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14352== [INFO]: ==14352== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________ TC.test_clamd_07_HeuristicScanPrecedence_on __________________ self = def test_clamd_07_HeuristicScanPrecedence_on(self): ''' Verify that HeuristicScanPrecedence on works as expected. With it on, we expect the scan to stop and raise an alert as soon as the phishing heuristic is detected. ''' self.step_name('Testing clamd + clamdscan w/ HeuristicScanPrecedence yes') with TC.clamd_config.open('a') as config: config.write(''' HeuristicScanPrecedence yes ''') self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None > self.run_clamdscan('{}'.format(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe_and_mail.tar.gz'), expected_ec=1, expected_out=['Heuristics.Phishing.Email.SpoofedDomain']) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:654: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:202: in run_clamdscan self.verify_output(output.out, expected=expected_out, unexpected=unexpected_out) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:248: in verify_output log_checker.verify_expected_output(expected, text, order=order) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = expected_items = ['Heuristics.Phishing.Email.SpoofedDomain'] output = 'Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 4.012 sec (0 m 4 s)\nStart Date: 2026:08:11 13:26:42\nEnd Date: 2026:08:11 13:26:46\n' order = 1 def verify_expected_output(self, expected_items, output, order=STRICT_ORDER): """Check presence of regex patterns in output string. :Parameters: - `expected_items`: a list of regex patterns that should be found in `output`. - `output`: a string with output to verify. - `order`: STRICT_ORDER, ANY_ORDER. :Exceptions: - `AssertionError`: is raised if: 1)`output` is not a string. 2) one of expected items was not found in `output`. 3) items were found in wrong order. """ if output != None and not isinstance(output, str): output = output.decode("utf-8", "ignore") assert isinstance(output, str), "`output` must be a string." expected_items = self._prepare_value(expected_items) last_found_position = 0 for item in expected_items: pattern = re.compile(item) match = pattern.search(output) > assert match, "Expected item `%s` not found in output:\n%s" % ( ^^^^^ item, output, ) E AssertionError: Expected item `Heuristics.Phishing.Email.SpoofedDomain` not found in output: E Wait timeout exceeded; Could not connect to clamd E E ----------- SCAN SUMMARY ----------- E Infected files: 0 E Time: 4.012 sec (0 m 4 s) E Start Date: 2026:08:11 13:26:42 E End Date: 2026:08:11 13:26:46 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:794: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ HeuristicScanPrecedence yes [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe_and_mail.tar.gz -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.012 sec (0 m 4 s) Start Date: 2026:08:11 13:26:42 End Date: 2026:08:11 13:26:46 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14355== Memcheck, a memory error detector [INFO]: ==14355== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14355== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14355== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14355== Parent PID: 14284 [INFO]: ==14355== [INFO]: --14355-- [INFO]: --14355-- Valgrind options: [INFO]: --14355-- -v [INFO]: --14355-- --trace-children=yes [INFO]: --14355-- --track-fds=yes [INFO]: --14355-- --leak-check=full [INFO]: --14355-- --show-possibly-lost=no [INFO]: --14355-- --show-leak-kinds=definite [INFO]: --14355-- --errors-for-leak-kinds=definite [INFO]: --14355-- --main-stacksize=16777216 [INFO]: --14355-- --gen-suppressions=all [INFO]: --14355-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14355-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14355-- --error-exitcode=123 [INFO]: --14355-- Contents of /proc/version: [INFO]: --14355-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14355-- [INFO]: --14355-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14355-- Page sizes: currently 4096, max supported 4096 [INFO]: --14355-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14355-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14355-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14355-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14355-- object doesn't have a dynamic symbol table [INFO]: --14355-- Scheduler: using generic scheduler lock implementation. [INFO]: --14355-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14355-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14355== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14355-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14355== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14355-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14355== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14355-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14355== [INFO]: ==14355== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14355== don't want to do, unless you know exactly what you're doing, [INFO]: ==14355== or are doing some strange experiment): [INFO]: ==14355== /usr/libexec/valgrind/../../bin/vgdb --pid=14355 ...command... [INFO]: ==14355== [INFO]: ==14355== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14355== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14355== and then give GDB the following command [INFO]: ==14355== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14355 [INFO]: ==14355== --pid is optional if only one valgrind process is running [INFO]: ==14355== [INFO]: --14355-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14355-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14355-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14355-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14355-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14355-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14355-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14355-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14355-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14355-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14355-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14355-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14355-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14355-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14355-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14355-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14355-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14355-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14355-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14355-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14355-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14355-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14355-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14355-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14355-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14355-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14355-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14355-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14355-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14355-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14355-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14355-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14355-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14355-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14355-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14355-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14355-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14355-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14355-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14355-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14355-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14355== [INFO]: ==14355== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14355== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14355== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14355== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14355== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14355== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14355== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14355== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14355== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14355== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14355== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14355== by 0x4001035: main (clamd.c:223) [INFO]: ==14355== [INFO]: ==14355== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14355== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14355== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14355== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14355== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14355== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14355== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14355== by 0x4001035: main (clamd.c:223) [INFO]: ==14355== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14355== [INFO]: ==14355== HEAP SUMMARY: [INFO]: ==14355== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14355== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14355== [INFO]: ==14355== Searching for pointers to 414 not-freed blocks [INFO]: ==14355== Checked 307,528 bytes [INFO]: ==14355== [INFO]: ==14355== LEAK SUMMARY: [INFO]: ==14355== definitely lost: 0 bytes in 0 blocks [INFO]: ==14355== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14355== possibly lost: 0 bytes in 0 blocks [INFO]: ==14355== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14355== suppressed: 0 bytes in 0 blocks [INFO]: ==14355== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14355== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14355== [INFO]: ==14355== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________________ TC.test_clamd_08_VirusEvent __________________________ self = @unittest.skipIf(operating_system == 'windows', 'This test uses a shell script to test virus-action. TODO: add Windows support to this test.') def test_clamd_08_VirusEvent(self): ''' Test that VirusEvent works ''' self.step_name('Testing clamd + clamdscan w/ VirusEvent') with TC.clamd_config.open('a') as config: config.write('VirusEvent {} {} "Virus found: %v"\n'.format( TC.path_source / 'unit_tests' / 'input' / 'virusaction-test.sh', TC.path_tmp)) self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None > self.run_clamdscan_file_only('{}'.format(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), expected_ec=1)#, expected_out=['Virus found: ClamAV-Test-File.UNOFFICIAL']) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:674: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = scan_args = '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe' expected_ec = 1, expected_out = [], expected_err = [], unexpected_out = [] unexpected_err = [] def run_clamdscan_file_only(self, scan_args, expected_ec=0, expected_out=[], expected_err=[], unexpected_out=[], unexpected_err=[]): ''' Run clamdscan in filepath mode (and filepath multi mode) The first scan uses ping & wait to give clamd time to start. ''' # default mode output = self.execute_command('{clamdscan} --ping 5 --wait -c {clamd_config} {scan_args}'.format( clamdscan=TC.clamdscan, clamd_config=TC.clamd_config, scan_args=scan_args)) > assert output.ec == expected_ec E AssertionError: assert 21 == 1 E + where 21 = CmdResult(ec=21, out='Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 4.017 sec (0 m 4 s)\nStart Date: 2026:08:11 13:26:53\nEnd Date: 2026:08:11 13:26:57\n', err='ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:224: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ VirusEvent [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 4.017 sec (0 m 4 s) Start Date: 2026:08:11 13:26:53 End Date: 2026:08:11 13:26:57 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14362== Memcheck, a memory error detector [INFO]: ==14362== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14362== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14362== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14362== Parent PID: 14284 [INFO]: ==14362== [INFO]: --14362-- [INFO]: --14362-- Valgrind options: [INFO]: --14362-- -v [INFO]: --14362-- --trace-children=yes [INFO]: --14362-- --track-fds=yes [INFO]: --14362-- --leak-check=full [INFO]: --14362-- --show-possibly-lost=no [INFO]: --14362-- --show-leak-kinds=definite [INFO]: --14362-- --errors-for-leak-kinds=definite [INFO]: --14362-- --main-stacksize=16777216 [INFO]: --14362-- --gen-suppressions=all [INFO]: --14362-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14362-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14362-- --error-exitcode=123 [INFO]: --14362-- Contents of /proc/version: [INFO]: --14362-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14362-- [INFO]: --14362-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14362-- Page sizes: currently 4096, max supported 4096 [INFO]: --14362-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14362-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14362-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14362-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14362-- object doesn't have a dynamic symbol table [INFO]: --14362-- Scheduler: using generic scheduler lock implementation. [INFO]: --14362-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14362-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14362== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14362-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14362== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14362-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14362== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14362-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14362== [INFO]: ==14362== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14362== don't want to do, unless you know exactly what you're doing, [INFO]: ==14362== or are doing some strange experiment): [INFO]: ==14362== /usr/libexec/valgrind/../../bin/vgdb --pid=14362 ...command... [INFO]: ==14362== [INFO]: ==14362== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14362== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14362== and then give GDB the following command [INFO]: ==14362== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14362 [INFO]: ==14362== --pid is optional if only one valgrind process is running [INFO]: ==14362== [INFO]: --14362-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14362-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14362-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14362-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14362-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14362-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14362-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14362-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14362-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14362-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14362-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14362-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14362-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14362-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14362-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14362-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14362-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14362-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14362-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14362-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14362-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14362-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14362-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14362-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14362-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14362-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14362-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14362-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14362-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14362-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14362-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14362-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14362-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14362-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14362-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14362-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14362-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14362-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14362-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14362-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14362-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: ==14362== [INFO]: ==14362== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14362== at 0x48DDFCA: CHIN (regex2.h:128) [INFO]: ==14362== by 0x48DDFCA: p_bracket (regcomp.c:679) [INFO]: ==14362== by 0x48DE31D: bothcases (regcomp.c:890) [INFO]: ==14362== by 0x48DE31D: ordinary (regcomp.c:903) [INFO]: ==14362== by 0x48DED6F: p_ere_exp (regcomp.c:371) [INFO]: ==14362== by 0x48DED6F: p_ere (regcomp.c:271) [INFO]: ==14362== by 0x48DF187: p_ere_exp (regcomp.c:324) [INFO]: ==14362== by 0x48DF187: p_ere (regcomp.c:271) [INFO]: ==14362== by 0x48DF92D: cli_regcomp_real (regcomp.c:227) [INFO]: ==14362== by 0x400B59B: optparse (optparser.c:1168) [INFO]: ==14362== by 0x4001035: main (clamd.c:223) [INFO]: ==14362== [INFO]: ==14362== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14362== Open file descriptor 3: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14362== at 0x5174103: open (in /usr/lib64/libc.so.6) [INFO]: ==14362== by 0x511DAE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14362== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14362== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14362== by 0x400B1DF: optparse (optparser.c:991) [INFO]: ==14362== by 0x4001035: main (clamd.c:223) [INFO]: ==14362== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:optparse [INFO]: fun:main [INFO]: } [INFO]: ==14362== [INFO]: ==14362== HEAP SUMMARY: [INFO]: ==14362== in use at exit: 25,615 bytes in 414 blocks [INFO]: ==14362== total heap usage: 455 allocs, 41 frees, 37,148 bytes allocated [INFO]: ==14362== [INFO]: ==14362== Searching for pointers to 414 not-freed blocks [INFO]: ==14362== Checked 307,728 bytes [INFO]: ==14362== [INFO]: ==14362== LEAK SUMMARY: [INFO]: ==14362== definitely lost: 0 bytes in 0 blocks [INFO]: ==14362== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14362== possibly lost: 0 bytes in 0 blocks [INFO]: ==14362== still reachable: 25,615 bytes in 414 blocks [INFO]: ==14362== suppressed: 0 bytes in 0 blocks [INFO]: ==14362== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14362== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14362== [INFO]: ==14362== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ____________________ TC.test_clamd_09_clamdscan_ExcludePath ____________________ self = def test_clamd_09_clamdscan_ExcludePath(self): ''' Verify that ExcudePath works and does not cause other on works as expected. We'll use valgrind on clamdscan instead of clamd for this one, if enabled as a regression for clamdscan memory leak fixes. With it on, we expect the scan to stop and raise an alert as soon as the phishing heuristic is detected. ''' self.step_name('Testing clamd + clamdscan w/ ExcludePath') (TC.path_tmp / 'alpha').mkdir() (TC.path_tmp / 'beta').mkdir() (TC.path_tmp / 'charlie').mkdir() shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'alpha' / 'a_found')) # This should be found (first) shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'beta' / 'b_excluded')) # This one should be excluded shutil.copy(str(TC.path_build / 'unit_tests' / 'input' / 'clamav_hdb_scanfiles' / 'clam.exe'), str(TC.path_tmp / 'charlie' / 'c_found')) # This one should still be found after excluding the previous with TC.clamd_config.open('a') as config: exclude_path = 'beta' config.write(''' ExcludePath {} '''.format(exclude_path)) self.start_clamd(use_valgrind=False) poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None expected_out = [ 'a_found: ClamAV-Test-File.UNOFFICIAL FOUND', # 'b_excluded: Excluded', <-- Bug: this doesn't appear in recursive regular scans :-(, only fdpass and stream 'c_found: ClamAV-Test-File.UNOFFICIAL FOUND', ] unexpected_out = [ 'a_found: Excluded', 'b_excluded: ClamAV-Test-File.UNOFFICIAL FOUND', 'c_found: Excluded', ] > self.run_clamdscan('{}'.format(TC.path_tmp), expected_ec=1, expected_out=expected_out, unexpected_out=unexpected_out, use_valgrind=True) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:725: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:207: in run_clamdscan self.verify_valgrind_log() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd + clamdscan w/ ExcludePath [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf Tue Aug 11 13:27:03 2026 -> Limits: Global time limit set to 120000 milliseconds. Tue Aug 11 13:27:03 2026 -> Limits: Global size limit set to 419430400 bytes. Tue Aug 11 13:27:03 2026 -> Limits: File size limit set to 104857600 bytes. Tue Aug 11 13:27:03 2026 -> Limits: Recursion level limit set to 17. Tue Aug 11 13:27:03 2026 -> Limits: Files limit set to 10000. Tue Aug 11 13:27:03 2026 -> Limits: Core-dump limit is 0. Tue Aug 11 13:27:03 2026 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Tue Aug 11 13:27:03 2026 -> Limits: MaxPartitions limit set to 50. Tue Aug 11 13:27:03 2026 -> Limits: MaxIconsPE limit set to 100. Tue Aug 11 13:27:03 2026 -> Limits: MaxRecHWP3 limit set to 16. Tue Aug 11 13:27:03 2026 -> Limits: PCREMatchLimit limit set to 100000. Tue Aug 11 13:27:03 2026 -> Limits: PCRERecMatchLimit limit set to 2000. Tue Aug 11 13:27:03 2026 -> Limits: PCREMaxFileSize limit set to 104857600. Tue Aug 11 13:27:03 2026 -> Archive support enabled. Tue Aug 11 13:27:03 2026 -> Image (graphics) scanning support enabled. Tue Aug 11 13:27:03 2026 -> Detection using image fuzzy hash enabled. Tue Aug 11 13:27:03 2026 -> AlertExceedsMax heuristic detection disabled. Tue Aug 11 13:27:03 2026 -> Heuristic alerts enabled. Tue Aug 11 13:27:03 2026 -> Portable Executable support enabled. Tue Aug 11 13:27:03 2026 -> ELF support enabled. Tue Aug 11 13:27:03 2026 -> Mail files support enabled. Tue Aug 11 13:27:03 2026 -> OLE2 support enabled. Tue Aug 11 13:27:03 2026 -> PDF support enabled. Tue Aug 11 13:27:03 2026 -> SWF support enabled. Tue Aug 11 13:27:03 2026 -> HTML support enabled. Tue Aug 11 13:27:03 2026 -> XMLDOCS support enabled. Tue Aug 11 13:27:03 2026 -> HWP3 support enabled. Tue Aug 11 13:27:03 2026 -> OneNote support enabled. Tue Aug 11 13:27:03 2026 -> Heuristic: precedence enabled Tue Aug 11 13:27:03 2026 -> Self checking every 600 seconds. Tue Aug 11 13:27:03 2026 -> Listening daemon: PID: 14369 Tue Aug 11 13:27:03 2026 -> MaxQueue set to: 800 Tue Aug 11 13:27:10 2026 -> Not supported file type: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.socket Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/reload-testfile: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-link-target: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-follow-links.conf: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link.conf: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.pid: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/database/clamav.hdb: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/database/daily.pdb: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-link-db/trigger.hdb: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-link/payload.bin: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-mode-db/trigger.hdb: OK Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND Tue Aug 11 13:27:10 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND [DEBUG]: Exit code: 123 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/alpha/a_found: ClamAV-Test-File.UNOFFICIAL FOUND /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/charlie/c_found: ClamAV-Test-File.UNOFFICIAL FOUND ----------- SCAN SUMMARY ----------- Infected files: 2 Time: 0.189 sec (0 m 0 s) Start Date: 2026:08:11 13:27:10 End Date: 2026:08:11 13:27:10 [DEBUG]: stderr: [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14371== Memcheck, a memory error detector [INFO]: ==14371== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14371== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14371== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14371== Parent PID: 14284 [INFO]: ==14371== [INFO]: --14371-- [INFO]: --14371-- Valgrind options: [INFO]: --14371-- -v [INFO]: --14371-- --trace-children=yes [INFO]: --14371-- --track-fds=yes [INFO]: --14371-- --leak-check=full [INFO]: --14371-- --show-possibly-lost=no [INFO]: --14371-- --show-leak-kinds=definite [INFO]: --14371-- --errors-for-leak-kinds=definite [INFO]: --14371-- --main-stacksize=16777216 [INFO]: --14371-- --gen-suppressions=all [INFO]: --14371-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14371-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14371-- --error-exitcode=123 [INFO]: --14371-- Contents of /proc/version: [INFO]: --14371-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14371-- [INFO]: --14371-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14371-- Page sizes: currently 4096, max supported 4096 [INFO]: --14371-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --14371-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14371-- object doesn't have a dynamic symbol table [INFO]: --14371-- Scheduler: using generic scheduler lock implementation. [INFO]: --14371-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14371-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14371== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== [INFO]: ==14371== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14371== don't want to do, unless you know exactly what you're doing, [INFO]: ==14371== or are doing some strange experiment): [INFO]: ==14371== /usr/libexec/valgrind/../../bin/vgdb --pid=14371 ...command... [INFO]: ==14371== [INFO]: ==14371== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14371== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==14371== and then give GDB the following command [INFO]: ==14371== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14371 [INFO]: ==14371== --pid is optional if only one valgrind process is running [INFO]: ==14371== [INFO]: --14371-- REDIR: 0x4045e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14371-- REDIR: 0x40462ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14371-- REDIR: 0x4045e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14371-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14371-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14371-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14371-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14371-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14371-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14371-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14371-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14371-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14371-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14371-- REDIR: 0x512fc62 (libc.so.6:memchr) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x513042a (libc.so.6:memmove) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132724 (libc.so.6:strncpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132572 (libc.so.6:strlen) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x513200e (libc.so.6:strcpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x512fcd4 (libc.so.6:bcmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51311f6 (libc.so.6:strcat) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51326d0 (libc.so.6:strncmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5130918 (libc.so.6:stpncpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132846 (libc.so.6:rindex) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5131268 (libc.so.6:index) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x512fd46 (libc.so.6:memcpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51306b4 (libc.so.6:memset) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5131434 (libc.so.6:strcmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5136a76 (libc.so.6:__strrchr_generic) redirected to 0x486b152 (rindex) [INFO]: --14371-- REDIR: 0x513643e (libc.so.6:__strlen_generic) redirected to 0x486b7d4 (strlen) [INFO]: --14371-- REDIR: 0x5136582 (libc.so.6:__strncmp_generic) redirected to 0x486bed8 (strncmp) [INFO]: --14371-- REDIR: 0x512cca2 (libc.so.6:malloc) redirected to 0x48637fa (malloc) [INFO]: --14371-- REDIR: 0x5180128 (libc.so.6:__memcpy_chk) redirected to 0x486f996 (__memcpy_chk) [INFO]: --14371-- REDIR: 0x51360c2 (libc.so.6:__strchr_generic) redirected to 0x486b322 (index) [INFO]: --14371-- REDIR: 0x5136122 (libc.so.6:__strcmp_generic) redirected to 0x486c598 (strcmp) [INFO]: --14371-- REDIR: 0x512d0e2 (libc.so.6:free) redirected to 0x4866144 (free) [INFO]: --14371-- REDIR: 0x5135d0a (libc.so.6:__memmove_generic) redirected to 0x486ead0 (memmove) [INFO]: --14371-- REDIR: 0x512d8ec (libc.so.6:calloc) redirected to 0x4869b56 (calloc) [INFO]: --14371-- REDIR: 0x5132f50 (libc.so.6:strstr) redirected to 0x486fa6a (strstr) [INFO]: --14371-- REDIR: 0x51354e6 (libc.so.6:__memchr_generic) redirected to 0x486c6ac (memchr) [INFO]: --14371-- REDIR: 0x5135ad6 (libc.so.6:__memcpy_generic) redirected to 0x486cd04 (memcpy) [INFO]: --14371-- REDIR: 0x513281c (libc.so.6:strpbrk) redirected to 0x486fb90 (strpbrk) [INFO]: --14371-- REDIR: 0x5135eb6 (libc.so.6:__memset_generic) redirected to 0x486ea26 (memset) [INFO]: --14371-- REDIR: 0x512d390 (libc.so.6:realloc) redirected to 0x4869d14 (realloc) [INFO]: --14371-- REDIR: 0x513098a (libc.so.6:strcasecmp) redirected to 0x486c0dc (strcasecmp) [INFO]: --14371-- REDIR: 0x51369ca (libc.so.6:__strncpy_generic) redirected to 0x486ba42 (strncpy) [INFO]: --14371-- REDIR: 0x513570a (libc.so.6:__memcmp_generic) redirected to 0x486e376 (bcmp) [INFO]: --14371-- REDIR: 0x51312da (libc.so.6:strchrnul) redirected to 0x486f388 (strchrnul) [INFO]: ==14371== [INFO]: ==14371== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14371== Open AF_UNIX socket 3: [INFO]: ==14371== at 0x5177E7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14371== by 0x40057F5: dconnect (clamdcom.c:350) [INFO]: ==14371== by 0x400169D: ping_clamd (client.c:223) [INFO]: ==14371== by 0x4001CF9: client (client.c:388) [INFO]: ==14371== by 0x4000E43: main (clamdscan.c:169) [INFO]: ==14371== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:client [INFO]: fun:main [INFO]: } [INFO]: ==14371== [INFO]: ==14371== HEAP SUMMARY: [INFO]: ==14371== in use at exit: 0 bytes in 0 blocks [INFO]: ==14371== total heap usage: 877 allocs, 877 frees, 68,510 bytes allocated [INFO]: ==14371== [INFO]: ==14371== All heap blocks were freed -- no leaks are possible [INFO]: ==14371== [INFO]: ==14371== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Tue Aug 11 13:27:11 2026 -> Waiting for all threads to finish Tue Aug 11 13:27:11 2026 -> Shutting down the main sockets. Tue Aug 11 13:27:11 2026 -> Pid file removed. Tue Aug 11 13:27:11 2026 -> --- Stopped at Tue Aug 11 13:27:11 2026 Tue Aug 11 13:27:11 2026 -> Closing the main sockets. Tue Aug 11 13:27:11 2026 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14371== Memcheck, a memory error detector [INFO]: ==14371== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14371== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14371== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan --ping 5 --wait /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815 -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14371== Parent PID: 14284 [INFO]: ==14371== [INFO]: --14371-- [INFO]: --14371-- Valgrind options: [INFO]: --14371-- -v [INFO]: --14371-- --trace-children=yes [INFO]: --14371-- --track-fds=yes [INFO]: --14371-- --leak-check=full [INFO]: --14371-- --show-possibly-lost=no [INFO]: --14371-- --show-leak-kinds=definite [INFO]: --14371-- --errors-for-leak-kinds=definite [INFO]: --14371-- --main-stacksize=16777216 [INFO]: --14371-- --gen-suppressions=all [INFO]: --14371-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14371-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14371-- --error-exitcode=123 [INFO]: --14371-- Contents of /proc/version: [INFO]: --14371-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14371-- [INFO]: --14371-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14371-- Page sizes: currently 4096, max supported 4096 [INFO]: --14371-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan [INFO]: --14371-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14371-- object doesn't have a dynamic symbol table [INFO]: --14371-- Scheduler: using generic scheduler lock implementation. [INFO]: --14371-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14371-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14371== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14371-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14371== [INFO]: ==14371== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14371== don't want to do, unless you know exactly what you're doing, [INFO]: ==14371== or are doing some strange experiment): [INFO]: ==14371== /usr/libexec/valgrind/../../bin/vgdb --pid=14371 ...command... [INFO]: ==14371== [INFO]: ==14371== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14371== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan [INFO]: ==14371== and then give GDB the following command [INFO]: ==14371== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14371 [INFO]: ==14371== --pid is optional if only one valgrind process is running [INFO]: ==14371== [INFO]: --14371-- REDIR: 0x4045e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14371-- REDIR: 0x40462ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14371-- REDIR: 0x4045e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14371-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14371-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14371-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14371-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14371-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14371-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14371-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14371-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14371-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14371-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14371-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14371-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14371-- REDIR: 0x512fc62 (libc.so.6:memchr) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x513042a (libc.so.6:memmove) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132724 (libc.so.6:strncpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132572 (libc.so.6:strlen) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x513200e (libc.so.6:strcpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x512fcd4 (libc.so.6:bcmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51311f6 (libc.so.6:strcat) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51326d0 (libc.so.6:strncmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5130918 (libc.so.6:stpncpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5132846 (libc.so.6:rindex) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5131268 (libc.so.6:index) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x512fd46 (libc.so.6:memcpy) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x51306b4 (libc.so.6:memset) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5131434 (libc.so.6:strcmp) redirected to 0x485f3b8 (_vgnU_ifunc_wrapper) [INFO]: --14371-- REDIR: 0x5136a76 (libc.so.6:__strrchr_generic) redirected to 0x486b152 (rindex) [INFO]: --14371-- REDIR: 0x513643e (libc.so.6:__strlen_generic) redirected to 0x486b7d4 (strlen) [INFO]: --14371-- REDIR: 0x5136582 (libc.so.6:__strncmp_generic) redirected to 0x486bed8 (strncmp) [INFO]: --14371-- REDIR: 0x512cca2 (libc.so.6:malloc) redirected to 0x48637fa (malloc) [INFO]: --14371-- REDIR: 0x5180128 (libc.so.6:__memcpy_chk) redirected to 0x486f996 (__memcpy_chk) [INFO]: --14371-- REDIR: 0x51360c2 (libc.so.6:__strchr_generic) redirected to 0x486b322 (index) [INFO]: --14371-- REDIR: 0x5136122 (libc.so.6:__strcmp_generic) redirected to 0x486c598 (strcmp) [INFO]: --14371-- REDIR: 0x512d0e2 (libc.so.6:free) redirected to 0x4866144 (free) [INFO]: --14371-- REDIR: 0x5135d0a (libc.so.6:__memmove_generic) redirected to 0x486ead0 (memmove) [INFO]: --14371-- REDIR: 0x512d8ec (libc.so.6:calloc) redirected to 0x4869b56 (calloc) [INFO]: --14371-- REDIR: 0x5132f50 (libc.so.6:strstr) redirected to 0x486fa6a (strstr) [INFO]: --14371-- REDIR: 0x51354e6 (libc.so.6:__memchr_generic) redirected to 0x486c6ac (memchr) [INFO]: --14371-- REDIR: 0x5135ad6 (libc.so.6:__memcpy_generic) redirected to 0x486cd04 (memcpy) [INFO]: --14371-- REDIR: 0x513281c (libc.so.6:strpbrk) redirected to 0x486fb90 (strpbrk) [INFO]: --14371-- REDIR: 0x5135eb6 (libc.so.6:__memset_generic) redirected to 0x486ea26 (memset) [INFO]: --14371-- REDIR: 0x512d390 (libc.so.6:realloc) redirected to 0x4869d14 (realloc) [INFO]: --14371-- REDIR: 0x513098a (libc.so.6:strcasecmp) redirected to 0x486c0dc (strcasecmp) [INFO]: --14371-- REDIR: 0x51369ca (libc.so.6:__strncpy_generic) redirected to 0x486ba42 (strncpy) [INFO]: --14371-- REDIR: 0x513570a (libc.so.6:__memcmp_generic) redirected to 0x486e376 (bcmp) [INFO]: --14371-- REDIR: 0x51312da (libc.so.6:strchrnul) redirected to 0x486f388 (strchrnul) [INFO]: ==14371== [INFO]: ==14371== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14371== Open AF_UNIX socket 3: [INFO]: ==14371== at 0x5177E7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14371== by 0x40057F5: dconnect (clamdcom.c:350) [INFO]: ==14371== by 0x400169D: ping_clamd (client.c:223) [INFO]: ==14371== by 0x4001CF9: client (client.c:388) [INFO]: ==14371== by 0x4000E43: main (clamdscan.c:169) [INFO]: ==14371== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:socket [INFO]: fun:dconnect [INFO]: fun:ping_clamd [INFO]: fun:client [INFO]: fun:main [INFO]: } [INFO]: ==14371== [INFO]: ==14371== HEAP SUMMARY: [INFO]: ==14371== in use at exit: 0 bytes in 0 blocks [INFO]: ==14371== total heap usage: 877 allocs, 877 frees, 68,510 bytes allocated [INFO]: ==14371== [INFO]: ==14371== All heap blocks were freed -- no leaks are possible [INFO]: ==14371== [INFO]: ==14371== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _____________________ TC.test_clamd_10_allmatch_not_sticky _____________________ self = def test_clamd_10_allmatch_not_sticky(self): ''' Verify that a scanning without allmatch does not use allmatch mode, after scanning with allmatch. This is a regression test for an issue where the allmatch scan option is sticky and any scans after an allmatch scan become an allmatch scan. ''' self.step_name('Testing clamdscan --allmatch is not sticky') # Get a list of Path()'s of each of signature file test_path = TC.path_source / 'unit_tests' / 'input' / 'pe_allmatch' database_files = list(test_path.glob('alert-sigs/*')) test_exe = test_path / 'test.exe' # Copy them to the database directory before starting ClamD for db in database_files: shutil.copy(str(db), str(TC.path_db)) # # Start ClamD # self.start_clamd() poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None # Try first without --allmatch output = self.execute_command('{clamdscan} -c {clamd_config} --wait --ping 10 {test_exe}'.format( clamdscan=TC.clamdscan, clamd_config=TC.clamd_config, test_exe=test_exe)) > assert output.ec == 1 E AssertionError: assert 21 == 1 E + where 21 = CmdResult(ec=21, out='Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 9.022 sec (0 m 9 s)\nStart Date: 2026:08:11 13:27:14\nEnd Date: 2026:08:11 13:27:23\n', err='ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on Loca...o clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:757: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamdscan --allmatch is not sticky [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf --wait --ping 10 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/input/pe_allmatch/test.exe LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 9.022 sec (0 m 9 s) Start Date: 2026:08:11 13:27:14 End Date: 2026:08:11 13:27:23 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14378== Memcheck, a memory error detector [INFO]: ==14378== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14378== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14378== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14378== Parent PID: 14284 [INFO]: ==14378== [INFO]: --14378-- [INFO]: --14378-- Valgrind options: [INFO]: --14378-- -v [INFO]: --14378-- --trace-children=yes [INFO]: --14378-- --track-fds=yes [INFO]: --14378-- --leak-check=full [INFO]: --14378-- --show-possibly-lost=no [INFO]: --14378-- --show-leak-kinds=definite [INFO]: --14378-- --errors-for-leak-kinds=definite [INFO]: --14378-- --main-stacksize=16777216 [INFO]: --14378-- --gen-suppressions=all [INFO]: --14378-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14378-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14378-- --error-exitcode=123 [INFO]: --14378-- Contents of /proc/version: [INFO]: --14378-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14378-- [INFO]: --14378-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14378-- Page sizes: currently 4096, max supported 4096 [INFO]: --14378-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14378-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14378-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14378-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14378-- object doesn't have a dynamic symbol table [INFO]: --14378-- Scheduler: using generic scheduler lock implementation. [INFO]: --14378-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14378-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14378== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14378-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14378== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14378-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14378== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14378-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14378== [INFO]: ==14378== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14378== don't want to do, unless you know exactly what you're doing, [INFO]: ==14378== or are doing some strange experiment): [INFO]: ==14378== /usr/libexec/valgrind/../../bin/vgdb --pid=14378 ...command... [INFO]: ==14378== [INFO]: ==14378== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14378== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14378== and then give GDB the following command [INFO]: ==14378== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14378 [INFO]: ==14378== --pid is optional if only one valgrind process is running [INFO]: ==14378== [INFO]: --14378-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14378-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14378-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14378-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14378-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14378-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14378-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14378-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14378-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14378-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14378-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14378-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14378-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14378-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14378-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14378-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14378-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14378-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14378-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14378-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14378-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14378-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14378-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14378-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14378-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14378-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14378-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14378-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14378-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14378-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14378-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14378-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14378-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14378-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14378-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14378-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14378-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14378-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14378-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14378-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14378-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: --14378-- REDIR: 0x513c9ca (libc.so.6:__strncpy_generic) redirected to 0x4871a42 (strncpy) [INFO]: --14378-- REDIR: 0x5138496 (libc.so.6:strlcat) redirected to 0x4871656 (strlcat) [INFO]: --14378-- REDIR: 0x518662a (libc.so.6:__stpcpy_chk) redirected to 0x4875430 (__stpcpy_chk) [INFO]: --14378-- REDIR: 0x51866d2 (libc.so.6:__strcpy_chk) redirected to 0x48753fa (__strcpy_chk) [INFO]: --14378-- REDIR: 0x513862c (libc.so.6:strncasecmp_l) redirected to 0x48723e8 (strncasecmp_l) [INFO]: ==14378== [INFO]: ==14378== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14378== at 0x517527A: __read_nocancel (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511E215: _IO_file_underflow@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511FF15: _IO_default_uflow (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5114FE9: _IO_getline_info (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511D2EB: fgets_unlocked (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5193149: do_init (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x51297A7: __pthread_once_slow.isra.0 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5129835: pthread_once@@GLIBC_2.34 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5193BC3: __resolv_conf_load (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5197A65: __resolv_conf_get_current (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5194609: __res_vinit (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x519864D: maybe_init (in /usr/lib64/libc.so.6) [INFO]: ==14378== [INFO]: ==14378== FILE DESCRIPTORS: 4 open (3 inherited) at exit. [INFO]: ==14378== Open file descriptor 3: /etc/host.conf [INFO]: ==14378== at 0x5175134: __open_nocancel (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511DB7F: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x511DC7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5114147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5193103: do_init (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x51297A7: __pthread_once_slow.isra.0 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5129835: pthread_once@@GLIBC_2.34 (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5193BC3: __resolv_conf_load (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5197A65: __resolv_conf_get_current (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5194609: __res_vinit (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x519864D: maybe_init (in /usr/lib64/libc.so.6) [INFO]: ==14378== by 0x5198787: __resolv_context_get (in /usr/lib64/libc.so.6) [INFO]: ==14378== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:__open_nocancel [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:do_init [INFO]: fun:__pthread_once_slow.isra.0 [INFO]: fun:pthread_once@@GLIBC_2.34 [INFO]: fun:__resolv_conf_load [INFO]: fun:__resolv_conf_get_current [INFO]: fun:__res_vinit [INFO]: fun:maybe_init [INFO]: fun:__resolv_context_get [INFO]: } [INFO]: ==14378== [INFO]: ==14378== HEAP SUMMARY: [INFO]: ==14378== in use at exit: 793,213 bytes in 891 blocks [INFO]: ==14378== total heap usage: 5,885 allocs, 4,994 frees, 2,988,958 bytes allocated [INFO]: ==14378== [INFO]: ==14378== Searching for pointers to 891 not-freed blocks [INFO]: ==14378== Checked 11,167,216 bytes [INFO]: ==14378== [INFO]: ==14378== LEAK SUMMARY: [INFO]: ==14378== definitely lost: 0 bytes in 0 blocks [INFO]: ==14378== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14378== possibly lost: 0 bytes in 0 blocks [INFO]: ==14378== still reachable: 793,213 bytes in 891 blocks [INFO]: ==14378== suppressed: 0 bytes in 0 blocks [INFO]: ==14378== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14378== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14378== [INFO]: ==14378== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) _________________ TC.test_clamd_11_alertexceedsmax_maxfilesize _________________ self = def tearDown(self): super(TC, self).tearDown() # Kill clamd (if running) if self.proc != None: try: self.proc.terminate() self.proc.wait(timeout=120) self.proc.stdin.close() except OSError as exc: self.log.warning('Unexpected exception {}'.format(exc)) pass # ignore self.proc = None try: TC.clamd_pid.unlink() except Exception: pass # missing_ok=True is too for common use. try: TC.clamd_socket.unlink() except Exception: pass # missing_ok=True is too for common use. > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:144: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Testing clamd's AlertExceedsMax with MaxFileSize and MaxScanSize [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf --wait --ping 10 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/big_file LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode Tue Aug 11 13:27:34 2026 -> Limits: Global time limit set to 120000 milliseconds. Tue Aug 11 13:27:34 2026 -> Limits: Global size limit set to 500 bytes. Tue Aug 11 13:27:34 2026 -> Limits: File size limit set to 500 bytes. Tue Aug 11 13:27:34 2026 -> Limits: Recursion level limit set to 17. Tue Aug 11 13:27:34 2026 -> Limits: Files limit set to 10000. Tue Aug 11 13:27:34 2026 -> Limits: Core-dump limit is 0. Tue Aug 11 13:27:34 2026 -> Limits: MaxEmbeddedPE limit set to 41943040 bytes. Tue Aug 11 13:27:34 2026 -> Limits: MaxHTMLNormalize limit set to 41943040 bytes. Tue Aug 11 13:27:34 2026 -> Limits: MaxHTMLNoTags limit set to 8388608 bytes. Tue Aug 11 13:27:34 2026 -> Limits: MaxScriptNormalize limit set to 20971520 bytes. Tue Aug 11 13:27:34 2026 -> Limits: MaxZipTypeRcg limit set to 1048576 bytes. Tue Aug 11 13:27:34 2026 -> Limits: MaxPartitions limit set to 50. Tue Aug 11 13:27:34 2026 -> Limits: MaxIconsPE limit set to 100. Tue Aug 11 13:27:34 2026 -> Limits: MaxRecHWP3 limit set to 16. Tue Aug 11 13:27:34 2026 -> Limits: PCREMatchLimit limit set to 100000. Tue Aug 11 13:27:34 2026 -> Limits: PCRERecMatchLimit limit set to 2000. Tue Aug 11 13:27:34 2026 -> Limits: PCREMaxFileSize limit set to 104857600. Tue Aug 11 13:27:34 2026 -> Archive support enabled. Tue Aug 11 13:27:34 2026 -> Image (graphics) scanning support enabled. Tue Aug 11 13:27:34 2026 -> Detection using image fuzzy hash enabled. Tue Aug 11 13:27:34 2026 -> Heuristic alerting enabled for scans that exceed set maximums. Tue Aug 11 13:27:34 2026 -> Heuristic alerts enabled. Tue Aug 11 13:27:34 2026 -> Portable Executable support enabled. Tue Aug 11 13:27:34 2026 -> ELF support enabled. Tue Aug 11 13:27:34 2026 -> Mail files support enabled. Tue Aug 11 13:27:34 2026 -> OLE2 support enabled. Tue Aug 11 13:27:34 2026 -> PDF support enabled. Tue Aug 11 13:27:34 2026 -> SWF support enabled. Tue Aug 11 13:27:34 2026 -> HTML support enabled. Tue Aug 11 13:27:34 2026 -> XMLDOCS support enabled. Tue Aug 11 13:27:34 2026 -> HWP3 support enabled. Tue Aug 11 13:27:34 2026 -> OneNote support enabled. Tue Aug 11 13:27:34 2026 -> Self checking every 600 seconds. Tue Aug 11 13:27:34 2026 -> Listening daemon: PID: 14382 Tue Aug 11 13:27:34 2026 -> MaxQueue set to: 800 Tue Aug 11 13:27:34 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/big_file: Heuristics.Limits.Exceeded.MaxFileSize FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/big_file: Heuristics.Limits.Exceeded.MaxFileSize FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 9.215 sec (0 m 9 s) Start Date: 2026:08:11 13:27:25 End Date: 2026:08:11 13:27:34 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/big_zip Tue Aug 11 13:27:36 2026 -> /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/big_zip: Heuristics.Limits.Exceeded.MaxScanSize FOUND [DEBUG]: Exit code: 1 [DEBUG]: stdout: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/big_zip: Heuristics.Limits.Exceeded.MaxScanSize FOUND ----------- SCAN SUMMARY ----------- Infected files: 1 Time: 1.955 sec (0 m 1 s) Start Date: 2026:08:11 13:27:34 End Date: 2026:08:11 13:27:36 [DEBUG]: stderr: Tue Aug 11 13:27:36 2026 -> Waiting for all threads to finish Tue Aug 11 13:27:36 2026 -> Shutting down the main sockets. Tue Aug 11 13:27:36 2026 -> Pid file removed. Tue Aug 11 13:27:36 2026 -> --- Stopped at Tue Aug 11 13:27:36 2026 Tue Aug 11 13:27:36 2026 -> Closing the main sockets. Tue Aug 11 13:27:36 2026 -> Socket file removed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14382== Memcheck, a memory error detector [INFO]: ==14382== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14382== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14382== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [INFO]: ==14382== Parent PID: 14284 [INFO]: ==14382== [INFO]: --14382-- [INFO]: --14382-- Valgrind options: [INFO]: --14382-- -v [INFO]: --14382-- --trace-children=yes [INFO]: --14382-- --track-fds=yes [INFO]: --14382-- --leak-check=full [INFO]: --14382-- --show-possibly-lost=no [INFO]: --14382-- --show-leak-kinds=definite [INFO]: --14382-- --errors-for-leak-kinds=definite [INFO]: --14382-- --main-stacksize=16777216 [INFO]: --14382-- --gen-suppressions=all [INFO]: --14382-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14382-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log [INFO]: --14382-- --error-exitcode=123 [INFO]: --14382-- Contents of /proc/version: [INFO]: --14382-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14382-- [INFO]: --14382-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14382-- Page sizes: currently 4096, max supported 4096 [INFO]: --14382-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14382-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: --14382-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14382-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14382-- object doesn't have a dynamic symbol table [INFO]: --14382-- Scheduler: using generic scheduler lock implementation. [INFO]: --14382-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14382-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14382== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14382-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14382== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14382-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14382== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14382-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14382== [INFO]: ==14382== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14382== don't want to do, unless you know exactly what you're doing, [INFO]: ==14382== or are doing some strange experiment): [INFO]: ==14382== /usr/libexec/valgrind/../../bin/vgdb --pid=14382 ...command... [INFO]: ==14382== [INFO]: ==14382== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14382== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd [INFO]: ==14382== and then give GDB the following command [INFO]: ==14382== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14382 [INFO]: ==14382== --pid is optional if only one valgrind process is running [INFO]: ==14382== [INFO]: --14382-- REDIR: 0x404be90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14382-- REDIR: 0x404c2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14382-- REDIR: 0x404be6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14382-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14382-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14382-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14382-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14382-- Reading syms from /usr/lib64/libsystemd.so.0.44.0 [INFO]: --14382-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14382-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14382-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14382-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14382-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14382-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14382-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14382-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14382-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14382-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14382-- REDIR: 0x5135c62 (libc.so.6:memchr) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x513642a (libc.so.6:memmove) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x5138724 (libc.so.6:strncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x5138572 (libc.so.6:strlen) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x513800e (libc.so.6:strcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x5135cd4 (libc.so.6:bcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x51371f6 (libc.so.6:strcat) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x51386d0 (libc.so.6:strncmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x5136918 (libc.so.6:stpncpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x5138846 (libc.so.6:rindex) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x5137268 (libc.so.6:index) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x5135d46 (libc.so.6:memcpy) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x51366b4 (libc.so.6:memset) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x5137434 (libc.so.6:strcmp) redirected to 0x48653b8 (_vgnU_ifunc_wrapper) [INFO]: --14382-- REDIR: 0x513ca76 (libc.so.6:__strrchr_generic) redirected to 0x4871152 (rindex) [INFO]: --14382-- REDIR: 0x513c43e (libc.so.6:__strlen_generic) redirected to 0x48717d4 (strlen) [INFO]: --14382-- REDIR: 0x513c582 (libc.so.6:__strncmp_generic) redirected to 0x4871ed8 (strncmp) [INFO]: --14382-- REDIR: 0x5132ca2 (libc.so.6:malloc) redirected to 0x48697fa (malloc) [INFO]: --14382-- REDIR: 0x51330e2 (libc.so.6:free) redirected to 0x486c144 (free) [INFO]: --14382-- REDIR: 0x513beb6 (libc.so.6:__memset_generic) redirected to 0x4874a26 (memset) [INFO]: --14382-- REDIR: 0x513bad6 (libc.so.6:__memcpy_generic) redirected to 0x4872d04 (memcpy) [INFO]: --14382-- REDIR: 0x513c122 (libc.so.6:__strcmp_generic) redirected to 0x4872598 (strcmp) [INFO]: --14382-- REDIR: 0x513b4e6 (libc.so.6:__memchr_generic) redirected to 0x48726ac (memchr) [INFO]: --14382-- REDIR: 0x513c0c2 (libc.so.6:__strchr_generic) redirected to 0x4871322 (index) [INFO]: --14382-- REDIR: 0x51372da (libc.so.6:strchrnul) redirected to 0x4875388 (strchrnul) [INFO]: --14382-- REDIR: 0x5138f50 (libc.so.6:strstr) redirected to 0x4875a6a (strstr) [INFO]: --14382-- REDIR: 0x5133390 (libc.so.6:realloc) redirected to 0x486fd14 (realloc) [INFO]: --14382-- REDIR: 0x51369dc (libc.so.6:strcasecmp_l) redirected to 0x48722c8 (strcasecmp_l) [INFO]: --14382-- REDIR: 0x5186128 (libc.so.6:__memcpy_chk) redirected to 0x4875996 (__memcpy_chk) [INFO]: --14382-- REDIR: 0x51367b2 (libc.so.6:stpcpy) redirected to 0x4874436 (stpcpy) [INFO]: --14382-- REDIR: 0x51387e2 (libc.so.6:strnlen) redirected to 0x487176c (strnlen) [INFO]: --14382-- REDIR: 0x513b70a (libc.so.6:__memcmp_generic) redirected to 0x4874376 (bcmp) [INFO]: --14382-- REDIR: 0x513881c (libc.so.6:strpbrk) redirected to 0x4875b90 (strpbrk) [INFO]: --14382-- REDIR: 0x51338ec (libc.so.6:calloc) redirected to 0x486fb56 (calloc) [INFO]: --14382-- REDIR: 0x513bd0a (libc.so.6:__memmove_generic) redirected to 0x4874ad0 (memmove) [INFO]: --14382-- REDIR: 0x513698a (libc.so.6:strcasecmp) redirected to 0x48720dc (strcasecmp) [INFO]: --14382-- REDIR: 0x513c9ca (libc.so.6:__strncpy_generic) redirected to 0x4871a42 (strncpy) [INFO]: --14382-- REDIR: 0x5138496 (libc.so.6:strlcat) redirected to 0x4871656 (strlcat) [INFO]: --14382-- REDIR: 0x518662a (libc.so.6:__stpcpy_chk) redirected to 0x4875430 (__stpcpy_chk) [INFO]: --14382-- REDIR: 0x51866d2 (libc.so.6:__strcpy_chk) redirected to 0x48753fa (__strcpy_chk) [INFO]: --14382-- REDIR: 0x513862c (libc.so.6:strncasecmp_l) redirected to 0x48723e8 (strncasecmp_l) [INFO]: --14382-- REDIR: 0x51385c6 (libc.so.6:strncasecmp) redirected to 0x4872178 (strncasecmp) [INFO]: --14382-- REDIR: 0x5186140 (libc.so.6:__memmove_chk) redirected to 0x487532a (__memmove_chk) [INFO]: --14382-- REDIR: 0x513c3f6 (libc.so.6:__strcpy_generic) redirected to 0x48718de (strcpy) [INFO]: --14382-- REDIR: 0x5134176 (libc.so.6:posix_memalign) redirected to 0x4870614 (posix_memalign) [INFO]: ==14382== File descriptor 3: AF_INET6 socket 3: [::1]:3319 <-> is already closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400156D: main (clamd.c:862) [INFO]: ==14382== Previously closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x4004D85: acceptloop_th (server-th.c:655) [INFO]: ==14382== by 0x512506B: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x517C611: __thread_start (in /usr/lib64/libc.so.6) [INFO]: ==14382== Originally opened [INFO]: ==14382== at 0x517DE7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400874F: tcpserver (tcpserver.c:135) [INFO]: ==14382== by 0x400219F: main (clamd.c:721) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==14382== File descriptor 4: AF_INET socket 4: 127.0.0.1:3319 <-> is already closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400156D: main (clamd.c:862) [INFO]: ==14382== Previously closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x4004D85: acceptloop_th (server-th.c:655) [INFO]: ==14382== by 0x512506B: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x517C611: __thread_start (in /usr/lib64/libc.so.6) [INFO]: ==14382== Originally opened [INFO]: ==14382== at 0x517DE7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400874F: tcpserver (tcpserver.c:135) [INFO]: ==14382== by 0x400219F: main (clamd.c:721) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==14382== File descriptor 5: AF_UNIX socket 5: clamd-test.socket is already closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400156D: main (clamd.c:862) [INFO]: ==14382== Previously closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x4004D85: acceptloop_th (server-th.c:655) [INFO]: ==14382== by 0x512506B: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x517C611: __thread_start (in /usr/lib64/libc.so.6) [INFO]: ==14382== Originally opened [INFO]: ==14382== at 0x517DE7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x40032BB: localserver (localserver.c:149) [INFO]: ==14382== by 0x4001C3F: main (clamd.c:751) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: --14382-- REDIR: 0x5133cc0 (libc.so.6:malloc_usable_size) redirected to 0x4870b26 (malloc_usable_size) [INFO]: --14382-- REDIR: 0x51389e2 (libc.so.6:strspn) redirected to 0x4875cb0 (strspn) [INFO]: --14382-- REDIR: 0x5138080 (libc.so.6:strcspn) redirected to 0x4875bd0 (strcspn) [INFO]: ==14382== [INFO]: ==14382== FILE DESCRIPTORS: 3 open (3 inherited) at exit. [INFO]: ==14382== [INFO]: ==14382== HEAP SUMMARY: [INFO]: ==14382== in use at exit: 164,015 bytes in 3,237 blocks [INFO]: ==14382== total heap usage: 10,564 allocs, 7,327 frees, 3,330,218 bytes allocated [INFO]: ==14382== [INFO]: ==14382== Searching for pointers to 3,237 not-freed blocks [INFO]: ==14382== Checked 450,152 bytes [INFO]: ==14382== [INFO]: ==14382== LEAK SUMMARY: [INFO]: ==14382== definitely lost: 0 bytes in 0 blocks [INFO]: ==14382== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14382== possibly lost: 0 bytes in 0 blocks [INFO]: ==14382== still reachable: 164,015 bytes in 3,237 blocks [INFO]: ==14382== suppressed: 0 bytes in 0 blocks [INFO]: ==14382== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14382== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14382== [INFO]: ==14382== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) [INFO]: ==14382== [INFO]: ==14382== 1 errors in context 1 of 3: [INFO]: ==14382== File descriptor 5: AF_UNIX socket 5: clamd-test.socket is already closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400156D: main (clamd.c:862) [INFO]: ==14382== Previously closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x4004D85: acceptloop_th (server-th.c:655) [INFO]: ==14382== by 0x512506B: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x517C611: __thread_start (in /usr/lib64/libc.so.6) [INFO]: ==14382== Originally opened [INFO]: ==14382== at 0x517DE7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x40032BB: localserver (localserver.c:149) [INFO]: ==14382== by 0x4001C3F: main (clamd.c:751) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==14382== [INFO]: ==14382== 1 errors in context 2 of 3: [INFO]: ==14382== File descriptor 4: AF_INET socket 4: 127.0.0.1:3319 <-> is already closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400156D: main (clamd.c:862) [INFO]: ==14382== Previously closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x4004D85: acceptloop_th (server-th.c:655) [INFO]: ==14382== by 0x512506B: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x517C611: __thread_start (in /usr/lib64/libc.so.6) [INFO]: ==14382== Originally opened [INFO]: ==14382== at 0x517DE7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400874F: tcpserver (tcpserver.c:135) [INFO]: ==14382== by 0x400219F: main (clamd.c:721) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==14382== [INFO]: ==14382== 1 errors in context 3 of 3: [INFO]: ==14382== File descriptor 3: /proc/self/status is already closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400156D: main (clamd.c:862) [INFO]: ==14382== Previously closed [INFO]: ==14382== at 0x51708CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x4004D85: acceptloop_th (server-th.c:655) [INFO]: ==14382== by 0x512506B: start_thread (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x517C611: __thread_start (in /usr/lib64/libc.so.6) [INFO]: ==14382== Originally opened [INFO]: ==14382== at 0x517DE7C: socket (in /usr/lib64/libc.so.6) [INFO]: ==14382== by 0x400874F: tcpserver (tcpserver.c:135) [INFO]: ==14382== by 0x400219F: main (clamd.c:721) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:main [INFO]: } [INFO]: ==14382== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) ______________________ TC.test_clamd_12_onenote_disabled _______________________ self = def test_clamd_12_onenote_disabled(self): self.step_name('Test that clamd.conf `ScanOneNote no` disables onenote support.') testpaths = [ TC.path_build / "unit_tests" / "input" / "clamav_hdb_scanfiles" / "clam.exe.2007.one", TC.path_build / "unit_tests" / "input" / "clamav_hdb_scanfiles" / "clam.exe.2010.one", TC.path_build / "unit_tests" / "input" / "clamav_hdb_scanfiles" / "clam.exe.webapp-export.one", ] testfiles = ' '.join([str(testpath) for testpath in testpaths]) # We'll use a config that sets `ScanOneNote yes` config = ''' Foreground yes PidFile {pid} DatabaseDirectory {dbdir} LogFileMaxSize 0 LogTime yes #Debug yes LogClean yes LogVerbose yes ExitOnOOM yes DetectPUA yes ScanPDF yes CommandReadTimeout 1 MaxQueue 800 MaxConnectionQueueLength 1024 ScanOneNote yes '''.format(pid=TC.clamd_pid, dbdir=TC.path_db) if operating_system == 'windows': # Only have TCP socket option for Windows. config += ''' TCPSocket {socket} TCPAddr localhost '''.format(socket=TC.clamd_port_num) else: # Use LocalSocket for Posix, because that's what check_clamd expects. config += ''' LocalSocket {localsocket} TCPSocket {tcpsocket} TCPAddr localhost '''.format(localsocket=TC.clamd_socket, tcpsocket=TC.clamd_port_num) clamd_config = TC.path_tmp / 'clamd-test.conf' clamd_config.write_text(config) # Copy database to database path shutil.copy( str(TC.path_build / 'unit_tests' / 'input' / 'clamav.hdb'), str(TC.path_db), ) # # Start ClamD with our custom config # self.start_clamd(clamd_config=clamd_config) poll = self.proc.poll() assert poll == None # subprocess is alive if poll() returns None # Check the big_file scan exceeds max filesize output = self.execute_command('{clamdscan} -c {clamd_config} --wait --ping 10 {testfiles}'.format( clamdscan=TC.clamdscan, clamd_config=clamd_config, testfiles=testfiles)) > assert output.ec == 1 # virus found ^^^^^^^^^^^^^^^^^^^^^ E AssertionError: assert 21 == 1 E + where 21 = CmdResult(ec=21, out='Wait timeout exceeded; Could not connect to clamd\n\n----------- SCAN SUMMARY -----------\nInfected files: 0\nTime: 9.025 sec (0 m 9 s)\nStart Date: 2026:08:11 13:27:38\nEnd Date: 2026:08:11 13:27:47\n', err='ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on Loca...o clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory\nERROR: Could not connect to clamd on localhost: Connection refused\nERROR: Could not connect to clamd on localhost: Connection refused\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamd_test.py:929: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test that clamd.conf `ScanOneNote no` disables onenote support. [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamd: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamd/clamd --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf [DEBUG]: Run command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamdscan/clamdscan -c /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/clamd-test.conf --wait --ping 10 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2007.one /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.webapp-export.one LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode LibClamAV Warning: Only loading signed bytecode, skipping load of unsigned bytecode! LibClamAV Warning: Turn on BytecodeUnsigned/--bytecode-unsigned to enable loading of unsigned bytecode [DEBUG]: Exit code: 21 [DEBUG]: stdout: Wait timeout exceeded; Could not connect to clamd ----------- SCAN SUMMARY ----------- Infected files: 0 Time: 9.025 sec (0 m 9 s) Start Date: 2026:08:11 13:27:38 End Date: 2026:08:11 13:27:47 [DEBUG]: stderr: ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on LocalSocket clamd-test.socket: No such file or directory ERROR: Could not connect to clamd on localhost: Connection refused ERROR: Could not connect to clamd on localhost: Connection refused [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815/valgrind.log... [INFO]: ==14393== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-ntcfz815 =========================== short test summary info ============================ FAILED clamd_test.py::TC::test_clamd_01_ping_pong - AssertionError: assert 21... FAILED clamd_test.py::TC::test_clamd_02_clamdscan_version - AssertionError: a... FAILED clamd_test.py::TC::test_clamd_03_reload - AssertionError: Expected ite... FAILED clamd_test.py::TC::test_clamd_04_all_testfiles - AssertionError: Expec... FAILED clamd_test.py::TC::test_clamd_05_check_clamd - AssertionError: assert ... FAILED clamd_test.py::TC::test_clamd_05a_quarantine_copy_uses_real_source_path FAILED clamd_test.py::TC::test_clamd_05b_quarantine_copy_modes_use_real_source_path FAILED clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off - Asserti... FAILED clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on - Assertio... FAILED clamd_test.py::TC::test_clamd_08_VirusEvent - AssertionError: assert 2... FAILED clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath - AssertionErro... FAILED clamd_test.py::TC::test_clamd_10_allmatch_not_sticky - AssertionError:... FAILED clamd_test.py::TC::test_clamd_11_alertexceedsmax_maxfilesize - Asserti... FAILED clamd_test.py::TC::test_clamd_12_onenote_disabled - AssertionError: as... ERROR clamd_test.py::TC::test_clamd_01_ping_pong - AssertionError: Valgrind t... ERROR clamd_test.py::TC::test_clamd_02_clamdscan_version - AssertionError: Va... ERROR clamd_test.py::TC::test_clamd_03_reload - AssertionError: Valgrind test... ERROR clamd_test.py::TC::test_clamd_04_all_testfiles - AssertionError: Valgri... ERROR clamd_test.py::TC::test_clamd_05_check_clamd - AssertionError: Valgrind... ERROR clamd_test.py::TC::test_clamd_05a_quarantine_copy_uses_real_source_path ERROR clamd_test.py::TC::test_clamd_05b_quarantine_copy_modes_use_real_source_path ERROR clamd_test.py::TC::test_clamd_06_HeuristicScanPrecedence_off - Assertio... ERROR clamd_test.py::TC::test_clamd_07_HeuristicScanPrecedence_on - Assertion... ERROR clamd_test.py::TC::test_clamd_08_VirusEvent - AssertionError: Valgrind ... ERROR clamd_test.py::TC::test_clamd_09_clamdscan_ExcludePath - AssertionError... ERROR clamd_test.py::TC::test_clamd_10_allmatch_not_sticky - AssertionError: ... ============= 14 failed, 1 passed, 12 errors in 166.53s (0:02:46) ============== 3/5 Test #9: freshclam_valgrind ...............***Failed 243.11 sec ============================= test session starts ============================== platform linux -- Python 3.15.0b4, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests collecting ... collected 11 items freshclam_test.py::TC::test_freshclam_00_version PASSED [ 9%] freshclam_test.py::TC::test_freshclam_01_file_copy FAILED [ 18%] freshclam_test.py::TC::test_freshclam_02_http_403 PASSED [ 27%] freshclam_test.py::TC::test_freshclam_03_http_403_daemonized PASSED [ 36%] freshclam_test.py::TC::test_freshclam_04_http_429 PASSED [ 45%] freshclam_test.py::TC::test_freshclam_05_cdiff_update FAILED [ 54%] freshclam_test.py::TC::test_freshclam_05_cdiff_update ERROR [ 54%] freshclam_test.py::TC::test_freshclam_05_cdiff_update_UNC SKIPPED (T...) [ 63%] freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 FAILED [ 72%] freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 ERROR [ 72%] freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 FAILED [ 81%] freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 ERROR [ 81%] freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd FAILED [ 90%] freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd ERROR [ 90%] freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice FAILED [100%] freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice ERROR [100%] ==================================== ERRORS ==================================== ____________ ERROR at teardown of TC.test_freshclam_05_cdiff_update ____________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): ^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): ^^^^^^^^^^^^^^^^^^^^^^^^^ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 452: invalid start byte /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): ^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b't: 48 bytes in 1 blocks\n==14381== still reachable: 601,925 bytes in 10,023 blocks\n==14381== suppressed:...:sys::fd::unix::FileDesc> (library/core/src/ptr/mod.rs:825)\n==14381== by 0x49231E3: drop_glue ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 452: invalid start byte :325: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:27:17 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:27:17 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:27:17 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:27:17 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:27:18 2026 -> Creating new freshclam.dat Tue Aug 11 13:27:18 2026 -> Saved freshclam.dat Tue Aug 11 13:27:18 2026 -> ClamAV update process started at Tue Aug 11 13:27:18 2026 Tue Aug 11 13:27:18 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:27:18 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:27:18 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41920 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48334 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:19 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:19 2026 -> OK Tue Aug 11 13:27:20 2026 -> test database version obtained using HTTP GET: 6 Tue Aug 11 13:27:20 2026 -> test database available for update (local version: 1, remote version: 6) Tue Aug 11 13:27:20 2026 -> Retrieving http://localhost:8001/test-2.cdiff Tue Aug 11 13:27:20 2026 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Tue Aug 11 13:27:20 2026 -> downloadFile: Download destination: ./clamav-19e99cb2d1c3214adc90adc8ddf2546c.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41936 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48338 * using HTTP/1.x > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:20 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> Retrieving http://localhost:8001/test-3.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download destination: ./clamav-e4fd6af96a78e4cb0080ba67594d169f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41946 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48354 * using HTTP/1.x > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:21 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> Retrieving http://localhost:8001/test-4.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download destination: ./clamav-45a148771dec07c20c0e56007d5604bb.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41962 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48370 * using HTTP/1.x > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:21 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download destination: ./clamav-c5a33d587bb20ad13710770460179792.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41970 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48376 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:21 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> Retrieving http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download destination: ./clamav-d24f5d5bed6bc48cab5a90563950ccd0.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41980 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48386 * using HTTP/1.x > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:21 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:27:21 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld Tue Aug 11 13:27:21 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:27:21 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:27:21 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld' ... Tue Aug 11 13:27:22 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld Tue Aug 11 13:27:22 2026 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld Tue Aug 11 13:27:22 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:27:18 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:27:22 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:27:22 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:27:22 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:27:22 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:27:22 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:27:19] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:27:20] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:21] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:21] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:21] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:21] "GET /test-6.cdiff HTTP/1.1" 200 - _______ ERROR at teardown of TC.test_freshclam_06_cdiff_partial_minus_1 ________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): ^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): ^^^^^^^^^^^^^^^^^^^^^^^^^ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 1819: invalid start byte /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): ^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'on_name_here>\n CoreError:FdNotClosed\n fun:pipe\n fun:download_complete_callback\n fun:updatedb\n fun:fc_...in /usr/lib64/libc.so.6)\n==14387== by 0x49231E3: drop (library/std/src/os/fd/owned.rs:216)\n==14387== by 0x4923' final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 1819: invalid start byte :325: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will accept a partial update with 1 missing cdiff [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:27:41 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:27:41 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:27:41 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:27:41 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:27:41 2026 -> Creating new freshclam.dat Tue Aug 11 13:27:41 2026 -> Saved freshclam.dat Tue Aug 11 13:27:41 2026 -> ClamAV update process started at Tue Aug 11 13:27:41 2026 Tue Aug 11 13:27:41 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:27:41 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:27:41 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 35434 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54002 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:43 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:43 2026 -> OK Tue Aug 11 13:27:43 2026 -> test database version obtained using HTTP GET: 6 Tue Aug 11 13:27:43 2026 -> test database available for update (local version: 3, remote version: 6) Tue Aug 11 13:27:44 2026 -> Retrieving http://localhost:8001/test-4.cdiff Tue Aug 11 13:27:44 2026 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Tue Aug 11 13:27:44 2026 -> downloadFile: Download destination: ./clamav-9dd94549a1ac0af023cc81c3dabbc692.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 35450 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54016 * using HTTP/1.x > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:44 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download destination: ./clamav-b4d31a1ffe622b760aca2b74c6fc79ad.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33288 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 41182 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:45 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Retrieving http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download destination: ./clamav-28ded93c3423a2909a5a7068c8d2791f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33296 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 41188 * using HTTP/1.x > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:45 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Retrieving http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download destination: ./clamav-91c931c319c200998dc2886b91fc280f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33310 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 41196 * using HTTP/1.x > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:45 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Retrieving http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download destination: ./clamav-82fea43b61b37bec921f699c637b341b.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33322 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 41198 * using HTTP/1.x > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:45 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Downloaded 2 patches for test, which is fewer than the 3 expected patches. Tue Aug 11 13:27:45 2026 -> We'll settle for this partial-update, at least for now. Tue Aug 11 13:27:45 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:27:45 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.c32b454013/clamav-1c32406562ae4dc09e959de338113065.tmp-test.cld Tue Aug 11 13:27:45 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:27:45 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:27:45 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.c32b454013/clamav-1c32406562ae4dc09e959de338113065.tmp-test.cld' ... Tue Aug 11 13:27:45 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.c32b454013/clamav-1c32406562ae4dc09e959de338113065.tmp-test.cld Tue Aug 11 13:27:46 2026 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.c32b454013/clamav-1c32406562ae4dc09e959de338113065.tmp-test.cld Tue Aug 11 13:27:46 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:27:41 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:46 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:27:46 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:27:46 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:27:46 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:27:46 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:27:43] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:27:44] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:45] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:45] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:27:45] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [11/Aug/2026 13:27:45] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:27:45] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [11/Aug/2026 13:27:45] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:27:45] "GET /test-6.cdiff HTTP/1.1" 404 - _______ ERROR at teardown of TC.test_freshclam_07_cdiff_partial_minus_2 ________ self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam behavior with 2 missing cdiffs [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:28:05 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:05 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:28:05 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:28:05 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:28:05 2026 -> Creating new freshclam.dat Tue Aug 11 13:28:05 2026 -> Saved freshclam.dat Tue Aug 11 13:28:05 2026 -> ClamAV update process started at Tue Aug 11 13:28:05 2026 Tue Aug 11 13:28:05 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:05 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:28:05 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34778 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54062 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:07 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:07 2026 -> OK Tue Aug 11 13:28:07 2026 -> test database version obtained using HTTP GET: 6 Tue Aug 11 13:28:07 2026 -> test database available for update (local version: 3, remote version: 6) Tue Aug 11 13:28:08 2026 -> Retrieving http://localhost:8001/test-4.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download destination: ./clamav-e8c1bb367d853cf9d37a7c1070ee56f4.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34792 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54064 * using HTTP/1.x > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:08 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:08 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download destination: ./clamav-361ff80aa2a77a02bb38c3f69ec9eb2b.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34806 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54080 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:08 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:28:08 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download destination: ./clamav-5b1e6d7324330d310eec36eb8e97cbff.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34822 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54084 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:08 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:28:08 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:09 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:09 2026 -> downloadFile: Download destination: ./clamav-a83088c4a0e4fc8aefcc27862a406e0e.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34826 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54098 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:09 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:28:09 2026 -> Downloaded 1 patches for test, which is fewer than the 3 expected patches. Tue Aug 11 13:28:09 2026 -> We'll settle for this partial-update, at least for now. Tue Aug 11 13:28:09 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:28:09 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.39fbc84284/clamav-1a69e83e49c28bff02d272198fa60c8e.tmp-test.cld Tue Aug 11 13:28:09 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:28:09 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:28:09 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.39fbc84284/clamav-1a69e83e49c28bff02d272198fa60c8e.tmp-test.cld' ... Tue Aug 11 13:28:09 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.39fbc84284/clamav-1a69e83e49c28bff02d272198fa60c8e.tmp-test.cld Tue Aug 11 13:28:09 2026 -> Properly loaded 12 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.39fbc84284/clamav-1a69e83e49c28bff02d272198fa60c8e.tmp-test.cld Tue Aug 11 13:28:10 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:28:05 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:28:08 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:08 2026 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:08 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:08 2026 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:09 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:09 2026 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:10 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:28:10 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:28:10 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:28:10 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:28:10 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14403== Memcheck, a memory error detector [INFO]: ==14403== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14403== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14403== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [INFO]: ==14403== Parent PID: 14285 [INFO]: ==14403== [INFO]: --14403-- [INFO]: --14403-- Valgrind options: [INFO]: --14403-- -v [INFO]: --14403-- --trace-children=yes [INFO]: --14403-- --track-fds=yes [INFO]: --14403-- --leak-check=full [INFO]: --14403-- --show-possibly-lost=no [INFO]: --14403-- --show-leak-kinds=definite [INFO]: --14403-- --errors-for-leak-kinds=definite [INFO]: --14403-- --main-stacksize=16777216 [INFO]: --14403-- --gen-suppressions=all [INFO]: --14403-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14403-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log [INFO]: --14403-- --error-exitcode=123 [INFO]: --14403-- Contents of /proc/version: [INFO]: --14403-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14403-- [INFO]: --14403-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14403-- Page sizes: currently 4096, max supported 4096 [INFO]: --14403-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14403-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam [INFO]: --14403-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14403-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14403-- object doesn't have a dynamic symbol table [INFO]: --14403-- Scheduler: using generic scheduler lock implementation. [INFO]: --14403-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14403-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14403== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14403-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14403== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14403-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14403== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14403-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14403== [INFO]: ==14403== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14403== don't want to do, unless you know exactly what you're doing, [INFO]: ==14403== or are doing some strange experiment): [INFO]: ==14403== /usr/libexec/valgrind/../../bin/vgdb --pid=14403 ...command... [INFO]: ==14403== [INFO]: ==14403== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14403== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam [INFO]: ==14403== and then give GDB the following command [INFO]: ==14403== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14403 [INFO]: ==14403== --pid is optional if only one valgrind process is running [INFO]: ==14403== [INFO]: --14403-- REDIR: 0x402ee90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14403-- REDIR: 0x402f2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14403-- REDIR: 0x402ee6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14403-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14403-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14403-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libfreshclam/libfreshclam.so.3.0.2 [INFO]: --14403-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14403-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14403-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --14403-- Reading syms from /usr/lib64/libssl.so.3.5.7 [INFO]: --14403-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14403-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14403-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14403-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14403-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14403-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14403-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14403-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14403-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14403-- Reading syms from /usr/lib64/libnghttp3.so.9.8.0 [INFO]: --14403-- Reading syms from /usr/lib64/libngtcp2_crypto_ossl.so.0.2.0 [INFO]: --14403-- Reading syms from /usr/lib64/libngtcp2.so.16.8.1 [INFO]: --14403-- Reading syms from /usr/lib64/libnghttp2.so.14.29.4 [INFO]: --14403-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --14403-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --14403-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --14403-- Reading syms from /usr/lib64/libssh.so.4.12.0 [INFO]: --14403-- Reading syms from /usr/lib64/libpsl.so.5.3.8 [INFO]: --14403-- Reading syms from /usr/lib64/libssl.so.4.0.1 [INFO]: --14403-- Reading syms from /usr/lib64/libcrypto.so.4.0.1 [INFO]: --14403-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --14403-- Reading syms from /usr/lib64/libbrotlidec.so.1.2.0 [INFO]: --14403-- Reading syms from /usr/lib64/libbrotlicommon.so.1.2.0 [INFO]: --14403-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14403-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --14403-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --14403-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --14403-- Reading syms from /usr/lib64/libfido2.so.1.17.0 [INFO]: --14403-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --14403-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --14403-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --14403-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --14403-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --14403-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --14403-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --14403-- Reading syms from /usr/lib64/libcbor.so.0.14.0 [INFO]: --14403-- Reading syms from /usr/lib64/libudev.so.1.7.14 [INFO]: --14403-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --14403-- REDIR: 0x57c1c62 (libc.so.6:memchr) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c242a (libc.so.6:memmove) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c4724 (libc.so.6:strncpy) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c4572 (libc.so.6:strlen) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c400e (libc.so.6:strcpy) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c1cd4 (libc.so.6:bcmp) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c31f6 (libc.so.6:strcat) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c46d0 (libc.so.6:strncmp) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c2918 (libc.so.6:stpncpy) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c4846 (libc.so.6:rindex) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c3268 (libc.so.6:index) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c1d46 (libc.so.6:memcpy) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c26b4 (libc.so.6:memset) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c3434 (libc.so.6:strcmp) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c8a76 (libc.so.6:__strrchr_generic) redirected to 0x4854152 (rindex) [INFO]: --14403-- REDIR: 0x57c7eb6 (libc.so.6:__memset_generic) redirected to 0x4857a26 (memset) [INFO]: --14403-- REDIR: 0x57beca2 (libc.so.6:malloc) redirected to 0x484c7fa (malloc) [INFO]: --14403-- REDIR: 0x57bf0e2 (libc.so.6:free) redirected to 0x484f144 (free) [INFO]: --14403-- REDIR: 0x57c843e (libc.so.6:__strlen_generic) redirected to 0x48547d4 (strlen) [INFO]: --14403-- REDIR: 0x57c8582 (libc.so.6:__strncmp_generic) redirected to 0x4854ed8 (strncmp) [INFO]: --14403-- REDIR: 0x5812128 (libc.so.6:__memcpy_chk) redirected to 0x4858996 (__memcpy_chk) [INFO]: --14403-- REDIR: 0x57c8122 (libc.so.6:__strcmp_generic) redirected to 0x4855598 (strcmp) [INFO]: --14403-- REDIR: 0x57c770a (libc.so.6:__memcmp_generic) redirected to 0x4857376 (bcmp) [INFO]: --14403-- REDIR: 0x57c4f50 (libc.so.6:strstr) redirected to 0x4858a6a (strstr) [INFO]: --14403-- REDIR: 0x57c74e6 (libc.so.6:__memchr_generic) redirected to 0x48556ac (memchr) [INFO]: --14403-- REDIR: 0x57c7ad6 (libc.so.6:__memcpy_generic) redirected to 0x4855d04 (memcpy) [INFO]: --14403-- REDIR: 0x57c481c (libc.so.6:strpbrk) redirected to 0x4858b90 (strpbrk) [INFO]: --14403-- REDIR: 0x57bf8ec (libc.so.6:calloc) redirected to 0x4852b56 (calloc) [INFO]: --14403-- REDIR: 0x57bf390 (libc.so.6:realloc) redirected to 0x4852d14 (realloc) [INFO]: --14403-- REDIR: 0x57c7d0a (libc.so.6:__memmove_generic) redirected to 0x4857ad0 (memmove) [INFO]: --14403-- REDIR: 0x57c298a (libc.so.6:strcasecmp) redirected to 0x48550dc (strcasecmp) [INFO]: --14403-- REDIR: 0x57c80c2 (libc.so.6:__strchr_generic) redirected to 0x4854322 (index) [INFO]: --14403-- REDIR: 0x57c32da (libc.so.6:strchrnul) redirected to 0x4858388 (strchrnul) [INFO]: --14403-- REDIR: 0x57c27b2 (libc.so.6:stpcpy) redirected to 0x4857436 (stpcpy) [INFO]: --14403-- REDIR: 0x57c89ca (libc.so.6:__strncpy_generic) redirected to 0x4854a42 (strncpy) [INFO]: --14403-- REDIR: 0x57c83f6 (libc.so.6:__strcpy_generic) redirected to 0x48548de (strcpy) [INFO]: --14403-- REDIR: 0x57c0176 (libc.so.6:posix_memalign) redirected to 0x4853614 (posix_memalign) [INFO]: --14403-- REDIR: 0x57c47e2 (libc.so.6:strnlen) redirected to 0x485476c (strnlen) [INFO]: --14403-- REDIR: 0x57c45c6 (libc.so.6:strncasecmp) redirected to 0x4855178 (strncasecmp) [INFO]: --14403-- REDIR: 0x57c4080 (libc.so.6:strcspn) redirected to 0x4858bd0 (strcspn) [INFO]: --14403-- REDIR: 0x5812140 (libc.so.6:__memmove_chk) redirected to 0x485832a (__memmove_chk) [INFO]: ==14403== File descriptor 3: ./clamav-e8c1bb367d853cf9d37a7c1070ee56f4.tmp is already closed [INFO]: ==14403== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x48C2FA9: downloadPatch (libfreshclam_internal.c:1711) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14403== Previously closed [INFO]: ==14403== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x49231E3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: cdiff_apply (cdiff.rs:596) [INFO]: ==14403== by 0x48C2F93: downloadPatch (libfreshclam_internal.c:1696) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14403== Originally opened [INFO]: ==14403== at 0x5800103: open (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x48C2F85: open (fcntl2.h:55) [INFO]: ==14403== by 0x48C2F85: downloadPatch (libfreshclam_internal.c:1690) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:downloadPatch [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14407== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14407-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14407== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14407-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14407== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14407-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14407== [INFO]: ==14407== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14407== don't want to do, unless you know exactly what you're doing, [INFO]: ==14407== or are doing some strange experiment): [INFO]: ==14407== /usr/libexec/valgrind/../../bin/vgdb --pid=14407 ...command... [INFO]: ==14407== [INFO]: ==14407== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14407== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam [INFO]: ==14407== and then give GDB the following command [INFO]: ==14407== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14407 [INFO]: ==14407== --pid is optional if only one valgrind process is running [INFO]: ==14407== [INFO]: --14407-- REDIR: 0x57bfcc0 (libc.so.6:malloc_usable_size) redirected to 0x4853b26 (malloc_usable_size) [INFO]: --14407-- REDIR: 0x57c49e2 (libc.so.6:strspn) redirected to 0x4858cb0 (strspn) [INFO]: ==14407== [INFO]: ==14407== FILE DESCRIPTORS: 4 open (2 inherited) at exit. [INFO]: ==14407== Open file descriptor 4: [INFO]: ==14407== at 0x580024C: pipe (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x40024D5: download_complete_callback (freshclam.c:302) [INFO]: ==14407== by 0x48C374F: updatedb (libfreshclam_internal.c:2484) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14407== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:pipe [INFO]: fun:download_complete_callback [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14407== Open file descriptor 2: [INFO]: ==14407== at 0x57FC984: dup2 (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x4002727: download_complete_callback (freshclam.c:349) [INFO]: ==14407== by 0x48C374F: updatedb (libfreshclam_internal.c:2484) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14407== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:dup2 [INFO]: fun:download_complete_callback [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14407== [INFO]: ==14407== HEAP SUMMARY: [INFO]: ==14407== in use at exit: 601,973 bytes in 10,024 blocks [INFO]: ==14407== total heap usage: 14,576 allocs, 4,552 frees, 2,054,510 bytes allocated [INFO]: ==14407== [INFO]: ==14407== Searching for pointers to 10,024 not-freed blocks [INFO]: ==14407== Checked 1,135,232 bytes [INFO]: ==14407== [INFO]: ==14407== LEAK SUMMARY: [INFO]: ==14407== definitely lost: 0 bytes in 0 blocks [INFO]: ==14407== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14407== possibly lost: 48 bytes in 1 blocks [INFO]: ==14407== still reachable: 601,925 bytes in 10,023 blocks [INFO]: ==14407== suppressed: 0 bytes in 0 blocks [INFO]: ==14407== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14407== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14407== [INFO]: ==14407== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) [INFO]: ==14407== [INFO]: ==14407== 1 errors in context 1 of 3: [INFO]: ==14407== File descriptor 3:  is already closed [INFO]: ==14407== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x48C2FA9: downloadPatch (libfreshclam_internal.c:1711) [INFO]: ==14407== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14407== Previously closed [INFO]: ==14407== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x49231E3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14407== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14407== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14407== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14407== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14407== by 0x49231E3: cdiff_apply (cdiff.rs:596) [INFO]: ==14407== by 0x48C2F93: downloadPatch (libfreshclam_internal.c:1696) [INFO]: ==14407== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14407== Originally opened [INFO]: ==14407== at 0x5800103: open (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x48C2F85: open (fcntl2.h:55) [INFO]: ==14407== by 0x48C2F85: downloadPatch (libfreshclam_internal.c:1690) [INFO]: ==14407== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:downloadPatch [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14407== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) [INFO]: --14403-- REDIR: 0x57bfcc0 (libc.so.6:malloc_usable_size) redirected to 0x4853b26 (malloc_usable_size) [INFO]: --14403-- REDIR: 0x57c49e2 (libc.so.6:strspn) redirected to 0x4858cb0 (strspn) [INFO]: ==14403== [INFO]: ==14403== FILE DESCRIPTORS: 3 open (3 inherited) at exit. [INFO]: ==14403== [INFO]: ==14403== HEAP SUMMARY: [INFO]: ==14403== in use at exit: 596,054 bytes in 9,882 blocks [INFO]: ==14403== total heap usage: 14,361 allocs, 4,479 frees, 1,768,941 bytes allocated [INFO]: ==14403== [INFO]: ==14403== Searching for pointers to 9,882 not-freed blocks [INFO]: ==14403== Checked 1,128,344 bytes [INFO]: ==14403== [INFO]: ==14403== LEAK SUMMARY: [INFO]: ==14403== definitely lost: 0 bytes in 0 blocks [INFO]: ==14403== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14403== possibly lost: 48 bytes in 1 blocks [INFO]: ==14403== still reachable: 596,006 bytes in 9,881 blocks [INFO]: ==14403== suppressed: 0 bytes in 0 blocks [INFO]: ==14403== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14403== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14403== [INFO]: ==14403== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==14403== [INFO]: ==14403== 1 errors in context 1 of 1: [INFO]: ==14403== File descriptor 3: /proc/self/status is already closed [INFO]: ==14403== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x48C2FA9: downloadPatch (libfreshclam_internal.c:1711) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14403== Previously closed [INFO]: ==14403== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x49231E3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: cdiff_apply (cdiff.rs:596) [INFO]: ==14403== by 0x48C2F93: downloadPatch (libfreshclam_internal.c:1696) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14403== Originally opened [INFO]: ==14403== at 0x5800103: open (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x48C2F85: open (fcntl2.h:55) [INFO]: ==14403== by 0x48C2F85: downloadPatch (libfreshclam_internal.c:1690) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:downloadPatch [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14403== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:28:07] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:28:08] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:28:08] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:28:08] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [11/Aug/2026 13:28:08] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:28:08] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [11/Aug/2026 13:28:09] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:28:09] "GET /test-5.cdiff HTTP/1.1" 404 - ______ ERROR at teardown of TC.test_freshclam_07_no_cdiff_out_of_date_cvd ______ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): ^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): ^^^^^^^^^^^^^^^^^^^^^^^^^ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 2965: invalid continuation byte /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:305: in verify_valgrind_log for line in log.readlines(): ^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'freshclam.c:1900)\n==14416== Previously closed\n==14416== at 0x57FC8CD: close (in /usr/lib64/libc.so.6)\n==14416...un:perform_database_update\n fun:main\n}\n==14412== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)\n' final = False > ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xdd in position 2965: invalid continuation byte :325: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:28:27 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:27 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:28:27 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:28:27 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:28:28 2026 -> Creating new freshclam.dat Tue Aug 11 13:28:28 2026 -> Saved freshclam.dat Tue Aug 11 13:28:28 2026 -> ClamAV update process started at Tue Aug 11 13:28:28 2026 Tue Aug 11 13:28:28 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:28 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:28:28 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 46838 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 33744 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: a085c79c-c1e6-4fd9-b85f-7722485542ff) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:29 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:29 2026 -> OK Tue Aug 11 13:28:29 2026 -> test database version obtained using HTTP GET: 6 Tue Aug 11 13:28:29 2026 -> test database available for update (local version: 1, remote version: 6) Tue Aug 11 13:28:30 2026 -> Retrieving http://localhost:8001/test-2.cdiff Tue Aug 11 13:28:30 2026 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Tue Aug 11 13:28:30 2026 -> downloadFile: Download destination: ./clamav-fbb3688b77e79a8fd9e1e057a3f14586.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 46842 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 33750 * using HTTP/1.x > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: a085c79c-c1e6-4fd9-b85f-7722485542ff) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:30 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:31 2026 -> Retrieving http://localhost:8001/test-3.cdiff Tue Aug 11 13:28:31 2026 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Tue Aug 11 13:28:31 2026 -> downloadFile: Download destination: ./clamav-fe040712f3d8a4408d51f303a7074f9e.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 46852 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 33756 * using HTTP/1.x > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: a085c79c-c1e6-4fd9-b85f-7722485542ff) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:31 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:31 2026 -> Empty script test-3.cdiff, need to download entire database Tue Aug 11 13:28:31 2026 -> Empty CDIFF found. Skip incremental updates for this version and download test.cvd Tue Aug 11 13:28:31 2026 -> Retrieving http://localhost:8001/test.cvd Tue Aug 11 13:28:31 2026 -> downloadFile: Download source: http://localhost:8001/test.cvd Tue Aug 11 13:28:31 2026 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 46862 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 33760 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: a085c79c-c1e6-4fd9-b85f-7722485542ff) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:31 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:31 2026 -> The test.cvd database downloaded from http://localhost:8001 is older than the version advertised in the DNS TXT record. Tue Aug 11 13:28:31 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:28:31 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd Tue Aug 11 13:28:31 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:28:31 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:28:31 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd' ... Tue Aug 11 13:28:31 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd Tue Aug 11 13:28:32 2026 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd Tue Aug 11 13:28:32 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:28:28 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:28:31 2026 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we'll have to settle for a slightly out-of-date database. WARNING: Tue Aug 11 13:28:32 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:28:32 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:28:32 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:28:32 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:28:32 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:28:29] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:28:30] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:28:31] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:28:31] "GET /test.cvd HTTP/1.1" 200 - _________ ERROR at teardown of TC.test_freshclam_08_cdiff_update_twice _________ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: > self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) testcase.py:289: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testcase.py:267: in verify_log log_checker.verify_expected_log(log_file, expected=expected, order=order) testcase.py:868: in verify_expected_log for line_idx, chunk in read_log(): ^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def read_log(): """Read log file in chunks.""" with open(filename, "r") as file_reader: prev_lines, lines = [], [] > for idx, line in enumerate(file_reader, 1): ^^^^^^^^^^^^^^^^^^^^^^^^^ E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 1819: invalid start byte testcase.py:859: UnicodeDecodeError During handling of the above exception, another exception occurred: self = def tearDown(self): if TC.mock_mirror != None: TC.mock_mirror.terminate() TC.mock_mirror = None # Clear the database directory try: shutil.rmtree(str(self.path_db)) except Exception: pass self.path_db.mkdir() # Clear the www directory try: shutil.rmtree(str(self.path_www)) except Exception: pass self.path_www.mkdir() super(TC, self).tearDown() > self.verify_valgrind_log() freshclam_test.py:70: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testcase.py:305: in verify_valgrind_log for line in log.readlines(): ^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = input = b'on_name_here>\n CoreError:FdNotClosed\n fun:pipe\n fun:download_complete_callback\n fun:updatedb\n fun:fc_...c.so.6)\n==14419== by 0x49231E3: drop (library/std/src/os/fd/owned.rs:216)\n==14419== by 0x49231E3: drop_glue ??? E UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa3 in position 1819: invalid start byte :325: UnicodeDecodeError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:28:50 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:50 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:28:50 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:28:50 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:28:50 2026 -> Creating new freshclam.dat Tue Aug 11 13:28:50 2026 -> Saved freshclam.dat Tue Aug 11 13:28:50 2026 -> ClamAV update process started at Tue Aug 11 13:28:50 2026 Tue Aug 11 13:28:50 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:50 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:28:50 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 42006 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 40414 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 9560bd33-a8ba-4181-84fd-5a30988fa9a8) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:51 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:52 2026 -> OK Tue Aug 11 13:28:52 2026 -> test database version obtained using HTTP GET: 3 Tue Aug 11 13:28:52 2026 -> test database available for update (local version: 1, remote version: 3) Tue Aug 11 13:28:52 2026 -> Retrieving http://localhost:8001/test-2.cdiff Tue Aug 11 13:28:52 2026 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Tue Aug 11 13:28:52 2026 -> downloadFile: Download destination: ./clamav-11bd087792bcd50bcf91bdc1a144eb8b.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 42018 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 40422 * using HTTP/1.x > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 9560bd33-a8ba-4181-84fd-5a30988fa9a8) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:52 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:53 2026 -> Retrieving http://localhost:8001/test-3.cdiff Tue Aug 11 13:28:53 2026 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Tue Aug 11 13:28:53 2026 -> downloadFile: Download destination: ./clamav-3ef35977f9a21a4f432eca53f0c6abc1.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 42022 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 40434 * using HTTP/1.x > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 9560bd33-a8ba-4181-84fd-5a30988fa9a8) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:53 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:53 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:28:53 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld Tue Aug 11 13:28:53 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:28:53 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:28:53 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld' ... Tue Aug 11 13:28:53 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld Tue Aug 11 13:28:54 2026 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld Tue Aug 11 13:28:54 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:28:50 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:28:54 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:28:54 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:28:54 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:28:54 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:28:54 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:28:51] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:28:52] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:28:53] "GET /test-3.cdiff HTTP/1.1" 200 - --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0 =================================== FAILURES =================================== ________________________ TC.test_freshclam_01_file_copy ________________________ self = def test_freshclam_01_file_copy(self): self.step_name('Basic freshclam test using file:// to "download" clamav.hdb') if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) # Select database files for test shutil.copy( str(TC.path_build / 'unit_tests' / 'input' / 'clamav.hdb'), str(TC.path_www), ) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseCustomURL file://{file_db} ExcludeDatabase daily ExcludeDatabase main ExcludeDatabase bytecode DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, file_db=TC.path_www / "clamav.hdb", port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E assert 8 == 0 E + where 8 = CmdResult(ec=8, out="Tue Aug 11 13:25:37 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:25:37 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database\nTue Aug 11 13:25:37 2026 -> It probably doesn't exist yet. That's ok.\nTue Aug 11 13:25:37 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat\nTue Aug 11 13:25:37 2026 -> Creating new freshclam.dat\nTue Aug 11 13:25:37 2026 -> Saved freshclam.dat\nTue Aug 11 13:25:37 2026 -> ClamAV update process started at Tue Aug 11 13:25:37 2026\nTue Aug 11 13:25:37 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:25:37 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:25:37 2026 -> Downloading clamav.hdb [100%]\nTue Aug 11 13:25:37 2026 -> updatecustomdb: Running g_cb_download_complete callback...\nTue Aug 11 13:25:37 2026 -> download_com...ild/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.eecacd8713/clamav-86aff1f1e4592832af5883a37e2f8b12.tmp-clamav.hdb\nTue Aug 11 13:25:38 2026 -> Properly loaded 1 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.eecacd8713/clamav-86aff1f1e4592832af5883a37e2f8b12.tmp-clamav.hdb\nTue Aug 11 13:25:38 2026 -> updatecustomdb: callback failed: Test failed (8)\nTue Aug 11 13:25:38 2026 -> Unexpected error when attempting to update from custom database URL: file:///builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/www/clamav.hdb\n", err='WARNING: Tue Aug 11 13:25:37 2026 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Tue Aug 11 13:25:38 2026 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Tue Aug 11 13:25:38 2026 -> Database test FAILED.\nWARNING: Tue Aug 11 13:25:38 2026 -> fc_download_url_databases: fc_download_url_database failed: Test failed (8)\nERROR: Tue Aug 11 13:25:38 2026 -> Database update process failed: Test failed\nERROR: Tue Aug 11 13:25:38 2026 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:137: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Basic freshclam test using file:// to "download" clamav.hdb [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf [DEBUG]: Exit code: 8 [DEBUG]: stdout: Tue Aug 11 13:25:37 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:25:37 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:25:37 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:25:37 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:25:37 2026 -> Creating new freshclam.dat Tue Aug 11 13:25:37 2026 -> Saved freshclam.dat Tue Aug 11 13:25:37 2026 -> ClamAV update process started at Tue Aug 11 13:25:37 2026 Tue Aug 11 13:25:37 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:25:37 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:25:37 2026 -> Downloading clamav.hdb [100%] Tue Aug 11 13:25:37 2026 -> updatecustomdb: Running g_cb_download_complete callback... Tue Aug 11 13:25:37 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.eecacd8713/clamav-86aff1f1e4592832af5883a37e2f8b12.tmp-clamav.hdb Tue Aug 11 13:25:37 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:25:37 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:25:37 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.eecacd8713/clamav-86aff1f1e4592832af5883a37e2f8b12.tmp-clamav.hdb' ... Tue Aug 11 13:25:37 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.eecacd8713/clamav-86aff1f1e4592832af5883a37e2f8b12.tmp-clamav.hdb Tue Aug 11 13:25:38 2026 -> Properly loaded 1 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.eecacd8713/clamav-86aff1f1e4592832af5883a37e2f8b12.tmp-clamav.hdb Tue Aug 11 13:25:38 2026 -> updatecustomdb: callback failed: Test failed (8) Tue Aug 11 13:25:38 2026 -> Unexpected error when attempting to update from custom database URL: file:///builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/www/clamav.hdb [DEBUG]: stderr: WARNING: Tue Aug 11 13:25:37 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:25:38 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:25:38 2026 -> Database test FAILED. WARNING: Tue Aug 11 13:25:38 2026 -> fc_download_url_databases: fc_download_url_database failed: Test failed (8) ERROR: Tue Aug 11 13:25:38 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:25:38 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... [INFO]: ==14319== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) [INFO]: --14310-- REDIR: 0x57bfcc0 (libc.so.6:malloc_usable_size) redirected to 0x4853b26 (malloc_usable_size) [INFO]: --14310-- REDIR: 0x57c49e2 (libc.so.6:strspn) redirected to 0x4858cb0 (strspn) [INFO]: --14310-- REDIR: 0x57c4080 (libc.so.6:strcspn) redirected to 0x4858bd0 (strcspn) [INFO]: ==14310== [INFO]: ==14310== FILE DESCRIPTORS: 3 open (3 inherited) at exit. [INFO]: ==14310== [INFO]: ==14310== HEAP SUMMARY: [INFO]: ==14310== in use at exit: 595,934 bytes in 9,879 blocks [INFO]: ==14310== total heap usage: 13,474 allocs, 3,595 frees, 884,209 bytes allocated [INFO]: ==14310== [INFO]: ==14310== Searching for pointers to 9,879 not-freed blocks [INFO]: ==14310== Checked 1,128,184 bytes [INFO]: ==14310== [INFO]: ==14310== LEAK SUMMARY: [INFO]: ==14310== definitely lost: 0 bytes in 0 blocks [INFO]: ==14310== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14310== possibly lost: 0 bytes in 0 blocks [INFO]: ==14310== still reachable: 595,934 bytes in 9,879 blocks [INFO]: ==14310== suppressed: 0 bytes in 0 blocks [INFO]: ==14310== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14310== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14310== [INFO]: ==14310== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0) ______________________ TC.test_freshclam_05_cdiff_update _______________________ self = def test_freshclam_05_cdiff_update(self): self.step_name('Verify that freshclam can update from an older CVD to a newer with CDIFF patches') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Tue Aug 11 13:27:17 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:27:17 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database\nTue Aug 11 13:27:17 2026 -> It probably doesn't exist yet. That's ok.\nTue Aug 11 13:27:17 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat\nTue Aug 11 13:27:18 2026 -> Creating new freshclam.dat\nTue Aug 11 13:27:18 2026 -> Saved freshclam.dat\nTue Aug 11 13:27:18 2026 -> ClamAV update process started at Tue Aug 11 13:27:18 2026\nTue Aug 11 13:27:18 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:27:18 2026 -> check_for_new_database_version: Local copy of test found: test.cvd.\nTue Aug 11 13:27:18 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 41920 failed: C...builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld' ...\nTue Aug 11 13:27:22 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld\nTue Aug 11 13:27:22 2026 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld\nTue Aug 11 13:27:22 2026 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Tue Aug 11 13:27:18 2026 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Tue Aug 11 13:27:22 2026 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Tue Aug 11 13:27:22 2026 -> Database test FAILED.\nERROR: Tue Aug 11 13:27:22 2026 -> Unexpected error when attempting to update test: Test failed\nERROR: Tue Aug 11 13:27:22 2026 -> Database update process failed: Test failed\nERROR: Tue Aug 11 13:27:22 2026 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:326: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:27:17 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:27:17 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:27:17 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:27:17 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:27:18 2026 -> Creating new freshclam.dat Tue Aug 11 13:27:18 2026 -> Saved freshclam.dat Tue Aug 11 13:27:18 2026 -> ClamAV update process started at Tue Aug 11 13:27:18 2026 Tue Aug 11 13:27:18 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:27:18 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:27:18 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41920 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48334 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:19 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:19 2026 -> OK Tue Aug 11 13:27:20 2026 -> test database version obtained using HTTP GET: 6 Tue Aug 11 13:27:20 2026 -> test database available for update (local version: 1, remote version: 6) Tue Aug 11 13:27:20 2026 -> Retrieving http://localhost:8001/test-2.cdiff Tue Aug 11 13:27:20 2026 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Tue Aug 11 13:27:20 2026 -> downloadFile: Download destination: ./clamav-19e99cb2d1c3214adc90adc8ddf2546c.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41936 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48338 * using HTTP/1.x > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:20 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> Retrieving http://localhost:8001/test-3.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download destination: ./clamav-e4fd6af96a78e4cb0080ba67594d169f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41946 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48354 * using HTTP/1.x > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:21 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> Retrieving http://localhost:8001/test-4.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download destination: ./clamav-45a148771dec07c20c0e56007d5604bb.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41962 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48370 * using HTTP/1.x > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:21 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download destination: ./clamav-c5a33d587bb20ad13710770460179792.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41970 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48376 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:21 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> Retrieving http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:21 2026 -> downloadFile: Download destination: ./clamav-d24f5d5bed6bc48cab5a90563950ccd0.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 41980 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 48386 * using HTTP/1.x > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 5e5e8d9d-001d-4085-822c-a06157d80446) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:21 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:21 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:27:21 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld Tue Aug 11 13:27:21 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:27:21 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:27:21 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld' ... Tue Aug 11 13:27:22 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld Tue Aug 11 13:27:22 2026 -> Properly loaded 14 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.f2cc239a71/clamav-455b33ed5dfae9df2b87b03d3dc459fc.tmp-test.cld Tue Aug 11 13:27:22 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:27:18 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:27:22 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:27:22 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:27:22 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:27:22 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:27:22 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:27:19] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:27:20] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:21] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:21] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:21] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:21] "GET /test-6.cdiff HTTP/1.1" 200 - __________________ TC.test_freshclam_06_cdiff_partial_minus_1 __________________ self = def test_freshclam_06_cdiff_partial_minus_1(self): self.step_name('Verify that freshclam will accept a partial update with 1 missing cdiff') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) #shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) # <-- don't give them the last CDIFF handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Tue Aug 11 13:27:41 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:27:41 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database\nTue Aug 11 13:27:41 2026 -> It probably doesn't exist yet. That's ok.\nTue Aug 11 13:27:41 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat\nTue Aug 11 13:27:41 2026 -> Creating new freshclam.dat\nTue Aug 11 13:27:41 2026 -> Saved freshclam.dat\nTue Aug 11 13:27:41 2026 -> ClamAV update process started at Tue Aug 11 13:27:41 2026\nTue Aug 11 13:27:41 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:27:41 2026 -> check_for_new_database_version: Local copy of test found: test.cvd.\nTue Aug 11 13:27:41 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 35434 failed: C...db: callback failed: Test failed (8)\n", err='WARNING: Tue Aug 11 13:27:41 2026 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff\nWARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can\'t download test-6.cdiff from http://localhost:8001/test-6.cdiff\nWARNING: Tue Aug 11 13:27:46 2026 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Tue Aug 11 13:27:46 2026 -> Database test FAILED.\nERROR: Tue Aug 11 13:27:46 2026 -> Unexpected error when attempting to update test: Test failed\nERROR: Tue Aug 11 13:27:46 2026 -> Database update process failed: Test failed\nERROR: Tue Aug 11 13:27:46 2026 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:444: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will accept a partial update with 1 missing cdiff [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:27:41 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:27:41 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:27:41 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:27:41 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:27:41 2026 -> Creating new freshclam.dat Tue Aug 11 13:27:41 2026 -> Saved freshclam.dat Tue Aug 11 13:27:41 2026 -> ClamAV update process started at Tue Aug 11 13:27:41 2026 Tue Aug 11 13:27:41 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:27:41 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:27:41 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 35434 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54002 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:43 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:43 2026 -> OK Tue Aug 11 13:27:43 2026 -> test database version obtained using HTTP GET: 6 Tue Aug 11 13:27:43 2026 -> test database available for update (local version: 3, remote version: 6) Tue Aug 11 13:27:44 2026 -> Retrieving http://localhost:8001/test-4.cdiff Tue Aug 11 13:27:44 2026 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Tue Aug 11 13:27:44 2026 -> downloadFile: Download destination: ./clamav-9dd94549a1ac0af023cc81c3dabbc692.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 35450 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54016 * using HTTP/1.x > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:44 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download destination: ./clamav-b4d31a1ffe622b760aca2b74c6fc79ad.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33288 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 41182 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:45 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Retrieving http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download destination: ./clamav-28ded93c3423a2909a5a7068c8d2791f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33296 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 41188 * using HTTP/1.x > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:45 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Retrieving http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download destination: ./clamav-91c931c319c200998dc2886b91fc280f.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33310 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 41196 * using HTTP/1.x > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:45 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Retrieving http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download source: http://localhost:8001/test-6.cdiff Tue Aug 11 13:27:45 2026 -> downloadFile: Download destination: ./clamav-82fea43b61b37bec921f699c637b341b.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 33322 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 41198 * using HTTP/1.x > GET /test-6.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: afc56d03-67b6-4392-b4c5-479468a633c3) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-6.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:27:45 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:27:45 2026 -> Downloaded 2 patches for test, which is fewer than the 3 expected patches. Tue Aug 11 13:27:45 2026 -> We'll settle for this partial-update, at least for now. Tue Aug 11 13:27:45 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:27:45 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.c32b454013/clamav-1c32406562ae4dc09e959de338113065.tmp-test.cld Tue Aug 11 13:27:45 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:27:45 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:27:45 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.c32b454013/clamav-1c32406562ae4dc09e959de338113065.tmp-test.cld' ... Tue Aug 11 13:27:45 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.c32b454013/clamav-1c32406562ae4dc09e959de338113065.tmp-test.cld Tue Aug 11 13:27:46 2026 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.c32b454013/clamav-1c32406562ae4dc09e959de338113065.tmp-test.cld Tue Aug 11 13:27:46 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:27:41 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadFile: file not found: http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:45 2026 -> downloadPatch: Can't download test-6.cdiff from http://localhost:8001/test-6.cdiff WARNING: Tue Aug 11 13:27:46 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:27:46 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:27:46 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:27:46 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:27:46 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:27:43] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:27:44] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:45] "GET /test-5.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:27:45] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:27:45] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [11/Aug/2026 13:27:45] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:27:45] "GET /test-6.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [11/Aug/2026 13:27:45] code 404, message test-6.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:27:45] "GET /test-6.cdiff HTTP/1.1" 404 - __________________ TC.test_freshclam_07_cdiff_partial_minus_2 __________________ self = def test_freshclam_07_cdiff_partial_minus_2(self): self.step_name('Verify that freshclam behavior with 2 missing cdiffs') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # serve this CVD when requested instead of the advertised one shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.served')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-4.cdiff'), str(TC.path_www)) # shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) <--- don't give them the second to last, either! # shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) <--- don't give them the last CDIFF handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Tue Aug 11 13:28:05 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:28:05 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database\nTue Aug 11 13:28:05 2026 -> It probably doesn't exist yet. That's ok.\nTue Aug 11 13:28:05 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat\nTue Aug 11 13:28:05 2026 -> Creating new freshclam.dat\nTue Aug 11 13:28:05 2026 -> Saved freshclam.dat\nTue Aug 11 13:28:05 2026 -> ClamAV update process started at Tue Aug 11 13:28:05 2026\nTue Aug 11 13:28:05 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:28:05 2026 -> check_for_new_database_version: Local copy of test found: test.cvd.\nTue Aug 11 13:28:05 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 34778 failed: C...db: callback failed: Test failed (8)\n", err='WARNING: Tue Aug 11 13:28:05 2026 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Tue Aug 11 13:28:08 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Tue Aug 11 13:28:08 2026 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Tue Aug 11 13:28:08 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Tue Aug 11 13:28:08 2026 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Tue Aug 11 13:28:09 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff\nWARNING: Tue Aug 11 13:28:09 2026 -> downloadPatch: Can\'t download test-5.cdiff from http://localhost:8001/test-5.cdiff\nWARNING: Tue Aug 11 13:28:10 2026 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Tue Aug 11 13:28:10 2026 -> Database test FAILED.\nERROR: Tue Aug 11 13:28:10 2026 -> Unexpected error when attempting to update test: Test failed\nERROR: Tue Aug 11 13:28:10 2026 -> Database update process failed: Test failed\nERROR: Tue Aug 11 13:28:10 2026 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:530: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam behavior with 2 missing cdiffs [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:28:05 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:05 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:28:05 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:28:05 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:28:05 2026 -> Creating new freshclam.dat Tue Aug 11 13:28:05 2026 -> Saved freshclam.dat Tue Aug 11 13:28:05 2026 -> ClamAV update process started at Tue Aug 11 13:28:05 2026 Tue Aug 11 13:28:05 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:05 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:28:05 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34778 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54062 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* If-Modified-Since: Wed, 23 Jun 2021 00:40:09 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:07 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:07 2026 -> OK Tue Aug 11 13:28:07 2026 -> test database version obtained using HTTP GET: 6 Tue Aug 11 13:28:07 2026 -> test database available for update (local version: 3, remote version: 6) Tue Aug 11 13:28:08 2026 -> Retrieving http://localhost:8001/test-4.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download source: http://localhost:8001/test-4.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download destination: ./clamav-e8c1bb367d853cf9d37a7c1070ee56f4.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34792 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54064 * using HTTP/1.x > GET /test-4.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:08 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:08 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download destination: ./clamav-361ff80aa2a77a02bb38c3f69ec9eb2b.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34806 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54080 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:08 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:28:08 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:08 2026 -> downloadFile: Download destination: ./clamav-5b1e6d7324330d310eec36eb8e97cbff.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34822 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54084 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:08 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:28:08 2026 -> Retrieving http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:09 2026 -> downloadFile: Download source: http://localhost:8001/test-5.cdiff Tue Aug 11 13:28:09 2026 -> downloadFile: Download destination: ./clamav-a83088c4a0e4fc8aefcc27862a406e0e.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 34826 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 54098 * using HTTP/1.x > GET /test-5.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 0aa5e7ea-92c6-42c9-96c0-6528c1453c03) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 404 test-5.cdiff Not Found < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:09 GMT < Connection: close < Content-Type: text/html;charset=utf-8 < Content-Length: 468 < * shutting down connection #0 Tue Aug 11 13:28:09 2026 -> Downloaded 1 patches for test, which is fewer than the 3 expected patches. Tue Aug 11 13:28:09 2026 -> We'll settle for this partial-update, at least for now. Tue Aug 11 13:28:09 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:28:09 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.39fbc84284/clamav-1a69e83e49c28bff02d272198fa60c8e.tmp-test.cld Tue Aug 11 13:28:09 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:28:09 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:28:09 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.39fbc84284/clamav-1a69e83e49c28bff02d272198fa60c8e.tmp-test.cld' ... Tue Aug 11 13:28:09 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.39fbc84284/clamav-1a69e83e49c28bff02d272198fa60c8e.tmp-test.cld Tue Aug 11 13:28:09 2026 -> Properly loaded 12 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.39fbc84284/clamav-1a69e83e49c28bff02d272198fa60c8e.tmp-test.cld Tue Aug 11 13:28:10 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:28:05 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:28:08 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:08 2026 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:08 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:08 2026 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:09 2026 -> downloadFile: file not found: http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:09 2026 -> downloadPatch: Can't download test-5.cdiff from http://localhost:8001/test-5.cdiff WARNING: Tue Aug 11 13:28:10 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:28:10 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:28:10 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:28:10 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:28:10 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14403== Memcheck, a memory error detector [INFO]: ==14403== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14403== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14403== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [INFO]: ==14403== Parent PID: 14285 [INFO]: ==14403== [INFO]: --14403-- [INFO]: --14403-- Valgrind options: [INFO]: --14403-- -v [INFO]: --14403-- --trace-children=yes [INFO]: --14403-- --track-fds=yes [INFO]: --14403-- --leak-check=full [INFO]: --14403-- --show-possibly-lost=no [INFO]: --14403-- --show-leak-kinds=definite [INFO]: --14403-- --errors-for-leak-kinds=definite [INFO]: --14403-- --main-stacksize=16777216 [INFO]: --14403-- --gen-suppressions=all [INFO]: --14403-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14403-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log [INFO]: --14403-- --error-exitcode=123 [INFO]: --14403-- Contents of /proc/version: [INFO]: --14403-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14403-- [INFO]: --14403-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14403-- Page sizes: currently 4096, max supported 4096 [INFO]: --14403-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14403-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam [INFO]: --14403-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14403-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14403-- object doesn't have a dynamic symbol table [INFO]: --14403-- Scheduler: using generic scheduler lock implementation. [INFO]: --14403-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14403-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14403== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14403-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14403== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14403-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14403== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14403-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14403== [INFO]: ==14403== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14403== don't want to do, unless you know exactly what you're doing, [INFO]: ==14403== or are doing some strange experiment): [INFO]: ==14403== /usr/libexec/valgrind/../../bin/vgdb --pid=14403 ...command... [INFO]: ==14403== [INFO]: ==14403== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14403== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam [INFO]: ==14403== and then give GDB the following command [INFO]: ==14403== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14403 [INFO]: ==14403== --pid is optional if only one valgrind process is running [INFO]: ==14403== [INFO]: --14403-- REDIR: 0x402ee90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14403-- REDIR: 0x402f2ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14403-- REDIR: 0x402ee6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14403-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14403-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14403-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libfreshclam/libfreshclam.so.3.0.2 [INFO]: --14403-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14403-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14403-- Reading syms from /usr/lib64/libcurl.so.4.8.0 [INFO]: --14403-- Reading syms from /usr/lib64/libssl.so.3.5.7 [INFO]: --14403-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14403-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14403-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14403-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14403-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14403-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14403-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14403-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14403-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14403-- Reading syms from /usr/lib64/libnghttp3.so.9.8.0 [INFO]: --14403-- Reading syms from /usr/lib64/libngtcp2_crypto_ossl.so.0.2.0 [INFO]: --14403-- Reading syms from /usr/lib64/libngtcp2.so.16.8.1 [INFO]: --14403-- Reading syms from /usr/lib64/libnghttp2.so.14.29.4 [INFO]: --14403-- Reading syms from /usr/lib64/libidn2.so.0.4.0 [INFO]: --14403-- Reading syms from /usr/lib64/libldap.so.2.0.200 [INFO]: --14403-- Reading syms from /usr/lib64/liblber.so.2.0.200 [INFO]: --14403-- Reading syms from /usr/lib64/libssh.so.4.12.0 [INFO]: --14403-- Reading syms from /usr/lib64/libpsl.so.5.3.8 [INFO]: --14403-- Reading syms from /usr/lib64/libssl.so.4.0.1 [INFO]: --14403-- Reading syms from /usr/lib64/libcrypto.so.4.0.1 [INFO]: --14403-- Reading syms from /usr/lib64/libgssapi_krb5.so.2.2 [INFO]: --14403-- Reading syms from /usr/lib64/libbrotlidec.so.1.2.0 [INFO]: --14403-- Reading syms from /usr/lib64/libbrotlicommon.so.1.2.0 [INFO]: --14403-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14403-- Reading syms from /usr/lib64/libunistring.so.5.0.0 [INFO]: --14403-- Reading syms from /usr/lib64/libevent-2.1.so.7.0.1 [INFO]: --14403-- Reading syms from /usr/lib64/libsasl2.so.3.0.0 [INFO]: --14403-- Reading syms from /usr/lib64/libfido2.so.1.17.0 [INFO]: --14403-- Reading syms from /usr/lib64/libkrb5.so.3.3 [INFO]: --14403-- Reading syms from /usr/lib64/libk5crypto.so.3.1 [INFO]: --14403-- Reading syms from /usr/lib64/libcom_err.so.2.1 [INFO]: --14403-- Reading syms from /usr/lib64/libkrb5support.so.0.1 [INFO]: --14403-- Reading syms from /usr/lib64/libkeyutils.so.1.10 [INFO]: --14403-- Reading syms from /usr/lib64/libresolv.so.2 [INFO]: --14403-- Reading syms from /usr/lib64/libcrypt.so.2.0.0 [INFO]: --14403-- Reading syms from /usr/lib64/libcbor.so.0.14.0 [INFO]: --14403-- Reading syms from /usr/lib64/libudev.so.1.7.14 [INFO]: --14403-- Reading syms from /usr/lib64/libselinux.so.1 [INFO]: --14403-- REDIR: 0x57c1c62 (libc.so.6:memchr) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c242a (libc.so.6:memmove) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c4724 (libc.so.6:strncpy) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c4572 (libc.so.6:strlen) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c400e (libc.so.6:strcpy) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c1cd4 (libc.so.6:bcmp) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c31f6 (libc.so.6:strcat) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c46d0 (libc.so.6:strncmp) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c2918 (libc.so.6:stpncpy) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c4846 (libc.so.6:rindex) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c3268 (libc.so.6:index) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c1d46 (libc.so.6:memcpy) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c26b4 (libc.so.6:memset) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c3434 (libc.so.6:strcmp) redirected to 0x48483b8 (_vgnU_ifunc_wrapper) [INFO]: --14403-- REDIR: 0x57c8a76 (libc.so.6:__strrchr_generic) redirected to 0x4854152 (rindex) [INFO]: --14403-- REDIR: 0x57c7eb6 (libc.so.6:__memset_generic) redirected to 0x4857a26 (memset) [INFO]: --14403-- REDIR: 0x57beca2 (libc.so.6:malloc) redirected to 0x484c7fa (malloc) [INFO]: --14403-- REDIR: 0x57bf0e2 (libc.so.6:free) redirected to 0x484f144 (free) [INFO]: --14403-- REDIR: 0x57c843e (libc.so.6:__strlen_generic) redirected to 0x48547d4 (strlen) [INFO]: --14403-- REDIR: 0x57c8582 (libc.so.6:__strncmp_generic) redirected to 0x4854ed8 (strncmp) [INFO]: --14403-- REDIR: 0x5812128 (libc.so.6:__memcpy_chk) redirected to 0x4858996 (__memcpy_chk) [INFO]: --14403-- REDIR: 0x57c8122 (libc.so.6:__strcmp_generic) redirected to 0x4855598 (strcmp) [INFO]: --14403-- REDIR: 0x57c770a (libc.so.6:__memcmp_generic) redirected to 0x4857376 (bcmp) [INFO]: --14403-- REDIR: 0x57c4f50 (libc.so.6:strstr) redirected to 0x4858a6a (strstr) [INFO]: --14403-- REDIR: 0x57c74e6 (libc.so.6:__memchr_generic) redirected to 0x48556ac (memchr) [INFO]: --14403-- REDIR: 0x57c7ad6 (libc.so.6:__memcpy_generic) redirected to 0x4855d04 (memcpy) [INFO]: --14403-- REDIR: 0x57c481c (libc.so.6:strpbrk) redirected to 0x4858b90 (strpbrk) [INFO]: --14403-- REDIR: 0x57bf8ec (libc.so.6:calloc) redirected to 0x4852b56 (calloc) [INFO]: --14403-- REDIR: 0x57bf390 (libc.so.6:realloc) redirected to 0x4852d14 (realloc) [INFO]: --14403-- REDIR: 0x57c7d0a (libc.so.6:__memmove_generic) redirected to 0x4857ad0 (memmove) [INFO]: --14403-- REDIR: 0x57c298a (libc.so.6:strcasecmp) redirected to 0x48550dc (strcasecmp) [INFO]: --14403-- REDIR: 0x57c80c2 (libc.so.6:__strchr_generic) redirected to 0x4854322 (index) [INFO]: --14403-- REDIR: 0x57c32da (libc.so.6:strchrnul) redirected to 0x4858388 (strchrnul) [INFO]: --14403-- REDIR: 0x57c27b2 (libc.so.6:stpcpy) redirected to 0x4857436 (stpcpy) [INFO]: --14403-- REDIR: 0x57c89ca (libc.so.6:__strncpy_generic) redirected to 0x4854a42 (strncpy) [INFO]: --14403-- REDIR: 0x57c83f6 (libc.so.6:__strcpy_generic) redirected to 0x48548de (strcpy) [INFO]: --14403-- REDIR: 0x57c0176 (libc.so.6:posix_memalign) redirected to 0x4853614 (posix_memalign) [INFO]: --14403-- REDIR: 0x57c47e2 (libc.so.6:strnlen) redirected to 0x485476c (strnlen) [INFO]: --14403-- REDIR: 0x57c45c6 (libc.so.6:strncasecmp) redirected to 0x4855178 (strncasecmp) [INFO]: --14403-- REDIR: 0x57c4080 (libc.so.6:strcspn) redirected to 0x4858bd0 (strcspn) [INFO]: --14403-- REDIR: 0x5812140 (libc.so.6:__memmove_chk) redirected to 0x485832a (__memmove_chk) [INFO]: ==14403== File descriptor 3: ./clamav-e8c1bb367d853cf9d37a7c1070ee56f4.tmp is already closed [INFO]: ==14403== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x48C2FA9: downloadPatch (libfreshclam_internal.c:1711) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14403== Previously closed [INFO]: ==14403== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x49231E3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: cdiff_apply (cdiff.rs:596) [INFO]: ==14403== by 0x48C2F93: downloadPatch (libfreshclam_internal.c:1696) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14403== Originally opened [INFO]: ==14403== at 0x5800103: open (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x48C2F85: open (fcntl2.h:55) [INFO]: ==14403== by 0x48C2F85: downloadPatch (libfreshclam_internal.c:1690) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:downloadPatch [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14407== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14407-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14407== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14407-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14407== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14407-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14407== [INFO]: ==14407== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14407== don't want to do, unless you know exactly what you're doing, [INFO]: ==14407== or are doing some strange experiment): [INFO]: ==14407== /usr/libexec/valgrind/../../bin/vgdb --pid=14407 ...command... [INFO]: ==14407== [INFO]: ==14407== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14407== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam [INFO]: ==14407== and then give GDB the following command [INFO]: ==14407== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14407 [INFO]: ==14407== --pid is optional if only one valgrind process is running [INFO]: ==14407== [INFO]: --14407-- REDIR: 0x57bfcc0 (libc.so.6:malloc_usable_size) redirected to 0x4853b26 (malloc_usable_size) [INFO]: --14407-- REDIR: 0x57c49e2 (libc.so.6:strspn) redirected to 0x4858cb0 (strspn) [INFO]: ==14407== [INFO]: ==14407== FILE DESCRIPTORS: 4 open (2 inherited) at exit. [INFO]: ==14407== Open file descriptor 4: [INFO]: ==14407== at 0x580024C: pipe (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x40024D5: download_complete_callback (freshclam.c:302) [INFO]: ==14407== by 0x48C374F: updatedb (libfreshclam_internal.c:2484) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14407== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:pipe [INFO]: fun:download_complete_callback [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14407== Open file descriptor 2: [INFO]: ==14407== at 0x57FC984: dup2 (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x4002727: download_complete_callback (freshclam.c:349) [INFO]: ==14407== by 0x48C374F: updatedb (libfreshclam_internal.c:2484) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14407== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:dup2 [INFO]: fun:download_complete_callback [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14407== [INFO]: ==14407== HEAP SUMMARY: [INFO]: ==14407== in use at exit: 601,973 bytes in 10,024 blocks [INFO]: ==14407== total heap usage: 14,576 allocs, 4,552 frees, 2,054,510 bytes allocated [INFO]: ==14407== [INFO]: ==14407== Searching for pointers to 10,024 not-freed blocks [INFO]: ==14407== Checked 1,135,232 bytes [INFO]: ==14407== [INFO]: ==14407== LEAK SUMMARY: [INFO]: ==14407== definitely lost: 0 bytes in 0 blocks [INFO]: ==14407== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14407== possibly lost: 48 bytes in 1 blocks [INFO]: ==14407== still reachable: 601,925 bytes in 10,023 blocks [INFO]: ==14407== suppressed: 0 bytes in 0 blocks [INFO]: ==14407== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14407== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14407== [INFO]: ==14407== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) [INFO]: ==14407== [INFO]: ==14407== 1 errors in context 1 of 3: [INFO]: ==14407== File descriptor 3:  is already closed [INFO]: ==14407== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x48C2FA9: downloadPatch (libfreshclam_internal.c:1711) [INFO]: ==14407== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14407== Previously closed [INFO]: ==14407== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x49231E3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14407== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14407== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14407== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14407== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14407== by 0x49231E3: cdiff_apply (cdiff.rs:596) [INFO]: ==14407== by 0x48C2F93: downloadPatch (libfreshclam_internal.c:1696) [INFO]: ==14407== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14407== Originally opened [INFO]: ==14407== at 0x5800103: open (in /usr/lib64/libc.so.6) [INFO]: ==14407== by 0x48C2F85: open (fcntl2.h:55) [INFO]: ==14407== by 0x48C2F85: downloadPatch (libfreshclam_internal.c:1690) [INFO]: ==14407== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14407== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14407== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14407== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14407== by 0x4001735: main (freshclam.c:1900) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:downloadPatch [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14407== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) [INFO]: --14403-- REDIR: 0x57bfcc0 (libc.so.6:malloc_usable_size) redirected to 0x4853b26 (malloc_usable_size) [INFO]: --14403-- REDIR: 0x57c49e2 (libc.so.6:strspn) redirected to 0x4858cb0 (strspn) [INFO]: ==14403== [INFO]: ==14403== FILE DESCRIPTORS: 3 open (3 inherited) at exit. [INFO]: ==14403== [INFO]: ==14403== HEAP SUMMARY: [INFO]: ==14403== in use at exit: 596,054 bytes in 9,882 blocks [INFO]: ==14403== total heap usage: 14,361 allocs, 4,479 frees, 1,768,941 bytes allocated [INFO]: ==14403== [INFO]: ==14403== Searching for pointers to 9,882 not-freed blocks [INFO]: ==14403== Checked 1,128,344 bytes [INFO]: ==14403== [INFO]: ==14403== LEAK SUMMARY: [INFO]: ==14403== definitely lost: 0 bytes in 0 blocks [INFO]: ==14403== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14403== possibly lost: 48 bytes in 1 blocks [INFO]: ==14403== still reachable: 596,006 bytes in 9,881 blocks [INFO]: ==14403== suppressed: 0 bytes in 0 blocks [INFO]: ==14403== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14403== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14403== [INFO]: ==14403== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) [INFO]: ==14403== [INFO]: ==14403== 1 errors in context 1 of 1: [INFO]: ==14403== File descriptor 3: /proc/self/status is already closed [INFO]: ==14403== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x48C2FA9: downloadPatch (libfreshclam_internal.c:1711) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14403== Previously closed [INFO]: ==14403== at 0x57FC8CD: close (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x49231E3: drop (library/std/src/os/fd/owned.rs:216) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: drop_glue (library/core/src/ptr/mod.rs:825) [INFO]: ==14403== by 0x49231E3: cdiff_apply (cdiff.rs:596) [INFO]: ==14403== by 0x48C2F93: downloadPatch (libfreshclam_internal.c:1696) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: ==14403== Originally opened [INFO]: ==14403== at 0x5800103: open (in /usr/lib64/libc.so.6) [INFO]: ==14403== by 0x48C2F85: open (fcntl2.h:55) [INFO]: ==14403== by 0x48C2F85: downloadPatch (libfreshclam_internal.c:1690) [INFO]: ==14403== by 0x48C3A4B: updatedb (libfreshclam_internal.c:2385) [INFO]: ==14403== by 0x48BFBD5: fc_update_database (libfreshclam.c:637) [INFO]: ==14403== by 0x48C0127: fc_update_databases (libfreshclam.c:826) [INFO]: ==14403== by 0x40038DD: perform_database_update (freshclam.c:1537) [INFO]: ==14403== by 0x4001735: main (freshclam.c:1900) [INFO]: { [INFO]: [INFO]: CoreError:FdBadClose [INFO]: fun:close [INFO]: fun:downloadPatch [INFO]: fun:updatedb [INFO]: fun:fc_update_database [INFO]: fun:fc_update_databases [INFO]: fun:perform_database_update [INFO]: fun:main [INFO]: } [INFO]: ==14403== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:28:07] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:28:08] "GET /test-4.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:28:08] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:28:08] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [11/Aug/2026 13:28:08] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:28:08] "GET /test-5.cdiff HTTP/1.1" 404 - 127.0.0.1 - - [11/Aug/2026 13:28:09] code 404, message test-5.cdiff Not Found 127.0.0.1 - - [11/Aug/2026 13:28:09] "GET /test-5.cdiff HTTP/1.1" 404 - ________________ TC.test_freshclam_07_no_cdiff_out_of_date_cvd _________________ self = def test_freshclam_07_no_cdiff_out_of_date_cvd(self): self.step_name('Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF') # start with CVD 1 shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise CVD 6 (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cvd'), str(TC.path_www / 'test.cvd.advertised')) # Serve the patches 2. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) # Serve a zero-byte file instead of test-3.cdiff. This should trigger a whole CVD download. with (TC.path_www / 'test-3.cdiff').open('w') as fp: pass # Serve CVD 5 when test.cvd is requested instead of 6 (the advertised one). This should trigger an incremental update, starting a test-4.cvd + patches 5-6. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cvd'), str(TC.path_www / 'test.cvd.served')) # Serve the patches 5 - 6. Patch 4 should never be requested. shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-5.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-6.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) # # 1st attempt # command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Tue Aug 11 13:28:27 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:28:27 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database\nTue Aug 11 13:28:27 2026 -> It probably doesn't exist yet. That's ok.\nTue Aug 11 13:28:27 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat\nTue Aug 11 13:28:28 2026 -> Creating new freshclam.dat\nTue Aug 11 13:28:28 2026 -> Saved freshclam.dat\nTue Aug 11 13:28:28 2026 -> ClamAV update process started at Tue Aug 11 13:28:28 2026\nTue Aug 11 13:28:28 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:28:28 2026 -> check_for_new_database_version: Local copy of test found: test.cvd.\nTue Aug 11 13:28:28 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 46838 failed: C...026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd\nTue Aug 11 13:28:32 2026 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd\nTue Aug 11 13:28:32 2026 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Tue Aug 11 13:28:28 2026 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Tue Aug 11 13:28:31 2026 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we\'ll have to settle for a slightly out-of-date database.\nWARNING: Tue Aug 11 13:28:32 2026 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Tue Aug 11 13:28:32 2026 -> Database test FAILED.\nERROR: Tue Aug 11 13:28:32 2026 -> Unexpected error when attempting to update test: Test failed\nERROR: Tue Aug 11 13:28:32 2026 -> Database update process failed: Test failed\nERROR: Tue Aug 11 13:28:32 2026 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:621: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam will properly handle an out-of-date CVD update after a zero-byte CDIFF [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:28:27 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:27 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:28:27 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:28:27 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:28:28 2026 -> Creating new freshclam.dat Tue Aug 11 13:28:28 2026 -> Saved freshclam.dat Tue Aug 11 13:28:28 2026 -> ClamAV update process started at Tue Aug 11 13:28:28 2026 Tue Aug 11 13:28:28 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:28 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:28:28 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 46838 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 33744 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: a085c79c-c1e6-4fd9-b85f-7722485542ff) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:29 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:29 2026 -> OK Tue Aug 11 13:28:29 2026 -> test database version obtained using HTTP GET: 6 Tue Aug 11 13:28:29 2026 -> test database available for update (local version: 1, remote version: 6) Tue Aug 11 13:28:30 2026 -> Retrieving http://localhost:8001/test-2.cdiff Tue Aug 11 13:28:30 2026 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Tue Aug 11 13:28:30 2026 -> downloadFile: Download destination: ./clamav-fbb3688b77e79a8fd9e1e057a3f14586.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 46842 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 33750 * using HTTP/1.x > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: a085c79c-c1e6-4fd9-b85f-7722485542ff) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:30 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:31 2026 -> Retrieving http://localhost:8001/test-3.cdiff Tue Aug 11 13:28:31 2026 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Tue Aug 11 13:28:31 2026 -> downloadFile: Download destination: ./clamav-fe040712f3d8a4408d51f303a7074f9e.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 46852 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 33756 * using HTTP/1.x > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: a085c79c-c1e6-4fd9-b85f-7722485542ff) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:31 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:31 2026 -> Empty script test-3.cdiff, need to download entire database Tue Aug 11 13:28:31 2026 -> Empty CDIFF found. Skip incremental updates for this version and download test.cvd Tue Aug 11 13:28:31 2026 -> Retrieving http://localhost:8001/test.cvd Tue Aug 11 13:28:31 2026 -> downloadFile: Download source: http://localhost:8001/test.cvd Tue Aug 11 13:28:31 2026 -> downloadFile: Download destination: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 46862 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 33760 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: a085c79c-c1e6-4fd9-b85f-7722485542ff) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:31 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:31 2026 -> The test.cvd database downloaded from http://localhost:8001 is older than the version advertised in the DNS TXT record. Tue Aug 11 13:28:31 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:28:31 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd Tue Aug 11 13:28:31 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:28:31 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:28:31 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd' ... Tue Aug 11 13:28:31 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd Tue Aug 11 13:28:32 2026 -> Properly loaded 13 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.2e4778b6c0/clamav-e5ed3130969ba20fbcedfeaaf75de7d6.tmp-test.cvd Tue Aug 11 13:28:32 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:28:28 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:28:31 2026 -> Received an older test CVD than was advertised. Incremental updates either failed or are disabled, so we'll have to settle for a slightly out-of-date database. WARNING: Tue Aug 11 13:28:32 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:28:32 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:28:32 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:28:32 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:28:32 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:28:29] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:28:30] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:28:31] "GET /test-3.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:28:31] "GET /test.cvd HTTP/1.1" 200 - ___________________ TC.test_freshclam_08_cdiff_update_twice ____________________ self = def test_freshclam_08_cdiff_update_twice(self): self.step_name('Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches') # start with this CVD shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-1.cvd'), str(TC.path_db / 'test.cvd')) # advertise this CVD FIRST (by sending the header response to Range requests) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cvd'), str(TC.path_www / 'test.cvd.advertised')) # using these CDIFFs shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-2.cdiff'), str(TC.path_www)) shutil.copy(str(TC.path_source / 'unit_tests' / 'input' / 'freshclam_testfiles' /'test-3.cdiff'), str(TC.path_www)) handler = partial(WebServerHandler_WWW, TC.path_www) TC.mock_mirror = Process(target=mock_database_mirror, args=(handler, TC.mock_mirror_port)) TC.mock_mirror.start() if TC.freshclam_config.exists(): os.remove(str(TC.freshclam_config)) TC.freshclam_config.write_text(''' DatabaseMirror http://localhost:{port} DNSDatabaseInfo no PidFile {freshclam_pid} LogVerbose yes LogFileMaxSize 0 LogTime yes DatabaseDirectory {path_db} DatabaseOwner {user} '''.format( freshclam_pid=TC.freshclam_pid, path_db=TC.path_db, port=TC.mock_mirror_port, user=getpass.getuser(), )) # # Now run the update for the first set up updates. # command = '{valgrind} {valgrind_args} {freshclam} --no-dns --config-file={freshclam_config} --update-db=test'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, freshclam=TC.freshclam, freshclam_config=TC.freshclam_config ) output = self.execute_command(command) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E assert 123 == 0 E + where 123 = CmdResult(ec=123, out="Tue Aug 11 13:28:50 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:28:50 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database\nTue Aug 11 13:28:50 2026 -> It probably doesn't exist yet. That's ok.\nTue Aug 11 13:28:50 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat\nTue Aug 11 13:28:50 2026 -> Creating new freshclam.dat\nTue Aug 11 13:28:50 2026 -> Saved freshclam.dat\nTue Aug 11 13:28:50 2026 -> ClamAV update process started at Tue Aug 11 13:28:50 2026\nTue Aug 11 13:28:50 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/\nTue Aug 11 13:28:50 2026 -> check_for_new_database_version: Local copy of test found: test.cvd.\nTue Aug 11 13:28:50 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd\n* Host localhost:8001 was resolved.\n* IPv6: ::1\n* IPv4: 127.0.0.1\n* Trying [::1]:8001...\n* connect to ::1 port 8001 from ::1 port 42006 failed: C...builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld' ...\nTue Aug 11 13:28:53 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld\nTue Aug 11 13:28:54 2026 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld\nTue Aug 11 13:28:54 2026 -> updatedb: callback failed: Test failed (8)\n", err='WARNING: Tue Aug 11 13:28:50 2026 -> DNS Update Info disabled. Falling back to HTTP mode.\nWARNING: Tue Aug 11 13:28:54 2026 -> Database load exited with "Unknown libfreshclam error code!"\nERROR: Tue Aug 11 13:28:54 2026 -> Database test FAILED.\nERROR: Tue Aug 11 13:28:54 2026 -> Unexpected error when attempting to update test: Test failed\nERROR: Tue Aug 11 13:28:54 2026 -> Database update process failed: Test failed\nERROR: Tue Aug 11 13:28:54 2026 -> Update failed.\n').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/freshclam_test.py:728: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Verify that freshclam can update from an older CVD to a newer with CDIFF patches, and then update from an older CLD to the latest with more CDIFF patches [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/freshclam/freshclam --no-dns --config-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/freshclam-test.conf --update-db=test [DEBUG]: Exit code: 123 [DEBUG]: stdout: Tue Aug 11 13:28:50 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:50 2026 -> Can't open freshclam.dat in /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database Tue Aug 11 13:28:50 2026 -> It probably doesn't exist yet. That's ok. Tue Aug 11 13:28:50 2026 -> Failed to load freshclam.dat; will create a new freshclam.dat Tue Aug 11 13:28:50 2026 -> Creating new freshclam.dat Tue Aug 11 13:28:50 2026 -> Saved freshclam.dat Tue Aug 11 13:28:50 2026 -> ClamAV update process started at Tue Aug 11 13:28:50 2026 Tue Aug 11 13:28:50 2026 -> Current working dir is /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/ Tue Aug 11 13:28:50 2026 -> check_for_new_database_version: Local copy of test found: test.cvd. Tue Aug 11 13:28:50 2026 -> Trying to retrieve CVD header from http://localhost:8001/test.cvd * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 42006 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 40414 * using HTTP/1.x > GET /test.cvd HTTP/1.1 Host: localhost:8001 Range: bytes=0-511 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 9560bd33-a8ba-4181-84fd-5a30988fa9a8) Accept: */* If-Modified-Since: Tue, 22 Jun 2021 18:58:22 GMT Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 206 Partial Content < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:51 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:52 2026 -> OK Tue Aug 11 13:28:52 2026 -> test database version obtained using HTTP GET: 3 Tue Aug 11 13:28:52 2026 -> test database available for update (local version: 1, remote version: 3) Tue Aug 11 13:28:52 2026 -> Retrieving http://localhost:8001/test-2.cdiff Tue Aug 11 13:28:52 2026 -> downloadFile: Download source: http://localhost:8001/test-2.cdiff Tue Aug 11 13:28:52 2026 -> downloadFile: Download destination: ./clamav-11bd087792bcd50bcf91bdc1a144eb8b.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 42018 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 40422 * using HTTP/1.x > GET /test-2.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 9560bd33-a8ba-4181-84fd-5a30988fa9a8) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:52 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:53 2026 -> Retrieving http://localhost:8001/test-3.cdiff Tue Aug 11 13:28:53 2026 -> downloadFile: Download source: http://localhost:8001/test-3.cdiff Tue Aug 11 13:28:53 2026 -> downloadFile: Download destination: ./clamav-3ef35977f9a21a4f432eca53f0c6abc1.tmp * Host localhost:8001 was resolved. * IPv6: ::1 * IPv4: 127.0.0.1 * Trying [::1]:8001... * connect to ::1 port 8001 from ::1 port 42022 failed: Connection refused * Trying 127.0.0.1:8001... * Established connection to localhost (127.0.0.1 port 8001) from 127.0.0.1 port 40434 * using HTTP/1.x > GET /test-3.cdiff HTTP/1.1 Host: localhost:8001 User-Agent: ClamAV/1.4.6 (OS: Linux, ARCH: riscv64, CPU: riscv64, UUID: 9560bd33-a8ba-4181-84fd-5a30988fa9a8) Accept: */* Connection: close * Request completely sent off * HTTP 1.0, assume close after body < HTTP/1.0 200 OK < Server: BaseHTTP Python/3.15.0b4 < Date: Tue, 11 Aug 2026 13:28:53 GMT < Content-type: application/octet-stream < * shutting down connection #0 Tue Aug 11 13:28:53 2026 -> updatedb: Running g_cb_download_complete callback... Tue Aug 11 13:28:53 2026 -> download_complete_callback: Download complete for database : /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld Tue Aug 11 13:28:53 2026 -> download_complete_callback: fc_context->bTestDatabases : 1 Tue Aug 11 13:28:53 2026 -> download_complete_callback: fc_context->bBytecodeEnabled : 1 Tue Aug 11 13:28:53 2026 -> Testing database: '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld' ... Tue Aug 11 13:28:53 2026 -> Loading signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld Tue Aug 11 13:28:54 2026 -> Properly loaded 11 signatures from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/database/tmp.54a3c74a10/clamav-0005399fc6eaf7f4f6777c9c858eaa0a.tmp-test.cld Tue Aug 11 13:28:54 2026 -> updatedb: callback failed: Test failed (8) [DEBUG]: stderr: WARNING: Tue Aug 11 13:28:50 2026 -> DNS Update Info disabled. Falling back to HTTP mode. WARNING: Tue Aug 11 13:28:54 2026 -> Database load exited with "Unknown libfreshclam error code!" ERROR: Tue Aug 11 13:28:54 2026 -> Database test FAILED. ERROR: Tue Aug 11 13:28:54 2026 -> Unexpected error when attempting to update test: Test failed ERROR: Tue Aug 11 13:28:54 2026 -> Database update process failed: Test failed ERROR: Tue Aug 11 13:28:54 2026 -> Update failed. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-6r9um3r0/valgrind.log... ----------------------------- Captured stderr call ----------------------------- 127.0.0.1 - - [11/Aug/2026 13:28:51] "GET /test.cvd HTTP/1.1" 206 - 127.0.0.1 - - [11/Aug/2026 13:28:52] "GET /test-2.cdiff HTTP/1.1" 200 - 127.0.0.1 - - [11/Aug/2026 13:28:53] "GET /test-3.cdiff HTTP/1.1" 200 - =========================== short test summary info ============================ FAILED freshclam_test.py::TC::test_freshclam_01_file_copy - assert 8 == 0 FAILED freshclam_test.py::TC::test_freshclam_05_cdiff_update - assert 123 == 0 FAILED freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 - asser... FAILED freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 - asser... FAILED freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd - as... FAILED freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice - assert 1... ERROR freshclam_test.py::TC::test_freshclam_05_cdiff_update - UnicodeDecodeEr... ERROR freshclam_test.py::TC::test_freshclam_06_cdiff_partial_minus_1 - Unicod... ERROR freshclam_test.py::TC::test_freshclam_07_cdiff_partial_minus_2 - Assert... ERROR freshclam_test.py::TC::test_freshclam_07_no_cdiff_out_of_date_cvd - Uni... ERROR freshclam_test.py::TC::test_freshclam_08_cdiff_update_twice - UnicodeDe... ========= 6 failed, 4 passed, 1 skipped, 5 errors in 235.53s (0:03:55) ========= 4/5 Test #2: libclamav_valgrind ...............***Failed 609.21 sec ============================= test session starts ============================== platform linux -- Python 3.15.0b4, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests collecting ... collected 1 item libclamav_test.py::TC::test_libclamav_00_unit_test FAILED [100%] libclamav_test.py::TC::test_libclamav_00_unit_test ERROR [100%] ==================================== ERRORS ==================================== _____________ ERROR at teardown of TC.test_libclamav_00_unit_test ______________ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() libclamav_test.py:36: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: libclamav unit tests [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav [DEBUG]: Exit code: 111 [DEBUG]: stdout: Using default test timeout; alter by setting 'T' env var (in seconds) Running suite(s): cl_suite traverse_to: Failed open payload [DEBUG]: stderr: Execution timeout exceeded for "/usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav " command. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14293== Memcheck, a memory error detector [INFO]: ==14293== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14293== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14293== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==14293== Parent PID: 14282 [INFO]: ==14293== [INFO]: --14293-- [INFO]: --14293-- Valgrind options: [INFO]: --14293-- -v [INFO]: --14293-- --trace-children=yes [INFO]: --14293-- --track-fds=yes [INFO]: --14293-- --leak-check=full [INFO]: --14293-- --show-possibly-lost=no [INFO]: --14293-- --show-leak-kinds=definite [INFO]: --14293-- --errors-for-leak-kinds=definite [INFO]: --14293-- --main-stacksize=16777216 [INFO]: --14293-- --gen-suppressions=all [INFO]: --14293-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14293-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log [INFO]: --14293-- --error-exitcode=123 [INFO]: --14293-- Contents of /proc/version: [INFO]: --14293-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14293-- [INFO]: --14293-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14293-- Page sizes: currently 4096, max supported 4096 [INFO]: --14293-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14293-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav [INFO]: --14293-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14293-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14293-- object doesn't have a dynamic symbol table [INFO]: --14293-- Scheduler: using generic scheduler lock implementation. [INFO]: --14293-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14293-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14293== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14293-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14293== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14293-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14293== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14293-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14293== [INFO]: ==14293== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14293== don't want to do, unless you know exactly what you're doing, [INFO]: ==14293== or are doing some strange experiment): [INFO]: ==14293== /usr/libexec/valgrind/../../bin/vgdb --pid=14293 ...command... [INFO]: ==14293== [INFO]: ==14293== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14293== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==14293== and then give GDB the following command [INFO]: ==14293== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14293 [INFO]: ==14293== --pid is optional if only one valgrind process is running [INFO]: ==14293== [INFO]: --14293-- REDIR: 0x4702e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14293-- REDIR: 0x47032ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14293-- REDIR: 0x4702e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14293-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14293-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14293-- Reading syms from /usr/lib64/libcheck.so.0.15.2 [INFO]: --14293-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14293-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14293-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14293-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14293-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14293-- Reading syms from /usr/lib64/libsubunit.so.0.0.0 [INFO]: --14293-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14293-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14293-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14293-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14293-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14293-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14293-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14293-- REDIR: 0x58cac62 (libc.so.6:memchr) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cb42a (libc.so.6:memmove) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd724 (libc.so.6:strncpy) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd572 (libc.so.6:strlen) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd00e (libc.so.6:strcpy) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cacd4 (libc.so.6:bcmp) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cc1f6 (libc.so.6:strcat) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd6d0 (libc.so.6:strncmp) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cb918 (libc.so.6:stpncpy) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd846 (libc.so.6:rindex) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cc268 (libc.so.6:index) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cad46 (libc.so.6:memcpy) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cb6b4 (libc.so.6:memset) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cc434 (libc.so.6:strcmp) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58d1a76 (libc.so.6:__strrchr_generic) redirected to 0x4f28152 (rindex) [INFO]: --14293-- REDIR: 0x58d143e (libc.so.6:__strlen_generic) redirected to 0x4f287d4 (strlen) [INFO]: --14293-- REDIR: 0x58d1582 (libc.so.6:__strncmp_generic) redirected to 0x4f28ed8 (strncmp) [INFO]: --14293-- REDIR: 0x58c7ca2 (libc.so.6:malloc) redirected to 0x4f207fa (malloc) [INFO]: --14293-- REDIR: 0x58d0d0a (libc.so.6:__memmove_generic) redirected to 0x4f2bad0 (memmove) [INFO]: --14293-- REDIR: 0x58c8390 (libc.so.6:realloc) redirected to 0x4f26d14 (realloc) [INFO]: --14293-- REDIR: 0x58d0ad6 (libc.so.6:__memcpy_generic) redirected to 0x4f29d04 (memcpy) [INFO]: --14293-- REDIR: 0x58cdf50 (libc.so.6:strstr) redirected to 0x4f2ca6a (strstr) [INFO]: --14293-- REDIR: 0x58d0eb6 (libc.so.6:__memset_generic) redirected to 0x4f2ba26 (memset) [INFO]: --14293-- REDIR: 0x58cc2da (libc.so.6:strchrnul) redirected to 0x4f2c388 (strchrnul) [INFO]: --14293-- REDIR: 0x58cd9e2 (libc.so.6:strspn) redirected to 0x4f2ccb0 (strspn) [INFO]: --14293-- REDIR: 0x58c80e2 (libc.so.6:free) redirected to 0x4f23144 (free) [INFO]: --14293-- REDIR: 0x58c88ec (libc.so.6:calloc) redirected to 0x4f26b56 (calloc) [INFO]: --14293-- REDIR: 0x58d13f6 (libc.so.6:__strcpy_generic) redirected to 0x4f288de (strcpy) [INFO]: --14293-- REDIR: 0x58c9176 (libc.so.6:posix_memalign) redirected to 0x4f27614 (posix_memalign) [INFO]: --14293-- REDIR: 0x58d10c2 (libc.so.6:__strchr_generic) redirected to 0x4f28322 (index) [INFO]: --14293-- REDIR: 0x58d04e6 (libc.so.6:__memchr_generic) redirected to 0x4f296ac (memchr) [INFO]: --14293-- REDIR: 0x58d1122 (libc.so.6:__strcmp_generic) redirected to 0x4f29598 (strcmp) [INFO]: --14293-- REDIR: 0x58d070a (libc.so.6:__memcmp_generic) redirected to 0x4f2b376 (bcmp) [INFO]: --14293-- REDIR: 0x591b128 (libc.so.6:__memcpy_chk) redirected to 0x4f2c996 (__memcpy_chk) [INFO]: --14293-- REDIR: 0x58cd080 (libc.so.6:strcspn) redirected to 0x4f2cbd0 (strcspn) [INFO]: --14293-- REDIR: 0x58cb7b2 (libc.so.6:stpcpy) redirected to 0x4f2b436 (stpcpy) [INFO]: --14293-- REDIR: 0x58cb98a (libc.so.6:strcasecmp) redirected to 0x4f290dc (strcasecmp) [INFO]: --14293-- REDIR: 0x58cd81c (libc.so.6:strpbrk) redirected to 0x4f2cb90 (strpbrk) [INFO]: --14293-- REDIR: 0x58d19ca (libc.so.6:__strncpy_generic) redirected to 0x4f28a42 (strncpy) [INFO]: --14293-- REDIR: 0x58cd7e2 (libc.so.6:strnlen) redirected to 0x4f2876c (strnlen) [INFO]: --14293-- REDIR: 0x58cd496 (libc.so.6:strlcat) redirected to 0x4f28656 (strlcat) [INFO]: --14293-- REDIR: 0x591b62a (libc.so.6:__stpcpy_chk) redirected to 0x4f2c430 (__stpcpy_chk) [INFO]: --14293-- REDIR: 0x591b6d2 (libc.so.6:__strcpy_chk) redirected to 0x4f2c3fa (__strcpy_chk) [INFO]: --14293-- REDIR: 0x58cd5c6 (libc.so.6:strncasecmp) redirected to 0x4f29178 (strncasecmp) [INFO]: --14293-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --14293-- REDIR: 0x591b140 (libc.so.6:__memmove_chk) redirected to 0x4f2c32a (__memmove_chk) [INFO]: ==14293== [INFO]: ==14293== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14293== at 0x4206FFA: vertical_sample, alloc::vec::Vec>, image::color::Luma, u8> (library/alloc/src/vec/mod.rs:0) [INFO]: ==14293== by 0x4206FFA: resize, alloc::vec::Vec>> (sample.rs:1015) [INFO]: ==14293== by 0x4206FFA: ::resize_exact (dynimage.rs:898) [INFO]: ==14293== by 0x40CEBB5: fuzzy_hash_calculate_image (fuzzy_hash.rs:435) [INFO]: ==14293== by 0x40CEBB5: fuzzy_hash_calculate_image (fuzzy_hash.rs:218) [INFO]: ==14293== by 0x4FE401D: calculate_fuzzy_image_hash.isra.0 (scanners.c:4083) [INFO]: ==14293== by 0x4FE82BB: cli_magic_scan (scanners.c:4807) [INFO]: ==14293== by 0x4FE9C49: magic_scan_nested_fmap_type (scanners.c:5231) [INFO]: ==14293== by 0x4FE9C49: cli_magic_scan_nested_fmap_type (scanners.c:5322) [INFO]: ==14293== by 0x4FE9DD9: cli_magic_scan_buff (scanners.c:5337) [INFO]: ==14293== by 0x50D4A75: clamav_rust::scanners::magic_scan (scanners.rs:82) [INFO]: ==14293== by 0x50F6387: {closure#0} (scanners.rs:138) [INFO]: ==14293== by 0x50F6387: {closure#0} (library/core/src/iter/traits/iterator.rs:2839) [INFO]: ==14293== by 0x50F6387: try_fold, core::ops::control_flow::ControlFlow<(), ()>> (library/core/src/iter/traits/iterator.rs:2494) [INFO]: ==14293== by 0x50F6387: all (library/core/src/iter/traits/iterator.rs:2842) [INFO]: ==14293== by 0x50F6387: scan_onenote (scanners.rs:131) [INFO]: ==14293== by 0x4FE79D3: cli_magic_scan (scanners.c:4557) [INFO]: ==14293== by 0x4FEA65D: scan_common (scanners.c:5498) [INFO]: ==14293== by 0x4FEAD23: cl_scandesc_callback (scanners.c:5740) [INFO]: ==14293== by 0x4FEAF49: cl_scanfile_callback (scanners.c:5823) [INFO]: ==14293== [INFO]: ==14293== FILE DESCRIPTORS: 6 open (2 inherited) at exit. [INFO]: ==14293== Open file descriptor 5: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one [INFO]: ==14293== at 0x5909103: open (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x4FEAF1D: open (fcntl2.h:55) [INFO]: ==14293== by 0x4FEAF1D: cl_scanfile_callback (scanners.c:5812) [INFO]: ==14293== by 0x4060161: test_cl_scanfile_callback_allscan_fn (check_clamav.c:352) [INFO]: ==14293== by 0x4F3DC21: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DF9F: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4059A5B: main (check_clamav.c:2214) [INFO]: ==14293== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:open [INFO]: fun:cl_scanfile_callback [INFO]: fun:test_cl_scanfile_callback_allscan_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==14293== Open file descriptor 4: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/test.log [INFO]: ==14293== at 0x5909103: open (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58B2AE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58B2C7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58A9147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x4F3BEF9: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3C20B: srunner_init_logging (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DD81: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4059A5B: main (check_clamav.c:2214) [INFO]: ==14293== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_init_logging [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==14293== Open file descriptor 3: /tmp/check_eaShFT [INFO]: ==14293== at 0x5909103: open (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58942BD: __gen_tempname (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x4F3C5BB: open_tmp_file (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3C6F3: receive_test_result (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DA07: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DB21: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DF9F: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4059A5B: main (check_clamav.c:2214) [INFO]: ==14293== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:__gen_tempname [INFO]: fun:open_tmp_file [INFO]: fun:receive_test_result [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==14293== Open file descriptor 2: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/test-stderr.log [INFO]: ==14293== at 0x59059D2: dup3 (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58B0273: freopen (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x4059A4D: main (check_clamav.c:2207) [INFO]: ==14293== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:dup3 [INFO]: fun:freopen [INFO]: fun:main [INFO]: } [INFO]: ==14293== [INFO]: ==14293== HEAP SUMMARY: [INFO]: ==14293== in use at exit: 1,682,259 bytes in 5,220 blocks [INFO]: ==14293== total heap usage: 493,755 allocs, 488,535 frees, 798,136,462 bytes allocated [INFO]: ==14293== [INFO]: ==14293== Searching for pointers to 5,220 not-freed blocks [INFO]: ==14293== Checked 9,801,848 bytes [INFO]: ==14293== [INFO]: ==14293== LEAK SUMMARY: [INFO]: ==14293== definitely lost: 0 bytes in 0 blocks [INFO]: ==14293== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14293== possibly lost: 232,959 bytes in 5 blocks [INFO]: ==14293== still reachable: 1,449,300 bytes in 5,215 blocks [INFO]: ==14293== suppressed: 0 bytes in 0 blocks [INFO]: ==14293== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14293== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14293== [INFO]: ==14293== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) --------------------------- Captured stdout teardown --------------------------- [INFO]: Removed tmp directory: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x =================================== FAILURES =================================== ________________________ TC.test_libclamav_00_unit_test ________________________ self = def test_libclamav_00_unit_test(self): self.step_name('libclamav unit tests') # If no valgrind, valgrind nad valgrind args are empty strings command = '{valgrind} {valgrind_args} {check_clamav}'.format( valgrind=TC.valgrind, valgrind_args=TC.valgrind_args, check_clamav=TC.check_clamav ) output = self.execute_command(command) > assert output.ec == 0 # success ^^^^^^^^^^^^^^^^^^^^^ E assert 111 == 0 E + where 111 = CmdResult(ec=111, out="Using default test timeout; alter by setting 'T' env var (in seconds)\nRunning suite(s): cl_suite\ntraverse_to: Failed open payload\n", err='Execution timeout exceeded for "/usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav " command.').ec /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/libclamav_test.py:47: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: libclamav unit tests [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [DEBUG]: Run command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav [DEBUG]: Exit code: 111 [DEBUG]: stdout: Using default test timeout; alter by setting 'T' env var (in seconds) Running suite(s): cl_suite traverse_to: Failed open payload [DEBUG]: stderr: Execution timeout exceeded for "/usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav " command. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14293== Memcheck, a memory error detector [INFO]: ==14293== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14293== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14293== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==14293== Parent PID: 14282 [INFO]: ==14293== [INFO]: --14293-- [INFO]: --14293-- Valgrind options: [INFO]: --14293-- -v [INFO]: --14293-- --trace-children=yes [INFO]: --14293-- --track-fds=yes [INFO]: --14293-- --leak-check=full [INFO]: --14293-- --show-possibly-lost=no [INFO]: --14293-- --show-leak-kinds=definite [INFO]: --14293-- --errors-for-leak-kinds=definite [INFO]: --14293-- --main-stacksize=16777216 [INFO]: --14293-- --gen-suppressions=all [INFO]: --14293-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14293-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-8bi0z44x/valgrind.log [INFO]: --14293-- --error-exitcode=123 [INFO]: --14293-- Contents of /proc/version: [INFO]: --14293-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14293-- [INFO]: --14293-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14293-- Page sizes: currently 4096, max supported 4096 [INFO]: --14293-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14293-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav [INFO]: --14293-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14293-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14293-- object doesn't have a dynamic symbol table [INFO]: --14293-- Scheduler: using generic scheduler lock implementation. [INFO]: --14293-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14293-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14293== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14293-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14293== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14293-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14293== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14293-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14293== [INFO]: ==14293== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14293== don't want to do, unless you know exactly what you're doing, [INFO]: ==14293== or are doing some strange experiment): [INFO]: ==14293== /usr/libexec/valgrind/../../bin/vgdb --pid=14293 ...command... [INFO]: ==14293== [INFO]: ==14293== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14293== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/check_clamav [INFO]: ==14293== and then give GDB the following command [INFO]: ==14293== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14293 [INFO]: ==14293== --pid is optional if only one valgrind process is running [INFO]: ==14293== [INFO]: --14293-- REDIR: 0x4702e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14293-- REDIR: 0x47032ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14293-- REDIR: 0x4702e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14293-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14293-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14293-- Reading syms from /usr/lib64/libcheck.so.0.15.2 [INFO]: --14293-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14293-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14293-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14293-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14293-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14293-- Reading syms from /usr/lib64/libsubunit.so.0.0.0 [INFO]: --14293-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14293-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14293-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14293-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14293-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14293-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14293-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14293-- REDIR: 0x58cac62 (libc.so.6:memchr) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cb42a (libc.so.6:memmove) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd724 (libc.so.6:strncpy) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd572 (libc.so.6:strlen) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd00e (libc.so.6:strcpy) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cacd4 (libc.so.6:bcmp) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cc1f6 (libc.so.6:strcat) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd6d0 (libc.so.6:strncmp) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cb918 (libc.so.6:stpncpy) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cd846 (libc.so.6:rindex) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cc268 (libc.so.6:index) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cad46 (libc.so.6:memcpy) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cb6b4 (libc.so.6:memset) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58cc434 (libc.so.6:strcmp) redirected to 0x4f1c3b8 (_vgnU_ifunc_wrapper) [INFO]: --14293-- REDIR: 0x58d1a76 (libc.so.6:__strrchr_generic) redirected to 0x4f28152 (rindex) [INFO]: --14293-- REDIR: 0x58d143e (libc.so.6:__strlen_generic) redirected to 0x4f287d4 (strlen) [INFO]: --14293-- REDIR: 0x58d1582 (libc.so.6:__strncmp_generic) redirected to 0x4f28ed8 (strncmp) [INFO]: --14293-- REDIR: 0x58c7ca2 (libc.so.6:malloc) redirected to 0x4f207fa (malloc) [INFO]: --14293-- REDIR: 0x58d0d0a (libc.so.6:__memmove_generic) redirected to 0x4f2bad0 (memmove) [INFO]: --14293-- REDIR: 0x58c8390 (libc.so.6:realloc) redirected to 0x4f26d14 (realloc) [INFO]: --14293-- REDIR: 0x58d0ad6 (libc.so.6:__memcpy_generic) redirected to 0x4f29d04 (memcpy) [INFO]: --14293-- REDIR: 0x58cdf50 (libc.so.6:strstr) redirected to 0x4f2ca6a (strstr) [INFO]: --14293-- REDIR: 0x58d0eb6 (libc.so.6:__memset_generic) redirected to 0x4f2ba26 (memset) [INFO]: --14293-- REDIR: 0x58cc2da (libc.so.6:strchrnul) redirected to 0x4f2c388 (strchrnul) [INFO]: --14293-- REDIR: 0x58cd9e2 (libc.so.6:strspn) redirected to 0x4f2ccb0 (strspn) [INFO]: --14293-- REDIR: 0x58c80e2 (libc.so.6:free) redirected to 0x4f23144 (free) [INFO]: --14293-- REDIR: 0x58c88ec (libc.so.6:calloc) redirected to 0x4f26b56 (calloc) [INFO]: --14293-- REDIR: 0x58d13f6 (libc.so.6:__strcpy_generic) redirected to 0x4f288de (strcpy) [INFO]: --14293-- REDIR: 0x58c9176 (libc.so.6:posix_memalign) redirected to 0x4f27614 (posix_memalign) [INFO]: --14293-- REDIR: 0x58d10c2 (libc.so.6:__strchr_generic) redirected to 0x4f28322 (index) [INFO]: --14293-- REDIR: 0x58d04e6 (libc.so.6:__memchr_generic) redirected to 0x4f296ac (memchr) [INFO]: --14293-- REDIR: 0x58d1122 (libc.so.6:__strcmp_generic) redirected to 0x4f29598 (strcmp) [INFO]: --14293-- REDIR: 0x58d070a (libc.so.6:__memcmp_generic) redirected to 0x4f2b376 (bcmp) [INFO]: --14293-- REDIR: 0x591b128 (libc.so.6:__memcpy_chk) redirected to 0x4f2c996 (__memcpy_chk) [INFO]: --14293-- REDIR: 0x58cd080 (libc.so.6:strcspn) redirected to 0x4f2cbd0 (strcspn) [INFO]: --14293-- REDIR: 0x58cb7b2 (libc.so.6:stpcpy) redirected to 0x4f2b436 (stpcpy) [INFO]: --14293-- REDIR: 0x58cb98a (libc.so.6:strcasecmp) redirected to 0x4f290dc (strcasecmp) [INFO]: --14293-- REDIR: 0x58cd81c (libc.so.6:strpbrk) redirected to 0x4f2cb90 (strpbrk) [INFO]: --14293-- REDIR: 0x58d19ca (libc.so.6:__strncpy_generic) redirected to 0x4f28a42 (strncpy) [INFO]: --14293-- REDIR: 0x58cd7e2 (libc.so.6:strnlen) redirected to 0x4f2876c (strnlen) [INFO]: --14293-- REDIR: 0x58cd496 (libc.so.6:strlcat) redirected to 0x4f28656 (strlcat) [INFO]: --14293-- REDIR: 0x591b62a (libc.so.6:__stpcpy_chk) redirected to 0x4f2c430 (__stpcpy_chk) [INFO]: --14293-- REDIR: 0x591b6d2 (libc.so.6:__strcpy_chk) redirected to 0x4f2c3fa (__strcpy_chk) [INFO]: --14293-- REDIR: 0x58cd5c6 (libc.so.6:strncasecmp) redirected to 0x4f29178 (strncasecmp) [INFO]: --14293-- Reading syms from /usr/lib64/gconv/UTF-16.so [INFO]: --14293-- REDIR: 0x591b140 (libc.so.6:__memmove_chk) redirected to 0x4f2c32a (__memmove_chk) [INFO]: ==14293== [INFO]: ==14293== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14293== at 0x4206FFA: vertical_sample, alloc::vec::Vec>, image::color::Luma, u8> (library/alloc/src/vec/mod.rs:0) [INFO]: ==14293== by 0x4206FFA: resize, alloc::vec::Vec>> (sample.rs:1015) [INFO]: ==14293== by 0x4206FFA: ::resize_exact (dynimage.rs:898) [INFO]: ==14293== by 0x40CEBB5: fuzzy_hash_calculate_image (fuzzy_hash.rs:435) [INFO]: ==14293== by 0x40CEBB5: fuzzy_hash_calculate_image (fuzzy_hash.rs:218) [INFO]: ==14293== by 0x4FE401D: calculate_fuzzy_image_hash.isra.0 (scanners.c:4083) [INFO]: ==14293== by 0x4FE82BB: cli_magic_scan (scanners.c:4807) [INFO]: ==14293== by 0x4FE9C49: magic_scan_nested_fmap_type (scanners.c:5231) [INFO]: ==14293== by 0x4FE9C49: cli_magic_scan_nested_fmap_type (scanners.c:5322) [INFO]: ==14293== by 0x4FE9DD9: cli_magic_scan_buff (scanners.c:5337) [INFO]: ==14293== by 0x50D4A75: clamav_rust::scanners::magic_scan (scanners.rs:82) [INFO]: ==14293== by 0x50F6387: {closure#0} (scanners.rs:138) [INFO]: ==14293== by 0x50F6387: {closure#0} (library/core/src/iter/traits/iterator.rs:2839) [INFO]: ==14293== by 0x50F6387: try_fold, core::ops::control_flow::ControlFlow<(), ()>> (library/core/src/iter/traits/iterator.rs:2494) [INFO]: ==14293== by 0x50F6387: all (library/core/src/iter/traits/iterator.rs:2842) [INFO]: ==14293== by 0x50F6387: scan_onenote (scanners.rs:131) [INFO]: ==14293== by 0x4FE79D3: cli_magic_scan (scanners.c:4557) [INFO]: ==14293== by 0x4FEA65D: scan_common (scanners.c:5498) [INFO]: ==14293== by 0x4FEAD23: cl_scandesc_callback (scanners.c:5740) [INFO]: ==14293== by 0x4FEAF49: cl_scanfile_callback (scanners.c:5823) [INFO]: ==14293== [INFO]: ==14293== FILE DESCRIPTORS: 6 open (2 inherited) at exit. [INFO]: ==14293== Open file descriptor 5: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/input/clamav_hdb_scanfiles/clam.exe.2010.one [INFO]: ==14293== at 0x5909103: open (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x4FEAF1D: open (fcntl2.h:55) [INFO]: ==14293== by 0x4FEAF1D: cl_scanfile_callback (scanners.c:5812) [INFO]: ==14293== by 0x4060161: test_cl_scanfile_callback_allscan_fn (check_clamav.c:352) [INFO]: ==14293== by 0x4F3DC21: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DF9F: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4059A5B: main (check_clamav.c:2214) [INFO]: ==14293== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:open [INFO]: fun:cl_scanfile_callback [INFO]: fun:test_cl_scanfile_callback_allscan_fn [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==14293== Open file descriptor 4: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/test.log [INFO]: ==14293== at 0x5909103: open (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58B2AE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58B2C7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58A9147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x4F3BEF9: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3C20B: srunner_init_logging (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DD81: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4059A5B: main (check_clamav.c:2214) [INFO]: ==14293== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_init_logging [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==14293== Open file descriptor 3: /tmp/check_eaShFT [INFO]: ==14293== at 0x5909103: open (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58942BD: __gen_tempname (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x4F3C5BB: open_tmp_file (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3C6F3: receive_test_result (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DA07: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DB21: ??? (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4F3DF9F: srunner_run_tagged (in /usr/lib64/libcheck.so.0.15.2) [INFO]: ==14293== by 0x4059A5B: main (check_clamav.c:2214) [INFO]: ==14293== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:__gen_tempname [INFO]: fun:open_tmp_file [INFO]: fun:receive_test_result [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: obj:/usr/lib64/libcheck.so.0.15.2 [INFO]: fun:srunner_run_tagged [INFO]: fun:main [INFO]: } [INFO]: ==14293== Open file descriptor 2: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/test-stderr.log [INFO]: ==14293== at 0x59059D2: dup3 (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x58B0273: freopen (in /usr/lib64/libc.so.6) [INFO]: ==14293== by 0x4059A4D: main (check_clamav.c:2207) [INFO]: ==14293== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:dup3 [INFO]: fun:freopen [INFO]: fun:main [INFO]: } [INFO]: ==14293== [INFO]: ==14293== HEAP SUMMARY: [INFO]: ==14293== in use at exit: 1,682,259 bytes in 5,220 blocks [INFO]: ==14293== total heap usage: 493,755 allocs, 488,535 frees, 798,136,462 bytes allocated [INFO]: ==14293== [INFO]: ==14293== Searching for pointers to 5,220 not-freed blocks [INFO]: ==14293== Checked 9,801,848 bytes [INFO]: ==14293== [INFO]: ==14293== LEAK SUMMARY: [INFO]: ==14293== definitely lost: 0 bytes in 0 blocks [INFO]: ==14293== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14293== possibly lost: 232,959 bytes in 5 blocks [INFO]: ==14293== still reachable: 1,449,300 bytes in 5,215 blocks [INFO]: ==14293== suppressed: 0 bytes in 0 blocks [INFO]: ==14293== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14293== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14293== [INFO]: ==14293== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED libclamav_test.py::TC::test_libclamav_00_unit_test - assert 111 == 0 ERROR libclamav_test.py::TC::test_libclamav_00_unit_test - AssertionError: Va... ==================== 1 failed, 1 error in 601.97s (0:10:01) ==================== 5/5 Test #5: clamscan_valgrind ................***Failed 1731.08 sec ============================= test session starts ============================== platform linux -- Python 3.15.0b4, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests collecting ... collected 82 items clamscan/_basic_test.py::TC::test_00_version PASSED [ 1%] clamscan/_basic_test.py::TC::test_01_all_testfiles PASSED [ 2%] clamscan/_basic_test.py::TC::test_02_all_testfiles_ign2 PASSED [ 3%] clamscan/allmatch_test.py::TC::test_exe_imphash_plus_zipsfx PASSED [ 4%] clamscan/allmatch_test.py::TC::test_exe_pattern_plus_zipsfx PASSED [ 6%] clamscan/allmatch_test.py::TC::test_many_sigs PASSED [ 7%] clamscan/allmatch_test.py::TC::test_many_sigs_no_allmatch PASSED [ 8%] clamscan/allmatch_test.py::TC::test_pe_allmatch PASSED [ 9%] clamscan/allmatch_test.py::TC::test_regression_cbc_and_ndb PASSED [ 10%] clamscan/allmatch_test.py::TC::test_regression_imphash_nosize PASSED [ 12%] clamscan/allmatch_test.py::TC::test_txt_plus_clam_zipsfx PASSED [ 13%] clamscan/alz_test.py::TC::test_bzip2 PASSED [ 14%] clamscan/alz_test.py::TC::test_bzip2_with_binary PASSED [ 15%] clamscan/alz_test.py::TC::test_deflate PASSED [ 17%] clamscan/alz_test.py::TC::test_deflate_limit_uses_decompressed_size PASSED [ 18%] clamscan/alz_test.py::TC::test_encrypted_metadata_matches_before_extraction_skip PASSED [ 19%] clamscan/alz_test.py::TC::test_extraction_error_does_not_abort_archive_scan PASSED [ 20%] clamscan/alz_test.py::TC::test_inflated_header_size_does_not_skip_extraction PASSED [ 21%] clamscan/alz_test.py::TC::test_later_parse_error_does_not_skip_earlier_member_scan PASSED [ 23%] clamscan/alz_test.py::TC::test_metadata_filepos_counts_skipped_entries_from_one PASSED [ 24%] clamscan/alz_test.py::TC::test_total_limit_does_not_report_max_file_size PASSED [ 25%] clamscan/alz_test.py::TC::test_uncompressed PASSED [ 26%] clamscan/alz_test.py::TC::test_uncompressed_with_binary PASSED [ 28%] clamscan/assorted_test.py::TC::test_00_version PASSED [ 29%] clamscan/assorted_test.py::TC::test_iso_missing_joliet PASSED [ 30%] clamscan/assorted_test.py::TC::test_onenote_disabled PASSED [ 31%] clamscan/assorted_test.py::TC::test_pe_cert_block PASSED [ 32%] clamscan/assorted_test.py::TC::test_pe_cert_trust PASSED [ 34%] clamscan/assorted_test.py::TC::test_pe_cert_trust_archive PASSED [ 35%] clamscan/assorted_test.py::TC::test_weak_indicator_icon PASSED [ 36%] clamscan/bytecode_test.py::TC::test_pdf_hook PASSED [ 37%] clamscan/container_sigs_test.py::TC::test_clamscan_container_cache PASSED [ 39%] clamscan/container_sigs_test.py::TC::test_container PASSED [ 40%] clamscan/container_sigs_test.py::TC::test_intermediates PASSED [ 41%] clamscan/container_sigs_test.py::TC::test_intermediates_cache PASSED [ 42%] clamscan/fp_check_test.py::TC::test_alerts_on_normalized PASSED [ 43%] clamscan/fp_check_test.py::TC::test_alerts_on_zip PASSED [ 45%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized PASSED [ 46%] clamscan/fp_check_test.py::TC::test_fp_for_nonnormalized_wild PASSED [ 47%] clamscan/fp_check_test.py::TC::test_fp_for_normalized PASSED [ 48%] clamscan/fp_check_test.py::TC::test_fp_for_normalized_wild PASSED [ 50%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file PASSED [ 51%] clamscan/fp_check_test.py::TC::test_fp_for_zipped_file_wild PASSED [ 52%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_algorithm PASSED [ 53%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hamming PASSED [ 54%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_bad_hash PASSED [ 56%] clamscan/fuzzy_img_hash_test.py::TC::test_sigs_good_allmatch PASSED [ 57%] clamscan/heuristics_test.py::TC::test_allmatch PASSED [ 58%] clamscan/heuristics_test.py::TC::test_allmatch_precedence PASSED [ 59%] clamscan/heuristics_test.py::TC::test_hidden_by_strong_indicator PASSED [ 60%] clamscan/heuristics_test.py::TC::test_only_heur PASSED [ 62%] clamscan/heuristics_test.py::TC::test_precedence PASSED [ 63%] clamscan/image_extraction_test.py::TC::test_HTML_style_with_detection PASSED [ 64%] clamscan/image_extraction_test.py::TC::test_xls_jpeg_png PASSED [ 65%] clamscan/image_extraction_test.py::TC::test_xls_with_detection PASSED [ 67%] clamscan/lzh_lha_archive_test.py::TC::test_good_archives PASSED [ 68%] clamscan/match_offsets_test.py::TC::test_LDB_VI PASSED [ 69%] clamscan/match_offsets_test.py::TC::test_yara_at_offset PASSED [ 70%] clamscan/match_offsets_test.py::TC::test_yara_in_range PASSED [ 71%] clamscan/phishing_test.py::TC::test_not_enabled PASSED [ 73%] clamscan/phishing_test.py::TC::test_ssl_and_cloak PASSED [ 74%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_copy_allows_search_only_destination_dir PASSED [ 75%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_copy_does_not_act_on_replaced_source_link PASSED [ 76%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_copy_preserves_xattr SKIPPED [ 78%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_copy_uses_real_source_path_for_symlink_source PASSED [ 79%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_directory_replacement_does_not_redirect_copy_target FAILED [ 80%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_directory_replacement_does_not_redirect_copy_target ERROR [ 80%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_directory_replacement_does_not_redirect_move_target FAILED [ 81%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_directory_replacement_does_not_redirect_move_target ERROR [ 81%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_move_allows_search_only_destination_dir PASSED [ 82%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_move_does_not_act_on_replaced_source_link PASSED [ 84%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_move_unlinks_submitted_hardlink PASSED [ 85%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_move_uses_real_source_path_for_symlink_source PASSED [ 86%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_remove_does_not_act_on_replaced_source_link PASSED [ 87%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_remove_unlinks_submitted_hardlink PASSED [ 89%] clamscan/quarantine_toctou_test.py::TC::test_quarantine_remove_uses_real_source_path_for_symlink_source PASSED [ 90%] clamscan/regex_test.py::TC::test_ldb_multi_pcre PASSED [ 91%] clamscan/regex_test.py::TC::test_ldb_offset_pcre PASSED [ 92%] clamscan/regex_test.py::TC::test_pcre_flag PASSED [ 93%] clamscan/regex_test.py::TC::test_slash_colon PASSED [ 95%] clamscan/regex_test.py::TC::test_yara PASSED [ 96%] clamscan/xar_test.py::TC::test_declared_large_actual_small_toc_is_scanned clamscan/xar_test.py::TC::test_declared_large_actual_small_toc_is_scanned PASSED [ 97%] clamscan/xar_test.py::TC::test_declared_small_actual_large_toc_obeys_scan_limits PASSED [ 98%] clamscan/xar_test.py::TC::test_incomplete_toc_stream_is_not_scanned PASSED [100%] ==================================== ERRORS ==================================== _ ERROR at teardown of TC.test_quarantine_directory_replacement_does_not_redirect_copy_target _ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamscan/quarantine_toctou_test.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test quarantine destination TOCTOU resistance for clamscan --copy [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamscan command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan --debug -d /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy --copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-copy/quarantine /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-copy [INFO]: Quarantine directory replacement was blocked while clamscan was running. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14540== Memcheck, a memory error detector [INFO]: ==14540== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14540== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14540== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan --debug -d /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy --copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-copy/quarantine /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-copy [INFO]: ==14540== Parent PID: 14283 [INFO]: ==14540== [INFO]: --14540-- [INFO]: --14540-- Valgrind options: [INFO]: --14540-- -v [INFO]: --14540-- --trace-children=yes [INFO]: --14540-- --track-fds=yes [INFO]: --14540-- --leak-check=full [INFO]: --14540-- --show-possibly-lost=no [INFO]: --14540-- --show-leak-kinds=definite [INFO]: --14540-- --errors-for-leak-kinds=definite [INFO]: --14540-- --main-stacksize=16777216 [INFO]: --14540-- --gen-suppressions=all [INFO]: --14540-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14540-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log [INFO]: --14540-- --error-exitcode=123 [INFO]: --14540-- Contents of /proc/version: [INFO]: --14540-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14540-- [INFO]: --14540-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14540-- Page sizes: currently 4096, max supported 4096 [INFO]: --14540-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14540-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan [INFO]: --14540-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14540-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14540-- object doesn't have a dynamic symbol table [INFO]: --14540-- Scheduler: using generic scheduler lock implementation. [INFO]: --14540-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14540-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14540== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14540-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14540== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14540-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14540== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14540-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14540== [INFO]: ==14540== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14540== don't want to do, unless you know exactly what you're doing, [INFO]: ==14540== or are doing some strange experiment): [INFO]: ==14540== /usr/libexec/valgrind/../../bin/vgdb --pid=14540 ...command... [INFO]: ==14540== [INFO]: ==14540== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14540== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan [INFO]: ==14540== and then give GDB the following command [INFO]: ==14540== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14540 [INFO]: ==14540== --pid is optional if only one valgrind process is running [INFO]: ==14540== [INFO]: --14540-- REDIR: 0x4047e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14540-- REDIR: 0x40482ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14540-- REDIR: 0x4047e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14540-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14540-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14540-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14540-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14540-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14540-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14540-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14540-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14540-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14540-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14540-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14540-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14540-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14540-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14540-- REDIR: 0x5131c62 (libc.so.6:memchr) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x513242a (libc.so.6:memmove) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5134724 (libc.so.6:strncpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5134572 (libc.so.6:strlen) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x513400e (libc.so.6:strcpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5131cd4 (libc.so.6:bcmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x51331f6 (libc.so.6:strcat) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x51346d0 (libc.so.6:strncmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5132918 (libc.so.6:stpncpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5134846 (libc.so.6:rindex) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5133268 (libc.so.6:index) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5131d46 (libc.so.6:memcpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x51326b4 (libc.so.6:memset) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5133434 (libc.so.6:strcmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5138a76 (libc.so.6:__strrchr_generic) redirected to 0x486d152 (rindex) [INFO]: --14540-- REDIR: 0x513843e (libc.so.6:__strlen_generic) redirected to 0x486d7d4 (strlen) [INFO]: --14540-- REDIR: 0x5138582 (libc.so.6:__strncmp_generic) redirected to 0x486ded8 (strncmp) [INFO]: --14540-- REDIR: 0x5138122 (libc.so.6:__strcmp_generic) redirected to 0x486e598 (strcmp) [INFO]: --14540-- REDIR: 0x5137eb6 (libc.so.6:__memset_generic) redirected to 0x4870a26 (memset) [INFO]: --14540-- REDIR: 0x51374e6 (libc.so.6:__memchr_generic) redirected to 0x486e6ac (memchr) [INFO]: --14540-- REDIR: 0x51380c2 (libc.so.6:__strchr_generic) redirected to 0x486d322 (index) [INFO]: --14540-- REDIR: 0x51332da (libc.so.6:strchrnul) redirected to 0x4871388 (strchrnul) [INFO]: --14540-- REDIR: 0x512eca2 (libc.so.6:malloc) redirected to 0x48657fa (malloc) [INFO]: --14540-- REDIR: 0x5137ad6 (libc.so.6:__memcpy_generic) redirected to 0x486ed04 (memcpy) [INFO]: --14540-- REDIR: 0x512f0e2 (libc.so.6:free) redirected to 0x4868144 (free) [INFO]: --14540-- REDIR: 0x5134f50 (libc.so.6:strstr) redirected to 0x4871a6a (strstr) [INFO]: --14540-- REDIR: 0x512f390 (libc.so.6:realloc) redirected to 0x486bd14 (realloc) [INFO]: --14540-- REDIR: 0x51329dc (libc.so.6:strcasecmp_l) redirected to 0x486e2c8 (strcasecmp_l) [INFO]: --14540-- REDIR: 0x5182128 (libc.so.6:__memcpy_chk) redirected to 0x4871996 (__memcpy_chk) [INFO]: --14540-- REDIR: 0x51327b2 (libc.so.6:stpcpy) redirected to 0x4870436 (stpcpy) [INFO]: --14540-- REDIR: 0x51347e2 (libc.so.6:strnlen) redirected to 0x486d76c (strnlen) [INFO]: --14540-- REDIR: 0x512f8ec (libc.so.6:calloc) redirected to 0x486bb56 (calloc) [INFO]: --14540-- REDIR: 0x5137d0a (libc.so.6:__memmove_generic) redirected to 0x4870ad0 (memmove) [INFO]: --14540-- REDIR: 0x513298a (libc.so.6:strcasecmp) redirected to 0x486e0dc (strcasecmp) [INFO]: ==14540== [INFO]: ==14540== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14540== at 0x511E56E: __internal_syscall_cancel (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x511E58D: __syscall_cancel (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x511A215: _IO_file_underflow@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x511BF15: _IO_default_uflow (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5110FE9: _IO_getline_info (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x510FF8B: fgets (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x490DB95: cli_loadhash (readdb.c:2833) [INFO]: ==14540== by 0x490FF73: cli_load (readdb.c:4759) [INFO]: ==14540== by 0x4912037: cli_loaddbdir (readdb.c:5203) [INFO]: ==14540== by 0x4912037: cl_load (readdb.c:5314) [INFO]: ==14540== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14540== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14540== [INFO]: ==14540== FILE DESCRIPTORS: 6 open (3 inherited) at exit. [INFO]: ==14540== Open file descriptor 5: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy/padding.hdb [INFO]: ==14540== at 0x5170103: open (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5119AE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5119C7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5110147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x490FD33: cli_load (readdb.c:4709) [INFO]: ==14540== by 0x4912037: cli_loaddbdir (readdb.c:5203) [INFO]: ==14540== by 0x4912037: cl_load (readdb.c:5314) [INFO]: ==14540== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14540== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14540== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:cli_load [INFO]: fun:cli_loaddbdir [INFO]: fun:cl_load [INFO]: fun:scanmanager [INFO]: fun:main [INFO]: } [INFO]: ==14540== Open file descriptor 4: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy [INFO]: ==14540== at 0x5171134: __open_nocancel (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5151FA1: opendir (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x4911E2B: cli_loaddbdir (readdb.c:5037) [INFO]: ==14540== by 0x4911E2B: cl_load (readdb.c:5314) [INFO]: ==14540== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14540== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14540== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:__open_nocancel [INFO]: fun:opendir [INFO]: fun:cli_loaddbdir [INFO]: fun:cl_load [INFO]: fun:scanmanager [INFO]: fun:main [INFO]: } [INFO]: ==14540== Open file descriptor 3: quarantine [INFO]: ==14540== at 0x51701BF: openat (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x4004811: openat (fcntl2.h:171) [INFO]: ==14540== by 0x4004811: action_openat_nointr (actions.c:184) [INFO]: ==14540== by 0x4004811: action_openat_directory_nointr (actions.c:260) [INFO]: ==14540== by 0x4006B9B: actsetup (actions.c:3891) [INFO]: ==14540== by 0x4000E73: main (clamscan.c:160) [INFO]: ==14540== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:openat [INFO]: fun:openat [INFO]: fun:action_openat_nointr [INFO]: fun:action_openat_directory_nointr [INFO]: fun:actsetup [INFO]: fun:main [INFO]: } [INFO]: ==14540== [INFO]: ==14540== HEAP SUMMARY: [INFO]: ==14540== in use at exit: 300,189 bytes in 402 blocks [INFO]: ==14540== total heap usage: 471 allocs, 69 frees, 329,519 bytes allocated [INFO]: ==14540== [INFO]: ==14540== Searching for pointers to 402 not-freed blocks [INFO]: ==14540== Checked 18,635,784 bytes [INFO]: ==14540== [INFO]: ==14540== LEAK SUMMARY: [INFO]: ==14540== definitely lost: 0 bytes in 0 blocks [INFO]: ==14540== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14540== possibly lost: 0 bytes in 0 blocks [INFO]: ==14540== still reachable: 300,189 bytes in 402 blocks [INFO]: ==14540== suppressed: 0 bytes in 0 blocks [INFO]: ==14540== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14540== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14540== [INFO]: ==14540== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) _ ERROR at teardown of TC.test_quarantine_directory_replacement_does_not_redirect_move_target _ self = def tearDown(self): super(TC, self).tearDown() > self.verify_valgrind_log() /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamscan/quarantine_toctou_test.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = log_file = PosixPath('/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log') def verify_valgrind_log(self, log_file: Union[Path, None]=None): """Method verifies a valgrind log file. If valgrind not enabled this is basically a nop. :Parameters: - `log_file`: path to log file. """ if self.valgrind == "": return if log_file == None: log_file = self.path_tmp / 'valgrind.log' if not log_file.exists(): raise AssertionError('{} not found. Valgrind failed to run?'.format(log_file)) errors = False self.log.info('Verifying {}...'.format(log_file)) try: self.verify_log( str(log_file), expected=['ERROR SUMMARY: 0 errors'], unexpected=[], ignored=[] ) except AssertionError: self.log.warning("*" * 69) self.log.warning('Valgrind test failed!'.center(69, ' ')) self.log.warning('Please submit this log to https://github.com/Cisco-Talos/clamav/issues:'.center(69, ' ')) self.log.warning(str(log_file).center(69, ' ')) self.log.warning("*" * 69) errors = True finally: with log_file.open('r') as log: found_summary = False for line in log.readlines(): if 'ERROR SUMMARY' in line: found_summary = True if (found_summary or errors) and len(line) < 500: self.log.info(line.rstrip('\n')) if errors: > raise AssertionError('Valgrind test FAILED!') E AssertionError: Valgrind test FAILED! /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/testcase.py:311: AssertionError ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test quarantine destination TOCTOU resistance for clamscan --move [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamscan command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan --debug -d /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move --move=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-move/quarantine /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-move [INFO]: Quarantine directory replacement was blocked while clamscan was running. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14542== Memcheck, a memory error detector [INFO]: ==14542== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14542== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14542== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan --debug -d /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move --move=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-move/quarantine /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-move [INFO]: ==14542== Parent PID: 14283 [INFO]: ==14542== [INFO]: --14542-- [INFO]: --14542-- Valgrind options: [INFO]: --14542-- -v [INFO]: --14542-- --trace-children=yes [INFO]: --14542-- --track-fds=yes [INFO]: --14542-- --leak-check=full [INFO]: --14542-- --show-possibly-lost=no [INFO]: --14542-- --show-leak-kinds=definite [INFO]: --14542-- --errors-for-leak-kinds=definite [INFO]: --14542-- --main-stacksize=16777216 [INFO]: --14542-- --gen-suppressions=all [INFO]: --14542-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14542-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log [INFO]: --14542-- --error-exitcode=123 [INFO]: --14542-- Contents of /proc/version: [INFO]: --14542-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14542-- [INFO]: --14542-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14542-- Page sizes: currently 4096, max supported 4096 [INFO]: --14542-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14542-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan [INFO]: --14542-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14542-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14542-- object doesn't have a dynamic symbol table [INFO]: --14542-- Scheduler: using generic scheduler lock implementation. [INFO]: --14542-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14542-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14542== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14542-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14542== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14542-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14542== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14542-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14542== [INFO]: ==14542== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14542== don't want to do, unless you know exactly what you're doing, [INFO]: ==14542== or are doing some strange experiment): [INFO]: ==14542== /usr/libexec/valgrind/../../bin/vgdb --pid=14542 ...command... [INFO]: ==14542== [INFO]: ==14542== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14542== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan [INFO]: ==14542== and then give GDB the following command [INFO]: ==14542== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14542 [INFO]: ==14542== --pid is optional if only one valgrind process is running [INFO]: ==14542== [INFO]: --14542-- REDIR: 0x4047e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14542-- REDIR: 0x40482ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14542-- REDIR: 0x4047e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14542-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14542-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14542-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14542-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14542-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14542-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14542-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14542-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14542-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14542-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14542-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14542-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14542-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14542-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14542-- REDIR: 0x5131c62 (libc.so.6:memchr) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x513242a (libc.so.6:memmove) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5134724 (libc.so.6:strncpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5134572 (libc.so.6:strlen) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x513400e (libc.so.6:strcpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5131cd4 (libc.so.6:bcmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x51331f6 (libc.so.6:strcat) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x51346d0 (libc.so.6:strncmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5132918 (libc.so.6:stpncpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5134846 (libc.so.6:rindex) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5133268 (libc.so.6:index) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5131d46 (libc.so.6:memcpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x51326b4 (libc.so.6:memset) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5133434 (libc.so.6:strcmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5138a76 (libc.so.6:__strrchr_generic) redirected to 0x486d152 (rindex) [INFO]: --14542-- REDIR: 0x513843e (libc.so.6:__strlen_generic) redirected to 0x486d7d4 (strlen) [INFO]: --14542-- REDIR: 0x5138582 (libc.so.6:__strncmp_generic) redirected to 0x486ded8 (strncmp) [INFO]: --14542-- REDIR: 0x5138122 (libc.so.6:__strcmp_generic) redirected to 0x486e598 (strcmp) [INFO]: --14542-- REDIR: 0x5137eb6 (libc.so.6:__memset_generic) redirected to 0x4870a26 (memset) [INFO]: --14542-- REDIR: 0x51374e6 (libc.so.6:__memchr_generic) redirected to 0x486e6ac (memchr) [INFO]: --14542-- REDIR: 0x51380c2 (libc.so.6:__strchr_generic) redirected to 0x486d322 (index) [INFO]: --14542-- REDIR: 0x51332da (libc.so.6:strchrnul) redirected to 0x4871388 (strchrnul) [INFO]: --14542-- REDIR: 0x512eca2 (libc.so.6:malloc) redirected to 0x48657fa (malloc) [INFO]: --14542-- REDIR: 0x5137ad6 (libc.so.6:__memcpy_generic) redirected to 0x486ed04 (memcpy) [INFO]: --14542-- REDIR: 0x512f0e2 (libc.so.6:free) redirected to 0x4868144 (free) [INFO]: --14542-- REDIR: 0x5134f50 (libc.so.6:strstr) redirected to 0x4871a6a (strstr) [INFO]: --14542-- REDIR: 0x512f390 (libc.so.6:realloc) redirected to 0x486bd14 (realloc) [INFO]: --14542-- REDIR: 0x51329dc (libc.so.6:strcasecmp_l) redirected to 0x486e2c8 (strcasecmp_l) [INFO]: --14542-- REDIR: 0x5182128 (libc.so.6:__memcpy_chk) redirected to 0x4871996 (__memcpy_chk) [INFO]: --14542-- REDIR: 0x51327b2 (libc.so.6:stpcpy) redirected to 0x4870436 (stpcpy) [INFO]: --14542-- REDIR: 0x51347e2 (libc.so.6:strnlen) redirected to 0x486d76c (strnlen) [INFO]: --14542-- REDIR: 0x512f8ec (libc.so.6:calloc) redirected to 0x486bb56 (calloc) [INFO]: --14542-- REDIR: 0x5137d0a (libc.so.6:__memmove_generic) redirected to 0x4870ad0 (memmove) [INFO]: --14542-- REDIR: 0x513298a (libc.so.6:strcasecmp) redirected to 0x486e0dc (strcasecmp) [INFO]: ==14542== [INFO]: ==14542== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14542== at 0x511E56E: __internal_syscall_cancel (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x511E58D: __syscall_cancel (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x511A215: _IO_file_underflow@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x511BF15: _IO_default_uflow (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5110FE9: _IO_getline_info (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x510FF8B: fgets (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x490DB95: cli_loadhash (readdb.c:2833) [INFO]: ==14542== by 0x490FF73: cli_load (readdb.c:4759) [INFO]: ==14542== by 0x4912037: cli_loaddbdir (readdb.c:5203) [INFO]: ==14542== by 0x4912037: cl_load (readdb.c:5314) [INFO]: ==14542== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14542== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14542== [INFO]: ==14542== FILE DESCRIPTORS: 6 open (3 inherited) at exit. [INFO]: ==14542== Open file descriptor 5: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move/padding.hdb [INFO]: ==14542== at 0x5170103: open (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5119AE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5119C7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5110147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x490FD33: cli_load (readdb.c:4709) [INFO]: ==14542== by 0x4912037: cli_loaddbdir (readdb.c:5203) [INFO]: ==14542== by 0x4912037: cl_load (readdb.c:5314) [INFO]: ==14542== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14542== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14542== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:cli_load [INFO]: fun:cli_loaddbdir [INFO]: fun:cl_load [INFO]: fun:scanmanager [INFO]: fun:main [INFO]: } [INFO]: ==14542== Open file descriptor 4: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move [INFO]: ==14542== at 0x5171134: __open_nocancel (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5151FA1: opendir (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x4911E2B: cli_loaddbdir (readdb.c:5037) [INFO]: ==14542== by 0x4911E2B: cl_load (readdb.c:5314) [INFO]: ==14542== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14542== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14542== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:__open_nocancel [INFO]: fun:opendir [INFO]: fun:cli_loaddbdir [INFO]: fun:cl_load [INFO]: fun:scanmanager [INFO]: fun:main [INFO]: } [INFO]: ==14542== Open file descriptor 3: quarantine [INFO]: ==14542== at 0x51701BF: openat (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x4004811: openat (fcntl2.h:171) [INFO]: ==14542== by 0x4004811: action_openat_nointr (actions.c:184) [INFO]: ==14542== by 0x4004811: action_openat_directory_nointr (actions.c:260) [INFO]: ==14542== by 0x4006B9B: actsetup (actions.c:3891) [INFO]: ==14542== by 0x4000E73: main (clamscan.c:160) [INFO]: ==14542== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:openat [INFO]: fun:openat [INFO]: fun:action_openat_nointr [INFO]: fun:action_openat_directory_nointr [INFO]: fun:actsetup [INFO]: fun:main [INFO]: } [INFO]: ==14542== [INFO]: ==14542== HEAP SUMMARY: [INFO]: ==14542== in use at exit: 300,189 bytes in 402 blocks [INFO]: ==14542== total heap usage: 471 allocs, 69 frees, 329,519 bytes allocated [INFO]: ==14542== [INFO]: ==14542== Searching for pointers to 402 not-freed blocks [INFO]: ==14542== Checked 18,635,784 bytes [INFO]: ==14542== [INFO]: ==14542== LEAK SUMMARY: [INFO]: ==14542== definitely lost: 0 bytes in 0 blocks [INFO]: ==14542== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14542== possibly lost: 0 bytes in 0 blocks [INFO]: ==14542== still reachable: 300,189 bytes in 402 blocks [INFO]: ==14542== suppressed: 0 bytes in 0 blocks [INFO]: ==14542== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14542== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14542== [INFO]: ==14542== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) =================================== FAILURES =================================== ____ TC.test_quarantine_directory_replacement_does_not_redirect_copy_target ____ self = @unittest.skipIf(not hasattr(os, 'symlink'), 'This platform does not support symlink creation in the test environment.') def test_quarantine_directory_replacement_does_not_redirect_copy_target(self): self.step_name('Test quarantine destination TOCTOU resistance for clamscan --copy') > result = self._exercise_quarantine_directory_replacement('copy') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamscan/quarantine_toctou_test.py:624: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamscan/quarantine_toctou_test.py:293: in _exercise_quarantine_directory_replacement proc.wait(timeout=60) /usr/lib64/python3.15/subprocess.py:1439: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/subprocess.py:2283: in _wait if self._wait_pidfd(timeout) or self._wait_kqueue(timeout): ^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 def _wait_pidfd(self, timeout): """Wait for PID to terminate using pidfd_open() + poll(). Linux >= 5.3 only. """ if not _CAN_USE_PIDFD_OPEN: return False try: pidfd = os.pidfd_open(self.pid, 0) except OSError: # May be: # - ESRCH: no such process # - EMFILE, ENFILE: too many open files (usually 1024) # - ENODEV: anonymous inode filesystem not supported # - EPERM, EACCES, ENOSYS: undocumented; may happen if # blocked by security policy like SECCOMP return False try: poller = select.poll() poller.register(pidfd, select.POLLIN) events = poller.poll(timeout * 1000) if not events: > raise TimeoutExpired(self.args, timeout) E subprocess.TimeoutExpired: Command '['/usr/bin/valgrind', '-v', '--trace-children=yes', '--track-fds=yes', '--leak-check=full', '--show-possibly-lost=no', '--show-leak-kinds=definite', '--errors-for-leak-kinds=definite', '--main-stacksize=16777216', '--gen-suppressions=all', '--suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp', '--log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log', '--error-exitcode=123', '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan', '--debug', '-d', '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy', '--copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-copy/quarantine', '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-copy']' timed out after 60 seconds /usr/lib64/python3.15/subprocess.py:2233: TimeoutExpired ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test quarantine destination TOCTOU resistance for clamscan --copy [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamscan command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan --debug -d /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy --copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-copy/quarantine /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-copy [INFO]: Quarantine directory replacement was blocked while clamscan was running. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14540== Memcheck, a memory error detector [INFO]: ==14540== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14540== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14540== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan --debug -d /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy --copy=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-copy/quarantine /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-copy [INFO]: ==14540== Parent PID: 14283 [INFO]: ==14540== [INFO]: --14540-- [INFO]: --14540-- Valgrind options: [INFO]: --14540-- -v [INFO]: --14540-- --trace-children=yes [INFO]: --14540-- --track-fds=yes [INFO]: --14540-- --leak-check=full [INFO]: --14540-- --show-possibly-lost=no [INFO]: --14540-- --show-leak-kinds=definite [INFO]: --14540-- --errors-for-leak-kinds=definite [INFO]: --14540-- --main-stacksize=16777216 [INFO]: --14540-- --gen-suppressions=all [INFO]: --14540-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14540-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log [INFO]: --14540-- --error-exitcode=123 [INFO]: --14540-- Contents of /proc/version: [INFO]: --14540-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14540-- [INFO]: --14540-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14540-- Page sizes: currently 4096, max supported 4096 [INFO]: --14540-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14540-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan [INFO]: --14540-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14540-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14540-- object doesn't have a dynamic symbol table [INFO]: --14540-- Scheduler: using generic scheduler lock implementation. [INFO]: --14540-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14540-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14540== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14540-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14540== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14540-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14540== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14540-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14540== [INFO]: ==14540== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14540== don't want to do, unless you know exactly what you're doing, [INFO]: ==14540== or are doing some strange experiment): [INFO]: ==14540== /usr/libexec/valgrind/../../bin/vgdb --pid=14540 ...command... [INFO]: ==14540== [INFO]: ==14540== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14540== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan [INFO]: ==14540== and then give GDB the following command [INFO]: ==14540== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14540 [INFO]: ==14540== --pid is optional if only one valgrind process is running [INFO]: ==14540== [INFO]: --14540-- REDIR: 0x4047e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14540-- REDIR: 0x40482ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14540-- REDIR: 0x4047e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14540-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14540-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14540-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14540-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14540-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14540-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14540-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14540-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14540-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14540-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14540-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14540-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14540-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14540-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14540-- REDIR: 0x5131c62 (libc.so.6:memchr) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x513242a (libc.so.6:memmove) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5134724 (libc.so.6:strncpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5134572 (libc.so.6:strlen) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x513400e (libc.so.6:strcpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5131cd4 (libc.so.6:bcmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x51331f6 (libc.so.6:strcat) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x51346d0 (libc.so.6:strncmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5132918 (libc.so.6:stpncpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5134846 (libc.so.6:rindex) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5133268 (libc.so.6:index) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5131d46 (libc.so.6:memcpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x51326b4 (libc.so.6:memset) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5133434 (libc.so.6:strcmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14540-- REDIR: 0x5138a76 (libc.so.6:__strrchr_generic) redirected to 0x486d152 (rindex) [INFO]: --14540-- REDIR: 0x513843e (libc.so.6:__strlen_generic) redirected to 0x486d7d4 (strlen) [INFO]: --14540-- REDIR: 0x5138582 (libc.so.6:__strncmp_generic) redirected to 0x486ded8 (strncmp) [INFO]: --14540-- REDIR: 0x5138122 (libc.so.6:__strcmp_generic) redirected to 0x486e598 (strcmp) [INFO]: --14540-- REDIR: 0x5137eb6 (libc.so.6:__memset_generic) redirected to 0x4870a26 (memset) [INFO]: --14540-- REDIR: 0x51374e6 (libc.so.6:__memchr_generic) redirected to 0x486e6ac (memchr) [INFO]: --14540-- REDIR: 0x51380c2 (libc.so.6:__strchr_generic) redirected to 0x486d322 (index) [INFO]: --14540-- REDIR: 0x51332da (libc.so.6:strchrnul) redirected to 0x4871388 (strchrnul) [INFO]: --14540-- REDIR: 0x512eca2 (libc.so.6:malloc) redirected to 0x48657fa (malloc) [INFO]: --14540-- REDIR: 0x5137ad6 (libc.so.6:__memcpy_generic) redirected to 0x486ed04 (memcpy) [INFO]: --14540-- REDIR: 0x512f0e2 (libc.so.6:free) redirected to 0x4868144 (free) [INFO]: --14540-- REDIR: 0x5134f50 (libc.so.6:strstr) redirected to 0x4871a6a (strstr) [INFO]: --14540-- REDIR: 0x512f390 (libc.so.6:realloc) redirected to 0x486bd14 (realloc) [INFO]: --14540-- REDIR: 0x51329dc (libc.so.6:strcasecmp_l) redirected to 0x486e2c8 (strcasecmp_l) [INFO]: --14540-- REDIR: 0x5182128 (libc.so.6:__memcpy_chk) redirected to 0x4871996 (__memcpy_chk) [INFO]: --14540-- REDIR: 0x51327b2 (libc.so.6:stpcpy) redirected to 0x4870436 (stpcpy) [INFO]: --14540-- REDIR: 0x51347e2 (libc.so.6:strnlen) redirected to 0x486d76c (strnlen) [INFO]: --14540-- REDIR: 0x512f8ec (libc.so.6:calloc) redirected to 0x486bb56 (calloc) [INFO]: --14540-- REDIR: 0x5137d0a (libc.so.6:__memmove_generic) redirected to 0x4870ad0 (memmove) [INFO]: --14540-- REDIR: 0x513298a (libc.so.6:strcasecmp) redirected to 0x486e0dc (strcasecmp) [INFO]: ==14540== [INFO]: ==14540== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14540== at 0x511E56E: __internal_syscall_cancel (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x511E58D: __syscall_cancel (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x511A215: _IO_file_underflow@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x511BF15: _IO_default_uflow (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5110FE9: _IO_getline_info (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x510FF8B: fgets (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x490DB95: cli_loadhash (readdb.c:2833) [INFO]: ==14540== by 0x490FF73: cli_load (readdb.c:4759) [INFO]: ==14540== by 0x4912037: cli_loaddbdir (readdb.c:5203) [INFO]: ==14540== by 0x4912037: cl_load (readdb.c:5314) [INFO]: ==14540== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14540== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14540== [INFO]: ==14540== FILE DESCRIPTORS: 6 open (3 inherited) at exit. [INFO]: ==14540== Open file descriptor 5: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy/padding.hdb [INFO]: ==14540== at 0x5170103: open (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5119AE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5119C7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5110147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x490FD33: cli_load (readdb.c:4709) [INFO]: ==14540== by 0x4912037: cli_loaddbdir (readdb.c:5203) [INFO]: ==14540== by 0x4912037: cl_load (readdb.c:5314) [INFO]: ==14540== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14540== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14540== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:cli_load [INFO]: fun:cli_loaddbdir [INFO]: fun:cl_load [INFO]: fun:scanmanager [INFO]: fun:main [INFO]: } [INFO]: ==14540== Open file descriptor 4: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-copy [INFO]: ==14540== at 0x5171134: __open_nocancel (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x5151FA1: opendir (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x4911E2B: cli_loaddbdir (readdb.c:5037) [INFO]: ==14540== by 0x4911E2B: cl_load (readdb.c:5314) [INFO]: ==14540== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14540== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14540== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:__open_nocancel [INFO]: fun:opendir [INFO]: fun:cli_loaddbdir [INFO]: fun:cl_load [INFO]: fun:scanmanager [INFO]: fun:main [INFO]: } [INFO]: ==14540== Open file descriptor 3: quarantine [INFO]: ==14540== at 0x51701BF: openat (in /usr/lib64/libc.so.6) [INFO]: ==14540== by 0x4004811: openat (fcntl2.h:171) [INFO]: ==14540== by 0x4004811: action_openat_nointr (actions.c:184) [INFO]: ==14540== by 0x4004811: action_openat_directory_nointr (actions.c:260) [INFO]: ==14540== by 0x4006B9B: actsetup (actions.c:3891) [INFO]: ==14540== by 0x4000E73: main (clamscan.c:160) [INFO]: ==14540== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:openat [INFO]: fun:openat [INFO]: fun:action_openat_nointr [INFO]: fun:action_openat_directory_nointr [INFO]: fun:actsetup [INFO]: fun:main [INFO]: } [INFO]: ==14540== [INFO]: ==14540== HEAP SUMMARY: [INFO]: ==14540== in use at exit: 300,189 bytes in 402 blocks [INFO]: ==14540== total heap usage: 471 allocs, 69 frees, 329,519 bytes allocated [INFO]: ==14540== [INFO]: ==14540== Searching for pointers to 402 not-freed blocks [INFO]: ==14540== Checked 18,635,784 bytes [INFO]: ==14540== [INFO]: ==14540== LEAK SUMMARY: [INFO]: ==14540== definitely lost: 0 bytes in 0 blocks [INFO]: ==14540== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14540== possibly lost: 0 bytes in 0 blocks [INFO]: ==14540== still reachable: 300,189 bytes in 402 blocks [INFO]: ==14540== suppressed: 0 bytes in 0 blocks [INFO]: ==14540== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14540== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14540== [INFO]: ==14540== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) ____ TC.test_quarantine_directory_replacement_does_not_redirect_move_target ____ self = @unittest.skipIf(not hasattr(os, 'symlink'), 'This platform does not support symlink creation in the test environment.') def test_quarantine_directory_replacement_does_not_redirect_move_target(self): self.step_name('Test quarantine destination TOCTOU resistance for clamscan --move') > result = self._exercise_quarantine_directory_replacement('move') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamscan/quarantine_toctou_test.py:661: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/clamscan/quarantine_toctou_test.py:293: in _exercise_quarantine_directory_replacement proc.wait(timeout=60) /usr/lib64/python3.15/subprocess.py:1439: in wait return self._wait(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib64/python3.15/subprocess.py:2283: in _wait if self._wait_pidfd(timeout) or self._wait_kqueue(timeout): ^^^^^^^^^^^^^^^^^^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = timeout = 60 def _wait_pidfd(self, timeout): """Wait for PID to terminate using pidfd_open() + poll(). Linux >= 5.3 only. """ if not _CAN_USE_PIDFD_OPEN: return False try: pidfd = os.pidfd_open(self.pid, 0) except OSError: # May be: # - ESRCH: no such process # - EMFILE, ENFILE: too many open files (usually 1024) # - ENODEV: anonymous inode filesystem not supported # - EPERM, EACCES, ENOSYS: undocumented; may happen if # blocked by security policy like SECCOMP return False try: poller = select.poll() poller.register(pidfd, select.POLLIN) events = poller.poll(timeout * 1000) if not events: > raise TimeoutExpired(self.args, timeout) E subprocess.TimeoutExpired: Command '['/usr/bin/valgrind', '-v', '--trace-children=yes', '--track-fds=yes', '--leak-check=full', '--show-possibly-lost=no', '--show-leak-kinds=definite', '--errors-for-leak-kinds=definite', '--main-stacksize=16777216', '--gen-suppressions=all', '--suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp', '--log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log', '--error-exitcode=123', '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan', '--debug', '-d', '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move', '--move=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-move/quarantine', '/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-move']' timed out after 60 seconds /usr/lib64/python3.15/subprocess.py:2233: TimeoutExpired ----------------------------- Captured stdout call ----------------------------- [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Test quarantine destination TOCTOU resistance for clamscan --move [INFO]: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO]: Starting clamscan command: /usr/bin/valgrind -v --trace-children=yes --track-fds=yes --leak-check=full --show-possibly-lost=no --show-leak-kinds=definite --errors-for-leak-kinds=definite --main-stacksize=16777216 --gen-suppressions=all --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log --error-exitcode=123 /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan --debug -d /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move --move=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-move/quarantine /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-move [INFO]: Quarantine directory replacement was blocked while clamscan was running. [INFO]: Verifying /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log... [WARNING]: ********************************************************************* [WARNING]: Valgrind test failed! [WARNING]: Please submit this log to https://github.com/Cisco-Talos/clamav/issues: [WARNING]: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log [WARNING]: ********************************************************************* [INFO]: ==14542== Memcheck, a memory error detector [INFO]: ==14542== Copyright (C) 2002-2026, and GNU GPL'd, by Julian Seward et al. [INFO]: ==14542== Using Valgrind-3.27.1-b50f9a09ca-20260520 and LibVEX; rerun with -h for copyright info [INFO]: ==14542== Command: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan --debug -d /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move --move=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/srv-move/quarantine /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/scanme-move [INFO]: ==14542== Parent PID: 14283 [INFO]: ==14542== [INFO]: --14542-- [INFO]: --14542-- Valgrind options: [INFO]: --14542-- -v [INFO]: --14542-- --trace-children=yes [INFO]: --14542-- --track-fds=yes [INFO]: --14542-- --leak-check=full [INFO]: --14542-- --show-possibly-lost=no [INFO]: --14542-- --show-leak-kinds=definite [INFO]: --14542-- --errors-for-leak-kinds=definite [INFO]: --14542-- --main-stacksize=16777216 [INFO]: --14542-- --gen-suppressions=all [INFO]: --14542-- --suppressions=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14542-- --log-file=/builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/valgrind.log [INFO]: --14542-- --error-exitcode=123 [INFO]: --14542-- Contents of /proc/version: [INFO]: --14542-- Linux version 7.0.11-200.0.riscv64.omni.fc44.riscv64 (mockbuild@497d394d3f824d8b918b8d48447ecaa4) (gcc (GCC) 16.1.1 20260501 (Red Hat 16.1.1-1), GNU ld version 2.46-2.fc44) #1 SMP PREEMPT_DYNAMIC Tue Jun 2 12:24:14 EDT 2026 [INFO]: --14542-- [INFO]: --14542-- Arch and hwcaps: RISCV64, LittleEndian, riscv64 [INFO]: --14542-- Page sizes: currently 4096, max supported 4096 [INFO]: --14542-- Valgrind library directory: /usr/libexec/valgrind [INFO]: --14542-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan [INFO]: --14542-- Reading syms from /usr/lib/ld-linux-riscv64-lp64d.so.1 [INFO]: --14542-- Reading syms from /usr/libexec/valgrind/memcheck-riscv64-linux [INFO]: --14542-- object doesn't have a dynamic symbol table [INFO]: --14542-- Scheduler: using generic scheduler lock implementation. [INFO]: --14542-- Reading suppressions file: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/unit_tests/valgrind.supp [INFO]: --14542-- Reading suppressions file: /usr/libexec/valgrind/default.supp [INFO]: ==14542== embedded gdbserver: reading from /tmp/vgdb-pipe-from-vgdb-to-14542-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14542== embedded gdbserver: writing to /tmp/vgdb-pipe-to-vgdb-from-14542-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14542== embedded gdbserver: shared mem /tmp/vgdb-pipe-shared-mem-vgdb-14542-by-mockbuild-on-be49591fd0754deea75bb6a79b120963 [INFO]: ==14542== [INFO]: ==14542== TO CONTROL THIS PROCESS USING vgdb (which you probably [INFO]: ==14542== don't want to do, unless you know exactly what you're doing, [INFO]: ==14542== or are doing some strange experiment): [INFO]: ==14542== /usr/libexec/valgrind/../../bin/vgdb --pid=14542 ...command... [INFO]: ==14542== [INFO]: ==14542== TO DEBUG THIS PROCESS USING GDB: start GDB like this [INFO]: ==14542== /path/to/gdb /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/clamscan/clamscan [INFO]: ==14542== and then give GDB the following command [INFO]: ==14542== target remote | /usr/libexec/valgrind/../../bin/vgdb --pid=14542 [INFO]: ==14542== --pid is optional if only one valgrind process is running [INFO]: ==14542== [INFO]: --14542-- REDIR: 0x4047e90 (ld-linux-riscv64-lp64d.so.1:strcmp) redirected to 0x5814d61a (???) [INFO]: --14542-- REDIR: 0x40482ae (ld-linux-riscv64-lp64d.so.1:strlen) redirected to 0x5814d5e8 (???) [INFO]: --14542-- REDIR: 0x4047e6a (ld-linux-riscv64-lp64d.so.1:index) redirected to 0x5814d602 (???) [INFO]: --14542-- Reading syms from /usr/libexec/valgrind/vgpreload_core-riscv64-linux.so [INFO]: --14542-- Reading syms from /usr/libexec/valgrind/vgpreload_memcheck-riscv64-linux.so [INFO]: --14542-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclamav/libclamav.so.12.0.3 [INFO]: --14542-- Reading syms from /usr/lib64/libc.so.6 [INFO]: --14542-- Reading syms from /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/libclammspack/libclammspack.so.0.8.0 [INFO]: --14542-- Reading syms from /usr/lib64/libcrypto.so.3.5.7 [INFO]: --14542-- Reading syms from /usr/lib64/libz.so.1.3.1.zlib-ng [INFO]: --14542-- Reading syms from /usr/lib64/libbz2.so.1.0.8 [INFO]: --14542-- Reading syms from /usr/lib64/libpcre2-8.so.0.15.0 [INFO]: --14542-- Reading syms from /usr/lib64/libxml2.so.2.13.9 [INFO]: --14542-- Reading syms from /usr/lib64/libjson-c.so.5.4.0 [INFO]: --14542-- Reading syms from /usr/lib64/libm.so.6 [INFO]: --14542-- Reading syms from /usr/lib64/libgcc_s-16-20260703.so.1 [INFO]: --14542-- Reading syms from /usr/lib64/liblzma.so.5.8.3 [INFO]: --14542-- REDIR: 0x5131c62 (libc.so.6:memchr) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x513242a (libc.so.6:memmove) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5134724 (libc.so.6:strncpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5134572 (libc.so.6:strlen) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x513400e (libc.so.6:strcpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5131cd4 (libc.so.6:bcmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x51331f6 (libc.so.6:strcat) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x51346d0 (libc.so.6:strncmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5132918 (libc.so.6:stpncpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5134846 (libc.so.6:rindex) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5133268 (libc.so.6:index) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5131d46 (libc.so.6:memcpy) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x51326b4 (libc.so.6:memset) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5133434 (libc.so.6:strcmp) redirected to 0x48613b8 (_vgnU_ifunc_wrapper) [INFO]: --14542-- REDIR: 0x5138a76 (libc.so.6:__strrchr_generic) redirected to 0x486d152 (rindex) [INFO]: --14542-- REDIR: 0x513843e (libc.so.6:__strlen_generic) redirected to 0x486d7d4 (strlen) [INFO]: --14542-- REDIR: 0x5138582 (libc.so.6:__strncmp_generic) redirected to 0x486ded8 (strncmp) [INFO]: --14542-- REDIR: 0x5138122 (libc.so.6:__strcmp_generic) redirected to 0x486e598 (strcmp) [INFO]: --14542-- REDIR: 0x5137eb6 (libc.so.6:__memset_generic) redirected to 0x4870a26 (memset) [INFO]: --14542-- REDIR: 0x51374e6 (libc.so.6:__memchr_generic) redirected to 0x486e6ac (memchr) [INFO]: --14542-- REDIR: 0x51380c2 (libc.so.6:__strchr_generic) redirected to 0x486d322 (index) [INFO]: --14542-- REDIR: 0x51332da (libc.so.6:strchrnul) redirected to 0x4871388 (strchrnul) [INFO]: --14542-- REDIR: 0x512eca2 (libc.so.6:malloc) redirected to 0x48657fa (malloc) [INFO]: --14542-- REDIR: 0x5137ad6 (libc.so.6:__memcpy_generic) redirected to 0x486ed04 (memcpy) [INFO]: --14542-- REDIR: 0x512f0e2 (libc.so.6:free) redirected to 0x4868144 (free) [INFO]: --14542-- REDIR: 0x5134f50 (libc.so.6:strstr) redirected to 0x4871a6a (strstr) [INFO]: --14542-- REDIR: 0x512f390 (libc.so.6:realloc) redirected to 0x486bd14 (realloc) [INFO]: --14542-- REDIR: 0x51329dc (libc.so.6:strcasecmp_l) redirected to 0x486e2c8 (strcasecmp_l) [INFO]: --14542-- REDIR: 0x5182128 (libc.so.6:__memcpy_chk) redirected to 0x4871996 (__memcpy_chk) [INFO]: --14542-- REDIR: 0x51327b2 (libc.so.6:stpcpy) redirected to 0x4870436 (stpcpy) [INFO]: --14542-- REDIR: 0x51347e2 (libc.so.6:strnlen) redirected to 0x486d76c (strnlen) [INFO]: --14542-- REDIR: 0x512f8ec (libc.so.6:calloc) redirected to 0x486bb56 (calloc) [INFO]: --14542-- REDIR: 0x5137d0a (libc.so.6:__memmove_generic) redirected to 0x4870ad0 (memmove) [INFO]: --14542-- REDIR: 0x513298a (libc.so.6:strcasecmp) redirected to 0x486e0dc (strcasecmp) [INFO]: ==14542== [INFO]: ==14542== Process terminating with default action of signal 15 (SIGTERM) [INFO]: ==14542== at 0x511E56E: __internal_syscall_cancel (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x511E58D: __syscall_cancel (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x511A215: _IO_file_underflow@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x511BF15: _IO_default_uflow (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5110FE9: _IO_getline_info (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x510FF8B: fgets (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x490DB95: cli_loadhash (readdb.c:2833) [INFO]: ==14542== by 0x490FF73: cli_load (readdb.c:4759) [INFO]: ==14542== by 0x4912037: cli_loaddbdir (readdb.c:5203) [INFO]: ==14542== by 0x4912037: cl_load (readdb.c:5314) [INFO]: ==14542== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14542== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14542== [INFO]: ==14542== FILE DESCRIPTORS: 6 open (3 inherited) at exit. [INFO]: ==14542== Open file descriptor 5: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move/padding.hdb [INFO]: ==14542== at 0x5170103: open (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5119AE1: _IO_file_open (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5119C7D: _IO_file_fopen@@GLIBC_2.27 (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5110147: __fopen_internal (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x490FD33: cli_load (readdb.c:4709) [INFO]: ==14542== by 0x4912037: cli_loaddbdir (readdb.c:5203) [INFO]: ==14542== by 0x4912037: cl_load (readdb.c:5314) [INFO]: ==14542== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14542== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14542== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:open [INFO]: fun:_IO_file_open [INFO]: fun:_IO_file_fopen@@GLIBC_2.27 [INFO]: fun:__fopen_internal [INFO]: fun:cli_load [INFO]: fun:cli_loaddbdir [INFO]: fun:cl_load [INFO]: fun:scanmanager [INFO]: fun:main [INFO]: } [INFO]: ==14542== Open file descriptor 4: /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/redhat-linux-build/unit_tests/TC-kwtufx80/db-move [INFO]: ==14542== at 0x5171134: __open_nocancel (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x5151FA1: opendir (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x4911E2B: cli_loaddbdir (readdb.c:5037) [INFO]: ==14542== by 0x4911E2B: cl_load (readdb.c:5314) [INFO]: ==14542== by 0x40032E7: scanmanager (manager.c:1417) [INFO]: ==14542== by 0x4000EB7: main (clamscan.c:171) [INFO]: ==14542== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:__open_nocancel [INFO]: fun:opendir [INFO]: fun:cli_loaddbdir [INFO]: fun:cl_load [INFO]: fun:scanmanager [INFO]: fun:main [INFO]: } [INFO]: ==14542== Open file descriptor 3: quarantine [INFO]: ==14542== at 0x51701BF: openat (in /usr/lib64/libc.so.6) [INFO]: ==14542== by 0x4004811: openat (fcntl2.h:171) [INFO]: ==14542== by 0x4004811: action_openat_nointr (actions.c:184) [INFO]: ==14542== by 0x4004811: action_openat_directory_nointr (actions.c:260) [INFO]: ==14542== by 0x4006B9B: actsetup (actions.c:3891) [INFO]: ==14542== by 0x4000E73: main (clamscan.c:160) [INFO]: ==14542== [INFO]: { [INFO]: [INFO]: CoreError:FdNotClosed [INFO]: fun:openat [INFO]: fun:openat [INFO]: fun:action_openat_nointr [INFO]: fun:action_openat_directory_nointr [INFO]: fun:actsetup [INFO]: fun:main [INFO]: } [INFO]: ==14542== [INFO]: ==14542== HEAP SUMMARY: [INFO]: ==14542== in use at exit: 300,189 bytes in 402 blocks [INFO]: ==14542== total heap usage: 471 allocs, 69 frees, 329,519 bytes allocated [INFO]: ==14542== [INFO]: ==14542== Searching for pointers to 402 not-freed blocks [INFO]: ==14542== Checked 18,635,784 bytes [INFO]: ==14542== [INFO]: ==14542== LEAK SUMMARY: [INFO]: ==14542== definitely lost: 0 bytes in 0 blocks [INFO]: ==14542== indirectly lost: 0 bytes in 0 blocks [INFO]: ==14542== possibly lost: 0 bytes in 0 blocks [INFO]: ==14542== still reachable: 300,189 bytes in 402 blocks [INFO]: ==14542== suppressed: 0 bytes in 0 blocks [INFO]: ==14542== Reachable blocks (those to which a pointer was found) are not shown. [INFO]: ==14542== To see them, rerun with: --leak-check=full --show-leak-kinds=all [INFO]: ==14542== [INFO]: ==14542== ERROR SUMMARY: 3 errors from 3 contexts (suppressed: 0 from 0) =========================== short test summary info ============================ FAILED clamscan/quarantine_toctou_test.py::TC::test_quarantine_directory_replacement_does_not_redirect_copy_target FAILED clamscan/quarantine_toctou_test.py::TC::test_quarantine_directory_replacement_does_not_redirect_move_target ERROR clamscan/quarantine_toctou_test.py::TC::test_quarantine_directory_replacement_does_not_redirect_copy_target ERROR clamscan/quarantine_toctou_test.py::TC::test_quarantine_directory_replacement_does_not_redirect_move_target = 2 failed, 79 passed, 1 skipped, 2 errors, 2 subtests passed in 1723.62s (0:28:43) = 0% tests passed, 5 tests failed out of 5 Total Test time (real) = 1731.12 sec The following tests FAILED: 2 - libclamav_valgrind (Failed) 5 - clamscan_valgrind (Failed) 7 - clamd_valgrind (Failed) 9 - freshclam_valgrind (Failed) 11 - sigtool_valgrind (Failed) Errors while running CTest + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: clamav-1.4.6-1.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ADTeFa + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + DOCDIR=/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/NEWS.md /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/README.md /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1geaBU + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + LICENSEDIR=/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/COPYING /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav = 1.4.6-1.fc45 clamav(riscv-64) = 1.4.6-1.fc45 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: filesystem(unmerged-sbin-symlinks) ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.30)(64bit) libc.so.6(GLIBC_2.32)(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.39)(64bit) libclamav.so.12()(64bit) libclamav.so.12(CLAMAV_0.104.0)(64bit) libclamav.so.12(CLAMAV_1.0.0)(64bit) libclamav.so.12(CLAMAV_1.1.0)(64bit) libclamav.so.12(CLAMAV_PRIVATE)(64bit) libclamav.so.12(CLAMAV_PUBLIC)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0.2)(64bit) rtld(GNU_HASH) Processing files: clamav-filesystem-1.4.6-1.fc45.noarch Provides: clamav-filesystem = 1.4.6-1.fc45 config(clamav-filesystem) = 1.4.6-1.fc45 group(clamupdate) group(virusgroup) = ZyB2aXJ1c2dyb3VwIC0A groupmember(clamupdate/virusgroup) = bSBjbGFtdXBkYXRlIHZpcnVzZ3JvdXAA user(clamupdate) = dSBjbGFtdXBkYXRlIC0gJ0NsYW1hdiBkYXRhYmFzZSB1cGRhdGUgdXNlcicgL3Zhci9saWIvY2xhbWF2IC0A Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): group(clamupdate) user(clamupdate) Requires(postun): group(clamupdate) user(clamupdate) Requires: group(virusgroup) user(clamupdate) Conflicts: clamav < 1.4.6-1.fc45 clamav > 1.4.6-1.fc45 Processing files: clamav-lib-1.4.6-1.fc45.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bcm121 + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + LICENSEDIR=/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav-lib + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav-lib + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/LICENSES.dependencies /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav-lib + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav clamav-lib = 1.4.6-1.fc45 clamav-lib(riscv-64) = 1.4.6-1.fc45 libclamav.so.12()(64bit) libclamav.so.12(CLAMAV_0.104.0)(64bit) libclamav.so.12(CLAMAV_1.0.0)(64bit) libclamav.so.12(CLAMAV_1.1.0)(64bit) libclamav.so.12(CLAMAV_PRIVATE)(64bit) libclamav.so.12(CLAMAV_PUBLIC)(64bit) libclammspack.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.30)(64bit) libc.so.6(GLIBC_2.32)(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.39)(64bit) libclammspack.so.0()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcrypto.so.3(OPENSSL_3.4.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libjson-c.so.5()(64bit) libjson-c.so.5(JSONC_0.14)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpcre2-8.so.0()(64bit) libpcre2-8.so.0(PCRE2_10.47)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) libxml2.so.2(LIBXML2_2.5.0)(64bit) libxml2.so.2(LIBXML2_2.5.2)(64bit) libxml2.so.2(LIBXML2_2.5.7)(64bit) libxml2.so.2(LIBXML2_2.6.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: clamav-devel-1.4.6-1.fc45.riscv64 Provides: clamav-devel = 1.4.6-1.fc45 clamav-devel(riscv-64) = 1.4.6-1.fc45 pkgconfig(libclamav) = 1.4.6 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config /usr/bin/sh libclamav.so.12()(64bit) libclammspack.so.0()(64bit) libfreshclam.so.3()(64bit) Processing files: clamav-data-1.4.6-1.fc45.noarch Provides: clamav-data = 1.4.6-1.fc45 clamav-db = 1.4.6-1.fc45 config(clamav-data) = 1.4.6-1.fc45 data(clamav) = full Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): group(clamupdate) user(clamupdate) Requires(post): /bin/sh Requires(postun): group(clamupdate) user(clamupdate) Obsoletes: clamav-db < 1.4.6-1.fc45 Processing files: clamav-doc-1.4.6-1.fc45.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4CWrWi + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + LICENSEDIR=/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav-doc + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav-doc + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/COPYING /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/licenses/clamav-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-doc = 1.4.6-1.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clamav-freshclam-1.4.6-1.fc45.riscv64 Provides: clamav-data-empty = 1.4.6-1.fc45 clamav-freshclam = 1.4.6-1.fc45 clamav-freshclam(riscv-64) = 1.4.6-1.fc45 clamav-update = 1.4.6-1.fc45 config(clamav-freshclam) = 1.4.6-1.fc45 data(clamav) = empty libfreshclam.so.3()(64bit) libfreshclam.so.3(FRESHCLAM_PRIVATE)(64bit) libfreshclam.so.3(FRESHCLAM_PUBLIC)(64bit) Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): group(clamupdate) user(clamupdate) Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh group(clamupdate) user(clamupdate) Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.30)(64bit) libc.so.6(GLIBC_2.32)(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.39)(64bit) libclamav.so.12()(64bit) libclamav.so.12(CLAMAV_1.0.0)(64bit) libclamav.so.12(CLAMAV_1.1.0)(64bit) libclamav.so.12(CLAMAV_PRIVATE)(64bit) libclamav.so.12(CLAMAV_PUBLIC)(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libfreshclam.so.3()(64bit) libfreshclam.so.3(FRESHCLAM_PRIVATE)(64bit) libfreshclam.so.3(FRESHCLAM_PUBLIC)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libssl.so.3()(64bit) libssl.so.3(OPENSSL_3.0.0)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: clamav-data-empty < 1.4.6-1.fc45 clamav-update < 1.4.6-1.fc45 Supplements: clamd Processing files: clamd-1.4.6-1.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RU80yq + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + DOCDIR=/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamd + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/_doc_server/README /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/_doc_server/clamd.conf /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamd + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/_doc_server/clamd.logrotate /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamd + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-scanner-systemd = 1.4.6-1.fc45 clamav-server = 1.4.6-1.fc45 clamav-server-systemd = 1.4.6-1.fc45 clamd = 1.4.6-1.fc45 clamd(riscv-64) = 1.4.6-1.fc45 group(clamscan) groupmember(clamscan/virusgroup) = bSBjbGFtc2NhbiB2aXJ1c2dyb3Vw user(clamscan) = dSBjbGFtc2NhbiAtICdDbGFtYXYgc2Nhbm5lciB1c2VyJyAtIC0A Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: filesystem(unmerged-sbin-symlinks) group(virusgroup) ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libclamav.so.12()(64bit) libclamav.so.12(CLAMAV_1.1.0)(64bit) libclamav.so.12(CLAMAV_PRIVATE)(64bit) libclamav.so.12(CLAMAV_PUBLIC)(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) user(clamscan) Obsoletes: clamav-scanner-systemd < 1.4.6-1.fc45 clamav-server-systemd < 1.4.6-1.fc45 Processing files: clamav-milter-1.4.6-1.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3Sw38h + umask 022 + cd /builddir/build/BUILD/clamav-1.4.6-build + cd clamav-1.4.6 + DOCDIR=/builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav-milter + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav-milter + cp -pr /builddir/build/BUILD/clamav-1.4.6-build/clamav-1.4.6/clamav-milter/README.fedora.md /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT/usr/share/doc/clamav-milter + RPM_EC=0 ++ jobs -p + exit 0 Provides: clamav-milter = 1.4.6-1.fc45 clamav-milter(riscv-64) = 1.4.6-1.fc45 clamav-milter-systemd = 1.4.6-1.fc45 config(clamav-milter) = 1.4.6-1.fc45 group(clamilt) groupmember(clamilt/clamscan) = bSBjbGFtaWx0IGNsYW1zY2Fu groupmember(clamilt/virusgroup) = bSBjbGFtaWx0IHZpcnVzZ3JvdXAA user(clamilt) = dSBjbGFtaWx0IC0gJ0NsYW1hdiBtaWx0ZXIgdXNlcicgL3J1bi9jbGFtYXYtbWlsdGVyIC0A Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: filesystem(unmerged-sbin-symlinks) group(clamscan) group(virusgroup) ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libclamav.so.12()(64bit) libclamav.so.12(CLAMAV_1.1.0)(64bit) libclamav.so.12(CLAMAV_PRIVATE)(64bit) libclamav.so.12(CLAMAV_PUBLIC)(64bit) libmilter.so.1.0()(64bit) rtld(GNU_HASH) user(clamilt) Obsoletes: clamav-milter-systemd < 1.4.6-1.fc45 Processing files: clamav-debugsource-1.4.6-1.fc45.riscv64 Provides: clamav-debugsource = 1.4.6-1.fc45 clamav-debugsource(riscv-64) = 1.4.6-1.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: clamav-debuginfo-1.4.6-1.fc45.riscv64 Provides: clamav-debuginfo = 1.4.6-1.fc45 clamav-debuginfo(riscv-64) = 1.4.6-1.fc45 debuginfo(build-id) = 0d79a850373b9844223419830cd40c8aa9f60815 debuginfo(build-id) = 0f0c802ec7c022930cc0768476b8ecf20b6d7de8 debuginfo(build-id) = 4b25f106cffac6bb94a54e9d3624a53022fae4aa debuginfo(build-id) = 955c0f8a9c92354496852f5d9100d3433005a5a6 debuginfo(build-id) = af4cf9dbfa03b19a6f2ee02ca1701c14253fa145 debuginfo(build-id) = b13bc275e68d35ed2322c9c1009ac1b70cef030f debuginfo(build-id) = bbf87cf25d10753e42337fd8c3f404aa0b2e5968 debuginfo(build-id) = f5dab00f139240f4e7b31a981d544f56685c80e5 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(riscv-64) = 1.4.6-1.fc45 Processing files: clamav-lib-debuginfo-1.4.6-1.fc45.riscv64 Provides: clamav-lib-debuginfo = 1.4.6-1.fc45 clamav-lib-debuginfo(riscv-64) = 1.4.6-1.fc45 debuginfo(build-id) = a58aa0ce9fa7d5d584267db8948e7bc53f69074f debuginfo(build-id) = b2f65134dc5314e6977f15b5a96d83143c1749f8 libclamav.so.12.0.3-1.4.6-1.fc45.riscv64.debug()(64bit) libclammspack.so.0.8.0-1.4.6-1.fc45.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(riscv-64) = 1.4.6-1.fc45 Processing files: clamav-freshclam-debuginfo-1.4.6-1.fc45.riscv64 Provides: clamav-freshclam-debuginfo = 1.4.6-1.fc45 clamav-freshclam-debuginfo(riscv-64) = 1.4.6-1.fc45 debuginfo(build-id) = 54f7d46d58da13ea110f8e476c34b38fd884d9e1 debuginfo(build-id) = b9f96eca60de52bcf55072acd50d6b59b21fc6af libfreshclam.so.3.0.2-1.4.6-1.fc45.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(riscv-64) = 1.4.6-1.fc45 Processing files: clamd-debuginfo-1.4.6-1.fc45.riscv64 Provides: clamd-debuginfo = 1.4.6-1.fc45 clamd-debuginfo(riscv-64) = 1.4.6-1.fc45 debuginfo(build-id) = c48615a1a2788bea84ad776126fe5267d3433c7c Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(riscv-64) = 1.4.6-1.fc45 Processing files: clamav-milter-debuginfo-1.4.6-1.fc45.riscv64 Provides: clamav-milter-debuginfo = 1.4.6-1.fc45 clamav-milter-debuginfo(riscv-64) = 1.4.6-1.fc45 debuginfo(build-id) = 963eb3a2e86f42e929095a2753da32c9ff9cff80 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: clamav-debugsource(riscv-64) = 1.4.6-1.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/clamav-1.4.6-build/BUILDROOT Wrote: /builddir/build/SRPMS/clamav-1.4.6-1.fc45.src.rpm Wrote: /builddir/build/RPMS/clamav-freshclam-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-doc-1.4.6-1.fc45.noarch.rpm Wrote: /builddir/build/RPMS/clamav-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-lib-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamd-debuginfo-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamd-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-milter-debuginfo-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-filesystem-1.4.6-1.fc45.noarch.rpm Wrote: /builddir/build/RPMS/clamav-milter-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-debugsource-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-data-1.4.6-1.fc45.noarch.rpm Wrote: /builddir/build/RPMS/clamav-freshclam-debuginfo-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-lib-debuginfo-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-debuginfo-1.4.6-1.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/clamav-devel-1.4.6-1.fc45.riscv64.rpm Child return code was: 0