On 21/12/2025 19:00, Sebastian Andrzej Siewior wrote:
Package: release.debian.org Control: affects -1 + src:clamav X-Debbugs-Cc: [email protected] User: [email protected] Usertags: pu Tags: bookworm X-Debbugs-Cc: [email protected] Severity: normalThis is an update of clamav for Bookworm from its 1.0.x LTS version to the next LTS version in the 1.4.x series. The 1.0.x LTS version was EOL as of Nov-28 2025. Even though db downloads are allowed until Nov-28 2026 I think it is better to update to the next LTS since there won't be any security updates anymore. The EOL is documented at https://docs.clamav.net/faq/faq-eol.html . The update to 1.4.x LTS is based on the Trixie version. The libclamav11 received an so bump and becomes libclamav12. This requires a rebuild of its build dependencies: - cyrus-imapd - libc-icap-mod-virus-scan - libclamunrar - pg-snakeoil I will provide a pu for libclamunrar. The other dependencies built successful in testing. The update changes the rust dependency from rustc to rustc-web (among other rust related dependencies such as cargo) because the Bookworm version was too old and rustc-web is recent enough to get the rust bits built. I do not include a debdiff because it is huge, 235MiB.
I just noticed an issue while testing the update: src:rustc-web is not available on armel/mips* (it couldn't be bootstrapped because upstream no longer provides prebuilt stage0 binaries for those), so the new clamav won't be available on those architectures. I tried to build clamav with the older rustc by lowering the requirement in .cargo/vendor/*/Cargo.toml (see attached patch), but I encountered issues at least in the `half` crate, e.g.:
error[E0658]: use of unstable library feature 'stdsimd' --> /build/clamav-1.4.3+dfsg/.cargo/vendor/half/src/binary16/arch/x86.rs:44:18 | 44 | let retval = _mm_cvtph_ps(vec.assume_init()); | ^^^^^^^^^^^^ |= note: see issue #48556 <https://github.com/rust-lang/rust/issues/48556> for more information
I don't know how to proceed from here. Cheers, Emilio
build-regex-syntax-with-rust-1.63.patch.xz
Description: application/xz

