[From nobody Sun Jun 28 16:54:08 2026
Received: (at submit) by bugs.debian.org; 30 May 2026 15:51:36 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-28.1 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HAS_PACKAGE,RCVD_IN_DNSWL_MED,
 SPF_HELO_PASS,SPF_PASS,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 31; hammy, 150; neutral, 89; spammy,
 0. spammytokens: hammytokens:0.000-+--Wdatetime, 0.000-+--wdatetime,
 0.000-+--Wdate-time, 0.000-+--wdate-time, 0.000-+--fPIC
Return-path: &lt;sebastian@breakpoint.cc&gt;
Received: from chamillionaire.breakpoint.cc ([91.216.245.30]:57310)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sebastian@breakpoint.cc&gt;)
 id 1wTLyK-002BQp-16 for submit@bugs.debian.org;
 Sat, 30 May 2026 15:51:36 +0000
Date: Sat, 30 May 2026 17:51:34 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025; t=1780156294;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=YeHQ4qF7qSKereRK4gdpvu1i1ouQJ7OHQE8Euso/NXg=;
 b=IQUp6jOy26mZf3SPEx1Y76gIMoOiRWJP+rkXa3SISjbbbF08VtUICxNyOpMQUbxvzCjGs4
 edaJKeW9YDzxt5+dO6KaT9aZpC+tLnbYPhPmgSgDFUbDh8w+p7OUNDd3cgjjx4v1QabijX
 M024+IkKXP1Jl6sjCuW1jG2TvXf7SlpyxgKi5dwdegc8pQ1Ka35YHXgCFuH2iz5c8SdUTc
 oJbFVxvmO2u5zsA0nFq4piD4BX6v+h54nRfvw4lBLnEFF3auuBOCTJxZhVdADmCuBnl1gA
 n9vRHy3WH/hLEg5KqBH1HQnjs01SiXxGzFLT182p6K2RPy3OsrPs8BQM+mKlVw==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025e; t=1780156294;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=YeHQ4qF7qSKereRK4gdpvu1i1ouQJ7OHQE8Euso/NXg=;
 b=3UxugPWGIa4PwZVZIlHXi4Fae6KcWxDxtQObjKjTw8a3TGMHBSTGmz0PVYFHLaq0GmeGIv
 JX0iiHguU60A7qBg==
From: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: submit@bugs.debian.org
Subject: clamav: FTBFS with openssl 4.0
Message-ID: &lt;20260530155134.bULs-Swz@breakpoint.cc&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Debbugs-CC: pkg-openssl-devel@alioth-lists.debian.net
Delivered-To: submit@bugs.debian.org

