Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本地编译失败 #117

Open
1 task done
alexcdever opened this issue Jul 25, 2021 · 1 comment
Open
1 task done

本地编译失败 #117

alexcdever opened this issue Jul 25, 2021 · 1 comment

Comments

@alexcdever
Copy link

反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

  • 没有类似的issue

2. 详细叙述

(1) 具体问题

A:我根据README.md的步骤,在本地编译的时候,在执行到make -j1 V=s 这一步的时候,执行失败,看了下输出的记录,应该是homeclash编译失败了,我该怎么修复它?或者怎么跳过它?这个功能我不需要

(2) 路由器型号和固件版本

A:我是照着README操作的,应该就是最新的2021-06-13版本

(3) 详细日志

A:

make[3]: Entering directory '/home/alex/HomeLede/feeds/homeclash/luci-app-openclash'
touch /home/alex/HomeLede/build_dir/target-x86_64_musl/luci-app-openclash/.prepared_5a8f6877830895d4beecdddd8f21a957_6664517399ebbbc92a37c5bb081b5c53_check
cp -fpR /home/alex/HomeLede/feeds/homeclash/luci-app-openclash/root /home/alex/HomeLede/build_dir/target-x86_64_musl/luci-app-openclash
cp -fpR /home/alex/HomeLede/feeds/homeclash/luci-app-openclash/luasrc /home/alex/HomeLede/build_dir/target-x86_64_musl/luci-app-openclash
po2lmo /home/alex/HomeLede/feeds/homeclash/luci-app-openclash/po/zh-cn/openclash.zh-cn.po /home/alex/HomeLede/build_dir/target-x86_64_musl/luci-app-openclash/openclash.zh-cn.lmo;
bash: po2lmo: command not found
make[3]: *** [Makefile:118: /home/alex/HomeLede/build_dir/target-x86_64_musl/luci-app-openclash/.prepared_5a8f6877830895d4beecdddd8f21a957_6664517399ebbbc92a37c5bb081b5c53] Error 127
make[3]: Leaving directory '/home/alex/HomeLede/feeds/homeclash/luci-app-openclash'
time: package/feeds/homeclash/luci-app-openclash/compile#0.12#0.08#0.20
    ERROR: package/feeds/homeclash/luci-app-openclash failed to build.
make[2]: *** [package/Makefile:116: package/feeds/homeclash/luci-app-openclash/compile] Error 1
make[2]: Leaving directory '/home/alex/HomeLede'
make[1]: *** [package/Makefile:110: /home/alex/HomeLede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/alex/HomeLede'
make: *** [/home/alex/HomeLede/include/toplevel.mk:230: world] Error 2
@alexcdever
Copy link
Author

我搜到了这个,并执行了make package/feeds/luci/luci-base/compile V=99 后这个error就没出现了,但就又遇到另一个error:

2021-07-28T19:44:01.0685519Z checking for struct statfs.f_namemax... no
2021-07-28T19:44:01.0686943Z checking for struct statfs.f_type... (cached) yes
2021-07-28T19:44:01.1038349Z checking for struct statfs.f_frsize... yes
2021-07-28T19:44:01.1775096Z checking for library containing fdatasync... none required
2021-07-28T19:44:01.1777090Z checking for fdatasync... (cached) yes
2021-07-28T19:44:01.2142787Z checking for cap_get_file in -lcap... no
2021-07-28T19:44:01.2145034Z configure: error: libcap library was not found or not usable
2021-07-28T19:44:01.3694876Z Makefile:151: recipe for target '/workdir/openwrt/build_dir/target-x86_64_musl/coreutils-8.32/.configured_68b329da9893e34099c7d8ad5cb9c940' failed
2021-07-28T19:44:01.3697282Z make[3]: *** [/workdir/openwrt/build_dir/target-x86_64_musl/coreutils-8.32/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1
2021-07-28T19:44:01.3700117Z make[2]: *** [package/feeds/packages/coreutils/compile] Error 2
2021-07-28T19:44:01.3762797Z make[1]: *** [/workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
2021-07-28T19:44:01.3764273Z make[3]: Leaving directory '/workdir/openwrt/feeds/packages/utils/coreutils'
2021-07-28T19:44:01.3766309Z time: package/feeds/packages/coreutils/compile#19.86#7.67#24.06
2021-07-28T19:44:01.3768057Z package/Makefile:111: recipe for target 'package/feeds/packages/coreutils/compile' failed
2021-07-28T19:44:01.3768874Z make: *** [world] Error 2
2021-07-28T19:44:01.3770812Z make[2]: Leaving directory '/workdir/openwrt'
2021-07-28T19:44:01.3772386Z package/Makefile:107: recipe for target '/workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
2021-07-28T19:44:01.3773675Z make[1]: Leaving directory '/workdir/openwrt'
2021-07-28T19:44:01.3774833Z /workdir/openwrt/include/toplevel.mk:222: recipe for target 'world' failed
2021-07-28T19:44:01.3781379Z ##[error]Process completed with exit code 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant