Open FlyingShit-XinHuang opened 8 years ago
I can't duplicate this.
$ mkdir -p $GOPATH/src/github.com/freeformz/t485
$ cd $GOPATH/src/github.com/freeformz/t485
$ echo 'package main
import (
"fmt"
"golang.org/x/crypto/ssh"
)
func main() {
fmt.Println(ssh.Permissions{})
}' > main.go
$ godep save
$ cat Godeps/Godeps.json
{
"ImportPath": "github.com/freeformz/t485",
"GoVersion": "go1.7",
"GodepVersion": "v74",
"Deps": [
{
"ImportPath": "golang.org/x/crypto/curve25519",
"Rev": "c197bcf24cde29d3f73c7b4ac6fd41f4384e8af6"
},
{
"ImportPath": "golang.org/x/crypto/ssh",
"Rev": "c197bcf24cde29d3f73c7b4ac6fd41f4384e8af6"
}
]
}
$ find vendor
vendor
vendor/golang.org
vendor/golang.org/x
vendor/golang.org/x/crypto
vendor/golang.org/x/crypto/curve25519
vendor/golang.org/x/crypto/curve25519/const_amd64.s
vendor/golang.org/x/crypto/curve25519/cswap_amd64.s
vendor/golang.org/x/crypto/curve25519/curve25519.go
vendor/golang.org/x/crypto/curve25519/doc.go
vendor/golang.org/x/crypto/curve25519/freeze_amd64.s
vendor/golang.org/x/crypto/curve25519/ladderstep_amd64.s
vendor/golang.org/x/crypto/curve25519/mont25519_amd64.go
vendor/golang.org/x/crypto/curve25519/mul_amd64.s
vendor/golang.org/x/crypto/curve25519/square_amd64.s
vendor/golang.org/x/crypto/LICENSE
vendor/golang.org/x/crypto/PATENTS
vendor/golang.org/x/crypto/ssh
vendor/golang.org/x/crypto/ssh/buffer.go
vendor/golang.org/x/crypto/ssh/certs.go
vendor/golang.org/x/crypto/ssh/channel.go
vendor/golang.org/x/crypto/ssh/cipher.go
vendor/golang.org/x/crypto/ssh/client.go
vendor/golang.org/x/crypto/ssh/client_auth.go
vendor/golang.org/x/crypto/ssh/common.go
vendor/golang.org/x/crypto/ssh/connection.go
vendor/golang.org/x/crypto/ssh/doc.go
vendor/golang.org/x/crypto/ssh/handshake.go
vendor/golang.org/x/crypto/ssh/kex.go
vendor/golang.org/x/crypto/ssh/keys.go
vendor/golang.org/x/crypto/ssh/mac.go
vendor/golang.org/x/crypto/ssh/messages.go
vendor/golang.org/x/crypto/ssh/mux.go
vendor/golang.org/x/crypto/ssh/server.go
vendor/golang.org/x/crypto/ssh/session.go
vendor/golang.org/x/crypto/ssh/tcpip.go
vendor/golang.org/x/crypto/ssh/transport.go
If you can reliably reproduce locally, please add -v -d
to you commands, save the output and upload it somewhere I can inspect it.
You can get the output from http://pan.baidu.com/s/1hsnV7tM
Expected behavior
Actual behavior
error happens when building with 'vendor/':
I must go to godep directory and checkout to 'v74', then execute 'go install'. There should be some notes in README.md to guide users.
Steps to reproduce behavior
godep version
outputgo version
outputContents of Godeps.json file
There is no 'golang.org/x/crypto/curve25519', only 'golang.org/x/crypto/ssh'