Public bug reported:

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

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

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

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

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

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

** Changed in: strongswan (Debian)
 Remote watch: None => Debian Bug tracker #1138328

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154875

Title:
  strongswan: FTBFS with openssl 4.0

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


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

Reply via email to