Yueming Xu Posted February 4, 2019 Posted February 4, 2019 Got the following error when building for mac: 2019-02-04T16:57:10.299Z - error: # app-build/vendor/golang.org/x/sys/unix vendor/golang.org/x/sys/unix/fcntl_darwin.go:10:47: FcntlInt redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/fcntl.go:16:47 vendor/golang.org/x/sys/unix/fcntl_darwin.go:15:51: FcntlFlock redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/fcntl.go:26:51 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go:576:99: sendfile redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go:51:80 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:17:51: getgroups redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go:17:51 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:28:44: setgroups redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go:28:44 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:38:82: wait4 redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go:38:82 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:49:73: accept redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go:49:73 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:60:62: bind redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go:60:62 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:70:65: connect redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go:70:65 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:80:58: socket redeclared in this block previous declaration at vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go:80:58 vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go:80:58: too many errors FATAL: command "build" failed: exit status 2
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now