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]: immortalwrt源码编译passwall2报错 #722

Open
OldCoding opened this issue Dec 9, 2024 · 10 comments
Open

[Bug]: immortalwrt源码编译passwall2报错 #722

OldCoding opened this issue Dec 9, 2024 · 10 comments
Labels
awaiting bug Something isn't working

Comments

@OldCoding
Copy link

Describe the Bug you encountered

immortalwrt从opkg升级为apk后编译passwall和passwall2会报错

Steps to reproduce this Bug

ERROR: luci-app-passwall2-24.11.19-r2: trying to overwrite www/luci-static/resources/qrcode.min.js owned by luci-app-passwall-24.12.1-r1.

What you want to implement

正常拉取immortalwrt源码,然后删除源码自带passwall,拉取passwall、passwall2和openwrt-passwall-packages,选择好插件开始编译

Log information

(278/302) Installing luci-app-passwall2 (24.11.19-r2)
ERROR: luci-app-passwall2-24.11.19-r2: trying to overwrite www/luci-static/resources/qrcode.min.js owned by luci-app-passwall-24.12.1-r1.

Screenshot

No response

System related information

最新源码

Other Information

No response

@OldCoding OldCoding added the bug Something isn't working label Dec 9, 2024
@Ranx5
Copy link

Ranx5 commented Dec 9, 2024

用imm的openwrt-24.10分支可以正常编译

@xiaorouji
Copy link
Owner

暫時未用到 apk,暫時不知道怎麼做兼容。或者你可以先把passwall或者passwall2其中一個的Makefile裡面的/www/luci-static/resources/qrcode.min.js行刪掉

@cjlhll
Copy link

cjlhll commented Dec 18, 2024

同样的报错。

@lwb1978
Copy link
Contributor

lwb1978 commented Dec 23, 2024

我就是用imm主分支进行编译的,第一时间“享受”了apk,但没有报错过,一直正常。

@OldCoding
Copy link
Author

OldCoding commented Dec 24, 2024

我就是用imm主分支进行编译的,第一时间“享受”了apk,但没有报错过,一直正常。

你有删除源码自带passwall吗,并把两个插件源码都下载进去编译?我最新编译依旧不成功

@lwb1978
Copy link
Contributor

lwb1978 commented Dec 24, 2024

肯定删除啊,做为pw的维护人员之一,怎么会去用一个月都不同步一次上游的imm带的pw?

@OldCoding
Copy link
Author

肯定删除啊,做为pw的维护人员之一,怎么会去用一个月都不同步一次上游的imm带的pw?

https://github.com/OldCoding/ArmRootfs/actions/runs/12101380048 昨晚重新运行的,还是报这个错误

@pirately
Copy link

肯定删除啊,做为pw的维护人员之一,怎么会去用一个月都不同步一次上游的imm带的pw?

https://github.com/OldCoding/ArmRootfs/actions/runs/12101380048 昨晚重新运行的,还是报这个错误

  • 如果是官方的openwrt,则不需要额外的操作,只要git clone https://github.com/xiaorouji/openwrt-passwall-packages,以及git 相应的luci-app即可。

  • 如果是immortalwrt,由于它本身有package,且,immortalwrt的package里面的geoview和pw2冲突,会报错。则,在git clone openwrt-passwall-packages之前,执行 rm -rf ../feeds/packages/net/{chinadns*,hysteria,geoview,trojan*,xray*,v2ray*,sing*}

    是否../feeds,看现在所在目录在哪儿,随调。

  • 如果安装passwall,还有 rm -rf ../feeds/luci/applications/luci-app-passwall/

  • 不建议同时安装passwall和passwall2,两个都差不多。现在更喜欢pw2,可以防止dns泄露。

@x403795698
Copy link

WARNING: Makefile 'package/feeds/passwall2/luci-app-passwall2/Makefile' has a dependency on 'geoview', which does not exist
无法编译passwall2

@lwb1978
Copy link
Contributor

lwb1978 commented Jan 3, 2025

WARNING: Makefile 'package/feeds/passwall2/luci-app-passwall2/Makefile' has a dependency on 'geoview', which does not exist 无法编译passwall2

这么明显的提示没看到吗?你不去添加geoview的package,等啥。

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

No branches or pull requests

7 participants