ninja: error: manifest ‘build.ninja’ still dirty after 100 tries

网上有很多例子是基于ninja的bug。排除ninja的问题后还有错误:

带上explain参数能显示具体的错误:

查看一下文件时间,Modify time还在未来:

修改文件时间到过去或者把系统时间设在将来,错误消失了。

关于Jenkins上用cpack打包时怎么会把文件时间设在未来,待续。

This entry was posted in tittle tattle. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *