[From nobody Tue Sep  1 03:35:08 2026
Received: (at submit) by bugs.debian.org; 30 May 2026 15:56:57 +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.0 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,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, 33; hammy, 150; neutral, 111; 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]:53638)
 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 1wTM3V-002CK3-1Y for submit@bugs.debian.org;
 Sat, 30 May 2026 15:56:57 +0000
Date: Sat, 30 May 2026 17:56:55 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025; t=1780156615;
 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=pp9OQlrW+3lgy/kuxc2uCMwOeIrJlu8nYIgMCM+F0Vk=;
 b=VCGXbSe8E9ulFZV7jkQK02QcXp7s6bWcWmb8yXbtEitHiXv9zy2Kaub8Wzl0wtc8ZKv0lq
 5CllHmj7L6NjdPbFQ31MGOCt5K3+1a+XGv5p11haWq2ZwTAK8X/3lWgH2PtaKuJ1D0eKeC
 46iZrga3turA1edEtgw++iQXx9U3qO2pDgVjAOdLS63AqF/u9/7EuHqKw5RFbYvNM/unYm
 VEn22HUmjboRPch2Is7F0OWX+wi77LQOY/EmRdE7m1HQmsTNw7KHubK+tO8DjlwzG/eWT5
 CAClzQpNbhoa4Ovxsaf/8MqFBrNVb62QiYUfM996kw//W1bte6hdV3vUWvJaOQ==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025e; t=1780156615;
 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=pp9OQlrW+3lgy/kuxc2uCMwOeIrJlu8nYIgMCM+F0Vk=;
 b=3m3Ev387TfCsMapEjHD1fKxfQ+sidsbY5WOCnkVrv40xO49SPNPfncFrReRuzGtLGK+/LM
 F1JM2+oorCqdcXBA==
From: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: submit@bugs.debian.org
Subject: libnet-ssleay-perl: FTBFS with openssl 4.0
Message-ID: &lt;20260530155655.L3qF6v45@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: libnet-ssleay-perl
Version: 1.96-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:

| x86_64-linux-gnu-gcc -c  -I&quot;/usr/include&quot; -D_REENTRANT -D_GNU_SOURCE -DDE=
BIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_S=
OURCE -D_FILE_OFFSET_BITS=3D64 -g -O2 -Werror=3Dimplicit-function-declarati=
on -ffile-prefix-map=3D/build/reproducible-path/libnet-ssleay-perl-1.96=3D.=
 -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=3Dforma=
