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

cmd/go: GO15VENDOREXPERIMENT=1 breaks 'go run x.go' #11416

Closed
capnm opened this issue Jun 26, 2015 · 1 comment
Closed

cmd/go: GO15VENDOREXPERIMENT=1 breaks 'go run x.go' #11416

capnm opened this issue Jun 26, 2015 · 1 comment
Milestone

Comments

@capnm
Copy link

capnm commented Jun 26, 2015

It took me a while to figure out what's going on.

ok      regexp/syntax   1.093s
--- FAIL: TestCgoCrashHandler (0.10s)
    crash_test.go:85: building source: exit status 1
        invalid vendoredImportPath: dir="/tmp/go-build823840384" root="." separator="/"
--- FAIL: TestCgoSignalDeadlock (0.03s)
    crash_test.go:85: building source: exit status 1
        invalid vendoredImportPath: dir="/tmp/go-build849881567" root="." separator="/"
--- FAIL: TestCgoTraceback (0.02s)

etc.
@mikioh mikioh changed the title build: Having a GO15VENDOREXPERIMENT=1 in the environment breaks the go15 build. runtime, cmd/go: Having a GO15VENDOREXPERIMENT=1 in the environment breaks the go15 build. Jun 26, 2015
@mikioh mikioh added this to the Go1.5 milestone Jun 26, 2015
@capnm
Copy link
Author

capnm commented Jun 26, 2015

It breaks go run/build etc. outside or without the $GOPATH/src/*/:

cd /tmp
unset GOPATH
$ go run t.go 
invalid vendoredImportPath: dir="/tmp" root="." separator="/"

@josharian josharian changed the title runtime, cmd/go: Having a GO15VENDOREXPERIMENT=1 in the environment breaks the go15 build. cmd/go: GO15VENDOREXPERIMENT=1 breaks 'go run x.go' Jun 29, 2015
@rsc rsc closed this as completed in b6ead9f Jul 7, 2015
@golang golang locked and limited conversation to collaborators Jul 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants