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

CMake build tries to link after compile error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 Beta4
    • 6.2.0 Beta4
    • WebEngine
    • None
    • All

    Description

      See the attached build log: build-fail.log

      [1/2] CXX obj/QtWebEngineCore/web_engine_context.o                                                                                                                        FAILED: obj/QtWebEngineCore/web_engine_context.o
      ...
      /home/stampho/work/Qt/qt6-dev-src/qtwebengine/src/core/web_engine_context.cpp:152:2: error: #error HELLO                                                                  
        152 | #error HELLO                                                                                                                                                      
            |  ^~~~~                                                                                                                                                            
      ninja: build stopped: subcommand failed.
      FAILED: core/Release/x86_64/QtWebEngineCore.stamp core/Release/x86_64/QtWebEngineCore core/Release/x86_64/obj/QtWebEngineCore/accessibility_activation_observer.o ...
      cd /home/stampho/work/Qt/qtwebengine-dev-release/src/core && /usr/bin/ninja -C /home/stampho/work/Qt/qtwebengine-dev-release/src/core/Release/x86_64 QtWebEngineCore
      ninja: build stopped: subcommand failed.                                                                                                                                  FAILED: libs/src/qtwebengine-stamp/qtwebengine-build /home/stampho/work/Qt/qtwebengine-dev-release/libs/src/qtwebengine-stamp/qtwebengine-build
      cd /home/stampho/work/Qt/qtwebengine-dev-release/src && /usr/bin/cmake -E echo "Starting Release build" && bash build.sh && /usr/bin/cmake -E echo "Release build complete" && /usr/bin/cmake -E remove_directory ../mkspecs                                                                                                                        ninja: build stopped: subcommand failed. 
      

      At the end it looks if the link would have failed.

      Attachments

        For Gerrit Dashboard: QTBUG-95972
        # Subject Branch Project Status CR V

        Activity

          People

            michal Michal Klocek
            pvarga Peter Varga
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes