Public bug reported: Imported from Debian bug http://bugs.debian.org/1138377:
Package: restinio Version: 0.6.19+ds-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: | [ 76%] Building CXX object test/socket_options_tls/CMakeFiles/_unit.test.socket_options_tls.dir/main.cpp.o | cd /build/reproducible-path/restinio-0.6.19+ds/obj-x86_64-linux-gnu/test/socket_options_tls && /usr/bin/c++ -DASIO_DISABLE_STD_STRING_VIEW -DASIO_HAS_STD_CHRONO -DASIO_STANDALONE -DFMT_SHARED -I/build/reproducible-path/restinio-0.6.19+ds/dev/clara -I/build/reproducible-path/restinio-0.6.19+ds/dev -I/build/reproducible-path/restinio-0.6.19+ds/dev/asio/include -g -O2 -ffile-prefix-map=/build/reproducible-path/restinio-0.6.19+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++14 -MD -MT test/socket_options_tls/CMakeFiles/_unit.test.socket_options_tls.dir/main.cpp.o -MF CMakeFiles/_unit.test.socket_options_tls.dir/main.cpp.o.d -o CMakeFiles/_unit.test.socket_options_tls.dir/main.cpp.o -c /build/reproducible-path/restinio-0.6.19+ds/dev/test/socket_options_tls/main.cpp | In file included from /usr/include/asio/ssl/rfc2818_verification.hpp:93, | from /usr/include/asio/ssl.hpp:21, | from /build/reproducible-path/restinio-0.6.19+ds/dev/restinio/impl/tls_socket.hpp:14, | from /build/reproducible-path/restinio-0.6.19+ds/dev/restinio/tls.hpp:12, | from /build/reproducible-path/restinio-0.6.19+ds/dev/test/socket_options_tls/main.cpp:13: | /usr/include/asio/ssl/impl/rfc2818_verification.ipp: In member function ‘bool asio::ssl::rfc2818_verification::operator()(bool, asio::ssl::verify_context&) const’: | /usr/include/asio/ssl/impl/rfc2818_verification.ipp:65:17: error: invalid use of incomplete type ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 65 | if (domain->type == V_ASN1_IA5STRING && domain->data && domain->length) | | ^~ | In file included from /usr/include/openssl/crypto.h:38, | from /usr/include/openssl/bio.h:32, | from /usr/include/openssl/conf.h:26, | from /usr/include/asio/ssl/detail/openssl_types.hpp:23, | from /usr/include/asio/ssl/context_base.hpp:19, | from /usr/include/asio/ssl/context.hpp:23, | from /usr/include/asio/ssl.hpp:18: | /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 57 | typedef struct asn1_string_st ASN1_INTEGER; | | ^~~~~~~~~~~~~~ | /usr/include/asio/ssl/impl/rfc2818_verification.ipp:65:53: error: invalid use of incomplete type ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 65 | if (domain->type == V_ASN1_IA5STRING && domain->data && domain->length) | | ^~ | /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 57 | typedef struct asn1_string_st ASN1_INTEGER; | | ^~~~~~~~~~~~~~ | /usr/include/asio/ssl/impl/rfc2818_verification.ipp:65:69: error: invalid use of incomplete type ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 65 | if (domain->type == V_ASN1_IA5STRING && domain->data && domain->length) | | ^~ | /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 57 | typedef struct asn1_string_st ASN1_INTEGER; | | ^~~~~~~~~~~~~~ | /usr/include/asio/ssl/impl/rfc2818_verification.ipp:67:67: error: invalid use of incomplete type ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 67 | const char* pattern = reinterpret_cast<const char*>(domain->data); | | ^~ | /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 57 | typedef struct asn1_string_st ASN1_INTEGER; | | ^~~~~~~~~~~~~~ | /usr/include/asio/ssl/impl/rfc2818_verification.ipp:68:44: error: invalid use of incomplete type ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 68 | std::size_t pattern_length = domain->length; | | ^~ | /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 57 | typedef struct asn1_string_st ASN1_INTEGER; | | ^~~~~~~~~~~~~~ | /usr/include/asio/ssl/impl/rfc2818_verification.ipp:79:21: error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 79 | if (ip_address->type == V_ASN1_OCTET_STRING && ip_address->data) | | ^~ | /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 57 | typedef struct asn1_string_st ASN1_INTEGER; | | ^~~~~~~~~~~~~~ | /usr/include/asio/ssl/impl/rfc2818_verification.ipp:79:64: error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 79 | if (ip_address->type == V_ASN1_OCTET_STRING && ip_address->data) | | ^~ | /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 57 | typedef struct asn1_string_st ASN1_INTEGER; | | ^~~~~~~~~~~~~~ | /usr/include/asio/ssl/impl/rfc2818_verification.ipp:81:42: error: invalid use of incomplete type ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 81 | if (address.is_v4() && ip_address->length == 4) | | ^~ | /usr/include/openssl/types.h:57:16: note: forward declaration of ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 57 | typedef struct asn1_string_st ASN1_INTEGER; | | ^~~~~~~~~~~~~~ … Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/restinio_0.6.19+ds-1.1_amd64-2026-04-19T10:59:10Z Sebastian ** Affects: restinio (Ubuntu) Importance: Undecided Status: New ** Affects: restinio (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138377 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138377 ** Changed in: restinio (Debian) Remote watch: None => Debian Bug tracker #1138377 ** Tags added: ftbfs openssl-4.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154925 Title: restinio: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/restinio/+bug/2154925/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
