fw876 / helloworld

GNU General Public License v3.0
3.71k stars 2.65k forks source link

luci-app-ssr-plus: Optimize code and resolve compilation errors. #1596

Closed zxlhhyccc closed 1 week ago

zxlhhyccc commented 1 week ago

官方主分支编译出现错误如下:

./etc/init.d/shadowsocksr: uci command not found
grep: /tmp/dnasmq.conf: not such file or directory
zxlhhyccc commented 1 week ago

CI全部失败,是下面的包没适配APK:

2024-11-16T06:22:14.6672353Z ERROR: info field 'version' has invalid value: package version is invalid
2024-11-16T06:22:14.6674329Z ERROR: failed to create package: /home/build/immortalwrt/bin/packages/mipsel_24kc/packages_ci/lua-neturl-1.1-1-r3.apk: package version is invalid
2024-11-16T06:22:14.6681897Z make[2]: *** [Makefile:71: /home/build/immortalwrt/bin/packages/mipsel_24kc/packages_ci/lua-neturl-1.1-1-r3.apk] Error 99
2024-11-16T06:22:14.6683283Z make[2]: Leaving directory '/feed/lua-neturl'
2024-11-16T06:22:14.6688122Z time: package/feeds/packages_ci/lua-neturl/compile#0.44#0.28#1.36
2024-11-16T06:22:14.6695091Z OpenWrt-libtool: compile:  mipsel-openwrt-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -I/home/build/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/usr/include -I/home/build/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/include -I/home/build/immortalwrt/staging_dir/toolchain-mipsel_24kc_gcc-13.3.0_musl/include/fortify -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/home/build/immortalwrt/build_dir/target-mipsel_24kc_musl/gmp-6.3.0=gmp-6.3.0 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -c cmp_d.c  -fPIC -DPIC -o .libs/cmp_d.o
2024-11-16T06:22:14.6704454Z make[1]: *** [package/Makefile:184: package/feeds/packages_ci/lua-neturl/compile] Error 1
2024-11-16T06:22:14.6705817Z     ERROR: package/feeds/packages_ci/lua-neturl failed to build.
2024-11-16T06:22:14.6706617Z make[1]: *** Waiting for unfinished jobs....