monder/goofys-docker

Cannot find package "github.com/monder/goofys-docker/internal"

Opened this issue · 2 comments

./build.sh
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching github.com/aws/aws-sdk-go
[INFO] --> Fetching github.com/coreos/go-systemd
[INFO] --> Fetching github.com/docker/docker
[INFO] --> Fetching github.com/docker/go-connections
[INFO] --> Fetching github.com/docker/go-plugins-helpers
[INFO] --> Fetching github.com/codegangsta/cli
[INFO] --> Fetching github.com/go-ini/ini
[INFO] --> Fetching github.com/jacobsa/fuse
[INFO] --> Fetching github.com/jmespath/go-jmespath
[INFO] --> Fetching github.com/kahing/goofys
[INFO] --> Fetching github.com/kardianos/osext
[INFO] --> Fetching github.com/Microsoft/go-winio
[INFO] --> Fetching github.com/opencontainers/runc
[INFO] --> Fetching github.com/sevlyar/go-daemon
[INFO] --> Fetching github.com/shirou/gopsutil
[INFO] --> Fetching github.com/Sirupsen/logrus
[INFO] --> Fetching golang.org/x/net
[INFO] --> Fetching golang.org/x/sys
[INFO] Setting references.
[INFO] --> Setting version for github.com/codegangsta/cli to 0eb4e0be6c214f8904ef6989b11072c7b897c657.
[INFO] --> Setting version for github.com/coreos/go-systemd to 8aa4c5cfbebc9ae1c3ce10df0dbf75658ae574ef.
[INFO] --> Setting version for github.com/aws/aws-sdk-go to 7bad22e9cff8295edef29844b4daa55ecfb057b9.
[INFO] --> Setting version for github.com/docker/docker to 20f81dde9bd97c86b2d0e33bbbf1388018611929.
[INFO] --> Setting version for github.com/docker/go-connections to 5b7154ba2efe13ff86ae8830a9e7cb120b080d6e.
[INFO] --> Setting version for github.com/go-ini/ini to 12f418cc7edc5a618a51407b7ac1f1f512139df3.
[INFO] --> Setting version for github.com/docker/go-plugins-helpers to b6b774486d89219eba2d2b72ed50d32880167671.
[INFO] --> Setting version for github.com/jmespath/go-jmespath to 0b12d6b521d83fc7f755e7cfc1b1fbdd35a01a74.
[INFO] --> Setting version for github.com/jacobsa/fuse to 0b9db0a706bc0248f8a37cba1dd5372b4c9a8b72.
[INFO] --> Setting version for github.com/shirou/gopsutil to bae75faa5ad1212d3e80f11f5e9cd147c6be9198.
[INFO] --> Setting version for github.com/opencontainers/runc to fdc9fb841ee16714a3fa46bb85d6c42660588e3d.
[INFO] --> Setting version for github.com/kahing/goofys to bda62d906b8d6dc6499be87705466cb6e2575bf2.
[INFO] --> Setting version for github.com/kardianos/osext to 29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc.
[INFO] --> Setting version for github.com/Sirupsen/logrus to cd7d1bbe41066b6c1f19780f895901052150a575.
[INFO] --> Setting version for github.com/sevlyar/go-daemon to 3bf5e993af87194518e81cf9a81c1c53190a8911.
[INFO] --> Setting version for github.com/Microsoft/go-winio to 2255376ea2c82956af54f1eb5a56340a0af29111.
[INFO] --> Setting version for golang.org/x/net to ef00b378c73f107bf44d5c9b69875255ce89b79a.
[INFO] --> Setting version for golang.org/x/sys to d4feaf1a7e61e1d9e79e6c4e76c6349e9cab0a03.
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting github.com/codegangsta/cli
[INFO] --> Exporting github.com/docker/docker
[INFO] --> Exporting github.com/docker/go-connections
[INFO] --> Exporting github.com/docker/go-plugins-helpers
[INFO] --> Exporting github.com/go-ini/ini
[INFO] --> Exporting github.com/coreos/go-systemd
[INFO] --> Exporting github.com/Microsoft/go-winio
[INFO] --> Exporting github.com/kahing/goofys
[INFO] --> Exporting github.com/opencontainers/runc
[INFO] --> Exporting github.com/jacobsa/fuse
[INFO] --> Exporting github.com/jmespath/go-jmespath
[INFO] --> Exporting github.com/aws/aws-sdk-go
[INFO] --> Exporting github.com/sevlyar/go-daemon
[INFO] --> Exporting github.com/kardianos/osext
[INFO] --> Exporting github.com/shirou/gopsutil
[INFO] --> Exporting github.com/Sirupsen/logrus
[INFO] --> Exporting golang.org/x/sys
[INFO] --> Exporting golang.org/x/net
[INFO] Replacing existing vendor dependencies
driver.go:15:2: cannot find package "github.com/monder/goofys-docker/internal" in any of:
/go/src/github.com/monder/goofys-docker/vendor/github.com/monder/goofys-docker/internal (vendor tree)
/usr/local/go/src/github.com/monder/goofys-docker/internal (from $GOROOT)
/go/src/github.com/monder/goofys-docker/internal (from $GOPATH)

