openwrt-packages icon indicating copy to clipboard operation
openwrt-packages copied to clipboard

今天刷新编译报错,go.sum?

Open guochan2019 opened this issue 3 years ago • 1 comments

go: downloading github.com/v2fly/v2ray-core/v4 v4.37.3 go: downloading github.com/golang/protobuf v1.5.2 verifying github.com/v2fly/v2ray-core/[email protected]: checksum mismatch downloaded: h1:FGmf5rtUo3xGHyZGJi8jEa7AKin05ROfPtegmGbkCKg= go.sum: h1:Kf9Qot2lLYccEzQfoCdt9img6zo5Vf+PEaoTMfa2S8k=

SECURITY ERROR This download does NOT match an earlier download recorded in go.sum. The bits may have been replaced on the origin server, or an attacker may have intercepted the download attempt.

For more information, see 'go help module-auth'.

Building targets no Go files in /home/hellomax/lede/build_dir/target-x86_64_musl/v2ray-plugin-4.37.3/.go_work/build

make[3]: *** [Makefile:74: /home/hellomax/lede/build_dir/target-x86_64_musl/v2ray-plugin-4.37.3/.built] Error 1 make[3]: Leaving directory '/home/hellomax/lede/package/lean/v2ray-plugin' time: package/lean/v2ray-plugin/compile#0.22#0.21#3.18 make[2]: *** [package/Makefile:113: package/lean/v2ray-plugin/compile] Error 2 make[2]: Leaving directory '/home/hellomax/lede' make[1]: *** [package/Makefile:107: /home/hellomax/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/hellomax/lede' make: *** [/home/hellomax/lede/include/toplevel.mk:224: world] Error 2

**以上是编译报错信息,编译前更新组件时,已经显示package/feeds/kenzo/gost/Makefile有错误,查看logs/feeds/kenzo/gost/dump.txt

内容如下:** Build-Depends: golang/host

Package: gost Version: 2.11.1-1 Depends: +libc +USE_GLIBC:librt +USE_GLIBC:libpthread Conflicts: Menu-Depends: Provides: Section: net Category: Network Repository: base Title: GO Simple Tunnel Maintainer: CN_SZTL [email protected] Source: gost-2.11.1.tar.gz License: MIT Type: ipkg Description: A simple security tunnel written in Golang https://github.com/ginuerzh/gost CN_SZTL [email protected] @@ Config: config GOST_COMPRESS_GOPROXY bool "Compiling with GOPROXY proxy" default n

config GOST_COMPRESS_UPX bool "Compress executable files with UPX" default y @@

Makefile:36: ../../lang/golang/golang-package.mk: No such file or directory make[1]: *** No rule to make target '../../lang/golang/golang-package.mk'. Stop.

guochan2019 avatar Apr 15 '21 10:04 guochan2019

大佬那边已经更新了 1、可以等这里同步 2、直接去那边拉 3、自己直接修改本地的go.sum 对应的值为downloaded的值

https://github.com/xiaorouji/openwrt-passwall/issues/1177

virus2010 avatar Apr 15 '21 13:04 virus2010