Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build sources on Mac OS-X Mojave #664

Closed
kigster opened this issue Sep 28, 2018 · 2 comments
Closed

Unable to build sources on Mac OS-X Mojave #664

kigster opened this issue Sep 28, 2018 · 2 comments

Comments

@kigster
Copy link
Contributor

kigster commented Sep 28, 2018

Environment:

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:

  1. 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.
  2. cd zeus
  3. 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
@Yamilquery
Copy link

Yamilquery commented Nov 7, 2018

It seems to be a go issue related to this one:

golang/go#23317

@kigster
Copy link
Contributor Author

kigster commented Nov 8, 2018

Perhaps an updated version of fsevents got it fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants