[From nobody Thu Jun 18 22:19:04 2026
Received: (at submit) by bugs.debian.org; 30 May 2026 15:54:33 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-28.0 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_CONTROL_AFFECTS,BODY_INCLUDES_PACKAGE,DKIM_SIGNED,
 DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,HAS_PACKAGE,
 RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,X_DEBBUGS_CC autolearn=ham
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 150; neutral, 66; spammy,
 0. spammytokens: hammytokens:0.000-+--Wdatetime, 0.000-+--wdatetime,
 0.000-+--wdate-time, 0.000-+--Wdate-time, 0.000-+--fPIC
Return-path: &lt;sebastian@breakpoint.cc&gt;
Received: from chamillionaire.breakpoint.cc ([91.216.245.30]:32868)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sebastian@breakpoint.cc&gt;)
 id 1wTM1B-002C1g-1H for submit@bugs.debian.org;
 Sat, 30 May 2026 15:54:33 +0000
Date: Sat, 30 May 2026 17:54:31 +0200
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025; t=1780156471;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=cl9P6+1kKP5nPvAJIyMB7hF8vC5bifSIAPYthB/LcdI=;
 b=FBGuR3HLt3j6DR7mFgtZqKxX32vYmaJrxDPod35zqsabSHNVu8PiSRjS1qPtjSBJqkqp7M
 iRJFJaf7NtenYLAE0EdrqadYkiMxBnntEgjqzUk6h5+wWXt+0NT61qgMmGERdTIJjq/ZX4
 LA0LaDwpIrNXRZtvjuKwn53m+caKxBT1g6R6oiNpoNR+TVJLpO2SpqRBnjh8zJV1RxZ8lK
 uRbfu/LyAsVSsvzNGIqAyrBEceHStme5YS2uVG7eE8zVsYC1Rbk0IsMOT93Zv59aBOfH/P
 wwjiHx5Lt8xSV+Ru7a/dPOkI6pRUEYpFvACq8NGorrOW78FD5fWSavbzVmXx/g==
DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=breakpoint.cc;
 s=2025e; t=1780156471;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=cl9P6+1kKP5nPvAJIyMB7hF8vC5bifSIAPYthB/LcdI=;
 b=oStAfZNr3ZTWMx9rSaGtquhxmIXVHJs3PpLUS/GouFCkrkCe/0A1QUsOCnC115M1Ys0m6M
 Zvr029hEq1FxHyBw==
From: Sebastian Andrzej Siewior &lt;sebastian@breakpoint.cc&gt;
To: submit@bugs.debian.org
Subject: strongswan: FTBFS with openssl 4.0
Message-ID: &lt;20260530155431.OXLFYV91@breakpoint.cc&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Debbugs-CC: pkg-openssl-devel@alioth-lists.debian.net
Delivered-To: submit@bugs.debian.org

Package: strongswan
Version: 6.0.5-1
Severity: normal
Tags: sid
control: affects -1 src:openssl
User: pkg-openssl-devel@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-&gt;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(&amp;chunk, time-&gt;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
]