Bug#1140354: libcrypt-smime-perl: FTBFS with openssl 4.0
Sebastian Andrzej Siewior
sebastian at breakpoint.cc
Thu Jun 18 22:37:26 BST 2026
Package: libcrypt-smime-perl
Version: 0.33-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel at lists.alioth.debian.org
Usertags: openssl-4.0
OpenSSL 4.0 is in experimental. This package fails to build against it:
| x86_64-linux-gnu-gcc -c -DOPENSSL_LOAD_CONF -DHAVE_GETTIMEOFDAY -DHAVE_SYS_TIME_H -DHAVE_TIME -DHAVE_TIME_H -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-smime-perl-0.33=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"0.33\" -DXS_VERSION=\"0.33\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.40/CORE" SMIME.c
| SMIME.xs: In function ‘CMS_get_smimecaps’:
| SMIME.xs:439:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
| 439 | cap = X509_ATTRIBUTE_get0_type(attr, 0);
| | ^
| SMIME.xs:442:28: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 442 | p = cap->value.sequence->data;
| | ^~
| SMIME.xs:444:52: error: invalid use of incomplete typedef ‘ASN1_STRING’ {aka ‘struct asn1_string_st’}
| 444 | ASN1_item_d2i(NULL, &p, cap->value.sequence->length, ASN1_ITEM_rptr(X509_ALGORS));
| | ^~
| make[1]: *** [Makefile:366: SMIME.o] Error 1
Full buildlog
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/libcrypt-smime-perl_0.33-1_amd64-2026-06-16T23:43:52Z
Sebastian
More information about the pkg-perl-maintainers
mailing list