Public bug reported: Imported from Debian bug http://bugs.debian.org/1138414:
Package: opensc Version: 0.27.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: | libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -DSC_PKCS15_PROFILE_DIRECTORY=\"/usr/share/opensc\" -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Werror -Wstrict-aliasing=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/opensc-0.27.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error -c pkcs15-oberthur-awp.c -fPIC -DPIC -o .libs/pkcs15-oberthur-awp.o | pkcs15-oberthur-awp.c: In function 'awp_get_commonName': | pkcs15-oberthur-awp.c:57:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] | 57 | if (!(ne = X509_NAME_get_entry(X509_get_subject_name(x), r))) | | ^ | pkcs15-oberthur-awp.c:59:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] | 59 | else if (!(a_str = X509_NAME_ENTRY_get_data(ne))) | | ^ | pkcs15-oberthur-awp.c:61:31: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 61 | else if (a_str->type == 0x0C) { | | ^~ | pkcs15-oberthur-awp.c:62:43: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 62 | ret = malloc(a_str->length + 1); | | ^~ | pkcs15-oberthur-awp.c:64:50: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 64 | memcpy(ret, a_str->data, a_str->length); | | ^~ | pkcs15-oberthur-awp.c:64:63: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 64 | memcpy(ret, a_str->data, a_str->length); | | ^~ | pkcs15-oberthur-awp.c:65:46: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 65 | *(ret + a_str->length) = '\0'; | | ^~ | make[5]: *** [Makefile:626: pkcs15-oberthur-awp.lo] Error 1 Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/opensc_0.27.1-1_amd64-2026-04-19T14:06:23Z Sebastian ** Affects: opensc (Ubuntu) Importance: Undecided Status: New ** Affects: opensc (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138414 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138414 ** Changed in: opensc (Debian) Remote watch: None => Debian Bug tracker #1138414 ** 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/2154959 Title: opensc: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/opensc/+bug/2154959/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
