[Pkg-openssl-devel] Bug#1138328: strongswan: FTBFS with openssl 4.0

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Sat May 30 16:54:31 BST 2026


Package: strongswan
Version: 6.0.5-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:

| /bin/bash ../../../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../..  -I../../../../src/libstrongswan -DFIPS_MODE=0  -Wdate-time -D_FORTIFY_SOURCE=2 -rdynamic -Wno-format -Wno-format-security -Wno-implicit-fallthrough -Wno-missing-field-initializers -Wno-pointer-sign -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/strongswan-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -include /build/reproducible-path/strongswan-6.0.5/config.h -c -o openssl_util.lo openssl_util.c
| libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../src/libstrongswan -DFIPS_MODE=0 -Wdate-time -D_FORTIFY_SOURCE=2 -rdynamic -Wno-format -Wno-format-security -Wno-implicit-fallthrough -Wno-missing-field-initializers -Wno-pointer-sign -Wno-sign-compare -Wno-type-limits -Wno-unused-parameter -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/strongswan-6.0.5=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -include /build/reproducible-path/strongswan-6.0.5/config.h -c openssl_util.c  -fPIC -DPIC -o .libs/openssl_util.o
| openssl_util.c: In function 'openssl_asn1_to_time':
| openssl_util.c:338:29: error: invalid use of incomplete typedef 'ASN1_TIME' {aka 'const struct asn1_string_st'}
|   338 |                 switch (time->type)
|       |                             ^~
| openssl_util.c:342:65: error: invalid use of incomplete typedef 'ASN1_TIME' {aka 'const struct asn1_string_st'}
|   342 |                                 return asn1_to_time(&chunk, time->type);
|       |                                                                 ^~
| make[6]: *** [Makefile:677: openssl_util.lo] Error 1
| make[6]: Leaving directory '/build/reproducible-path/strongswan-6.0.5/src/libstrongswan/plugins/openssl'


Full buildlog
 	https://breakpoint.cc/openssl-rebuild/logs-4/attempted/strongswan_6.0.5-1_amd64-2026-04-19T08:49:36Z

Sebastian



More information about the Pkg-openssl-devel mailing list