And when i execute the following command:
cd goofys-docker/
git clone https://github.com/kahing/goofys.git

I get another error msg:

./build.sh
[INFO] Downloading dependencies. Please wait...
[INFO] --> Fetching github.com/aws/aws-sdk-go
[INFO] --> Fetching github.com/docker/docker
[INFO] --> Fetching github.com/coreos/go-systemd
[INFO] --> Fetching github.com/docker/go-connections
[INFO] --> Fetching github.com/codegangsta/cli
[INFO] --> Fetching github.com/jmespath/go-jmespath
[INFO] --> Fetching github.com/kahing/goofys
[INFO] --> Fetching github.com/kardianos/osext
[INFO] --> Fetching github.com/Microsoft/go-winio
[INFO] --> Fetching github.com/opencontainers/runc
[INFO] --> Fetching github.com/docker/go-plugins-helpers
[INFO] --> Fetching github.com/go-ini/ini
[INFO] --> Fetching github.com/jacobsa/fuse
[INFO] --> Fetching github.com/sevlyar/go-daemon
[INFO] --> Fetching github.com/shirou/gopsutil
[INFO] --> Fetching github.com/Sirupsen/logrus
[INFO] --> Fetching golang.org/x/net
[INFO] --> Fetching golang.org/x/sys
[INFO] Setting references.
[INFO] --> Setting version for github.com/aws/aws-sdk-go to 7bad22e9cff8295edef29844b4daa55ecfb057b9.
[INFO] --> Setting version for github.com/jmespath/go-jmespath to 0b12d6b521d83fc7f755e7cfc1b1fbdd35a01a74.
[INFO] --> Setting version for github.com/docker/docker to 20f81dde9bd97c86b2d0e33bbbf1388018611929.
[INFO] --> Setting version for github.com/codegangsta/cli to 0eb4e0be6c214f8904ef6989b11072c7b897c657.
[INFO] --> Setting version for github.com/Microsoft/go-winio to 2255376ea2c82956af54f1eb5a56340a0af29111.
[INFO] --> Setting version for github.com/coreos/go-systemd to 8aa4c5cfbebc9ae1c3ce10df0dbf75658ae574ef.
[INFO] --> Setting version for github.com/docker/go-connections to 5b7154ba2efe13ff86ae8830a9e7cb120b080d6e.
[INFO] --> Setting version for github.com/shirou/gopsutil to bae75faa5ad1212d3e80f11f5e9cd147c6be9198.
[INFO] --> Setting version for github.com/sevlyar/go-daemon to 3bf5e993af87194518e81cf9a81c1c53190a8911.
[INFO] --> Setting version for github.com/jacobsa/fuse to 0b9db0a706bc0248f8a37cba1dd5372b4c9a8b72.
[INFO] --> Setting version for github.com/kardianos/osext to 29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc.
[INFO] --> Setting version for github.com/go-ini/ini to 12f418cc7edc5a618a51407b7ac1f1f512139df3.
[INFO] --> Setting version for github.com/kahing/goofys to bda62d906b8d6dc6499be87705466cb6e2575bf2.
[INFO] --> Setting version for github.com/docker/go-plugins-helpers to b6b774486d89219eba2d2b72ed50d32880167671.
[INFO] --> Setting version for github.com/opencontainers/runc to fdc9fb841ee16714a3fa46bb85d6c42660588e3d.
[INFO] --> Setting version for github.com/Sirupsen/logrus to cd7d1bbe41066b6c1f19780f895901052150a575.
[INFO] --> Setting version for golang.org/x/net to ef00b378c73f107bf44d5c9b69875255ce89b79a.
[INFO] --> Setting version for golang.org/x/sys to d4feaf1a7e61e1d9e79e6c4e76c6349e9cab0a03.
[INFO] Exporting resolved dependencies...
[INFO] --> Exporting github.com/aws/aws-sdk-go
[INFO] --> Exporting github.com/docker/docker
[INFO] --> Exporting github.com/coreos/go-systemd
[INFO] --> Exporting github.com/codegangsta/cli
[INFO] --> Exporting github.com/docker/go-connections
[INFO] --> Exporting github.com/Sirupsen/logrus
[INFO] --> Exporting github.com/docker/go-plugins-helpers
[INFO] --> Exporting github.com/opencontainers/runc
[INFO] --> Exporting github.com/kahing/goofys
[INFO] --> Exporting github.com/jacobsa/fuse
[INFO] --> Exporting github.com/shirou/gopsutil
[INFO] --> Exporting github.com/sevlyar/go-daemon
[INFO] --> Exporting github.com/go-ini/ini
[INFO] --> Exporting github.com/Microsoft/go-winio
[INFO] --> Exporting github.com/jmespath/go-jmespath
[INFO] --> Exporting github.com/kardianos/osext
[INFO] --> Exporting golang.org/x/net
[INFO] --> Exporting golang.org/x/sys
[INFO] Replacing existing vendor dependencies
internal/goofys.go:18:2: cannot find package "context" in any of:
/go/src/github.com/monder/goofys-docker/vendor/context (vendor tree)
/usr/local/go/src/context (from $GOROOT)
/go/src/context (from $GOPATH)
internal/goofys.go:43:2: cannot find package "github.com/sirupsen/logrus" in any of:
/go/src/github.com/monder/goofys-docker/vendor/github.com/sirupsen/logrus (vendor tree)
/usr/local/go/src/github.com/sirupsen/logrus (from $GOROOT)
/go/src/github.com/sirupsen/logrus (from $GOPATH)
internal/logger.go:26:2: cannot find package "github.com/sirupsen/logrus/hooks/syslog" in any of:
/go/src/github.com/monder/goofys-docker/vendor/github.com/sirupsen/logrus/hooks/syslog (vendor tree)
/usr/local/go/src/github.com/sirupsen/logrus/hooks/syslog (from $GOROOT)
/go/src/github.com/sirupsen/logrus/hooks/syslog (from $GOPATH)
internal/flags.go:29:2: cannot find package "github.com/urfave/cli" in any of:
/go/src/github.com/monder/goofys-docker/vendor/github.com/urfave/cli (vendor tree)
/usr/local/go/src/github.com/urfave/cli (from $GOROOT)
/go/src/github.com/urfave/cli (from $GOPATH)

Finally, I found the correct step.

sudo su -
go get -u github.com/monder/goofys-docker
Error Msg:
package github.com/sirupsen/logrus: case-insensitive import collision: "github.com/sirupsen/logrus" and "github.com/Sirupsen/logrus"

cd /root/go/src/github.com/monder/goofys-docker
./build.sh