Skip to content

build error mac osx / go 1.10.beta2 #584

Description

@roscopecoltran

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions