Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.4
-
None
-
-
90b07054f6 (qt/qtbase/dev) 4445fe17f1 (qt/qtbase/6.3) 4445fe17f1 (qt/tqtc-qtbase/6.3) 90b07054f6 (qt/tqtc-qtbase/dev) e847855933 (qt/qtbase/6.2) e847855933 (qt/tqtc-qtbase/6.2)
Description
On a newly-configured build:
[240/1751] Generating prl file for target Core FAILED: src/corelib/preliminary_prl_for_Core_step2_RelWithDebInfo.prl /home/tjmaciei/obj/qt/qt6/qtbase/src/corelib/preliminary_prl_for_Core_step2_RelWithDebInfo.prl cd /home/tjmaciei/obj/qt/qt6/qtbase/src/corelib && /usr/bin/cmake -DIN_FILE=/home/tjmaciei/obj/qt/qt6/qtbase/src/corelib/preliminary_prl_for_Core_step1_RelWithDebInfo.prl -DIN_META_FILE=/home/tjmaciei/obj/qt/qt6/qtbase/src/corelib/preliminary_prl_meta_info_for_Core_RelWithDebInfo.txt -DOUT_FILE=/home/tjmaciei/obj/qt/qt6/qtbase/src/corelib/preliminary_prl_for_Core_step2_RelWithDebInfo.prl "-DLIBRARY_PREFIXES=lib;lib" "-DLIBRARY_SUFFIXES=.so;.a" -DLINK_LIBRARY_FLAG=-l -DQT_LIB_DIRS=/home/tjmaciei/obj/qt/qt6/qtbase/lib "-DIMPLICIT_LINK_DIRECTORIES=/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0;/usr/lib;/lib" -P /home/tjmaciei/src/qt/qt6/qtbase/cmake/QtFinishPrlFile.cmake CMake Error at /home/tjmaciei/src/qt/qt6/qtbase/cmake/QtFinishPrlFile.cmake:95 (configure_file): No such file or directory
If I run ninja again, it goes past this point, so it must be an ordering problem with the parallel build (missing dependency).
Line 95 is:
configure_file( "${OUT_FILE}" "${final_prl_file_path}" COPYONLY )
The final_prl_file_path was read from the IN_META_FILE, whose contents were:
FINAL_PRL_FILE_PATH = /home/tjmaciei/obj/qt/qt6/qtbase/lib/libQt6Core.t.prl
This is a ninja multi-config build. I don't know if that matters. Full cmake:
srcdir=$HOME/src/qt/qt6/qtbase objdir=$HOME/obj/qt/qt6/qtbase cmake \ $srcdir \ -G'Ninja Multi-Config' \ -DBUILD_TESTING=ON \ -DBUILD_WITH_PCH=OFF \ -DCMAKE_C_COMPILER:STRING=gcc \ -DCMAKE_C_FLAGS_DEBUG:STRING='-O0 -g' \ -DCMAKE_C_FLAGS_RELEASE:STRING='-O3 -g1' \ -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING='-O3 -g' \ -DCMAKE_C_FLAGS:STRING='-march=skylake -maes -mno-rdseed' \ -DCMAKE_CONFIGURATION_TYPES:STRING='Release;RelWithDebInfo;Debug' \ -DCMAKE_CXX_COMPILER:STRING=g++ \ -DCMAKE_CXX_FLAGS_DEBUG:STRING='-O0 -g3' \ -DCMAKE_CXX_FLAGS_RELEASE:STRING='-O3 -g1' \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING='-O3 -g' \ -DCMAKE_CXX_FLAGS:STRING='-march=skylake -maes -mno-rdseed' \ -DCMAKE_DEFAULT_BUILD_TYPE:STRING=Debug \ -DCMAKE_EXE_LINKER_FLAGS='-Wl,-O1 -Wl,--as-needed' \ -DCMAKE_INSTALL_PREFIX=$PWD \ -DCMAKE_SHARED_LINKER_FLAGS='-Wl,-O1 -Wl,--as-needed' \ -DFEATURE_dbus_linked=OFF \ -DFEATURE_developer_build=ON \ -DFEATURE_journald=ON \ -DFEATURE_libproxy=ON \ -DFEATURE_openssl_linked=ON \ -DFEATURE_optimize_debug=OFF \ -DFEATURE_reduce_relocations=ON \ -DFEATURE_sctp=ON \ -DFEATURE_system_sqlite=ON \ -DQT_BUILD_EXAMPLES_BY_DEFAULT=OFF \ -DQT_BUILD_TESTS_BY_DEFAULT=OFF \ -DQT_LIBINFIX=.t \ -DQT_QMAKE_TARGET_MKSPEC=linux-g++-optimised \ -DQT_USE_DEFAULT_CMAKE_OPTIMIZATION_FLAGS=ON