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 get github.com/suzukiyuzs/show-mackerelでビルドに失敗します。 #3

Open
shinden opened this issue Mar 18, 2019 · 0 comments

Comments

@shinden
Copy link

shinden commented Mar 18, 2019

よろしくお願いします。
以下のようにビルドに失敗します。

$ go get github.com/suzukiyuzs/show-mackerel
# github.com/suzukiyuzs/show-mackerel/lib
src/github.com/suzukiyuzs/show-mackerel/lib/check.go:79:11: invalid operation: memo != nil (mismatched types string and nil)
src/github.com/suzukiyuzs/show-mackerel/lib/check.go:80:15: invalid indirect of memo (type string)

goのバージョンは以下の2つで実施しました。
go1.9.4
go1.12.1

go envの結果は以下になります。

$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ec2-user/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/ec2-user/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build514494546=/tmp/go-build -gno-record-gcc-switches"

以上です。

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

1 participant