Closed artem-kamyshev closed 4 years ago
Hello,
I've have the following setup.
The build system is Fedora 25:
$ uname -a Linux localhost.localdomain 4.13.16-100.fc25.x86_64 #1 SMP Mon Nov 27 19:52:46 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
commit 824004359a2328cf2fc22f03f136732a67a61438
./codequery - for sources ./build - for build files
$ cd ./build $ cmake -G "Unix Makefiles" -DBUILD_QT5=ON -DCMAKE_INSTALL_PREFIX=/opt/codequery ../codequery $ make -j9
The error is:
[ 81%] Built target cqshowgraph-qt5 Scanning dependencies of target codequery_autogen [ 81%] Generating ui_fileViewSettingsDialog.h [ 82%] Generating codequery_de.qm [ 82%] Generating codequery_en.qm [ 82%] Generating codequery_id.qm [ 82%] Generating codequery_zh-CHT.qm [ 82%] Generating codequery_es.qm [ 83%] Generating codequery_fr.qm [ 84%] Generating codequery_it.qm [ 84%] Generating codequery_ja.qm Updating '/home/akamyshev/distr/build/gui/codequery_es.qm'... Updating '/home/akamyshev/distr/build/gui/codequery_de.qm'... Updating '/home/akamyshev/distr/build/gui/codequery_id.qm'... Updating '/home/akamyshev/distr/build/gui/codequery_zh-CHT.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) Updating '/home/akamyshev/distr/build/gui/codequery_en.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) Generated 0 translation(s) (0 finished and 0 unfinished) Ignored 106 untranslated source text(s) Generated 106 translation(s) (106 finished and 0 unfinished) Generated 106 translation(s) (106 finished and 0 unfinished) Updating '/home/akamyshev/distr/build/gui/codequery_fr.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) Updating '/home/akamyshev/distr/build/gui/codequery_it.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) Updating '/home/akamyshev/distr/build/gui/codequery_ja.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) [ 84%] Generating codequery_ko.qm [ 85%] Generating codequery_zh-CHS.qm [ 86%] Generating ui_mainWindow.h [ 86%] Generating ui_graphDialog.h [ 87%] Generating ui_aboutDialog.h Updating '/home/akamyshev/distr/build/gui/codequery_ko.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) Updating '/home/akamyshev/distr/build/gui/codequery_zh-CHS.qm'... Generated 106 translation(s) (106 finished and 0 unfinished) [ 87%] Generating qrc_codequery.cxx RCC: Error in '/home/akamyshev/distr/codequery/gui/codequery.qrc': Cannot find file '../build/gui/codequery_de.qm' gui/CMakeFiles/codequery_autogen.dir/build.make:80: recipe for target 'gui/qrc_codequery.cxx' failed make[2]: *** [gui/qrc_codequery.cxx] Error 1 CMakeFiles/Makefile2:511: recipe for target 'gui/CMakeFiles/codequery_autogen.dir/all' failed make[1]: *** [gui/CMakeFiles/codequery_autogen.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2
The file itself is present in build directory (though I can say nothing about its correctness):
$ ls ./gui/codequery_de.qm ./gui/codequery_de.qm
Hi @artem-kamyshev
I reproduced it once, but then I deleted everything and tried again, then it doesn't happen.
I think it's an issue of a racing condition during parallel make job executions.
Hello,
I've have the following setup.
The build system is Fedora 25:
The error is:
The file itself is present in build directory (though I can say nothing about its correctness):