Solved: missing dependencies when compiling with Ninja generator

Andreas Hartmetz ahartmetz at gmail.com
Mon Sep 19 19:16:18 BST 2016


Hello,

I did some research to find out why builds with Ninja sometimes miss 
dependencies, thus producing build failures unless the failing 
repository is recompiled from scratch. It was a bug (or somewhat 
justifiable behavior difference between Make and Ninja if you like) in 
CMake that has been fixed:
https://cmake.org/gitweb?
p=cmake.git;a=commitdiff;h=6d74e7870b8804a5af0bc395a9fbb45c1b3d26a4
So if you compile with Ninja, you should get CMake 3.6.0+, or switch 
back to Make until you get 3.6.0+.
Maybe packagers want to backport the fix. I see that Ubuntu Yakkety is 
going to ship CMake 3.5.2.

Cheers,
Andreas




More information about the kde-core-devel mailing list