limetext / lime

Open source API-compatible alternative to the text editor Sublime Text
http://limetext.github.io
BSD 2-Clause "Simplified" License
15.31k stars 1.07k forks source link

build error mac osx / go 1.10.beta2 #584

Open roscopecoltran opened 6 years ago

roscopecoltran commented 6 years ago

Hi,

Hope you are all well !

Using go 1.10.beta2

go version devel +2dc025e4e1 Wed Jan 17 06:44:25 2018 +0000 darwin/amd64
cd $GOPATH/src/github.com/limetext/lime-qml
cd main
go build
# github.com/rjeczalik/notify
../../../rjeczalik/notify/watcher_fsevents_cgo.go:51: cannot use refZero (type int) as type _Ctype_CFAllocatorRef in argument to func literal
../../../rjeczalik/notify/watcher_fsevents_cgo.go:165: cannot use refZero (type int) as type _Ctype_CFAllocatorRef in argument to func literal
../../../rjeczalik/notify/watcher_fsevents_cgo.go:166: cannot use refZero (type int) as type _Ctype_CFAllocatorRef in argument to func literal
# github.com/limetext/gopy
utils.c:15:23: error: use of undeclared identifier 'callWithoutArgs'
utils.c:19:23: error: use of undeclared identifier 'callWithArgs'
utils.c:23:23: error: use of undeclared identifier 'callWithKeywords'
utils.c:96:51: error: use of undeclared identifier 'goClassCallMethod'
utils.c:99:51: error: use of undeclared identifier 'goClassCallMethodArgs'
utils.c:102:51: error: use of undeclared identifier 'goClassCallMethodKwds'
utils.c:122:12: warning: implicit declaration of function 'goClassObjGet' is invalid in C99 [-Wimplicit-function-declaration]
utils.c:122:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *') [-Wint-conversion]
utils.c:126:12: warning: implicit declaration of function 'goClassObjSet' is invalid in C99 [-Wimplicit-function-declaration]
utils.c:202:12: warning: implicit declaration of function 'goClassNatGet' is invalid in C99 [-Wimplicit-function-declaration]
utils.c:202:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'PyObject *' (aka 'struct _object *') [-Wint-conversion]
utils.c:206:12: warning: implicit declaration of function 'goClassNatSet' is invalid in C99 [-Wimplicit-function-declaration]
utils.c:287:28: error: use of undeclared identifier 'goClassGetProp'
utils.c:292:28: error: use of undeclared identifier 'goClassSetProp'
utils.c:300:40: error: use of undeclared identifier 'goClassTraverse'
utils.c:301:40: error: use of undeclared identifier 'goClassClear'
utils.c:306:41: error: use of undeclared identifier 'goGenericAlloc'
utils.c:307:41: error: use of undeclared identifier 'goGenericFree'
utils.c:314:37: error: use of undeclared identifier 'goClassNew'
utils.c:315:37: error: use of undeclared identifier 'goGenericAlloc'
utils.c:316:37: error: use of undeclared identifier 'goClassDealloc'
utils.c:317:37: error: use of undeclared identifier 'goGenericFree'
utils.c:319:63: error: use of undeclared identifier 'goClassCall'
utils.c:320:63: error: use of undeclared identifier 'goClassGetAttr'
utils.c:321:63: error: use of undeclared identifier 'goClassGetAttrObj'

Any way to fix these errors ? Is there any docker container (alpine based) available ? Is it possible to share some cross-compiled binaries as releases ?

Thanks in advance ^^

Richard

zoli commented 6 years ago

Hi You have mentioned this issue before in support repo here, why openning again here?