Public bug reported: Imported from Debian bug http://bugs.debian.org/1138300:
Package: libcrypt-openssl-pkcs12-perl Version: 1.94-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-pkcs12-perl-1.94=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"1.94\" -DXS_VERSION=\"1.94\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.40/CORE" PKCS12.c | PKCS12.xs: In function ‘print_attribute’: | PKCS12.xs:659:48: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} | 659 | value = OPENSSL_uni2asc(av->value.bmpstring->data, | | ^~ | PKCS12.xs:660:52: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} | 660 | av->value.bmpstring->length); | | ^~ | In file included from PKCS12.xs:3: | PKCS12.xs:662:44: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} | 662 | Renew(*attribute, av->value.bmpstring->length, char); | | ^~ | /usr/lib/x86_64-linux-gnu/perl/5.40/CORE/perl.h:4233:62: note: in definition of macro ‘EXPECT’ | 4233 | # define EXPECT(expr,val) __builtin_expect(expr,val) | | ^~~~ | /usr/lib/x86_64-linux-gnu/perl/5.40/CORE/perl.h:4254:52: note: in expansion of macro ‘cBOOL’ | 4254 | #define UNLIKELY(cond) EXPECT(cBOOL(cond),FALSE) | | ^~~~~ | /usr/lib/x86_64-linux-gnu/perl/5.40/CORE/handy.h:2761:16: note: in expansion of macro ‘UNLIKELY’ | 2761 | (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ | | ^~~~~~~~ | /usr/lib/x86_64-linux-gnu/perl/5.40/CORE/handy.h:2757:9: note: in expansion of macro ‘_MEM_WRAP_NEEDS_RUNTIME_CHECK’ | 2757 | ((_MEM_WRAP_NEEDS_RUNTIME_CHECK(n,t) ? (MEM_SIZE)(n) : \ | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | /usr/lib/x86_64-linux-gnu/perl/5.40/CORE/handy.h:2761:25: note: in expansion of macro ‘_MEM_WRAP_WILL_WRAP’ | 2761 | (void)(UNLIKELY(_MEM_WRAP_WILL_WRAP(n,t)) \ | | ^~~~~~~~~~~~~~~~~~~ | /usr/lib/x86_64-linux-gnu/perl/5.40/CORE/handy.h:2773:32: note: in expansion of macro ‘MEM_WRAP_CHECK’ | 2773 | # define MEM_WRAP_CHECK_(n,t) MEM_WRAP_CHECK(n,t), | | ^~~~~~~~~~~~~~ | /usr/lib/x86_64-linux-gnu/perl/5.40/CORE/handy.h:2862:17: note: in expansion of macro ‘MEM_WRAP_CHECK_’ | 2862 | (v = (MEM_WRAP_CHECK_(n,t) (t*)MEM_LOG_REALLOC(n,t,v,saferealloc((Malloc_t)(v),(MEM_SIZE)((n)*sizeof(t)))))) | | ^~~~~~~~~~~~~~~ | PKCS12.xs:662:7: note: in expansion of macro ‘Renew’ | 662 | Renew(*attribute, av->value.bmpstring->length, char); | | ^~~~~ | PKCS12.xs:662:44: error: invalid use of incomplete typedef ‘ASN1_BMPSTRING’ {aka ‘struct asn1_string_st’} | 662 | Renew(*attribute, av->value.bmpstring->length, char); | | ^~ … | PKCS12.xs:693:7: note: in expansion of macro ‘Renew’ | 693 | Renew(*attribute, av->value.bit_string->length *4, char); | | ^~~~~ | PKCS12.xs:694:47: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} | 694 | get_hex(*attribute, av->value.bit_string->data, av->value.bit_string->length); | | ^~ | PKCS12.xs:694:75: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} | 694 | get_hex(*attribute, av->value.bit_string->data, av->value.bit_string->length); | | ^~ | PKCS12.xs:696:41: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} | 696 | hex_prin(out, av->value.bit_string->data, | | ^~ | PKCS12.xs:697:38: error: invalid use of incomplete typedef ‘ASN1_BIT_STRING’ {aka ‘struct asn1_string_st’} | 697 | av->value.bit_string->length); | | ^~ | PKCS12.xs: In function ‘print_attribs’: | PKCS12.xs:762:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 762 | attr_obj = X509_ATTRIBUTE_get0_object(attr); | | ^ | PKCS12.xs:782:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | 782 | av = X509_ATTRIBUTE_get0_type(attr, j); | | ^ | make[1]: *** [Makefile:344: PKCS12.o] Error 1 Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/libcrypt-openssl-pkcs12-perl_1.94-1_amd64-2026-04-19T07:33:32Z Sebastian ** Affects: libcrypt-openssl-pkcs12-perl (Ubuntu) Importance: Undecided Status: New ** Affects: libcrypt-openssl-pkcs12-perl (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138300 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138300 ** Changed in: libcrypt-openssl-pkcs12-perl (Debian) Remote watch: None => Debian Bug tracker #1138300 ** 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/2154848 Title: libcrypt-openssl-pkcs12-perl: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libcrypt-openssl-pkcs12-perl/+bug/2154848/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
