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

Missing dependencies to system headers?

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • dev
    • Build System: CMake
    • None

    Description

      After a system update, my incremental build, after performing an implicit re-configuration, now spews out these errors:

      fatal error: file '/usr/include/x86_64-linux-gnu/bits/timesize.h' has been modified since the precompiled header '/home/marc/Qt/qt5-build-clang/qtbase/src/corelib/CMakeFiles/Core.dir/cmake_pch.hxx.pch' was built: mtime changed (was 1649294681, now 1690357479)
      

      Expected behaviour from a build system would be to rebuild the pch file if one of its inputs has changed. Almost looks like system headers are not included in the dependency list, because this is the first time I see this error, and I change a lot of Qt headers every day.

      $ cat config.opt
      -pch
      -opensource
      -confirm-license
      -release
      -force-debug-info
      -separate-debug-info
      -c++std
      c++20
      -developer-build
      -make
      examples
      -skip
      qtwebengine
      --webengine-jumbo-build=103
      -webengine-proprietary-codecs
      -sctp
      -headersclean
      -platform
      linux-clang-libc++
      --
      -DQT_BUILD_EXAMPLES_BY_DEFAULT=ON
      

      Attached log. The reconfiguration happened d/t changing a CMakeLists.txt (as part of applying https://codereview.qt-project.org/c/qt/qtbase/+/509716).

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            mmutz Marc Mutz
            Vladimir Minenko Vladimir Minenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes