Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

use of vendored package not allowed #40

Open
srinu0266 opened this issue Jun 20, 2020 · 4 comments
Open

use of vendored package not allowed #40

srinu0266 opened this issue Jun 20, 2020 · 4 comments

Comments

@srinu0266
Copy link

Hi,
while building akutan with make build facing following error.

go install github.com/ebay/akutan/...
src/vendor/golang.org/x/net/http2/frame.go:17:2: use of vendored package not allowed
src/vendor/google.golang.org/grpc/internal/transport/controlbuf.go:28:2: use of vendored package not allowed
src/vendor/golang.org/x/net/http2/transport.go:33:2: use of vendored package not allowed
/usr/local/go/src/vendor/golang.org/x/text/secure/bidirule/bidirule.go:15:2: use of vendored package not allowed
/usr/local/go/src/vendor/golang.org/x/net/idna/idna10.0.0.go:27:2: use of vendored package not allowed
src/vendor/golang.org/x/net/http2/frame.go:18:2: use of vendored package not allowed
make: *** [Makefile:89: build] Error 1

any help appreciated.

@superfell
Copy link
Contributor

What version of go are you using? this is probably related to the changes in go around package management/modules over the last few version. I was able to build ok on go 1.12.7.

@srinu0266
Copy link
Author

iam using latest version 1.14.4.

it is working if you remove src/vendor folder and put it inside GOPATH.
but i think it is probably not a good solution.

Thanks.

@srinu0266
Copy link
Author

srinu0266 commented Jun 20, 2020 via email

@superfell
Copy link
Contributor

It probably should be updated to use modules. There's no graph visualization tool.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants