[Bug 287430] devel/qt6-tools: fail to package: qdoc:No such file or directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 11 00:27:01 BST 2025


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287430

--- Comment #4 from Jason E. Hale <jhale at FreeBSD.org> ---
(In reply to Chad Jacob Milios from comment #3)
I see what the problem is in your case and hopefully that is also Ivan’s
problem, because it should be a relatively simple fix.

The problem is FindWrapLibClang.cmake [1] iterates over
QDOC_SUPPORTED_CLANG_VERSIONS defined in .cmake.conf [2] and selects the newest
version it finds. This will fail if a user has a newer version of llvm
installed than the version set in DEFAULT_VERSIONS.

One solution would be to define QDOC_SUPPORTED_CLANG_VERSIONS to LLVM_VERSION
with a little extra logic to also supply the minor version.

[1]
https://code.qt.io/cgit/qt/qttools.git/tree/cmake/FindWrapLibClang.cmake?h=6.9.1
[2] https://code.qt.io/cgit/qt/qttools.git/tree/.cmake.conf?h=6.9.1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list