lede icon indicating copy to clipboard operation
lede copied to clipboard

最新源码编译报错,没搜索到相关问题

Open 82kg opened this issue 3 years ago • 6 comments

ninja: build stopped: subcommand failed.

Error when bootstrapping CMake: Problem while running /home/sun/lede/staging_dir/host/bin/ninja

Log of errors: /home/sun/lede/build_dir/host/cmake-3.22.2/Bootstrap.cmk/cmake_bootstrap.log

make[3]: *** [Makefile:53: /home/sun/lede/build_dir/host/cmake-3.22.2/.configured] Error 9 make[3]: Leaving directory '/home/sun/lede/tools/cmake' time: tools/cmake/compile#69.98#19.64#13.68 ERROR: tools/cmake failed to build. make[2]: *** [tools/Makefile:162: tools/cmake/compile] Error 1 make[2]: Leaving directory '/home/sun/lede' make[1]: *** [tools/Makefile:158: /home/sun/lede/staging_dir/host/stamp/.tools_compile_yyynyynnyyyynyyy yyynyynnyynynyyyyyyyyyyyyyyyyyynynnyyyyyyyyyy] Error 2 make[1]: Leaving directory '/home/sun/lede' make: *** [/home/sun/lede/include/toplevel.mk:230:world] 错误 2

cmake_bootstrap.log 文件如下

cmake_bootstrap.log

求大佬指点。

编译环境是 Debian 11

82kg avatar May 04 '22 03:05 82kg

ninja: build stopped: subcommand failed.

Error when bootstrapping CMake: Problem while running /home/mythpan/lede/staging_dir/host/bin/ninja

Log of errors: /home/mythpan/lede/build_dir/host/cmake-3.22.2/Bootstrap.cmk/cmake_bootstrap.log

make[3]: *** [Makefile:53: /home/mythpan/lede/build_dir/host/cmake-3.22.2/.configured] Error 9 make[3]: Leaving directory '/home/mythpan/lede/tools/cmake' time: tools/cmake/compile#360.73#143.18#148.55 ERROR: tools/cmake failed to build. make[2]: *** [tools/Makefile:162: tools/cmake/compile] Error 1 make[2]: Leaving directory '/home/mythpan/lede' make[1]: *** [tools/Makefile:158: /home/mythpan/lede/staging_dir/host/stamp/.tools_compile_yyynyynnyyyynyyyyyynyynnyynynyyyyyyyyyyyyyyyyyynynnyyyyyyyyyy] Error 2 make[1]: Leaving directory '/home/mythpan/lede' make: *** [/home/mythpan/lede/include/toplevel.mk:230: world] Error 2

cmake_bootsrap.log cmake_bootstrap.log

我应该也是一样的问题,

编译环境是 Ubuntu 22.04 LTS server版

mythpan1 avatar May 14 '22 07:05 mythpan1

I have faced the same issue by using the azure cloud, Debian 11 to make

fg0578fg0578 avatar Jul 20 '22 22:07 fg0578fg0578

http://releases.ubuntu.com/20.04/ 安装虚拟机用这个系统编译 http://releases.ubuntu.com/20.04/ubuntu-20.04.5-desktop-amd64.iso

参考github action的 Build OpenWrt firmware succeeded 19 hours ago in 2h 44m 40s Current runner version: '2.298.2' Operating System Ubuntu 20.04.5 LTS

chenxqiyu avatar Oct 15 '22 17:10 chenxqiyu

ninja: build stopped: subcommand failed.

Error when bootstrapping CMake:

Problem while running /home/sun/lede/staging_dir/host/bin/ninja

Log of errors: /home/sun/lede/build_dir/host/cmake-3.22.2/Bootstrap.cmk/cmake_bootstrap.log

make[3]: *** [Makefile:53: /home/sun/lede/build_dir/host/cmake-3.22.2/.configured] Error 9 make[3]: Leaving directory '/home/sun/lede/tools/cmake' time: tools/cmake/compile#69.98#19.64#13.68 ERROR: tools/cmake failed to build. make[2]: *** [tools/Makefile:162: tools/cmake/compile] Error 1 make[2]: Leaving directory '/home/sun/lede' make[1]: *** [tools/Makefile:158: /home/sun/lede/staging_dir/host/stamp/.tools_compile_yyynyynnyyyynyyy yyynyynnyynynyyyyyyyyyyyyyyyyyynynnyyyyyyyyyy] Error 2 make[1]: Leaving directory '/home/sun/lede' make: *** [/home/sun/lede/include/toplevel.mk:230:world] 错误 2

cmake_bootstrap.log 文件如下

cmake_bootstrap.log

求大佬指点。

编译环境是 Debian 11

用Ubuntu 20.04.5

chenxqiyu avatar Oct 15 '22 17:10 chenxqiyu

ninja: build stopped: subcommand failed.

Error when bootstrapping CMake:

Problem while running /home/mythpan/lede/staging_dir/host/bin/ninja

Log of errors: /home/mythpan/lede/build_dir/host/cmake-3.22.2/Bootstrap.cmk/cmake_bootstrap.log

make[3]: *** [Makefile:53: /home/mythpan/lede/build_dir/host/cmake-3.22.2/.configured] Error 9 make[3]: Leaving directory '/home/mythpan/lede/tools/cmake' time: tools/cmake/compile#360.73#143.18#148.55 ERROR: tools/cmake failed to build. make[2]: *** [tools/Makefile:162: tools/cmake/compile] Error 1 make[2]: Leaving directory '/home/mythpan/lede' make[1]: *** [tools/Makefile:158: /home/mythpan/lede/staging_dir/host/stamp/.tools_compile_yyynyynnyyyynyyyyyynyynnyynynyyyyyyyyyyyyyyyyyynynnyyyyyyyyyy] Error 2 make[1]: Leaving directory '/home/mythpan/lede' make: *** [/home/mythpan/lede/include/toplevel.mk:230: world] Error 2

cmake_bootsrap.log cmake_bootstrap.log

我应该也是一样的问题,

编译环境是 Ubuntu 22.04 LTS server版

用Ubuntu 20.04.5

chenxqiyu avatar Oct 15 '22 17:10 chenxqiyu

I have faced the same issue by using the azure cloud, Debian 11 to make

use Ubuntu 20.04.5

chenxqiyu avatar Oct 15 '22 17:10 chenxqiyu