https://bugs.kde.org/show_bug.cgi?id=460245
Bug ID: 460245 Summary: ki18n_install(po) slows down each build, even if nothing has changed Classification: Frameworks and Libraries Product: frameworks-ki18n Version: 5.98.0 Platform: Manjaro OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: caslav.i...@gmx.net Reporter: igor...@gmail.com CC: kdelibs-b...@kde.org Target Milestone: --- SUMMARY Building projects that have the `ki18n_install(po)` line in CMakeLists.txt, such as KDevelop, kio-extras and ki18n itself, always produces output like this, even if nothing has changed: [2/2] Generating ts... [2/2] Generating mo... Commenting out the `ki18n_install(po)` line works the issue around. A nothing-changed KDevelop build takes 8 seconds with the `ki18n_install(po)` line and less than a second without it: $ ninja ninja: no work to do. Debug output when the `ki18n_install(po)` line is present: $ ninja -d explain ninja explain: output CMakeFiles/pofiles-1ce71fd1ec78d5566f158140586603a7 doesn't exist ninja explain: CMakeFiles/pofiles-1ce71fd1ec78d5566f158140586603a7 is dirty ninja explain: pofiles-1ce71fd1ec78d5566f158140586603a7 is dirty ninja explain: output CMakeFiles/tsfiles-1ce71fd1ec78d5566f158140586603a7 doesn't exist ninja explain: CMakeFiles/tsfiles-1ce71fd1ec78d5566f158140586603a7 is dirty ninja explain: tsfiles-1ce71fd1ec78d5566f158140586603a7 is dirty The same issue occurs when the Makefile generator is used: $ make [ 1%] Generating mo... [ 1%] Built target pofiles-1ce71fd1ec78d5566f158140586603a7 [ 2%] Generating ts... SOFTWARE/OS VERSIONS Manjaro GNU/Linux, Xfce, X11 KDE Frameworks Version: 5.98 Qt Version: 5.15.6+kde ADDITIONAL INFORMATION See also https://invent.kde.org/kdevelop/kdevelop/-/issues/13 -- You are receiving this mail because: You are watching all bug changes.