Open jmmes opened 5 months ago
同样问题,目前可以通过修改版本来解决,但是我不知道这个脚本应该写在哪,,
rm -rf feeds/packages/lang/golang git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
好像新版的golang编译singbox也有问题,只能先不要xray和v2ray了
同样问题,目前可以通过修改版本来解决,但是我不知道这个脚本应该写在哪,,
rm -rf feeds/packages/lang/golang git clone https://github.com/sbwml/packages_lang_golang -b 22.x feeds/packages/lang/golang
在openwrt目录执行就可以了
这似乎是openwrt内部依赖的问题,应该问固件源码维护者或者软件打包者。
如果需要打补丁,可以自己写脚本,需要在拉取、安装feeds前运行的写在<something>-custom-script-1.sh
里,在其后运行的写在<something>-custom-script-2.sh
里。
2024-03-10T17:54:10.4163750Z Finding targets 2024-03-10T17:54:10.4199380Z go: ../../go.mod requires go >= 1.22 (running go 1.21.7; GOTOOLCHAIN=local) 2024-03-10T17:54:10.4205584Z 2024-03-10T17:54:10.4207575Z Building targets 2024-03-10T17:54:10.4248591Z go: ../../go.mod requires go >= 1.22 (running go 1.21.7; GOTOOLCHAIN=local) 2024-03-10T17:54:10.4253857Z 2024-03-10T17:54:10.4561686Z make[3]: [Makefile:44: /workdir/openwrt/build_dir/target-x86_64_musl/v2ray-plugin-5.14.1/.built] Error 1 2024-03-10T17:54:10.4563503Z make[3]: Leaving directory '/workdir/openwrt/feeds/PWpackages/v2ray-plugin' 2024-03-10T17:54:10.4566509Z time: package/feeds/PWpackages/v2ray-plugin/compile#0.13#0.08#0.19 2024-03-10T17:54:10.4573980Z ERROR: package/feeds/PWpackages/v2ray-plugin failed to build. 2024-03-10T17:54:10.4577790Z make[2]: [package/Makefile:129: package/feeds/PWpackages/v2ray-plugin/compile] Error 1 2024-03-10T17:54:10.4582057Z make[2]: Leaving directory '/workdir/openwrt' 2024-03-10T17:54:10.4614701Z make[1]: [package/Makefile:123: /workdir/openwrt/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 2024-03-10T17:54:10.4618669Z make[1]: Leaving directory '/workdir/openwrt' 2024-03-10T17:54:10.4651723Z make: [/workdir/openwrt/include/toplevel.mk:232: world] Error 2 2024-03-10T17:54:10.4670664Z ##[error]Process completed with exit code 2.