This repository was archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
Errors when a dependency tries to override a stdlib path #1445
Copy link
Copy link
Closed
Description
Workflow:
-
Ran this from a location where
main.go
is present:dep init
-
Committed the
Gopkg.toml
andGopkg.lock
(not thevendor
directory to version control) -
In another directory, updated the project and ran
dep ensure
to make sure that the dependencies are maintained/updated. -
Maybe I am missing something basic here, any help will be appreciated. EDIT: This is what will be the perfect way to get up and running immediately with dep.
What happens:
- Cannot run
go build
orgo install
. Error message:
go build main.go
# vendor/github.com/cloudflare/cfssl/scan
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:53:71: undefined: "crypto/tls".CipherSuites
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:64:74: undefined: "crypto/tls".Curves
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:68:101: undefined: "crypto/tls".SignatureAndHash
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:87:13: undefined: "crypto/tls".AllSignatureAndHashAlgorithms
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:91:86: conn.SayHello undefined (type *"crypto/tls".Conn has no field or method SayHello)
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:100:77: undefined: "crypto/tls".Versions
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:106:5: undefined: "crypto/tls".CipherSuites
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:121:35: undefined: "crypto/tls".CipherSuites
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:122:24: undefined: "crypto/tls".CipherSuites
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:129:32: undefined: "crypto/tls".CipherSuite
vendor/github.com/cloudflare/cfssl/scan/tls_handshake.go:129:32: too many errors
Expectation:
- That all the dependency management will happen in the background once I ran
dep ensure
. - Teams just need a
dep ensure
to update their state locally and can then issue a build, run, install command.
What version of dep
are you using (dep version
)?
dep-linux-amd64 version
dep:
version : v0.3.2
build date : 2017-10-19
git hash : 8ddfc8a
go version : go1.9
go compiler : gc
platform : linux/amd64
Metadata
Metadata
Assignees
Labels
No labels