Package: zoitechat
Version: 2.18.1-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: [email protected]
Usertags: openssl-4.0
OpenSSL 4.0 is in experimental. This package fails to build against it:
| [35/199] cc -Isrc/common/libzoitechatcommon.a.p -Isrc/common -I../src/common
-I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c17
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -funsigned-char -Wno-conversion
-Wno-pointer-sign -Wno-padded -Wno-unused-parameter -Wno-missing-prototypes
-Winline -Wstrict-prototypes -Werror=implicit-function-declaration
-Werror=pointer-arith -Werror=init-self -Werror=format-security
-Werror=format=1 -Werror=missing-include-dirs -Werror=date-time -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/zoitechat-2.18.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-pthread -D_REENTRANT -DHAVE_CONFIG_H -MD -MQ
src/common/libzoitechatcommon.a.p/ssl.c.o -MF
src/common/libzoitechatcommon.a.p/ssl.c.o.d -o
src/common/libzoitechatcommon.a.p/ssl.c.o -c ../src/common/ssl.c
| FAILED: [code=1] src/common/libzoitechatcommon.a.p/ssl.c.o
| cc -Isrc/common/libzoitechatcommon.a.p -Isrc/common -I../src/common -I. -I..
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c17
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -funsigned-char -Wno-conversion
-Wno-pointer-sign -Wno-padded -Wno-unused-parameter -Wno-missing-prototypes
-Winline -Wstrict-prototypes -Werror=implicit-function-declaration
-Werror=pointer-arith -Werror=init-self -Werror=format-security
-Werror=format=1 -Werror=missing-include-dirs -Werror=date-time -g -O2
-Werror=implicit-function-declaration
-ffile-prefix-map=/build/reproducible-path/zoitechat-2.18.1=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-pthread -D_REENTRANT -DHAVE_CONFIG_H -MD -MQ
src/common/libzoitechatcommon.a.p/ssl.c.o -MF
src/common/libzoitechatcommon.a.p/ssl.c.o.d -o
src/common/libzoitechatcommon.a.p/ssl.c.o -c ../src/common/ssl.c
| ../src/common/ssl.c: In function ‘_SSL_get_cert_info’:
| ../src/common/ssl.c:174:13: warning: assignment discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]
| 174 | key = X509_get_X509_PUBKEY(peer_cert);
| | ^
| ../src/common/ssl.c: In function ‘_SSL_close’:
| ../src/common/ssl.c:357:9: error: implicit declaration of function
‘ERR_remove_state’ [-Wimplicit-function-declaration]
| 357 | ERR_remove_state (0);
| | ^~~~~~~~~~~~~~~~
| ../src/common/ssl.c: In function ‘_SSL_check_common_name’:
| ../src/common/ssl.c:515:14: warning: assignment discards ‘const’
qualifier from pointer target type [-Wdiscarded-qualifiers]
| 515 | name = X509_get_subject_name (cert);
| | ^
| ../src/common/ssl.c:519:9: warning: ‘X509_NAME_get_text_by_NID’ is
deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations]
| 519 | common_name_len = X509_NAME_get_text_by_NID (name,
NID_commonName, NULL, 0);
| | ^~~~~~~~~~~~~~~
| In file included from /usr/include/openssl/ssl.h:34,
| from ../src/common/ssl.c:26:
| /usr/include/openssl/x509.h:1041:27: note: declared here
| 1041 | OSSL_DEPRECATEDIN_4_0 int X509_NAME_get_text_by_NID(const X509_NAME
*name,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| ../src/common/ssl.c:525:9: warning: ‘X509_NAME_get_text_by_NID’ is
deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations]
| 525 | X509_NAME_get_text_by_NID (name, NID_commonName, common_name,
common_name_len + 1);
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| /usr/include/openssl/x509.h:1041:27: note: declared here
| 1041 | OSSL_DEPRECATEDIN_4_0 int X509_NAME_get_text_by_NID(const X509_NAME
*name,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| ninja: build stopped: subcommand failed.
| dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j1 -v
returned exit code 1
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/zoitechat_2.18.1-1_amd64-2026-06-16T19:56:16Z
Sebastian