[From nobody Sat May 30 18:01:05 2026
Received: (at submit) by bugs.debian.org; 30 May 2026 16:22:33 +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,FOURLA,HAS_PACKAGE,
 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, 41; hammy, 150; neutral, 108; 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 ([2a0a:51c0:0:237:300::1]:47864)
 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 1wTMSH-002GoX-0y for submit@bugs.debian.org;
 Sat, 30 May 2026 16:22:33 +0000
Date: Sat, 30 May 2026 18:22:30 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025; t=1780158151;
 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=njcxeY2K+VnlE6LxGgRvMxt3wXAnA3Wu++Xz6RWpE/A=;
 b=HYpBYJVzK3yZ+n9kC6G9NSWNM3OqzeAScObuRoeMwi4BF0vi4pbWcbyVml99Ccvz8YfHr6
 GFTl7BkazBXeOeKxXudx9pAouuWCNVPz0PL4By1BSJ8WLZX8NDgnEeqedaZkK7V0OshZho
 Jz0VyhicbQ6FaFNE2cBu6rT0yqdUnpi9sEbEL3At55mhyo4WpV4X7+9qjPQQBEp6BUackr
 Z8P14Xzpa0LW/6JjnpQ0zdxOOJg1xpwRysyHaItIPYbFOyKeNoMxhIkaIW7Z/dLVo8XCMJ
 SF+2EY/H0i8y+h6hdysIhv+M2B/zkMm05u2X8gYvE8chLi00ap4fo3UK0kwrAg==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025e; t=1780158151;
 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=njcxeY2K+VnlE6LxGgRvMxt3wXAnA3Wu++Xz6RWpE/A=;
 b=LdBSncw0tdXQZ6K4z485HGNG+q9SSJJOwcGTfbcA6l3mLXARsbW5FLj4N0ozXUv1hu8UxZ
 najf21fGxSiQF6CQ==
From: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: submit@bugs.debian.org
Subject: xmlsec1: FTBFS with openssl 4.0
Message-ID: &lt;20260530162230.7ViqGhd-@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: xmlsec1
Version: 1.3.10-2
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:

| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -DPACKAGE=3D\&quot;xmlsec1\=
&quot; -I../../include -I../../include -D__XMLSEC_FUNCTION__=3D__func__ -DXMLSEC=
_OPENSSL3_ENGINES=3D1 -DXMLSEC_NO_FTP=3D1 -DXMLSEC_NO_HTTP=3D1 -DXMLSEC_NO_=
MD5=3D1 -DXMLSEC_NO_MLDSA=3D1 -DXMLSEC_NO_SLHDSA=3D1 -DXMLSEC_NO_GOST=3D1 -=
DXMLSEC_NO_GOST2012=3D1 -DXMLSEC_NO_CRYPTO_DYNAMIC_LOADING=3D1 -DXMLSEC_CRY=
PTO_OPENSSL=3D1 -I/usr/include/libxml2 -I/usr/include/libxml2 -Wdate-time -=
D_FORTIFY_SOURCE=3D2 -g -O2 -Werror=3Dimplicit-function-declaration -ffile-=
prefix-map=3D/build/reproducible-path/xmlsec1-1.3.10=3D. -fstack-protector-=
strong -fstack-clash-protection -Wformat -Werror=3Dformat-security -fcf-pro=
tection -fno-strict-overflow -fno-strict-aliasing -O -std=3Dc99 -pedantic -=
pedantic-errors -W -Wall -Wextra -fno-inline -Wnull-dereference -Wdouble-pr=
omotion -Wformat=3D2 -Wformat-security -Wformat-nonliteral -Wconversion -Wu=
nused -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-proto=
types -Wnested-externs -Wredundant-decls -Wformat-overflow=3D2 -Wformat-sig=
nedness -fno-builtin-memset -c x509.c  -fPIC -DPIC -o .libs/libxmlsec1_open=
ssl_la-x509.o
| x509.c: In function 'xmlSecOpenSSLX509SKIWrite':
| x509.c:1018:9: error: assignment discards 'const' qualifier from pointer =
target type [-Wdiscarded-qualifiers]
|  1018 |     ext =3D X509_get_ext(cert, index);
|       |         ^
| x509.c: In function 'xmlSecOpenSSLKeyDataX509Write':
| x509.c:1303:61: error: passing argument 1 of 'xmlSecOpenSSLX509NameWrite'=
 discards 'const' qualifier from pointer target type [-Wdiscarded-qualifier=
s]
|  1303 |             x509Value-&gt;subject =3D xmlSecOpenSSLX509NameWrite(X50=
9_get_subject_name(cert));
|       |                                                             ^~~~~=
~~~~~~~~~~~~~~~~~~~~~~
| x509.c:1156:39: note: expected 'X509_NAME *' {aka 'struct X509_name_st *'=
} but argument is of type 'const X509_NAME *' {aka 'const struct X509_name_=
st *'}
|  1156 | xmlSecOpenSSLX509NameWrite(X509_NAME* nm) {
|       |                            ~~~~~~~~~~~^~
| x509.c:1315:64: error: passing argument 1 of 'xmlSecOpenSSLX509NameWrite'=
 discards 'const' qualifier from pointer target type [-Wdiscarded-qualifier=
s]
|  1315 |             x509Value-&gt;issuerName =3D xmlSecOpenSSLX509NameWrite(=
X509_get_issuer_name(cert));
|       |                                                                ^~=
~~~~~~~~~~~~~~~~~~~~~~~~
| x509.c:1156:39: note: expected 'X509_NAME *' {aka 'struct X509_name_st *'=
} but argument is of type 'const X509_NAME *' {aka 'const struct X509_name_=
st *'}
|  1156 | xmlSecOpenSSLX509NameWrite(X509_NAME* nm) {
|       |                            ~~~~~~~~~~~^~
| x509.c: In function 'xmlSecOpenSSLX509CertDebugDump':
| x509.c:1860:35: error: passing argument 1 of 'xmlSecOpenSSLX509NameToStri=
ng' discards 'const' qualifier from pointer target type [-Wdiscarded-qualif=
iers]
|  1860 |     xmlSecOpenSSLX509NameToString(X509_get_subject_name(cert), bu=
f, sizeof(buf));
|       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| x509.c:1824:42: note: expected 'X509_NAME *' {aka 'struct X509_name_st *'=
} but argument is of type 'const X509_NAME *' {aka 'const struct X509_name_=
st *'}
|  1824 | xmlSecOpenSSLX509NameToString(X509_NAME* name, char* buf, int buf=
Len) {
|       |                               ~~~~~~~~~~~^~~~
| x509.c:1862:35: error: passing argument 1 of 'xmlSecOpenSSLX509NameToStri=
ng' discards 'const' qualifier from pointer target type [-Wdiscarded-qualif=
iers]
|  1862 |     xmlSecOpenSSLX509NameToString(X509_get_issuer_name(cert), buf=
, sizeof(buf));
|       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
| x509.c:1824:42: note: expected 'X509_NAME *' {aka 'struct X509_name_st *'=
} but argument is of type 'const X509_NAME *' {aka 'const struct X509_name_=
st *'}
|  1824 | xmlSecOpenSSLX509NameToString(X509_NAME* name, char* buf, int buf=
Len) {
|       |                               ~~~~~~~~~~~^~~~
| x509.c: In function 'xmlSecOpenSSLX509CertDebugXmlDump':
| x509.c:1885:35: error: passing argument 1 of 'xmlSecOpenSSLX509NameToStri=
ng' discards 'const' qualifier from pointer target type [-Wdiscarded-qualif=
iers]
|  1885 |     xmlSecOpenSSLX509NameToString(X509_get_subject_name(cert), bu=
f, sizeof(buf));
|       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~
| x509.c:1824:42: note: expected 'X509_NAME *' {aka 'struct X509_name_st *'=
} but argument is of type 'const X509_NAME *' {aka 'const struct X509_name_=
st *'}
|  1824 | xmlSecOpenSSLX509NameToString(X509_NAME* name, char* buf, int buf=
Len) {
|       |                               ~~~~~~~~~~~^~~~
| x509.c:1891:35: error: passing argument 1 of 'xmlSecOpenSSLX509NameToStri=
ng' discards 'const' qualifier from pointer target type [-Wdiscarded-qualif=
iers]
|  1891 |     xmlSecOpenSSLX509NameToString(X509_get_issuer_name(cert), buf=
, sizeof(buf));
|       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
| x509.c:1824:42: note: expected 'X509_NAME *' {aka 'struct X509_name_st *'=
} but argument is of type 'const X509_NAME *' {aka 'const struct X509_name_=
st *'}
|  1824 | xmlSecOpenSSLX509NameToString(X509_NAME* name, char* buf, int buf=
Len) {
|       |                               ~~~~~~~~~~~^~~~
| make[5]: *** [Makefile:801: libxmlsec1_openssl_la-x509.lo] Error 1

Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/xmlsec1_1.3.10-2_a=
md64-2026-04-19T10:13:08Z

Sebastian
]