On recent CURRENT (FreeBSD 15.0-CURRENT #54 main-n270951-8aa9192ce98a: Tue Jun 25 21:02:24 CEST 2024 amd64) compiling/updating port devel/qt6-base fails via portmaster with the error: [...] -- Checking for module 'libudev' -- Found libudev, version 243 -- Promoting target to global: 'PkgConfig::Libudev' CMake Error at /usr/local/share/cmake/Modules/FindLTTngUST.cmake:86 (set_target_properties): set_target_properties called with incorrect number of arguments. Call Stack (most recent call first): cmake/QtFindPackageHelpers.cmake:156 (find_package) configure.cmake:127 (qt_find_package) cmake/QtBaseGlobalTargets.cmake:82 (include) cmake/QtBaseHelpers.cmake:170 (include) CMakeLists.txt:32 (qt_internal_qtbase_build_repo) -- Found LTTngUST: /usr/local/lib/liblttng-ust.so (found version "2.13.2") -- Promoting target to global: 'LTTng::UST' -- Performing Test TEST_use_bfd_linker -- Performing Test TEST_use_bfd_linker - Success [...]
I've confirmed that if sysutils/lttng-ust is installed on a live system, configure of devel/qt6-base fails. Building the Qt6 stack on live systems is highly discouraged and am thus demoting the Importance, but I still sort of get it. Disabling CMake detection of LTTngUST will be implemented to remedy the immediate situation.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=987fd995a979e7dd62be780aa3fb665a874d1b28 commit 987fd995a979e7dd62be780aa3fb665a874d1b28 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2024-06-29 07:32:55 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2024-06-29 07:41:49 +0000 devel/qt6-base: Fix configure on live systems Configure will fail on live systems that have sysutils/lttng-ust installed. Disable detection of LTTngUST to remedy this in the meantime. I don't think we really need this, though, and it's probably best not to rely on an unmaintained port. PR: 280007 Reported by: O. Hartmann <ohartmann@walstatt.org> devel/qt6-base/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)