[From nobody Sun Jun 28 19:21:05 2026
Received: (at submit) by bugs.debian.org; 30 May 2026 16:04:31 +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, 12; hammy, 150; neutral, 46; spammy,
 0. spammytokens: hammytokens:0.000-+--cmakefiles, 0.000-+--CMakeFiles,
 0.000-+--sk:pkgope, 0.000-+--sk:pkg-ope, 0.000-+--buildmake
Return-path: &lt;sebastian@breakpoint.cc&gt;
Received: from chamillionaire.breakpoint.cc ([91.216.245.30]:40098)
 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 1wTMAo-002DpU-38 for submit@bugs.debian.org;
 Sat, 30 May 2026 16:04:31 +0000
Date: Sat, 30 May 2026 18:04:28 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025; t=1780157068;
 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=YT60hPznifWFP02oZmFwZeg+x8V3FmozBNgHR41COus=;
 b=iCT3imZIvXJTeq3C91ErXwAt31lImfLh0TdD/gBm91py2DaGpXxOIOU1ENFnp3Q9ld2em3
 pUVZWg1zLmhKm2jZYsn7Wezv+bIdBkqWIJ1gruTXGKshbAg3DxJwFFMXgy93Bmy2ICP2PV
 7qQAYU+8IoAEx4rO4ccioImpsy1/lVjADmMlktMjT/mVRi1qEyiM14rN8Cl6GY/6cfJCQy
 4KtF5XE2Z4AeJ8koutKL7eE2ZuKCPfdjI/N4u22e+MJpncHlQGVUPBj4Oov7I/j9RdQYER
 Y0fat5ZhJKAygKnpxyjhi0qVH3rZuecvFQ/neINOqo604ornYaFtR7Ujv3s4QA==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025e; t=1780157068;
 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=YT60hPznifWFP02oZmFwZeg+x8V3FmozBNgHR41COus=;
 b=lJOYnc67YHHmtdirv0R5UWohFOf9ATxa/ovr481qbD1NNUBnwV7ci3d7GOui2WhL0c01tG
 J08z7jV9i8sPBdCQ==
From: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: submit@bugs.debian.org
Subject: libclamunrar: FTBFS with openssl 4.0
Message-ID: &lt;20260530160428.YwdV46ne@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: libclamunrar
Version: 1.3.1-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:

| /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c: In functi=
on =C3=A2=E2=82=AC=CB=9Ccl_ASN1_GetTimeT=C3=A2=E2=82=AC=E2=84=A2:
| /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c:1064:32: e=
rror: 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/libclamunrar-1.3.1/libclamav/crypto.c:1067:27: e=
rror: 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/libclamunrar-1.3.1/libclamav/crypto.c:1075:16: e=
rror: 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/libclamunrar-1.3.1/libclamav/crypto.c:1084:23: e=
rror: 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/libclamunrar-1.3.1/libclamav/crypto.c: In functi=
on =C3=A2=E2=82=AC=CB=9Ccl_load_crl=C3=A2=E2=82=AC=E2=84=A2:
| /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c:1137:9: wa=
rning: =C3=A2=E2=82=AC=CB=9CX509_cmp_current_time=C3=A2=E2=82=AC=E2=84=A2 i=
s 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/libclamunrar-1.3.1/libclam=
av/clamav.h:31,
|                  from /build/reproducible-path/libclamunrar-1.3.1/libclam=
av/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[3]: *** [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/libclamunrar_1.3.1=
-1_amd64-2026-04-19T08:46:07Z

Sebastian
]