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

go build failed #1151

Open
soulmachine opened this issue Mar 26, 2021 · 1 comment
Open

go build failed #1151

soulmachine opened this issue Mar 26, 2021 · 1 comment

Comments

@soulmachine
Copy link

Bug Report

This project can not compile under go1.15.10

logkit 相关配置:

none

运行环境:

go1.15.10

logkit 版本:

master

操作系统版本:

Ubuntu 20.04.2 LTS

复现过程操作步骤:

make all failed with the following error:

$ make all
go generate
tools/generators/grok_pattern_generator.go:13:2: cannot find package "github.com/qiniu/log" in any of:
	/usr/local/go/src/github.com/qiniu/log (from $GOROOT)
	/home/ubuntu/go/src/github.com/qiniu/log (from $GOPATH)
logkit.go:235: running "go": exit status 1
make: *** [Makefile:2: all] Error 1

Cause: It seems the project https://github.com/qiniu/log is not public available anymore

预期表现:

should compile the project and generate a binary as output

实际情况:

go build failed

@PapaPiya
Copy link
Contributor

logkit目前编译基于1.10.8版本的golang
logkit compile requires golang version 1.10.8

原因:高版本的golang不支持windows2003和windows2008/32位
reason:the high version golang not support windows2003, windows2008/32bit

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