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

Configuring fails on Manjaro Linux

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.4
    • Fix Version/s: 6.2.5, 6.4.0 Beta1
    • Component/s: Build System: CMake
    • Labels:
      None
    • Environment:
      Manjaro Linux
      cmake 3.23.1
    • Commits:
      6409f2f41d (qt/qtbase/6.4) 6409f2f41d (qt/tqtc-qtbase/6.4) 30d39ff91d (qt/tqtc-qtbase/6.2) a7f94e8c6a (qt/qtbase/6.3)

      Description

      1. Clone qt with submodule qtbase:
        git clone git://code.qt.io/qt/qt5.git
        cd qt5/
        perl init-repository --module-subset=qtbase
        
      2. Configure these sources:
        /tmp/qt5/configure -opensource -confirm-license -prefix $PWD/qtbase
        

        In case that matters, I used an empty shadow build directory.
        Configuring fails:

        -- Configuring done
        CMake Error at qtbase/cmake/FindWrapSystemHarfbuzz.cmake:56 (target_link_libraries):
          The link interface of target "WrapSystemHarfbuzz::WrapSystemHarfbuzz"
          contains:
        
            PkgConfig::PC_HARFBUZZ
        
          but the target was not found.  Possible reasons include:
        
            * There is a typo in the target name.
            * A find_package call is missing for an IMPORTED target.
            * An ALIAS target is missing.
        
        Call Stack (most recent call first):
          qtbase/cmake/QtFindPackageHelpers.cmake:130 (find_package)
          qtbase/src/gui/configure.cmake:45 (qt_find_package)
          qtbase/cmake/QtFeature.cmake:573 (include)
          qtbase/src/CMakeLists.txt:12 (qt_feature_evaluate_features)
        
        
        -- Generating done
        CMake Generate step failed.  Build files cannot be regenerated correctly.
        CMake Error at /tmp/qt5/qtbase/cmake/QtProcessConfigureArgs.cmake:965 (message):
          CMake exited with code 1.
        

        Attachments

        1. log.7z
          1.67 MB
        2. FindPkgConfig.cmake
          36 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: