[Pkg-openssl-devel] Bug#1138452: fort-validator: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Sat May 30 17:17:21 BST 2026
Package: fort-validator
Version: 1.6.7-1
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:
| gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wpedantic -std=c99 -D_DEFAULT_SOURCE=1 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE=1 -O2 -g -I/usr/include/libxml2 -DBACKTRACE_ENABLED -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/fort-validator-1.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fort-extension.o `test -f 'extension.c' || echo './'`extension.c
| extension.c: In function ‘ku2json’:
| extension.c:127:15: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 127 | if (ku->length < 1 || 2 < ku->length)
| | ^~
| extension.c:127:37: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 127 | if (ku->length < 1 || 2 < ku->length)
| | ^~
| extension.c:130:24: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 130 | memcpy(data, ku->data, ku->length);
| | ^~
| extension.c:130:34: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 130 | memcpy(data, ku->data, ku->length);
| | ^~
| extension.c: In function ‘p2json’:
| extension.c:463:23: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 463 | memcpy(bin, ap->data, ap->length);
| | ^~
| extension.c:463:33: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 463 | memcpy(bin, ap->data, ap->length);
| | ^~
| extension.c:467:24: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 467 | length = 8 * ap->length;
| | ^~
| extension.c:468:15: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 468 | if (ap->flags & ASN1_STRING_FLAG_BITS_LEFT)
| | ^~
| extension.c:468:25: error: ‘ASN1_STRING_FLAG_BITS_LEFT’ undeclared (first use in this function)
| 468 | if (ap->flags & ASN1_STRING_FLAG_BITS_LEFT)
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~
| extension.c:468:25: note: each undeclared identifier is reported only once for each function it appears in
| extension.c:469:29: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’}
| 469 | length -= ap->flags & 7;
| | ^~
| extension.c: In function ‘iaf2json’:
| extension.c:550:15: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 550 | if (af->length != 2)
| | ^~
| extension.c:553:15: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 553 | if (af->data[0] == 0 && af->data[1] == 1) {
| | ^~
| extension.c:553:35: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 553 | if (af->data[0] == 0 && af->data[1] == 1) {
| | ^~
| extension.c:556:22: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 556 | } else if (af->data[0] == 0 && af->data[1] == 2) {
| | ^~
| extension.c:556:42: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 556 | } else if (af->data[0] == 0 && af->data[1] == 2) {
| | ^~
| extension.c: In function ‘validate_public_key_hash’:
| extension.c:973:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 973 | pubkey = X509_get_X509_PUBKEY(cert);
| | ^
| extension.c:982:17: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 982 | if (hash->length < 0 || SIZE_MAX < hash->length) {
| | ^~
| extension.c:982:48: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 982 | if (hash->length < 0 || SIZE_MAX < hash->length) {
| | ^~
| extension.c:984:42: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 984 | ext_ski()->name, hash->length, SIZE_MAX);
| | ^~
| extension.c:991:43: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 991 | error = hash_validate("sha1", hash->data, hash->length, spk, spk_len);
| | ^~
| extension.c:991:55: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’}
| 991 | error = hash_validate("sha1", hash->data, hash->length, spk, spk_len);
| | ^~
| make[3]: *** [Makefile:1671: fort-extension.o] Error 1
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/fort-validator_1.6.7-1_amd64-2026-04-19T08:43:51Z
Sebastian
More information about the Pkg-openssl-devel
mailing list