[Pkg-openssl-devel] Bug#1139229: monitoring-plugins: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sun Jun 7 13:49:10 BST 2026
Package: monitoring-plugins
Version: 2.4.0-5
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:
| CC sslutils.o
| sslutils.c: In function ‘np_net_ssl_check_certificate’:
| sslutils.c:216:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 216 | subj=X509_get_subject_name(certificate);
| | ^
| sslutils.c:222:9: warning: ‘X509_NAME_get_text_by_NID’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations]
| 222 | cnlen = X509_NAME_get_text_by_NID(subj, NID_commonName, cn, sizeof(cn));
| | ^~~~~
| In file included from common.h:156,
| from sslutils.c:30:
| /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,
| | ^~~~~~~~~~~~~~~~~~~~~~~~~
| sslutils.c:230:15: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 230 | if (tm->type == V_ASN1_UTCTIME) {
| | ^~
| sslutils.c:231:23: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 231 | if (tm->length < 10) {
| | ^~
| sslutils.c:235:44: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 235 | stamp.tm_year = (tm->data[0] - '0') * 10 + (tm->data[1] - '0');
| | ^~
| sslutils.c:235:71: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 235 | stamp.tm_year = (tm->data[0] - '0') * 10 + (tm->data[1] - '0');
| | ^~
| sslutils.c:241:23: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 241 | if (tm->length < 12) {
| | ^~
| sslutils.c:246:36: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 246 | (tm->data[0] - '0') * 1000 + (tm->data[1] - '0') * 100 +
| | ^~
| sslutils.c:246:65: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 246 | (tm->data[0] - '0') * 1000 + (tm->data[1] - '0') * 100 +
| | ^~
| sslutils.c:247:36: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 247 | (tm->data[2] - '0') * 10 + (tm->data[3] - '0');
| | ^~
| sslutils.c:247:63: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 247 | (tm->data[2] - '0') * 10 + (tm->data[3] - '0');
| | ^~
| sslutils.c:253:20: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 253 | (tm->data[2 + offset] - '0') * 10 + (tm->data[3 + offset] - '0') - 1;
| | ^~
| sslutils.c:253:56: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 253 | (tm->data[2 + offset] - '0') * 10 + (tm->data[3 + offset] - '0') - 1;
| | ^~
| sslutils.c:255:20: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 255 | (tm->data[4 + offset] - '0') * 10 + (tm->data[5 + offset] - '0');
| | ^~
| sslutils.c:255:56: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 255 | (tm->data[4 + offset] - '0') * 10 + (tm->data[5 + offset] - '0');
| | ^~
| sslutils.c:257:20: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 257 | (tm->data[6 + offset] - '0') * 10 + (tm->data[7 + offset] - '0');
| | ^~
| sslutils.c:257:56: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 257 | (tm->data[6 + offset] - '0') * 10 + (tm->data[7 + offset] - '0');
| | ^~
| sslutils.c:259:20: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 259 | (tm->data[8 + offset] - '0') * 10 + (tm->data[9 + offset] - '0');
| | ^~
| sslutils.c:259:56: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 259 | (tm->data[8 + offset] - '0') * 10 + (tm->data[9 + offset] - '0');
| | ^~
| sslutils.c:261:20: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 261 | (tm->data[10 + offset] - '0') * 10 + (tm->data[11 + offset] - '0');
| | ^~
| sslutils.c:261:57: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 261 | (tm->data[10 + offset] - '0') * 10 + (tm->data[11 + offset] - '0');
| | ^~
| make[4]: *** [Makefile:2589: sslutils.o] Error 1
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/monitoring-plugins_2.4.0-5_amd64-2026-04-19T09:50:29Z
Sebastian
More information about the Pkg-openssl-devel
mailing list