Bug#835295: qttools5-dev has unmet targets because it doesn't depend on qttools5-dev-tools
Package: qttools5-dev
Version: 5.7.0-1
in qttools5-dev is Qt5Help's cmake config which referneces the target
Qt5::Help which is a binary such as
"/usr/lib/x86_64-linux-gnu/qt5/bin/qcollectiongenerator"
which lives in qttools5-dev-tools. To not have builds fail on
unresolvable targets qttools5-dev ought to depend on
qttools5-dev-tools to have it's binary dependencies met.
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5Help/Qt5HelpConfig.cmake:27
(message):
The imported target "Qt5::Help" references the file
"/usr/lib/x86_64-linux-gnu/qt5/bin/qcollectiongenerator"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/x86_64-linux-gnu/cmake/Qt5Help/Qt5HelpConfigExtras.cmake"
but not all the files it references.
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/Qt5Help/Qt5HelpConfigExtras.cmake:6
(_qt5_Help_check_file_exists)
/usr/lib/x86_64-linux-gnu/cmake/Qt5Help/Qt5HelpConfig.cmake:158 (include)
documentation/CMakeLists.txt:1 (find_package)
From 12e99bd1a56ee7a88623ab631acd966b585b25c4 Mon Sep 17 00:00:00 2001
From: Harald Sitter <sitter@kde.org>
Date: Wed, 24 Aug 2016 12:49:50 +0200
Subject: [PATCH] make qttools5-dev depend on qttools5-dev-tools
qttools5-dev contains cmake files for Qt5Help which has an import target
on Qt5::Help which will point to
/usr/lib/x86_64-linux-gnu/qt5/bin/qcollectiongenerator, which is in
qttools5-dev-tools, which will fail builds if not available since the
target is not full-filled
---
debian/control | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/control b/debian/control
index 96eb216..f797a65 100644
--- a/debian/control
+++ b/debian/control
@@ -90,6 +90,7 @@ Depends: libqt5clucene5 (= ${binary:Version}),
libqt5designercomponents5 (= ${binary:Version}),
libqt5help5 (= ${binary:Version}),
qtbase5-dev,
+ qttools5-dev-tools (= ${binary:Version}),
${misc:Depends}
Description: Qt 5 tools development files
Qt is a cross-platform C++ application framework. Qt's primary feature
--
2.7.4
Reply to: