-
Notifications
You must be signed in to change notification settings - Fork 185
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
L大的固件报错 #24
Comments
SECURITY ERROR For more information, see 'go help module-auth'. Building targets make[3]: *** [Makefile:91: /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built] Error 1 网络应该没问题 我ping了一下 github 都正常的 |
export GOPROXY=direct 。。。。 不要去使用任何的goproxy |
我是用虚拟机编译的 也就是说我把电脑的代理关掉吗 |
我输入了这个 然后把电脑的代理关掉了,还是这个错误 |
假如用这个镜像呢?export GOPROXY=https://goproxy.cn |
root@zhangzihan-virtual-machine:/home/zhangzihan/lede# export GO=https://goproxy.cn No change to .configmake[5]: Leaving directory '/home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8/linux-5.15.70' SECURITY ERROR For more information, see 'go help module-auth'. Building targets make[3]: *** [Makefile:91: /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built] Error 1 |
整个删掉这个目录会怎么样 rm -rf dl/go-mod-cache |
go: downloading github.com/jackc/pgx/v4 v4.16.1 Building targets make[3]: *** [Makefile:91: /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built] Error 1 |
你的网络问题。好好研究研究你编译环境要怎么做才能网络畅通 最起码要实现 |
好的好的 麻烦了 |
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/go-resty/resty/v2 v2.7.0
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading github.com/google/uuid v1.3.0
go: downloading github.com/jlaffaye/ftp v0.0.0-20220829015825-b85cf1edccd4
go: downloading github.com/disintegration/imaging v1.6.2
go: downloading github.com/aws/aws-sdk-go v1.44.88
go: downloading github.com/gin-gonic/gin v1.8.0
go: downloading github.com/pkg/sftp v1.13.5
go: downloading github.com/spf13/cobra v1.5.0
go: downloading golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90
go: downloading github.com/upyun/go-sdk/v3 v3.0.3
go: downloading golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b
go: downloading github.com/caarlos0/env/v6 v6.9.3
go: downloading github.com/natefinch/lumberjack v2.0.0+incompatible
go: downloading gorm.io/driver/mysql v1.3.4
go: downloading gorm.io/driver/postgres v1.3.7
go: downloading gorm.io/driver/sqlite v1.3.4
go: downloading gorm.io/gorm v1.23.6
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/winfsp/cgofuse v1.5.0
go: downloading github.com/Xhofe/go-cache v0.0.0-20220723083548-714439c8af9a
go: downloading github.com/gorilla/websocket v1.5.0
go: downloading github.com/gin-contrib/cors v1.3.1
go: downloading github.com/golang-jwt/jwt/v4 v4.4.2
go: downloading github.com/pquerna/otp v1.3.0
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
github.com/Xhofe/go-cache@v0.0.0-20220723083548-714439c8af9a: Get "https://proxy.golang.org/github.com/%21xhofe/go-cache/@v/v0.0.0-20220723083548-714439c8af9a.mod": dial tcp 172.217.160.113:443: connect: connection refused
Building targets
no Go files in /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.go_work/build
make[3]: *** [Makefile:91: /home/zhangzihan/lede/build_dir/target-aarch64_generic_musl/alist-3.0.2/.built] Error 1
make[3]: Leaving directory '/home/zhangzihan/lede/package/alist/alist'
time: package/alist/alist/compile#0.54#0.48#360.21
ERROR: package/alist/alist failed to build.
make[2]: *** [package/Makefile:116: package/alist/alist/compile] Error 1
make[2]: Leaving directory '/home/zhangzihan/lede'
make[1]: *** [package/Makefile:110: /home/zhangzihan/lede/staging_dir/target-aarch64_generic_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/zhangzihan/lede'
make: *** [/home/zhangzihan/lede/include/toplevel.mk:230:world] 错误 2
有时候编译的时候经常报这个错误
error obtaining VCS status: exit status 128
Use -buildvcs=false to disable VCS stamping.
The text was updated successfully, but these errors were encountered: