Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-88281

[REG v6.0.0-beta3 -> dev] configure -recheck and -recheck-all don't work anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 6.0.0 Beta4
    • Build System: CMake

    Description

      Found when building Qt from CI-approved commit 43291fd110 in the dev branch of qt5.git.

      Configuring with -recheck <test> or -recheck-all works correctly for the qmake-based configure but fails for the cmake-based configure (despite still being shown by configure -help) as shown in the following (abridged) shell log.

      $ 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
      $ git clone git://code.qt.io/qt/qt5.git
      ...
      $ cd qt5
      #
      # Switch to old qmake configure
      #
      $ git checkout v6.0.0-beta3
      ...
      $ perl init-repository -f
      ...
      $ ./configure -opensource -developer-build -confirm-license -recheck psql
      ...
      $ echo $?
      0
      $ ./configure -opensource -developer-build -confirm-license -recheck-all
      ...
      $ echo $?
      0
      
      #
      # Switch to new cmake configure
      #
      $ git checkout dev
      ...
      $ perl init-repository -f
      $ git reflog
      43291fd1 (HEAD -> dev, origin/dev, origin/HEAD) HEAD@{0}: clone: from git://code.qt.io/qt/qt5.git
      $ ./configure -help
      ...
        -recheck [test,...] .. Discard cached negative configure test results.
                               Use this after installing missing dependencies.
                               Alternatively, if tests are specified, only their
                               results are discarded.
        -recheck-all ......... Discard all cached configure test results.
      ...
      $ ./configure -opensource -developer-build -confirm-license -recheck psql
      + cd qtbase
      + /home/qt/depot/tmp/qt5/qtbase/configure -top-level -opensource -developer-build -confirm-license -recheck psql
      CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:215 (message):
        Unknown command line option '-recheck'.
      Call Stack (most recent call first):
        qtbase/cmake/QtProcessConfigureArgs.cmake:499 (qtConfAddError)
      
      $ ./configure -opensource -developer-build -confirm-license -recheck-all
      + cd qtbase
      + /home/qt/depot/tmp/qt5/qtbase/configure -top-level -opensource -developer-build -confirm-license -recheck-all
      CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:215 (message):
        Unknown command line option '-recheck-all'.
      Call Stack (most recent call first):
        qtbase/cmake/QtProcessConfigureArgs.cmake:499 (qtConfAddError)
      

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qtbuildsystem Qt Build System Team
            macadder Jason McDonald
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes