Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.0.0 Beta4
-
None
-
$ 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
Description
Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.
I do not have ccache installed in my environment. The old qmake-based configure correctly autodetects the lack of ccache and disables it, while the new cmake-based configure appears to erroneously enable ccache.
$ rpm -q ccache package ccache is not installed $ 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 ... Build options: ... Using ccache ........................... no ... $ git checkout dev $ 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 ... Build options: ... Using ccache ........................... yes ...
If I try to forcibly enable ccache for the old configure, it correctly refuses:
$ ./configure -opensource -confirm-license -ccache ... ERROR: Feature 'ccache' was enabled, but the pre-condition 'tests.ccache' failed.
If I pass }}{{-ccache to the new configure it does not complain, so perhaps configure's test for ccache is now broken.