查看具体原因

ninja -C out/ -d explain

注:out为build.ninja存放文件夹

如果是以下错误

ninja: error: manifest ‘build.ninja’ still dirty after 100 tries
output build.ninja older than most recent input ../build/gen.py (1583896794594640991 vs 1583913974000000000)

服务器时间有问题,一般出现在内网服务或者docker容器内

查看时间和时区

date
hwclock
date -R

注:如果时间或时区不正确,执行如下操作

设置时区

设置时区为Asia/Shanghai 或 Asia/Beijing

tzselect

设置时间

设置时间为北京时间

date -s 11/3/2019
date -s 10:48:50
hwclock --systohc

验证时区和时间

date
hwclock
date -R

 

GitHub 加速计划 / ni / ninja
5
0
下载
a small build system with a focus on speed
最近提交(Master分支:8 天前 )
3844671f Fix MacOS github builds. 9 天前
ef65f36d MacOS builds are now failing at the "Install dependencies" step because Homebrew is now complaining that cmake is already installed on the system. It also warns about p7zip, so remove them both from the list of installed packages to resolve the problem. The macos.yml workflow file uses the macos-13 image that was updated recently. The latest succesful MacOS action on https://github.com/ninja-build/ninja [1] used release 20250818.1405, while the failing ones are using release 20250901.1455 [2]. From the corresponding image release pages, it seems that Homebrew was updated from 4.5.13 to 4.6.7 between the two, so assuming here this is why this started to happen. [1] https://github.com/ninja-build/ninja/actions/runs/17216151150/job/48840158004#step:1:15 [2] https://github.com/ninja-build/ninja/actions/runs/17460573439/job/49584121159#step:1:15 10 天前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