Package: clamav
Version: 1.4.4+dfsg-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel@lists.alioth.debian.org
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:
| cd /build/reproducible-path/clamav-1.4.4+dfsg/obj-x86_64-linux-gnu/libcla=
mav &amp;&amp; /usr/bin/cc -DHAVE_CONFIG_H -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/=
build/reproducible-path/clamav-1.4.4+dfsg/obj-x86_64-linux-gnu/libclamav -I=
/build/reproducible-path/clamav-1.4.4+dfsg/libclamunrar_iface -I/build/repr=
oducible-path/clamav-1.4.4+dfsg/libclamav/.. -I/build/reproducible-path/cla=
mav-1.4.4+dfsg/libclamav -isystem /usr/include/libxml2 -isystem /build/repr=
oducible-path/clamav-1.4.4+dfsg/obj-x86_64-linux-gnu -isystem /usr/include/=
json-c -isystem /build/reproducible-path/clamav-1.4.4+dfsg/libclamav_rust -=
g -O2 -Werror=3Dimplicit-function-declaration -ffile-prefix-map=3D/build/re=
producible-path/clamav-1.4.4+dfsg=3D. -fstack-protector-strong -fstack-clas=
h-protection -Wformat -Werror=3Dformat-security -fcf-protection -Wall -D_FI=
LE_OFFSET_BITS=3D64 -Wdate-time -D_FORTIFY_SOURCE=3D2 -std=3Dgnu90 -fPIC  -=
Wall -Wextra -Wformat-security -MD -MT libclamav/CMakeFiles/clamav.dir/cryp=
to.c.o -MF CMakeFiles/clamav.dir/crypto.c.o.d -o CMakeFiles/clamav.dir/cryp=
to.c.o -c /build/reproducible-path/clamav-1.4.4+dfsg/libclamav/crypto.c
| /build/reproducible-path/clamav-1.4.4+dfsg/libclamav/crypto.c: In functio=
n =C3=A2=E2=82=AC=CB=9Ccl_ASN1_GetTimeT=C3=A2=E2=82=AC=E2=84=A2:
| /build/reproducible-path/clamav-1.4.4+dfsg/libclamav/crypto.c:1064:32: er=
ror: invalid use of incomplete typedef =C3=A2=E2=82=AC=CB=9CASN1_TIME=C3=A2=
=E2=82=AC=E2=84=A2 {aka =C3=A2=E2=82=AC=CB=9Cstruct asn1_string_st=C3=A2=E2=
=82=AC=E2=84=A2}
|  1064 |     if (!(timeobj) || !(timeobj-&gt;data))
|       |                                ^~
| /build/reproducible-path/clamav-1.4.4+dfsg/libclamav/crypto.c:1067:27: er=
ror: invalid use of incomplete typedef =C3=A2=E2=82=AC=CB=9CASN1_TIME=C3=A2=
=E2=82=AC=E2=84=A2 {aka =C3=A2=E2=82=AC=CB=9Cstruct asn1_string_st=C3=A2=E2=
=82=AC=E2=84=A2}
|  1067 |     str =3D (char *)(timeobj-&gt;data);
|       |                           ^~
| /build/reproducible-path/clamav-1.4.4+dfsg/libclamav/crypto.c:1075:16: er=
ror: invalid use of incomplete typedef =C3=A2=E2=82=AC=CB=9CASN1_TIME=C3=A2=
=E2=82=AC=E2=84=A2 {aka =C3=A2=E2=82=AC=CB=9Cstruct asn1_string_st=C3=A2=E2=
=82=AC=E2=84=A2}
|  1075 |     if (timeobj-&gt;type =3D=3D V_ASN1_UTCTIME) {
|       |                ^~
| /build/reproducible-path/clamav-1.4.4+dfsg/libclamav/crypto.c:1084:23: er=
ror: invalid use of incomplete typedef =C3=A2=E2=82=AC=CB=9CASN1_TIME=C3=A2=
=E2=82=AC=E2=84=A2 {aka =C3=A2=E2=82=AC=CB=9Cstruct asn1_string_st=C3=A2=E2=
=82=AC=E2=84=A2}
|  1084 |     } else if (timeobj-&gt;type =3D=3D V_ASN1_GENERALIZEDTIME) {
|       |                       ^~
| /build/reproducible-path/clamav-1.4.4+dfsg/libclamav/crypto.c: In functio=
n =C3=A2=E2=82=AC=CB=9Ccl_load_crl=C3=A2=E2=82=AC=E2=84=A2:
| /build/reproducible-path/clamav-1.4.4+dfsg/libclamav/crypto.c:1137:9: war=
ning: =C3=A2=E2=82=AC=CB=9CX509_cmp_current_time=C3=A2=E2=82=AC=E2=84=A2 is=
 deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations]
|  1137 |         if (!tme || X509_cmp_current_time(tme) &lt; 0) {
|       |         ^~
| In file included from /usr/include/openssl/ssl.h:34,
|                  from /build/reproducible-path/clamav-1.4.4+dfsg/libclama=
v/clamav.h:31,
|                  from /build/reproducible-path/clamav-1.4.4+dfsg/libclama=
v/crypto.c:64:
| /usr/include/openssl/x509.h:694:27: note: declared here
|   694 | OSSL_DEPRECATEDIN_4_0 int X509_cmp_current_time(const ASN1_TIME *=
s);
|       |                           ^~~~~~~~~~~~~~~~~~~~~
| make[4]: *** [libclamav/CMakeFiles/clamav.dir/build.make:502: libclamav/C=
MakeFiles/clamav.dir/crypto.c.o] Error 1

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/clamav_1.4.4+dfsg-=
1_amd64-2026-04-19T07:56:36Z

Sebastian
]