#1138362 zurl: FTBFS with openssl 4.0

Package:
zurl
Source:
zurl
Description:
HTTP client worker with ZeroMQ interface
Submitter:
Sebastian Andrzej Siewior
Date:
2026-05-30 16:01:06 UTC
Severity:
normal
Tags:
#1138362#5
Date:
2026-05-30 16:00:47 UTC
From:
To:
OpenSSL 4.0 is in experimental. This package fails to build against it:

| g++ -c -pipe -g -O2 -ffile-prefix-map=/build/reproducible-path/zurl-1.12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -ffile-prefix-map=/build/reproducible-path/zurl-1.12.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -g -fPIC -std=gnu++11 -Wall -Wextra -D_REENTRANT -DHAVE_OPENSSL -DNO_IRISNET -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/include/pgm-5.3 -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -I../qzmq/src -I../common -I../../src -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I_moc -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o _obj/verifyhost.o ../verifyhost.cpp
| ../verifyhost.cpp: In function ‘CURLcode verifyhost(const char*, X509*)’:
| ../verifyhost.cpp:392:44: error: invalid conversion from ‘const X509_NAME*’ {aka ‘const X509_name_st*’} to ‘X509_NAME*’ {aka ‘X509_name_st*’} [-fpermissive]
|   392 |     X509_NAME *name = X509_get_subject_name(server_cert);
|       |                       ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
|       |                                            |
|       |                                            const X509_NAME* {aka const X509_name_st*}
| ../verifyhost.cpp:403:33: error: invalid conversion from ‘const ASN1_STRING*’ {aka ‘const asn1_string_st*’} to ‘ASN1_STRING*’ {aka ‘asn1_string_st*’} [-fpermissive]
|   403 |         X509_NAME_ENTRY_get_data(X509_NAME_get_entry(name, i));
|       |         ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                 |
|       |                                 const ASN1_STRING* {aka const asn1_string_st*}
| make[2]: *** [Makefile:610: _obj/verifyhost.o] Error 1

Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/zurl_1.12.0-3_amd64-2026-04-19T09:21:20Z

Sebastian