Public bug reported: Imported from Debian bug http://bugs.debian.org/1138364:
Package: websocketpp Version: 0.8.2+git20250909-2 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: | [ 24%] Building CXX object examples/print_client_tls/CMakeFiles/print_client_tls.dir/print_client_tls.cpp.o | cd /build/reproducible-path/websocketpp-0.8.2+git20250909/obj-x86_64-linux-gnu/examples/print_client_tls && /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CHRONO_DYN_LINK -DBOOST_CHRONO_NO_LIB -DBOOST_CONTAINER_DYN_LINK -DBOOST_CONTAINER_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_RANDOM_DYN_LINK -DBOOST_RANDOM_NO_LIB -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DBOOST_UNIT_TEST_FRAMEWORK_DYN_LINK -DBOOST_UNIT_TEST_FRAMEWORK_NO_LIB -DNDEBUG -D_WEBSOCKETPP_CPP11_STL_ -I/build/reproducible-path/websocketpp-0.8.2+git20250909/examples/print_client_tls -I/build/reproducible-path/websocketpp-0.8.2+git20250909 -I/build/reproducible-path/websocketpp-0.8.2+git20250909/websocketpp -g -O2 -ffile-prefix-map=/build/reproducible-path/websocketpp-0.8.2+git20250909=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++0x -Wall -Wcast-align -MD -MT examples/print_client_tls/CMakeFiles/print_client_tls.dir/print_client_tls.cpp.o -MF CMakeFiles/print_client_tls.dir/print_client_tls.cpp.o.d -o CMakeFiles/print_client_tls.dir/print_client_tls.cpp.o -c /build/reproducible-path/websocketpp-0.8.2+git20250909/examples/print_client_tls/print_client_tls.cpp | /build/reproducible-path/websocketpp-0.8.2+git20250909/examples/print_client_tls/print_client_tls.cpp: In function ‘bool verify_subject_alternative_name(const char*, X509*)’: | /build/reproducible-path/websocketpp-0.8.2+git20250909/examples/print_client_tls/print_client_tls.cpp:67:57: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] | 67 | if (ASN1_STRING_length(current_name->d.dNSName) != strlen(dns_name)) { | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | /build/reproducible-path/websocketpp-0.8.2+git20250909/examples/print_client_tls/print_client_tls.cpp: In function ‘bool verify_common_name(const char*, X509*)’: | /build/reproducible-path/websocketpp-0.8.2+git20250909/examples/print_client_tls/print_client_tls.cpp:87:62: error: invalid conversion from ‘const X509_NAME_ENTRY*’ {aka ‘const X509_name_entry_st*’} to ‘X509_NAME_ENTRY*’ {aka ‘X509_name_entry_st*’} [-fpermissive] | 87 | X509_NAME_ENTRY * common_name_entry = X509_NAME_get_entry(X509_get_subject_name(cert), common_name_loc); | | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | const X509_NAME_ENTRY* {aka const X509_name_entry_st*} | /build/reproducible-path/websocketpp-0.8.2+git20250909/examples/print_client_tls/print_client_tls.cpp:93:62: error: invalid conversion from ‘const ASN1_STRING*’ {aka ‘const asn1_string_st*’} to ‘ASN1_STRING*’ {aka ‘asn1_string_st*’} [-fpermissive] | 93 | ASN1_STRING * common_name_asn1 = X509_NAME_ENTRY_get_data(common_name_entry); | | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ | | | | | const ASN1_STRING* {aka const asn1_string_st*} | /build/reproducible-path/websocketpp-0.8.2+git20250909/examples/print_client_tls/print_client_tls.cpp:101:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] | 101 | if (ASN1_STRING_length(common_name_asn1) != strlen(common_name_str)) { | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ | make[3]: *** [examples/print_client_tls/CMakeFiles/print_client_tls.dir/build.make:82: examples/print_client_tls/CMakeFiles/print_client_tls.dir/print_client_tls.cpp.o] Error 1 Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/websocketpp_0.8.2+git20250909-2_amd64-2026-04-19T09:54:50Z Sebastian ** Affects: websocketpp (Ubuntu) Importance: Undecided Status: New ** Affects: websocketpp (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138364 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138364 ** Changed in: websocketpp (Debian) Remote watch: None => Debian Bug tracker #1138364 ** 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/2154912 Title: websocketpp: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/websocketpp/+bug/2154912/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
