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

x/vgo: undefined package #24559

Closed
lelvisl opened this issue Mar 27, 2018 · 2 comments

Comments

@lelvisl
Copy link

commented Mar 27, 2018

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.10 darwin/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/elvis/Library/Caches/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/elvis/prog/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.10/libexec"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.10/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
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=/var/folders/wp/jlm6rvd11p35vsctx0czjxm80000gn/T/go-build585447605=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

I try to vgo build on https://github.com/lelvisl/logger

What did you expect to see?

success build

What did you see instead?

 vgo build
# github.com/lelvisl/logger
./logstash.go:17:10: undefined: logrustash.New
./logstash.go:17:36: undefined: logrustash.DefaultFormatter

go build works successfully

@gopherbot gopherbot added this to the vgo milestone Mar 27, 2018

@lelvisl

This comment has been minimized.

Copy link
Author

commented Mar 27, 2018

may be related to #24557

@lelvisl

This comment has been minimized.

Copy link
Author

commented Mar 27, 2018

hotfix

require (
	"github.com/bshuster-repo/logrus-logstash-hook" v0.0.0-20180322175230-ea59b04518367f2aafe8cf6d46a7d60605d075ce

@lelvisl lelvisl closed this Mar 27, 2018

@golang golang locked and limited conversation to collaborators Mar 27, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.