Skip to content

go build failed #1151

Description

@soulmachine

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions