Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0 Beta4
-
$ lsb_release -d
Description: openSUSE Leap 15.2
$ uname -a
Linux localhost.localdomain 5.3.18-lp152.47-default #1 SMP Thu Oct 15 16:05:25 UTC 2020 (41f7396) x86_64 x86_64 x86_64 GNU/Linux
-
-
c4f5762b20dc20bab3cc62e9166d0e5b36e21cc6 (qt/qtbase/dev) ebd4d0cbf4274f456930da49f634d3fd465c92d4 (qt/qtbase/6.1)
Description
Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.
(This issue is similar, but not identical to the one raised in QTBUG-88282.)
When asking the old qmake-based configure to enable certain features that aren't supported on Linux, configure outputs a somewhat informative message and terminates normally.
$ git clone git://code.qt.io/qt/qt5.git ... $ cd qt5 $ git checkout v6.0.0-beta3 $ perl init-repository -f ... $ ./configure -opensource -confirm-license -recheck-all -plugin-manifests -static-runtime -pps -lgmon ... WARNING: Feature plugin-manifests is insignificant in this configuration, ignoring related command line option(s). WARNING: Feature static_runtime is insignificant in this configuration, ignoring related command line option(s). WARNING: Feature qqnx_pps is insignificant in this configuration, ignoring related command line option(s). WARNING: Feature lgmon is insignificant in this configuration, ignoring related command line option(s). ...
Specifying any one of those features with the new cmake-based confgiure causes it to crash with a message that is not particularly informative.
$ git clone git://code.qt.io/qt/qt5.git ... $ cd qt5 $ git reflog 43291fd1 (HEAD -> dev, origin/dev, origin/HEAD) HEAD@{0}: clone: from git://code.qt.io/qt/qt5.git $ perl init-repository -f ... $ ./configure -plugin-manifests ... CMake Error at qtbase/cmake/QtFeature.cmake:185 (message): Sanity check failed: FEATURE_plugin_manifests that was not emitted was found in the CMakeCache. Call Stack (most recent call first): qtbase/cmake/QtFeature.cmake:284 (qt_feature_set_cache_value) qtbase/cmake/QtFeature.cmake:471 (qt_evaluate_feature) qtbase/cmake/QtBaseGlobalTargets.cmake:103 (qt_feature_module_end) qtbase/CMakeLists.txt:82 (include)
Attachments
Issue Links
- resulted in
-
QTBUG-94921 Feature poll_select is already defined to be "ON" and should now be set to "OFF" when importing features from Qt6::Core.
- Closed