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

ubuntu-24.04-x64-developer-build: Part of the build is using qmake and ignores SCCACHE settings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.11
    • Build System
    • None
    • b8f1fd5ef (6.10), f48e37834 (6.10), eb8176aff (6.10), 490fa0658 (6.10), 89023dd7b (6.9), 3b2594a3f (tqtc/lts-6.8), 673559ea6 (6.9), 6429412fb (6.9), 847980711 (6.9), 08dc49f87 (tqtc/lts-6.8), 5fa30b88c (tqtc/lts-6.8), a3c3388ed (tqtc/lts-6.8)

      Example log here: https://coin.ci.qt.io/coin/api/log/qt/qtbase/da192a106d7d7c3592a0d870aa0ce1b5745ad0cf/LinuxUbuntu_24_04x86_64LinuxUbuntu_24_04x86_64GCCqtci-linux-Ubuntu-24.04-x86_64-50-e6ce5aSccache_StandaloneExamples_UseConfigure/21b3338771432fea61cb776b100aff2bc8252df5/build_1755130436/log.txt.gz

      The build goes fast up to a point, and then it starts a second build with qmake and then make. This is much slower:

      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 109 of 288 - EnvironmentVariable
      agent:2025/08/13 18:24:00 build.go:521: set COIN_QMAKE_LOCATION=/home/qt/work/install/bin/qmake
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 110 of 288 - ChangeDirectory
      agent:2025/08/13 18:24:00 build.go:890: cd  /home/qt/work/qt/qtbase
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 111 of 288 - MakeDirectory
      agent:2025/08/13 18:24:00 build.go:897: mkdir  /home/qt/work/qt/qtbase_qmake/examples
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 112 of 288 - SetBuildDirectory
      agent:2025/08/13 18:24:00 build.go:1087: Setting build directory to /home/qt/work/qt/qtbase_qmake/examples
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 113 of 288 - ChangeDirectory
      agent:2025/08/13 18:24:00 build.go:890: cd  /home/qt/work/qt/qtbase_qmake/examples
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 114 of 288 - EnvironmentVariable
      agent:2025/08/13 18:24:00 build.go:521: set COIN_EXAMPLES_SOURCE_LOCATION=/home/qt/work/qt/qtbase/examples
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 115 of 288 - EnvironmentVariable
      agent:2025/08/13 18:24:00 build.go:523: unset CALL_MAKE_ENV_PREFIX
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 117 of 288 - ExecuteCommand
      agent:2025/08/13 18:24:00 build.go:435: [cmake --trace-expand -DPRO_FILE=/home/qt/work/qt/qtbase/examples/examples.pro -P /home/qt/work/install/libexec/ensure_pro_file.cmake] 20s 20s false false
      agent:2025/08/13 18:24:00 build.go:412: /home/qt/work/install/libexec/ensure_pro_file.cmake(11):  if(NOT EXISTS /home/qt/work/qt/qtbase/examples/examples.pro )Put cmake in trace mode, but with variables expanded.
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 118 of 288 - ExecuteCommand
      agent:2025/08/13 18:24:00 build.go:435: [/home/qt/work/install/bin/qmake /home/qt/work/qt/qtbase/examples] 1h40m0s 20m0s false false
      agent:2025/08/13 18:24:00 build.go:412: Info: creating stash file /home/qt/work/qt/qtbase_qmake/examples/.qmake.stash
      agent:2025/08/13 18:24:00 build.go:859: 
      agent:2025/08/13 18:24:00 build.go:860: Executing instruction 119 of 288 - ExecuteCommand
      agent:2025/08/13 18:24:00 build.go:435: [make] 1h40m0s 20m0s false false
      

      What is it doing and why? And why was qmake chosen?
      If qmake is really needed here, then compatibility with sccache would speed things up a lot.

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

            alexandru.croitor Alexandru Croitor
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: