kiddin9 / openwrt-packages

openwrt packages
Apache License 2.0
1.79k stars 630 forks source link

Error when bootstrapping CMake: #17

Open ghost opened 2 years ago

ghost commented 2 years ago

Screenshot from 2021-09-20 13-24-20

make[4]: *** [Makefile:2: cmake] Error 1 make[4]: Leaving directory '/home/shisui/openwrt/build_dir/host/cmake-3.19.1/Bootstrap.cmk'

Error when bootstrapping CMake: Problem while running make

Log of errors: /home/shisui/openwrt/build_dir/host/cmake-3.19.1/Bootstrap.cmk/cmake_bootstrap.log

make[3]: [Makefile:39: /home/shisui/openwrt/build_dir/host/cmake-3.19.1/.configured] Error 9 make[3]: Leaving directory '/home/shisui/openwrt/tools/cmake' time: tools/cmake/compile#5.45#1.46#6.42 ERROR: tools/cmake failed to build. make[2]: [tools/Makefile:159: tools/cmake/compile] Error 1 make[2]: Leaving directory '/home/shisui/openwrt' make[1]: [tools/Makefile:155: /home/shisui/openwrt/staging_dir/host/stamp/.tools_compile_yyynyynnyyynyyyyyynyynyyyyynyyyyyyyyyyyyyyyynynnyyyyyyy] Error 2 make[1]: Leaving directory '/home/shisui/openwrt' make: [/home/shisui/openwrt/include/toplevel.mk:230: world] Error 2

-official openwrt v21.02.0

How to fix this?

kiddin9 commented 2 years ago

I think there is nothing to do with these packages, make sure successfully compile openwrt once before build any package.

ghost commented 2 years ago

libevent2

I successfully compile openwrt firsly before build any package like you said,but after recompile with kiddin package i got this error libevent2 How to fix this ?

kiddin9 commented 2 years ago

There is no libevent2 package in my packages, Use make package/xxx/compile V=s command to build a single package, like make package/xray-core/compile V=s