Details
-
Bug
-
Resolution: Unresolved
-
P4: Low
-
None
-
dev
-
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).