[Bug 287430] devel/qt6-tools: fail to package: qdoc:No such file or directory
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 10 22:51:56 BST 2025
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287430
Chad Jacob Milios <milios at ccsys.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |milios at ccsys.com
--- Comment #2 from Chad Jacob Milios <milios at ccsys.com> ---
(In reply to Jason E. Hale from comment #1)
me too same error, same config summary, after the 6.9.1 update today. i'm on
13.5-RELEASE/amd64
root at Rick:/usr/ports/devel/qt6-tools # make -DBATCH -VLLVM_PREFIX
/usr/local/llvm19
root at Rick:/usr/ports/devel/qt6-tools # more /etc/make.conf
DEFAULT_VERSIONS= bdb=18 gcc=14 go=1.24 guile=3.0 java=24 linux=rl9 llvm=19
mono=6.8 mysql=9.1 nodejs=24 perl5=5.40 pgsql=17 php=8.4 python=3.11 ruby=3.4
samba=4.20 ssl=openssl34 tcltk=9.0 varnish=7
root at Rick:/usr/ports/devel/qt6-tools # ls /usr/local/llvm19/lib/cmake/clang/
AddClang.cmake ClangConfigVersion.cmake
ClangTargets.cmake
ClangConfig.cmake ClangTargets-release.cmake
furthermore configure target had said:
WARNING:
QDoc will not be compiled, probably because clang's C and C++ libraries could
not be located.
This means that you cannot build the Qt documentation. You may need to set the
CMake variables
CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm
installation.
Other than clang's libraries, you may need to install another package, such as
clang itself, to
provide the ClangConfig.cmake file needed to detect your libraries. Once this
file is in place,
the configure script may be able to detect your system-installed libraries
without further
environment variables.
NOTE: You WILL also need to set the FEATURE_clang CMake variable to ON to
re-try finding the
dependencies.
On macOS, you can use Homebrew's llvm package.
Run `brew install llvm` and then configure with
`configure LLVM_INSTALL_DIR=/opt/homebrew/opt/llvm FEATURE_clang=ON` for macOS
arm64
or
`configure LLVM_INSTALL_DIR=/usr/local/opt/llvm FEATURE_clang_ON` for macOS
x86_64.
On Linux, you can try installing the clang package from your distribution's
package manager.
On Debian / Ubuntu run `sudo apt install libclang-dev`.
On Fedora / RHEL run `sudo dnf install clang-devel`.
On ArchLinux run `sudo pacman -S clang llvm`.
Alternatively, you can use the prebuilt binaries hosted by Qt.
These let you link LLVM/Clang libraries statically, but only support Release
builds on Windows.
https://download.qt.io/development_releases/prebuilt/libclang/qt/
After installing, reconfigure with
`/qt_src/configure FEATURE_clang=ON` for a top-level build that includes the
qttools repo
or
`/qt_build/qt-configure-module /path/to/qttools FEATURE_clang=ON` for a
per-submodule build
WARNING: QDoc will not be compiled because it requires libclang 17 or newer.
WARNING: The Clang-based lupdate parser will not be available. Suitable LLVM
and Clang C++ libraries have not been found. You will need to set the
FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list