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

prevent "po2lmo: command not found" error #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AxisRay
Copy link
Contributor

@AxisRay AxisRay commented Feb 14, 2023

如果不先编译luci-base,编译某些具有luci依赖(带有国际化翻译?)的插件会出现bash: po2lmo: command not found错误。
当然,强制编译luci-base,对于没有luci依赖的插件编译是多余的,会增加不必要的编译时间。

2023-02-13T07:16:37.0392128Z make[2]: Entering directory '/home/runner/work/gl-sdk-action/gl-sdk-action/buildsource/OpenClash/luci-app-openclash'
2023-02-13T07:16:37.2970961Z touch /home/runner/work/gl-sdk-action/gl-sdk-action/openwrt-sdk/build_dir/target-aarch64_cortex-a53_musl/luci-app-openclash/.prepared_0618fc3d3586edba129d79bb59496b02_18f1e190c5d53547fed41a3eaa76e9e9_check
2023-02-13T07:16:37.3004646Z cp -fpR /home/runner/work/gl-sdk-action/gl-sdk-action/buildsource/OpenClash/luci-app-openclash/root /home/runner/work/gl-sdk-action/gl-sdk-action/openwrt-sdk/build_dir/target-aarch64_cortex-a53_musl/luci-app-openclash
2023-02-13T07:16:37.3281927Z cp -fpR /home/runner/work/gl-sdk-action/gl-sdk-action/buildsource/OpenClash/luci-app-openclash/luasrc /home/runner/work/gl-sdk-action/gl-sdk-action/openwrt-sdk/build_dir/target-aarch64_cortex-a53_musl/luci-app-openclash
2023-02-13T07:16:37.3347123Z po2lmo /home/runner/work/gl-sdk-action/gl-sdk-action/buildsource/OpenClash/luci-app-openclash/po/zh-cn/openclash.zh-cn.po /home/runner/work/gl-sdk-action/gl-sdk-action/openwrt-sdk/build_dir/target-aarch64_cortex-a53_musl/luci-app-openclash/openclash.zh-cn.lmo;
2023-02-13T07:16:37.3365941Z bash: po2lmo: command not found
2023-02-13T07:16:37.3367483Z make[2]: Leaving directory '/home/runner/work/gl-sdk-action/gl-sdk-action/buildsource/OpenClash/luci-app-openclash'
2023-02-13T07:16:37.3371033Z make[2]: *** [Makefile:155: /home/runner/work/gl-sdk-action/gl-sdk-action/openwrt-sdk/build_dir/target-aarch64_cortex-a53_musl/luci-app-openclash/.prepared_0618fc3d3586edba129d79bb59496b02_18f1e190c5d53547fed41a3eaa76e9e9] Error 127
2023-02-13T07:16:37.3374271Z time: package/feeds/githubaction/luci-app-openclash/compile#0.24#0.11#0.31
2023-02-13T07:16:37.3381428Z     ERROR: package/feeds/githubaction/luci-app-openclash failed to build.
2023-02-13T07:16:37.3386667Z make[1]: *** [package/Makefile:118: package/feeds/githubaction/luci-app-openclash/compile] Error 1
2023-02-13T07:16:37.3393468Z make[1]: Leaving directory '/home/runner/work/gl-sdk-action/gl-sdk-action/openwrt-sdk'
2023-02-13T07:16:37.3400677Z make: *** [/home/runner/work/gl-sdk-action/gl-sdk-action/openwrt-sdk/include/toplevel.mk:223: package/feeds/githubaction/luci-app-openclash/compile] Error 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

Successfully merging this pull request may close these issues.

2 participants