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

[Bug] 无法编译出APK包,显示版本号invalid。 #4202

Open
5 of 7 tasks
chenrui9119 opened this issue Nov 28, 2024 · 2 comments
Open
5 of 7 tasks

[Bug] 无法编译出APK包,显示版本号invalid。 #4202

chenrui9119 opened this issue Nov 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@chenrui9119
Copy link

Verify Steps

  • Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • Branch 我知道 OpenClash 的 Dev 分支切换开关位于插件设置-版本更新中,或者我会手动下载并安装 Dev 分支的 OpenClash
  • Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • Relevant 我知道 OpenClash 与 内核(Core)、控制面板(Dashboard)、在线订阅转换(Subconverter)等项目之间无直接关系,仅相互调用
  • Definite 这确实是 OpenClash 出现的问题
  • Contributors 我有能力协助 OpenClash 开发并解决此问题
  • Meaningless 我提交的是无意义的催促更新或修复请求

OpenClash Version

v0.46.050-rbeta

Bug on Environment

Official OpenWrt

OpenWrt Version

openwrt v6.6.63

Bug on Platform

Linux-amd64-v3(x86-64)

Describe the Bug

新版openwrt切换到了apk包管理器,在编译apk软件包时,报错ERROR: info field 'version' has invalid value: package version is invalid。请求解决方案。

/home/parallels/openwrt/staging_dir/host/bin/fakeroot /home/parallels/openwrt/staging_dir/host/bin/apk mkpkg --info "name:luci-app-openclash" --info "version:0.46.050-rbeta" --info "description:A LuCI support for clash" --info "arch:noarch" --info "license:" --info "origin:feeds/base/luci-app-openclash/luci-app-openclash" --info "url:" --info "maintainer:vernesong" --info "provides:" --script "post-install:/home/parallels/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/apk-all/luci-app-openclash/post-install" --script "pre-deinstall:/home/parallels/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/apk-all/luci-app-openclash/pre-deinstall" --script "post-deinstall:/home/parallels/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/apk-all/luci-app-openclash/postrm" --info "depends:libc dnsmasq-full coreutils coreutils-nohup bash curl ca-certificates ip-full libcap libcap-bin ruby ruby-yaml kmod-tun unzip" --files "/home/parallels/openwrt/build_dir/target-x86_64_musl/luci-app-openclash/ipkg-all/luci-app-openclash" --output "/home/parallels/openwrt/bin/packages/x86_64/base/luci-app-openclash-0.46.050-rbeta.apk" --sign "/home/parallels/openwrt/private-key.pem"
ERROR: info field 'version' has invalid value: package version is invalid
ERROR: failed to create package: /home/parallels/openwrt/bin/packages/x86_64/base/luci-app-openclash-0.46.050-rbeta.apk: package version is invalid
make[3]: *** [Makefile:191: /home/parallels/openwrt/bin/packages/x86_64/base/luci-app-openclash-0.46.050-rbeta.apk] Error 99
make[3]: Leaving directory '/home/parallels/openwrt/package/luci-app-openclash/luci-app-openclash'
time: package/luci-app-openclash/luci-app-openclash/compile#0.92#0.64#1.57
ERROR: package/luci-app-openclash/luci-app-openclash failed to build.
make[2]: *** [package/Makefile:185: package/luci-app-openclash/luci-app-openclash/compile] Error 1
make[2]: Leaving directory '/home/parallels/openwrt'
make[1]: *** [package/Makefile:179: /home/parallels/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/parallels/openwrt'
make: *** [/home/parallels/openwrt/include/toplevel.mk:248:world] 错误 2

To Reproduce

make package/luci-app-openclash/luci-app-openclash/compile V=99

OpenClash Log

编译过程,不存在运行日志

OpenClash Config

No response

Expected Behavior

能够正常编译出包

Additional Context

No response

@chenrui9119 chenrui9119 added the bug Something isn't working label Nov 28, 2024
@fejeIaqbhbv
Copy link

用dev

@chenrui9119
Copy link
Author

用dev

谢谢,我切到dev分支看看

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants