Package: getdns
Version: 1.7.3-4
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:

| /usr/bin/cc -DJSMN_GETDNS -DYXML_GETDNS 
-I/build/reproducible-path/getdns-1.7.3/src 
-I/build/reproducible-path/getdns-1.7.3/src/util/auxiliary 
-I/build/reproducible-path/getdns-1.7.3/src/openssl 
-I/build/reproducible-path/getdns-1.7.3/src/tls 
-I/build/reproducible-path/getdns-1.7.3/src/yxml 
-I/build/reproducible-path/getdns-1.7.3/obj-x86_64-linux-gnu -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/getdns-1.7.3=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -DNO_NETWORKING_IN_TEST -Wdate-time 
-D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -D_BSD_SOURCE 
-D_DEFAULT_SOURCE -std=gnu11 -fPIC -Wall -Wextra -Wpedantic -MD -MT 
CMakeFiles/getdns_objects.dir/src/tls/anchor-internal.c.o -MF 
CMakeFiles/getdns_objects.dir/src/tls/anchor-internal.c.o.d -o 
CMakeFiles/getdns_objects.dir/src/tls/anchor-internal.c.o -c 
/build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c
| /build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c: In function 
‘_getdns_get_usage_of_ex’:
| /build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c:63:21: error: 
invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct 
asn1_string_st’}
|    63 |                 if(s->length > 0) {
|       |                     ^~
| /build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c:64:32: error: 
invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct 
asn1_string_st’}
|    64 |                         val = s->data[0];
|       |                                ^~
| /build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c:65:29: error: 
invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct 
asn1_string_st’}
|    65 |                         if(s->length > 1)
|       |                             ^~
| /build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c:66:41: error: 
invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct 
asn1_string_st’}
|    66 |                                 val |= s->data[1] << 8;
|       |                                         ^~
| /build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c: In function 
‘_getdns_get_valid_signers’:
| /build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c:95:33: 
warning: initialization discards ‘const’ qualifier from pointer target type 
[-Wdiscarded-qualifiers]
|    95 |                 X509_NAME* nm = X509_get_subject_name(
|       |                                 ^~~~~~~~~~~~~~~~~~~~~
| /build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c:107:25: 
warning: ‘X509_NAME_get_text_by_NID’ is deprecated: Since OpenSSL 4.0 
[-Wdeprecated-declarations]
|   107 |                         if(!X509_NAME_get_text_by_NID(nm,
|       |                         ^~
| In file included from 
/build/reproducible-path/getdns-1.7.3/src/tls/anchor-internal.c:36:
| /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,
|       |                           ^~~~~~~~~~~~~~~~~~~~~~~~~
| make[3]: *** [CMakeFiles/getdns_objects.dir/build.make:558: 
CMakeFiles/getdns_objects.dir/src/tls/anchor-internal.c.o] Error 1

Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/getdns_1.7.3-4_amd64-2026-04-19T12:15:16Z

Sebastian

Reply via email to