[Pkg-swan-devel] Bug#1147712: Bug#1147712: strongswan: FTBFS with GCC 16: custom printf specifier %B rejected because -Wno-format is overridden

Paul Menzel pmenzel at molgen.mpg.de
Mon Sep 14 22:32:51 BST 2026


Control: forwarded -1 https://github.com/strongswan/strongswan/issues/3145

Dear Yves-Alexis,


Thank you for your quick response.

Am 14.09.26 um 21:45 schrieb Yves-Alexis Perez:
> control: severity -1 wishlist
> control: tag -1 wontfix
> 
> On Mon, 2026-09-14 at 18:58 +0200, Santiago Vila wrote:
>>> The warnings are also present in your log. No idea, how to proceed.
>>
>> You don't have to do anything else. The maintainer (which I'm not) will
>> decide if they want to support build from git checkout or not for this
>> particular package.
>>
>> (I just downgraded the bug because this category of bugs is not
>> considered to be release-critical).
> 
> I'm not comfortable disabling this part of upstream checks. You might want to
> reach them to check if those could be overridden.

What checks do you mean exactly, that would get disabled? Upstream’s 
configure explicitly adds `-Wno-format` [1]:

     # disable some warnings, whether explicitly enabled above or by default
     # these are not compatible with our custom printf specifiers
     WARN_CFLAGS="$WARN_CFLAGS -Wno-format"
     WARN_CFLAGS="$WARN_CFLAGS -Wno-format-security"

> Meanwhile, maybe try to build with a clean tree built from dpkg-source? I
> build using git-buildpackage and pbuilder and it does work fine here.

I don’t know these two tools, so can’t say, if they create a dedicated 
build environment, so no `.git` directory is there.

Is the analysis missing anything? (In the original report the real 
reason, the existence of `.git` directory, was not stated.


Kind regards,

Paul


[1]: 
https://github.com/strongswan/strongswan/blob/78937d2190656f175599411c14be5ecbeb2c2c02/configure.ac#L1408-L1411



More information about the Pkg-swan-devel mailing list