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

[REG 6.8.0 -> 6.8.1] Cannot configure qtbase if directory contains "++"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.8.2, 6.9.0 FF
    • 6.8.1
    • Build System: CMake
    • None
    • Ubuntu 22.04 LTS
    • 9cb0d48aa (dev), cdd257c67 (6.8)

      1. Clone qt5.git:
        git clone -b v6.8.1 git://code.qt.io/qt/qt5.git
        
      2. Initialize qtbase:
        cd qt5/
        perl init-repository --module-subset=qtbase
        
      3. Try configuring Qt in a directory named after the used compiler:
        mkdir ../g++
        cd !$
        ../qt5/configure -release -prefix $PWD/qtbase -opensource -confirm-license
        

        That fails:

        -- [QtBase] CMAKE_BUILD_TYPE was already explicitly set to: 'Release'
        RegularExpression::compile(): Nested *?+.
        RegularExpression::compile(): Error in compile.
        CMake Error at qtbase/cmake/QtPublicSbomHelpers.cmake:1531 (elseif):
          given arguments:
        
            "path" "MATCHES" "^/tmp/qt/g++/qtbase/"
        
          Regular expression "^/tmp/qt/g++/qtbase/" cannot compile
        

      This used to work correctly in Qt 6.8.0.

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

            qtbuildsystem Qt Build System Team
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes