[Pkg-openssl-devel] Bug#1138461: xml-security-c: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 17:18:49 BST 2026


Package: xml-security-c
Version: 3.0.0-2
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0

OpenSSL 4.0 is in experimental. This package fails to build against it:

| /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H   -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wdate-time -D_FORTIFY_SOURCE=2   -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/xml-security-c-3.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o enc/OpenSSL/libxml_security_c_la-OpenSSLCryptoHash.lo `test -f 'enc/OpenSSL/OpenSSLCryptoHash.cpp' || echo './'`enc/OpenSSL/OpenSSLCryptoHash.cpp
| libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/xml-security-c-3.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c enc/OpenSSL/OpenSSLCryptoHash.cpp  -fPIC -DPIC -o enc/OpenSSL/.libs/libxml_security_c_la-OpenSSLCryptoHash.o
| /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H   -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wdate-time -D_FORTIFY_SOURCE=2   -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/xml-security-c-3.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o enc/OpenSSL/libxml_security_c_la-OpenSSLCryptoProvider.lo `test -f 'enc/OpenSSL/OpenSSLCryptoProvider.cpp' || echo './'`enc/OpenSSL/OpenSSLCryptoProvider.cpp
| libtool: compile:  g++ -DHAVE_CONFIG_H -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wdate-time -D_FORTIFY_SOURCE=2 -pthread -g -O2 -ffile-prefix-map=/build/reproducible-path/xml-security-c-3.0.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c enc/OpenSSL/OpenSSLCryptoProvider.cpp  -fPIC -DPIC -o enc/OpenSSL/.libs/libxml_security_c_la-OpenSSLCryptoProvider.o
| enc/OpenSSL/OpenSSLCryptoProvider.cpp: In destructor 'virtual OpenSSLCryptoProvider::~OpenSSLCryptoProvider()':
| enc/OpenSSL/OpenSSLCryptoProvider.cpp:156:5: error: 'ERR_remove_state' was not declared in this scope
|   156 |     ERR_remove_state(0);
|       |     ^~~~~~~~~~~~~~~~
| make[3]: *** [Makefile:2383: enc/OpenSSL/libxml_security_c_la-OpenSSLCryptoProvider.lo] Error 1
| make[3]: Leaving directory '/build/reproducible-path/xml-security-c-3.0.0/xsec'


Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/xml-security-c_3.0.0-2_amd64-2026-04-19T10:53:56Z

Sebastian



More information about the Pkg-openssl-devel mailing list