t-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=3D2   -DVERSION=3D=
\&quot;1.96\&quot; -DXS_VERSION=3D\&quot;1.96\&quot; -fPIC &quot;-I/usr/lib/x86_64-linux-gnu/perl/5.=
40/CORE&quot;  -DOPENSSL_API_COMPAT=3D908 -DNET_SSLEAY_PERL_VERSION=3D5040001 SS=
Leay.c
| SSLeay.xs: In function =C3=A2=E2=82=AC=CB=9CASN1_TIME_timet=C3=A2=E2=82=
=AC=E2=84=A2:
| SSLeay.xs:2197:40: error: 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}
|  2197 |     const char *p =3D (const char*) asn1t-&gt;data;
|       |                                        ^~
| SSLeay.xs:2202:14: error: 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}
|  2202 |     if (asn1t-&gt;type =3D=3D V_ASN1_UTCTIME) {
|       |              ^~
| SSLeay.xs:2203:18: error: 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}
|  2203 |         if (asn1t-&gt;length&lt;12 || asn1t-&gt;length&gt;17) return 0;
|       |                  ^~
| SSLeay.xs:2203:38: error: 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}
|  2203 |         if (asn1t-&gt;length&lt;12 || asn1t-&gt;length&gt;17) return 0;
|       |                                      ^~
| SSLeay.xs:2204:18: error: 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}
|  2204 |         if (asn1t-&gt;length&gt;12) tz =3D 12;
|       |                  ^~
| SSLeay.xs:2206:18: error: 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}
|  2206 |         if (asn1t-&gt;length&lt;14) return 0;
|       |                  ^~
| SSLeay.xs:2207:18: error: 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}
|  2207 |         if (asn1t-&gt;length&gt;14) {
|       |                  ^~
| SSLeay.xs:2210:37: error: 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}
|  2210 |                 for(i=3Dmsec+1;i&lt;asn1t-&gt;length &amp;&amp; p[i]&gt;=3D'0' &amp;&amp; =
p[i]&lt;=3D'9';i++) ;
|       |                                     ^~
| SSLeay.xs:2211:28: error: 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}
|  2211 |                 if (i&lt;asn1t-&gt;length) tz =3D i;
|       |                            ^~
| SSLeay.xs:2218:38: error: 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}
|  2218 |     l =3D msec ? msec : tz ? tz : asn1t-&gt;length;
|       |                                      ^~
| SSLeay.xs:2225:14: error: 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}
|  2225 |     if (asn1t-&gt;type =3D=3D V_ASN1_UTCTIME) { /* YY - two digit ye=
ar */
|       |              ^~
| SSLeay.xs:2245:22: error: 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}
|  2245 |             if (asn1t-&gt;length&gt;tz+1 ) return 0;
|       |                      ^~
| SSLeay.xs:2246:25: error: 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}
|  2246 |         } else if (asn1t-&gt;length&lt;tz+5 || (p[tz]!=3D'-' &amp;&amp; p[tz]!=
=3D'+')) {
|       |                         ^~
| SSLeay.xs:2249:22: error: 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}
|  2249 |             if (asn1t-&gt;length&gt;tz+5 ) return 0;
|       |                      ^~
| SSLeay.xs: In function =C3=A2=E2=82=AC=CB=9CXS_Net__SSLeay_CTX_v3_new=C3=
=A2=E2=82=AC=E2=84=A2:
| SSLeay.xs:2462:28: error: implicit declaration of function =C3=A2=E2=82=
=AC=CB=9CSSLv3_method=C3=A2=E2=82=AC=E2=84=A2; did you mean =C3=A2=E2=82=AC=
=CB=9CSSLv23_method=C3=A2=E2=82=AC=E2=84=A2? [-Wimplicit-function-declarati=
on]
|  2462 |      RETVAL =3D SSL_CTX_new (SSLv3_method());
|       |                            ^~~~~~~~~~~~
|       |                            SSLv23_method
| SSLeay.xs:2462:28: error: passing argument 1 of =C3=A2=E2=82=AC=CB=9CSSL_=
CTX_new=C3=A2=E2=82=AC=E2=84=A2 makes pointer from integer without a cast [=
-Wint-conversion]
|  2462 |      RETVAL =3D SSL_CTX_new (SSLv3_method());
|       |                            ^~~~~~~~~~~~~~
|       |                            |
|       |                            int
| In file included from SSLeay.xs:167:
| /usr/include/openssl/ssl.h:1654:47: note: expected =C3=A2=E2=82=AC=CB=9Cc=
onst SSL_METHOD *=C3=A2=E2=82=AC=E2=84=A2 {aka =C3=A2=E2=82=AC=CB=9Cconst s=
truct ssl_method_st *=C3=A2=E2=82=AC=E2=84=A2} but argument is of type =C3=
=A2=E2=82=AC=CB=9Cint=C3=A2=E2=82=AC=E2=84=A2
|  1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
|       |                             ~~~~~~~~~~~~~~~~~~^~~~
| SSLeay.xs: In function =C3=A2=E2=82=AC=CB=9CXS_Net__SSLeay_CTX_tlsv1_new=
=C3=A2=E2=82=AC=E2=84=A2:
| SSLeay.xs:2480:28: error: implicit declaration of function =C3=A2=E2=82=
=AC=CB=9CTLSv1_method=C3=A2=E2=82=AC=E2=84=A2; did you mean =C3=A2=E2=82=AC=
=CB=9CTLS_method=C3=A2=E2=82=AC=E2=84=A2? [-Wimplicit-function-declaration]
|  2480 |      RETVAL =3D SSL_CTX_new (TLSv1_method());
|       |                            ^~~~~~~~~~~~
|       |                            TLS_method
| SSLeay.xs:2480:28: error: passing argument 1 of =C3=A2=E2=82=AC=CB=9CSSL_=
CTX_new=C3=A2=E2=82=AC=E2=84=A2 makes pointer from integer without a cast [=
-Wint-conversion]
|  2480 |      RETVAL =3D SSL_CTX_new (TLSv1_method());
|       |                            ^~~~~~~~~~~~~~
|       |                            |
|       |                            int
| /usr/include/openssl/ssl.h:1654:47: note: expected =C3=A2=E2=82=AC=CB=9Cc=
onst SSL_METHOD *=C3=A2=E2=82=AC=E2=84=A2 {aka =C3=A2=E2=82=AC=CB=9Cconst s=
truct ssl_method_st *=C3=A2=E2=82=AC=E2=84=A2} but argument is of type =C3=
=A2=E2=82=AC=CB=9Cint=C3=A2=E2=82=AC=E2=84=A2
|  1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
|       |                             ~~~~~~~~~~~~~~~~~~^~~~
| SSLeay.xs: In function =C3=A2=E2=82=AC=CB=9CXS_Net__SSLeay_CTX_tlsv1_1_ne=
w=C3=A2=E2=82=AC=E2=84=A2:
| SSLeay.xs:2491:28: error: implicit declaration of function =C3=A2=E2=82=
=AC=CB=9CTLSv1_1_method=C3=A2=E2=82=AC=E2=84=A2; did you mean =C3=A2=E2=82=
=AC=CB=9CTLS_method=C3=A2=E2=82=AC=E2=84=A2? [-Wimplicit-function-declarati=
on]
|  2491 |      RETVAL =3D SSL_CTX_new (TLSv1_1_method());
|       |                            ^~~~~~~~~~~~~~
|       |                            TLS_method
| SSLeay.xs:2491:28: error: passing argument 1 of =C3=A2=E2=82=AC=CB=9CSSL_=
CTX_new=C3=A2=E2=82=AC=E2=84=A2 makes pointer from integer without a cast [=
-Wint-conversion]
|  2491 |      RETVAL =3D SSL_CTX_new (TLSv1_1_method());
|       |                            ^~~~~~~~~~~~~~~~
|       |                            |
|       |                            int
| /usr/include/openssl/ssl.h:1654:47: note: expected =C3=A2=E2=82=AC=CB=9Cc=
onst SSL_METHOD *=C3=A2=E2=82=AC=E2=84=A2 {aka =C3=A2=E2=82=AC=CB=9Cconst s=
truct ssl_method_st *=C3=A2=E2=82=AC=E2=84=A2} but argument is of type =C3=
=A2=E2=82=AC=CB=9Cint=C3=A2=E2=82=AC=E2=84=A2
|  1654 | __owur SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth);
|       |                             ~~~~~~~~~~~~~~~~~~^~~~
| SSLeay.xs: In function =C3=A2=E2=82=AC=CB=9CXS_Net__SSLeay_CTX_tlsv1_2_ne=
w=C3=A2=E2=82=AC=E2=84=A2:
| SSLeay.xs:2502:28: error: implicit declaration of function =C3=A2=E2=82=
=AC=CB=9CTLSv1_2_method=C3=A2=E2=82=AC=E2=84=A2; did you mean =C3=A2=E2=82=
=AC=CB=9CTLS_method=C3=A2=E2=82=AC=E2=84=A2? [-Wimplicit-function-declarati=
on]
|  2502 |      RETVAL =3D SSL_CTX_new (TLSv1_2_method());
|       |                            ^~~~~~~~~~~~~~
|       |                            TLS_method
| SSLeay.xs:2502:28: error: passing argument 1 of =C3=A2=E2=82=AC=CB=9CSSL_=
CTX_new=C3=A2=E2=82=AC=E2=84=A2 makes pointer from integer without a cast [=
-Wint-conversion]
|  2502 |      RETVAL =3D SSL_CTX_new (TLSv1_2_method());
|       |                            ^~~~~~~~~~~~~~~~
|       |                            |
|       |                            int
=E2=80=A6

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/libnet-ssleay-perl=
_1.96-1_amd64-2026-04-19T07:39:44Z

Sebastian
]