From 624edb4460ccd6211cd71bde1f850810c3f3fa1d Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 19 Dec 2023 10:05:49 -0500 Subject: dev-qt/qttools: disable clang test with USE=-clang Normally harmless (tries to find it, either does or not and will not use it either way), but if the cmake files are in broken state then it can abort entirely. Unsure if it fully resolves bug #916098 (for portage, ideally these should still be updated "together" as much as possible), but at least should not trigger on qttools anymore for those not enabling clang (tested by intentionally breaking llvm's cmake files). Closes: https://bugs.gentoo.org/916098 Signed-off-by: Ionen Wolkens --- dev-qt/qttools/qttools-6.6.1.ebuild | 2 ++ dev-qt/qttools/qttools-6.6.9999.ebuild | 2 ++ dev-qt/qttools/qttools-6.7.9999.ebuild | 2 ++ dev-qt/qttools/qttools-6.9999.ebuild | 2 ++ 4 files changed, 8 insertions(+) (limited to 'dev-qt') diff --git a/dev-qt/qttools/qttools-6.6.1.ebuild b/dev-qt/qttools/qttools-6.6.1.ebuild index d5c8a41dc777..ef4f14675dbd 100644 --- a/dev-qt/qttools/qttools-6.6.1.ebuild +++ b/dev-qt/qttools/qttools-6.6.1.ebuild @@ -62,6 +62,8 @@ pkg_setup() { src_configure() { local mycmakeargs=( + # prevent the clang test as it can abort due to bug #916098 + $(cmake_use_find_package clang WrapLibClang) $(cmake_use_find_package qml Qt6Qml) $(cmake_use_find_package widgets Qt6Widgets) $(qt_feature assistant) diff --git a/dev-qt/qttools/qttools-6.6.9999.ebuild b/dev-qt/qttools/qttools-6.6.9999.ebuild index 8966bdc9123b..11611e815135 100644 --- a/dev-qt/qttools/qttools-6.6.9999.ebuild +++ b/dev-qt/qttools/qttools-6.6.9999.ebuild @@ -62,6 +62,8 @@ pkg_setup() { src_configure() { local mycmakeargs=( + # prevent the clang test as it can abort due to bug #916098 + $(cmake_use_find_package clang WrapLibClang) $(cmake_use_find_package qml Qt6Qml) $(cmake_use_find_package widgets Qt6Widgets) $(qt_feature assistant) diff --git a/dev-qt/qttools/qttools-6.7.9999.ebuild b/dev-qt/qttools/qttools-6.7.9999.ebuild index c171114332af..37d743692e22 100644 --- a/dev-qt/qttools/qttools-6.7.9999.ebuild +++ b/dev-qt/qttools/qttools-6.7.9999.ebuild @@ -66,6 +66,8 @@ pkg_setup() { src_configure() { local mycmakeargs=( + # prevent the clang test as it can abort due to bug #916098 + $(cmake_use_find_package clang WrapLibClang) $(cmake_use_find_package qml Qt6Qml) $(cmake_use_find_package widgets Qt6Widgets) $(qt_feature assistant) diff --git a/dev-qt/qttools/qttools-6.9999.ebuild b/dev-qt/qttools/qttools-6.9999.ebuild index c171114332af..37d743692e22 100644 --- a/dev-qt/qttools/qttools-6.9999.ebuild +++ b/dev-qt/qttools/qttools-6.9999.ebuild @@ -66,6 +66,8 @@ pkg_setup() { src_configure() { local mycmakeargs=( + # prevent the clang test as it can abort due to bug #916098 + $(cmake_use_find_package clang WrapLibClang) $(cmake_use_find_package qml Qt6Qml) $(cmake_use_find_package widgets Qt6Widgets) $(qt_feature assistant) -- cgit v1.2.3-65-gdbad