Public bug reported: Imported from Debian bug http://bugs.debian.org/1138382:
Package: libclamunrar Version: 1.3.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: | /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c: In function ‘cl_ASN1_GetTimeT’: | /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c:1064:32: error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘struct asn1_string_st’} | 1064 | if (!(timeobj) || !(timeobj->data)) | | ^~ | /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c:1067:27: error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘struct asn1_string_st’} | 1067 | str = (char *)(timeobj->data); | | ^~ | /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c:1075:16: error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘struct asn1_string_st’} | 1075 | if (timeobj->type == V_ASN1_UTCTIME) { | | ^~ | /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c:1084:23: error: invalid use of incomplete typedef ‘ASN1_TIME’ {aka ‘struct asn1_string_st’} | 1084 | } else if (timeobj->type == V_ASN1_GENERALIZEDTIME) { | | ^~ | /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c: In function ‘cl_load_crl’: | /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c:1137:9: warning: ‘X509_cmp_current_time’ is deprecated: Since OpenSSL 4.0 [-Wdeprecated-declarations] | 1137 | if (!tme || X509_cmp_current_time(tme) < 0) { | | ^~ | In file included from /usr/include/openssl/ssl.h:34, | from /build/reproducible-path/libclamunrar-1.3.1/libclamav/clamav.h:31, | from /build/reproducible-path/libclamunrar-1.3.1/libclamav/crypto.c:64: | /usr/include/openssl/x509.h:694:27: note: declared here | 694 | OSSL_DEPRECATEDIN_4_0 int X509_cmp_current_time(const ASN1_TIME *s); | | ^~~~~~~~~~~~~~~~~~~~~ | make[3]: *** [libclamav/CMakeFiles/clamav.dir/build.make:502: libclamav/CMakeFiles/clamav.dir/crypto.c.o] Error 1 Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/libclamunrar_1.3.1-1_amd64-2026-04-19T08:46:07Z Sebastian ** Affects: libclamunrar (Ubuntu) Importance: Undecided Status: New ** Affects: libclamunrar (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138382 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138382 ** Changed in: libclamunrar (Debian) Remote watch: None => Debian Bug tracker #1138382 ** 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/2154930 Title: libclamunrar: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libclamunrar/+bug/2154930/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
