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

base/logging_buildflags.h may not be generated in time with top-level build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.2.0 Beta4
    • 6.3
    • WebEngine
    • Linux/X11

    Description

      Top-level build, the error is:

      [281/3343] Building CXX object qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o
      FAILED: qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o 
      /usr/bin/ccache /usr/lib/ccache/bin/c++ -DBUILDING_CHROMIUM -DNOMINMAX -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WEBENGINECORE_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_OPENGL_LIB -DQT_POSITIONING_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_USE_QSTRINGBUILDER -DQT_WEBCHANNEL_LIB -DWebEngineCore_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -Iqtwebengine/src/core/api/WebEngineCore_autogen/include -Iqtbase/include -Iqtbase/include/QtWebEngineCore -I/mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api -Iqtwebengine/src/core/api -I/mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/.. -I/mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../../3rdparty/chromium -I/mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../../3rdparty/chromium/third_party/abseil-cpp -Iqtbase/include/QtWebEngineCore/6.2.0 -Iqtbase/include/QtWebEngineCore/6.2.0/QtWebEngineCore -Iqtbase/include/QtCore -I/mnt/hdd/work/Qt/qt6-dev-src/qtbase/mkspecs/linux-g++ -Iqtbase/include/QtGui -Iqtbase/include/QtNetwork -Iqtbase/include/QtQuick -Iqtbase/include/QtQml -Iqtbase/include/QtQmlModels -Iqtbase/include/QtOpenGL -Iqtbase/src/corelib -Iqtbase/include/QtCore/6.2.0 -Iqtbase/include/QtCore/6.2.0/QtCore -Iqtbase/src/gui -Iqtbase/include/QtGui/6.2.0 -Iqtbase/include/QtGui/6.2.0/QtGui -Iqtdeclarative/src/quick -Iqtbase/include/QtQuick/6.2.0 -Iqtbase/include/QtQuick/6.2.0/QtQuick -Iqtdeclarative/src/qmlmodels -Iqtbase/include/QtQmlModels/6.2.0 -Iqtbase/include/QtQmlModels/6.2.0/QtQmlModels -Iqtdeclarative/src/qml -Iqtbase/include/QtQml/6.2.0 -Iqtbase/include/QtQml/6.2.0/QtQml -Iqtbase/include/QtWebChannel -Iqtbase/include/QtPositioning -DNDEBUG -O2 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -Wsuggest-override -std=c++17 -Winvalid-pch -include /mnt/hdd/work/Qt/qt6-dev-release/qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/cmake_pch.hxx -MD -MT qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o -MF qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o.d -o qtwebengine/src/core/api/CMakeFiles/WebEngineCore.dir/qwebenginecookiestore.cpp.o -c /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/qwebenginecookiestore.cpp
      In file included from /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../../3rdparty/chromium/base/bind_internal.h:22,
                       from /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../../3rdparty/chromium/base/bind.h:13,
                       from /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../../3rdparty/chromium/base/callback.h:14,
                       from /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../../3rdparty/chromium/base/sequenced_task_runner.h:11,
                       from /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../../3rdparty/chromium/mojo/public/cpp/bindings/receiver.h:15,
                       from /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../net/cookie_monster_delegate_qt.h:62,
                       from /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/qwebenginecookiestore.cpp:45:
      /mnt/hdd/work/Qt/qt6-dev-src/qtwebengine/src/core/api/../../3rdparty/chromium/base/notreached.h:9:10: fatal error: base/logging_buildflags.h: No such file or directory
          9 | #include "base/logging_buildflags.h"
             |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      

      base/logging_buildflags.h is not generated at this point. I could reproduce this after fixing: https://bugreports.qt.io/browse/QTBUG-94343 I don't know if it is related or this was just a "hidden" issue. I have only seen this with top-level build yet.

      Attachments

        1. build.log.tgz
          357 kB
        2. error.txt
          65 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes