Public bug reported: Imported from Debian bug http://bugs.debian.org/1138472:
Package: yara Version: 4.5.5-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 -DPACKAGE_NAME=\"yara\" -DPACKAGE_TARNAME=\"yara\" -DPACKAGE_VERSION=\"4.5.5\" "-DPACKAGE_STRING=\"yara 4.5.5\"" -DPACKAGE_BUGREPORT=\"[email protected]\" -DPACKAGE_URL=\"\" -DPACKAGE=\"yara\" -DVERSION=\"4.5.5\" -DYYTEXT_POINTER=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_MEMMEM=1 -DHAVE_TIMEGM=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_STDBOOL_H=1 -DHAVE_OPENSSL_EVP_H=1 -DHAVE_OPENSSL_ASN1_H=1 -DHAVE_OPENSSL_CRYPTO_H=1 -DHAVE_OPENSSL_BIO_H=1 -DHAVE_OPENSSL_PKCS7_H=1 -DHAVE_OPENSSL_X509_H=1 -DHAVE_OPENSSL_SAFESTACK_H=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBCRYPTO=1 -DHAVE_SCAN_PROC_IMPL=1 -I. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -D_GNU_SOURCE -I./libyara/include -O3 -fvisibility=hidden -I./libyara -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/yara-4.5.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -DUSE_LINUX_PROC -DDOTNET_MODULE -DHASH_MODULE -DBUCKETS_128=1 -DCHECKSUM_1B=1 -c libyara/modules/pe/authenticode-parser/authenticode.c -fPIC -DPIC -o libyara/modules/pe/authenticode-parser/.libs/la-authenticode.o | libyara/modules/pe/authenticode-parser/authenticode.c: In function 'get_content': | libyara/modules/pe/authenticode-parser/authenticode.c:81:47: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 81 | int len = content->d.other->value.sequence->length; | | ^~ | libyara/modules/pe/authenticode-parser/authenticode.c:82:59: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 82 | const uint8_t* data = content->d.other->value.sequence->data; | | ^~ | libyara/modules/pe/authenticode-parser/authenticode.c: In function 'parse_program_name': | libyara/modules/pe/authenticode-parser/authenticode.c:91:53: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 91 | const uint8_t* spcData = spcAttr->value.sequence->data; | | ^~ | libyara/modules/pe/authenticode-parser/authenticode.c:92:41: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 92 | int spcLen = spcAttr->value.sequence->length; | | ^~ | libyara/modules/pe/authenticode-parser/authenticode.c: In function 'parse_nested_authenticode': | libyara/modules/pe/authenticode-parser/authenticode.c:131:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] | 131 | ASN1_TYPE* nested = X509_ATTRIBUTE_get0_type(attr, i); | | ^~~~~~~~~~~~~~~~~~~~~~~~ | libyara/modules/pe/authenticode-parser/authenticode.c:134:41: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 134 | int len = nested->value.sequence->length; | | ^~ | libyara/modules/pe/authenticode-parser/authenticode.c:135:53: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 135 | const uint8_t* data = nested->value.sequence->data; | | ^~ | libyara/modules/pe/authenticode-parser/authenticode.c: In function 'parse_pkcs9_countersig': | libyara/modules/pe/authenticode-parser/authenticode.c:162:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] | 162 | ASN1_TYPE* nested = X509_ATTRIBUTE_get0_type(attr, i); | | ^~~~~~~~~~~~~~~~~~~~~~~~ | libyara/modules/pe/authenticode-parser/authenticode.c:165:41: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 165 | int len = nested->value.sequence->length; | | ^~ | libyara/modules/pe/authenticode-parser/authenticode.c:166:53: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 166 | const uint8_t* data = nested->value.sequence->data; | | ^~ | libyara/modules/pe/authenticode-parser/authenticode.c: In function 'parse_ms_countersig': | libyara/modules/pe/authenticode-parser/authenticode.c:193:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] | 193 | ASN1_TYPE* nested = X509_ATTRIBUTE_get0_type(attr, i); | | ^~~~~~~~~~~~~~~~~~~~~~~~ | libyara/modules/pe/authenticode-parser/authenticode.c:196:41: error: invalid use of incomplete typedef 'ASN1_STRING' {aka 'struct asn1_string_st'} | 196 | int len = nested->value.sequence->length; | | ^~ … Full buildlog https://breakpoint.cc/openssl-rebuild/logs-4/attempted/yara_4.5.5-1_amd64-2026-04-19T09:22:10Z Sebastian ** Affects: yara (Ubuntu) Importance: Undecided Status: New ** Affects: yara (Debian) Importance: Undecided Status: New ** Tags: ftbfs openssl-4.0 ** Bug watch added: Debian Bug tracker #1138472 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138472 ** Changed in: yara (Debian) Remote watch: None => Debian Bug tracker #1138472 ** 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/2155024 Title: yara: FTBFS with openssl 4.0 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/yara/+bug/2155024/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
