Public bug reported: Imported from Debian bug http://bugs.debian.org/1138346:
Package: libcrypt-openssl-x509-perl Version: 2.0.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: | x86_64-linux-gnu-gcc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/libcrypt-openssl-x509-perl-2.0.1=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"2.0.1\" -DXS_VERSION=\"2.0.1\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.40/CORE" X509.c | X509.xs: In function ‘sv_bio_create’: … | X509.xs: In function ‘XS_Crypt__OpenSSL__X509_sig_print’: | X509.xs:551:13: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’} | 551 | n = psig->length; | | ^~ | X509.xs:552:13: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘const struct asn1_string_st’} | 552 | s = psig->data; | | ^~ | X509.xs: In function ‘XS_Crypt__OpenSSL__X509_bit_length’: | X509.xs:614:7: warning: ‘EVP_PKEY_get0_RSA’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] | 614 | rsa_pkey = EVP_PKEY_get0_RSA(pkey); | | ^~~~~~~~ …. | X509.xs: In function ‘XS_Crypt__OpenSSL__X509__Extension_ia5string’: | X509.xs:1154:27: error: invalid use of incomplete typedef ‘ASN1_IA5STRING’ {aka ‘struct asn1_string_st’} | 1154 | BIO_printf(bio,"%s", str->data); | | ^~ | X509.xs: In function ‘XS_Crypt__OpenSSL__X509__Extension_bit_string’: | X509.xs:1176:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 1176 | object = X509_EXTENSION_get_object(ext); | | ^ | X509.xs: In function ‘XS_Crypt__OpenSSL__X509__Extension_keyid_data’: | X509.xs:1256:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 1256 | object = X509_EXTENSION_get_object(ext); | | ^ | X509.xs:1262:38: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 1262 | BIO_printf(bio, "%s", akid->keyid->data); | | ^~ | X509.xs:1267:31: error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct asn1_string_st’} | 1267 | BIO_printf(bio, "%s", skid->data); | | ^~ | X509.xs: In function ‘XS_Crypt__OpenSSL__X509__Name_get_entry_by_type’: | X509.xs:1425:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 1425 | RETVAL = X509_NAME_get_entry(name, i); | | ^ | X509.xs: In function ‘XS_Crypt__OpenSSL__X509__Name_Entry_is_printableString’: | X509.xs:1523:49: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘const struct asn1_string_st’} | 1523 | RETVAL = (X509_NAME_ENTRY_get_data(name_entry)->type == (ix == 1 ? asn1_type : ix)); | | ^~ | X509.xs: In function ‘XS_Crypt__OpenSSL__X509__Name_Entry_encoding’: | X509.xs:1535:43: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘const struct asn1_string_st’} | 1535 | if (X509_NAME_ENTRY_get_data(name_entry)->type == V_ASN1_PRINTABLESTRING) { | | ^~ | X509.xs:1538:49: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘const struct asn1_string_st’} | 1538 | } else if(X509_NAME_ENTRY_get_data(name_entry)->type == V_ASN1_IA5STRING) { | | ^~ | X509.xs:1541:49: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘const struct asn1_string_st’} | 1541 | } else if(X509_NAME_ENTRY_get_data(name_entry)->type == V_ASN1_UTF8STRING) { | | ^~ | X509.xs: In function ‘XS_Crypt__OpenSSL__X509_CRL_CRL_accessor’: | X509.xs:1609:10: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 1609 | name = X509_CRL_get_issuer(crl); | | ^ | make[1]: *** [Makefile:343: X509.o] Error 1 Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/libcrypt-openssl-x509-perl_2.0.1-1_amd64-2026-04-19T10:15:01Z Sebastian ** Affects: libcrypt-openssl-x509-perl (Ubuntu) Importance: Undecided Status: New ** Affects: libcrypt-openssl-x509-perl (Debian) Importance: Undecided Status: New ** Bug watch added: Debian Bug tracker #1138346 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138346 ** Changed in: libcrypt-openssl-x509-perl (Debian) Remote watch: None => Debian Bug tracker #1138346 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154893 Title: libcrypt-openssl-x509-perl: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libcrypt-openssl-x509-perl/+bug/2154893/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
