"fatal: Not a valid object name .ninja_log" warning when running ninja
ninja: Entering directory `build'
[1/7] Generating version.h with a custom command.
fatal: Not a valid object name .ninja_log
[1/2] Installing files.
It doesn't make the process fail, but it's annoying and could make people worry that something went wrong. Maybe it's related to the fact version.h is apparently being generated every run instead of only the first time? The warning always comes right after the version.h step.