nsf/gogobject — Issue #4: build failed with gtk2 >2.24.8 and gobject-introspection >1.30.0 from debian testing (aka wheezy)
Author: andreygursky
Created: 2012-03-09 13:56:38+00:00
State: open

Here are tailed logs (they are slighlty different due to parallel compiling?):

log1:
```
...
[ 67/172] go: build/_cgoobj.15/_cgo_gotypes.go build/_cgoobj.15/gobject-2.0_gobject.cgo1.go -> build/gobject/gobject-2.0.6
gobject-2.0/gobject.go:2382[_cgoobj.15/gobject-2.0_gobject.cgo1.go:2684]: cannot use unsafe.Pointer(source.InheritedFromGObject()) (type unsafe.Pointer) as type *[0]byte in function argument
gobject-2.0/gobject.go:2383[_cgoobj.15/gobject-2.0_gobject.cgo1.go:2685]: cannot use unsafe.Pointer(target.InheritedFromGObject()) (type unsafe.Pointer) as type *[0]byte in function argument
Waf: Leaving directory `/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/build'
Build failed
-> task in 'gobject/gobject-2.0' failed (exit status 1):
{task 140320497759440: go _cgo_gotypes.go,gobject-2.0_gobject.cgo1.go -> gobject-2.0.6}
['/media/verbtmp/progs/googlego/go-weekly-amd64/pkg/tool/linux_amd64/6g', '-I/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/build/gobject-2.0', '-I/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/gobject-2.0', '-I/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/build', '-I/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/build/_cgoobj.15', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-o', 'gobject/gobject-2.0.6', '_cgoobj.15/_cgo_gotypes.go', '_cgoobj.15/gobject-2.0_gobject.cgo1.go']
```

------------------------
log2:
```
...
[ 61/172] c: build/_cgoobj.19/gtksource-3.0_gtksource.cgo2.c -> build/_cgoobj.19/gtksource-3.0_gtksource.cgo2.c.33.o
gtksource-3.0/gtksource.go: In function ‘_cgo_c4e49b293848_Cfunc_gtk_source_completion_get_view’:
gtksource-3.0/gtksource.go:121:17: error: field ‘r’ has incomplete type
gtksource-3.0/gtksource.go:123:2: error: invalid use of incomplete typedef ‘GtkSourceView’
gtksource-3.0/gtksource.go: In function ‘_cgo_c4e49b293848_Cfunc_gtk_source_completion_context_add_proposals’:
gtksource-3.0/gtksource.go:596:31: error: field ‘p1’ has incomplete type
gtksource-3.0/gtksource.go:601:2: error: type of formal parameter 2 is incomplete
gtksource-3.0/gtksource.go: In function ‘_cgo_c4e49b293848_Cfunc_gtk_source_view_get_completion’:
gtksource-3.0/gtksource.go:1162:23: error: field ‘r’ has incomplete type
gtksource-3.0/gtksource.go:1164:2: error: invalid use of incomplete typedef ‘GtkSourceCompletion’
Waf: Leaving directory `/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/build'
Build failed
-> task in '_cgo_.o' failed (exit status 1):
{task 33416400: c gtksource-3.0_gtksource.cgo2.c -> gtksource-3.0_gtksource.cgo2.c.33.o}
['/usr/bin/gcc', '-g', '-O2', '-fPIC', '-m64', '-pthread', '-pthread', '-pthread', '-I/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/build/gtksource-3.0', '-I/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/gtksource-3.0', '-I/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/build', '-I/media/verbtmp/progs/googlego/nsf-gogobject-13cf4cc/build/_cgoobj.19', '-I/usr/include/gtk-3.0', '-I/usr/include/atk-1.0', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/gtksourceview-3.0', '-I/usr/include/libxml2', '-I/usr/include/cairo', '-DHAVE_GI=1', '-DHAVE_CAIRO=1', '-DHAVE_ATK=1', '-DHAVE_GDK=1', '-DHAVE_GDKPIXBUF=1', '-DHAVE_GIO=1', '-DHAVE_GLIB=1', '-DHAVE_GOBJECT=1', '-DHAVE_GTK=1', '-DHAVE_GTKSOURCE=1', '-DHAVE_PANGO=1', '-DHAVE_PANGOCAIRO=1', '-DGSEAL_ENABLE', '_cgoobj.19/gtksource-3.0_gtksource.cgo2.c', '-c', '-o', '_cgoobj.19/gtksource-3.0_gtksource.cgo2.c.33.o']
```