Public bug reported:

Imported from Debian bug http://bugs.debian.org/1138355:

Package: rspamd
Version: 4.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:
 
| /usr/bin/cc -DBACKWARD_HAS_BACKTRACE=0 -DBACKWARD_HAS_BACKTRACE_SYMBOL=1 
-DBACKWARD_HAS_BFD=0 -DBACKWARD_HAS_DW=0 -DBACKWARD_HAS_DWARF=0 
-DBACKWARD_HAS_LIBUNWIND=0 -DBACKWARD_HAS_UNWIND=1 
-DDOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS -DDOCTEST_CONFIG_USE_STD_HEADERS 
-DFMT_HEADER_ONLY -DHAVE_CONFIG_H -DLINUX -DSYS_ZSTD -DU_CHARSET_IS_UTF8 
-DZSTD_DISABLE_DEPRECATE_WARNINGS -D_GNU_SOURCE -Drspamd_server_EXPORTS 
-I/build/reproducible-path/rspamd-4.0.1/contrib/hiredis 
-I/build/reproducible-path/rspamd-4.0.1 
-I/build/reproducible-path/rspamd-4.0.1/src 
-I/build/reproducible-path/rspamd-4.0.1/src/libutil 
-I/build/reproducible-path/rspamd-4.0.1/src/libserver 
-I/build/reproducible-path/rspamd-4.0.1/src/libmime 
-I/build/reproducible-path/rspamd-4.0.1/src/libstat 
-I/build/reproducible-path/rspamd-4.0.1/src/libcryptobox 
-I/build/reproducible-path/rspamd-4.0.1/contrib/libucl 
-I/build/reproducible-path/rspamd-4.0.1/contrib/replxx/include 
-I/build/reproducible-path/rspamd-4.0.1/contrib/uthash 
-I/build/reproducible-path/rspamd-4.0.1/contrib/http-parser 
-I/build/reproducible-path/rspamd-4.0.1/contrib/fpconv 
-I/build/reproducible-path/rspamd-4.0.1/contrib/libottery 
-I/build/reproducible-path/rspamd-4.0.1/contrib/cdb 
-I/build/reproducible-path/rspamd-4.0.1/contrib/snowball/include 
-I/build/reproducible-path/rspamd-4.0.1/contrib/librdns 
-I/build/reproducible-path/rspamd-4.0.1/contrib/aho-corasick 
-I/build/reproducible-path/rspamd-4.0.1/contrib/lc-btrie 
-I/build/reproducible-path/rspamd-4.0.1/contrib/lua-lpeg 
-I/build/reproducible-path/rspamd-4.0.1/contrib/frozen/include 
-I/build/reproducible-path/rspamd-4.0.1/contrib/fu2/include 
-I/build/reproducible-path/rspamd-4.0.1/src/libserver/fasttext 
-I/build/reproducible-path/rspamd-4.0.1/build/src 
-I/build/reproducible-path/rspamd-4.0.1/build/src/libcryptobox 
-I/usr/include/luajit-2.1 -I/usr/include/glib-2.0 
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 
-I/usr/include/hs 
-I/build/reproducible-path/rspamd-4.0.1/contrib/simdutf/include 
-I/build/reproducible-path/rspamd-4.0.1/contrib/backward-cpp -g -O2 
-Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/rspamd-4.0.1=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 
-Wdate-time -D_FORTIFY_SOURCE=2 -fdiagnostics-color=always -pthread -O3 
-DNDEBUG -O2 -funsafe-math-optimizations -fno-math-errno -g -ggdb -g3 -ggdb3 
-std=gnu11 -flto=auto -fno-fat-lto-objects -fPIC -msse2 -m64 -Wextra -Wall 
-Wpointer-arith -Wno-unused-parameter -Wno-unused-function -Wunused-variable 
-Wno-pointer-sign -Wstrict-prototypes -Wno-strict-aliasing -fno-strict-aliasing 
-Wnull-dereference -Wduplicated-cond -Wno-unused-const-variable 
-Wno-sign-compare -Wno-implicit-fallthrough -Wmissing-noreturn 
-Wmissing-format-attribute -Werror=return-type -Werror=implicit-int 
-Werror=implicit-function-declaration -Werror=strict-prototypes -fPIC -MD -MT 
src/CMakeFiles/rspamd-server.dir/libmime/mime_parser.c.o -MF 
src/CMakeFiles/rspamd-server.dir/libmime/mime_parser.c.o.d -o 
src/CMakeFiles/rspamd-server.dir/libmime/mime_parser.c.o -c 
/build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c
| /build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c: In function 
‘rspamd_mime_parse_normal_part’:
| /build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c:895:134: 
error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct 
asn1_string_st’}
|   895 |                                                                       
             &ct->type, &ct->subtype, p7_signed_content->d.data->length);
|       |                                                                       
                                                               ^~
| /build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c:119:115: 
note: in definition of macro ‘msg_debug_mime’
|   119 |                                                                       
                                            __VA_ARGS__)
|       |                                                                       
                                            ^~~~~~~~~~~
| In file included from 
/build/reproducible-path/rspamd-4.0.1/src/libutil/addr.h:36,
|                  from 
/build/reproducible-path/rspamd-4.0.1/src/libserver/http/http_context.h:22,
|                  from 
/build/reproducible-path/rspamd-4.0.1/src/libserver/http/http_connection.h:27,
|                  from 
/build/reproducible-path/rspamd-4.0.1/src/libserver/task.h:20,
|                  from 
/build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c:19:
| /build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c:901:147: 
error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct 
asn1_string_st’}
|   901 |                                                                       
                                                   
p7_signed_content->d.data->length);
|       |                                                                       
                                                                            ^~
| /build/reproducible-path/rspamd-4.0.1/src/libutil/mem_pool.h:183:40: note: in 
definition of macro ‘rspamd_mempool_alloc’
|   183 |         rspamd_mempool_alloc_((pool), (size), MIN_MEM_ALIGNMENT, 
(G_STRLOC))
|       |                                        ^~~~
| /build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c:902:94: 
error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct 
asn1_string_st’}
|   902 |                                                         memcpy(cpy, 
p7_signed_content->d.data->data,
|       |                                                                       
                       ^~
| /build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c:903:93: 
error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct 
asn1_string_st’}
|   903 |                                                                    
p7_signed_content->d.data->length);
|       |                                                                       
                      ^~
| /build/reproducible-path/rspamd-4.0.1/src/libmime/mime_parser.c:906:174: 
error: invalid use of incomplete typedef ‘ASN1_OCTET_STRING’ {aka ‘struct 
asn1_string_st’}
|   906 |                                                                       
                                                                   cpy, cpy + 
p7_signed_content->d.data->length,
|       |                                                                       
                                                                                
                       ^~
| ninja: build stopped: subcommand failed.


Full buildlog
        
https://breakpoint.cc/openssl-rebuild/logs-4/attempted/rspamd_4.0.1-1_amd64-2026-04-19T12:10:17Z

Sebastian

** Affects: rspamd (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: rspamd (Debian)
     Importance: Undecided
         Status: New


** Tags: ftbfs openssl-4.0

** Bug watch added: Debian Bug tracker #1138355
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138355

** Changed in: rspamd (Debian)
 Remote watch: None => Debian Bug tracker #1138355

** 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/2154903

Title:
  rspamd: FTBFS with openssl 4.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rspamd/+bug/2154903/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to