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

编译不通过 #11

Open
sunnyguhz opened this issue Oct 1, 2021 · 2 comments
Open

编译不通过 #11

sunnyguhz opened this issue Oct 1, 2021 · 2 comments

Comments

@sunnyguhz
Copy link

8天前编译还是正常的,今天编译突然不通过。
编译N次,好几个型号都是同样的报错内容:
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
Makefile:32: recipe for target 'go_build' failed
make[1]: Leaving directory '/opt/padavan/trunk/tools'
make[1]: *** [go_build] Error 92
make: *** [tools] Error 2
Makefile:177: recipe for target 'tools' failed
Error: Process completed with exit code 2.

貌似是执行语句的时候卡住没有下载成功
mkdir -p /opt/padavan/trunk/tools/go
( if [ ! -f /opt/padavan/trunk/tools/go/go1.16.6.linux-amd64.tar.gz ]; then
curl --create-dirs -L https://gomirrors.org/dl/go/go1.16.6.linux-amd64.tar.gz -o /opt/padavan/trunk/tools/go/go1.16.6.linux-amd64.tar.gz ;
fi )

@sunnyguhz
Copy link
Author

确认是go1.16.6下载失败造成的。
建议直接在tools文件夹下新建go文件夹,并下载好最新版1.17.1版go文件

@keke1023
Copy link
Owner

keke1023 commented Oct 3, 2021

原因应该是十月一号lets encrypt根证书过期,curl下载就失败了,至于解决办法你可以自行下载,也可以改成wget下载,源码里不提供额外的包以保证安全

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants