dbxcli
dbxcli copied to clipboard
wont compile on arm64
meh your already using...
scw-0321f9 /usr/src/dbxcli # uname -a Linux scw-0321f9 4.9.93-mainline-rev1 #1 SMP Tue Apr 10 09:54:46 UTC 2018 aarch64 GNU/Linux scw-0321f9 /usr/src/dbxcli #
scw-0321f9 /usr/src/dbxcli # ./build.sh Number of parallel builds: 7
--> openbsd/amd64: _/usr/src/dbxcli --> linux/amd64: _/usr/src/dbxcli --> linux/arm: _/usr/src/dbxcli --> windows/amd64: _/usr/src/dbxcli --> darwin/amd64: _/usr/src/dbxcli
5 errors occurred: --> windows/amd64 error: exit status 1 Stderr: /root/src/github.com/spf13/cobra/command_win.go:9:2: cannot find package "github.com/inconshreveable/mousetrap" in any of: /usr/local/go/src/github.com/inconshreveable/mousetrap (from $GOROOT) /root/src/github.com/inconshreveable/mousetrap (from $GOPATH)
--> linux/arm error: exit status 2 Stderr: # _/usr/src/dbxcli ./main.go:43:24: cannot use versionCmd (type *"github.com/spf13/cobra".Command) as type *"github.com/dropbox/dbxcli/vendor/github.com/spf13/cobra".Command in argument to cmd.RootCmd.AddCommand
--> openbsd/amd64 error: exit status 2 Stderr: # _/usr/src/dbxcli ./main.go:43:24: cannot use versionCmd (type *"github.com/spf13/cobra".Command) as type *"github.com/dropbox/dbxcli/vendor/github.com/spf13/cobra".Command in argument to cmd.RootCmd.AddCommand
--> linux/amd64 error: exit status 2 Stderr: # _/usr/src/dbxcli ./main.go:43:24: cannot use versionCmd (type *"github.com/spf13/cobra".Command) as type *"github.com/dropbox/dbxcli/vendor/github.com/spf13/cobra".Command in argument to cmd.RootCmd.AddCommand
--> darwin/amd64 error: exit status 2 Stderr: # _/usr/src/dbxcli ./main.go:43:24: cannot use versionCmd (type *"github.com/spf13/cobra".Command) as type *"github.com/dropbox/dbxcli/vendor/github.com/spf13/cobra".Command in argument to cmd.RootCmd.AddCommand
scw-0321f9 /usr/src/dbxcli #
made a glide yaml while i was at it..
scw-0321f9 /usr/src/dbxcli # cat glide.yaml
package: .
import:
- package: github.com/dropbox/dbxcli
version: ^2.1.1
subpackages:
- cmd
- package: github.com/dropbox/dropbox-sdk-go-unofficial
version: ^4.1.0
subpackages:
- dropbox
- dropbox/auth
- dropbox/files
- dropbox/sharing
- dropbox/team
- dropbox/users
- package: github.com/dustin/go-humanize
- package: github.com/mitchellh/go-homedir
version: ^1.0.0
- package: github.com/mitchellh/ioprogress
- package: github.com/spf13/cobra
version: ^0.0.3
- package: golang.org/x/net
subpackages:
- context
- package: golang.org/x/oauth2
-package:github.com/inconshreveable/mousetrap