Bug#1097917: Patch for sphinxbase: ftbfs with GCC-15

Samuel Thibault sthibault at debian.org
Sat Nov 15 17:50:32 GMT 2025


Hello,

Dominik Viererbe, le ven. 14 nov. 2025 15:41:33 +0200, a ecrit:
> Like the error message already says, the source can not be compiled,
> because it defines the type 'bool' and 'bool' is a keyword with
> '-std=c23' onwards. To fix this we can either remove the typedef or
> check if __STDC_VERSION__ < 202311L, see patch below. I tested this
> patch on Ubuntu resolute.

Yes, I have already pushed such a fix in the tree.

The problem is that the current version in Debian is old and
unmaintained. Migrating to version 5 is already pushed to the
pocketsphinx debian repo, but it also requires fixing the build-deps.
Some have fixed it, some others are not really keen on fixing them, e.g.

https://invent.kde.org/multimedia/subtitlecomposer/-/issues/83

There is also ffmpeg https://trac.ffmpeg.org/ticket/10520#ticket

To move forward we'd probably want to just disable the build-deps in
these packages for now, until upstream fixes the support.

The thing is: I don't have bandwidth to work on these. I'm quite next to
just orphan these package, which I actually don't even know how to test
properly.

Help really welcome on all this from people who actually care about
sphinx.

Samuel



More information about the Pkg-a11y-devel mailing list