On 06/06/2024 18:17, Dmitry Shachnev wrote:
Hi Emilio!
On Thu, Jun 06, 2024 at 09:58:19AM +0200, Emilio Pozuelo Monfort wrote:
Source: qttools-opensource-src
Version: 5.15.8-2
Severity: important
Hi,
qttools-opensource-src is building with LLVM 15, which is going to be
removed soon. Please switch to a newer version (such as 17), or ideally
use the default version, which may be more suitable/stable these days.
Unfortunately, qttools fails to build with newer LLVM, some qdoc-related tests
fail [1]. In particular, it misinterprets typedefs as structs, as can be seen
in the build log [2].
Upstream Qt 6 had a series of patches to fix build with LLVM 16/17, see the
linked Gerrit Reviews in this bug [3]. However, most of these patches fail to
apply cleanly to 5.15 branch, and based on patch descriptions I could not
identify the patch which would fix these particular test failures.
So I either need a help from LLVM expert who would explain this test failure,
or we can ignore these tests, or we can drop qdoc in 5.15. The last option
would mean dropping documentation for all of Qt 5, and also fixing at least
kuserfeedback and quickflux. It is hard to identify the complete set of
affected packages, because some packages can depend on qdoc-qt5 indirectly via
qttools5-dev-tools. Maybe the set of affected packages will become smaller
once Qt6-based KDE stack lands in unstable.
I'm not sure what's the best way forward. If it's only the tests that break, or
if the doc output is only affected in a minor way, obviously disabling those
tests is a reasonable option. Might be better than removing qdoc-qt5 entirely.
Cheers,
Emilio