Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26612

CMake cancel build doesn't really cancel the build

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      102d5fe46c54a01ba2d1d6cff4176699ac919a02 (qt-creator/qt-creator/6.0)

      Description

      If I click on the "Cancel build" of a CMake project I get the following:

      13:06:23: The process "C:\Tools\cmake\bin\cmake.exe" crashed.
      13:06:23: Canceled build/deployment.
      13:06:23: Elapsed time: 00:15. 

      But in background ninja is running happily. If I click "Build" a new instance of ninja will start, and if I try to run CMake I'll get:

       CMake Error:
        Running
      
         'C:/ProgramData/chocolatey/bin/ninja.exe' '-C' 'C:/Projects/QtCreator/build-repo-Desktop_Qt_6_2_1_MinGW_64_bit-Debug' '-t' 'recompact'
      
        failed with:
         ninja: error: failed recompaction: Permission denied

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              cadam Cristian Adam
              Reporter:
              cadam Cristian Adam
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes