Public bug reported: Imported from Debian bug http://bugs.debian.org/1138308:
Package: libesmtp Version: 1.1.0-3.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: | [17/34] cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libesmtp-1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ libesmtp.so.6.2.0.p/smtp-tls.c.o -MF libesmtp.so.6.2.0.p/smtp-tls.c.o.d -o libesmtp.so.6.2.0.p/smtp-tls.c.o -c ../smtp-tls.c | FAILED: [code=1] libesmtp.so.6.2.0.p/smtp-tls.c.o | cc -Ilibesmtp.so.6.2.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libesmtp-1.1.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ libesmtp.so.6.2.0.p/smtp-tls.c.o -MF libesmtp.so.6.2.0.p/smtp-tls.c.o.d -o libesmtp.so.6.2.0.p/smtp-tls.c.o -c ../smtp-tls.c | ../smtp-tls.c: In function ‘check_acceptable_security’: | ../smtp-tls.c:573:66: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 573 | const char *ia5str = (const char *) name->d.ia5->data; | | ^~ | ../smtp-tls.c:574:46: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 574 | size_t ia5len = name->d.ia5->length; | | ^~ | ../smtp-tls.c:589:29: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 589 | X509_NAME *subj = X509_get_subject_name (cert); | | ^~~~~~~~~~~~~~~~~~~~~ | ../smtp-tls.c:604:26: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 604 | && (cn = X509_NAME_ENTRY_get_data ( | | ^ | ../smtp-tls.c: In function ‘rsp_starttls’: | ../smtp-tls.c:686:15: warning: ‘X509_NAME_get_text_by_NID’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations] | 686 | X509_NAME_get_text_by_NID (X509_get_subject_name (cert), | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | In file included from /usr/include/openssl/x509v3.h:27, | from ../smtp-tls.c:55: | /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, | | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ninja: build stopped: subcommand failed. Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/libesmtp_1.1.0-3.2_amd64-2026-04-19T07:37:55Z Sebastian ** Affects: libesmtp (Ubuntu) Importance: Undecided Status: New ** Affects: libesmtp (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138308 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138308 ** Changed in: libesmtp (Debian) Remote watch: None => Debian Bug tracker #1138308 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154855 Title: libesmtp: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libesmtp/+bug/2154855/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
