❯ echo $GOPATH/
/Users/kig/workspace/oss/go/
❯ go version
go version go1.11 darwin/amd64
❯ ruby -version
ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-darwin17]
❯ bash --version
GNU bash, version 4.4.23(1)-release (x86_64-apple-darwin17.5.0)
Steps to Reproduce:
Go to your $GOPATH, in my case, it's ~/workspace/oss/go/src/github.com/burke/zeus, which is a git clone of the repo.
cd zeus
make
Result: get the following error:
❯ make -f Makefile --debug
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
Reading makefiles...
Updating goal targets....
File `default' does not exist.
File `all' does not exist.
File `test' does not exist.
File `test-go' does not exist.
File `govendor' does not exist.
Must remake target `govendor'.
go get github.com/kardianos/govendor
Successfully remade target file `govendor'.
Must remake target `test-go'.
ZEUS_TEST_GEMPATH="/Users/kig/Dropbox/Workspace/oss/ruby/github/zeus/rubygem" GO15VENDOREXPERIMENT=1 govendor test +local
# github.com/burke/zeus/vendor/github.com/fsnotify/fsevents
../../burke/zeus/vendor/github.com/fsnotify/fsevents/fsevents.go:38:31: constant 36893488147419103231 overflows uint64
../../burke/zeus/vendor/github.com/fsnotify/fsevents/fsevents.go:236:44: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithCString
../../burke/zeus/vendor/github.com/fsnotify/fsevents/fsevents.go:237:163: cannot use cPaths (type _Ctype_CFArrayRef) as type _Ctype_CFMutableArrayRef in argument to func literal
../../burke/zeus/vendor/github.com/fsnotify/fsevents/fsevents.go:240:38: constant 36893488147419103231 overflows _Ctype_ulonglong
# github.com/kigster/zeus/vendor/github.com/fsnotify/fsevents
vendor/github.com/fsnotify/fsevents/fsevents.go:38:31: constant 36893488147419103231 overflows uint64
vendor/github.com/fsnotify/fsevents/fsevents.go:236:44: cannot use nil as type _Ctype_CFAllocatorRef in argument to _Cfunc_CFStringCreateWithCString
vendor/github.com/fsnotify/fsevents/fsevents.go:237:163: cannot use cPaths (type _Ctype_CFArrayRef) as type _Ctype_CFMutableArrayRef in argument to func literal
vendor/github.com/fsnotify/fsevents/fsevents.go:240:38: constant 36893488147419103231 overflows _Ctype_ulonglong
FAIL github.com/kigster/zeus/go/filemonitor [build failed]
ok github.com/kigster/zeus/go/messages (cached)
ok github.com/kigster/zeus/go/unixsocket (cached)
FAIL github.com/kigster/zeus/go/zeusmaster [build failed]
Error: exit status 2
make: *** [test-go] Error 2
Environment:
Steps to Reproduce:
~/workspace/oss/go/src/github.com/burke/zeus
, which is a git clone of the repo.cd zeus
make
Result: get the following error: