[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] lgi 0.2 - Lua to GObject (GNOME) libraries binding
- From: Pavel Holejsovsky <pavel.holejsovsky@...>
- Date: Fri, 25 Nov 2011 19:38:29 +0100
On Fri, 2011-11-25 at 13:39 +0000, Rob Kendrick wrote:
...
> /home/rjek/src/lgi-lgi/build/tests/tmp-introspectt8uqh3/Regress-1.0.o:(.data+0x48): undefined reference to `regress_test_fundamental_sub_object_get_type'
> /home/rjek/src/lgi-lgi/build/tests/tmp-introspectt8uqh3/Regress-1.0.o:(.data+0x50): undefined reference to `regress_test_interface_get_type'
> /home/rjek/src/lgi-lgi/build/tests/tmp-introspectt8uqh3/Regress-1.0.o:(.data+0x58): undefined reference to `regress_test_wi_802_1x_get_type'
> /home/rjek/src/lgi-lgi/build/tests/tmp-introspectt8uqh3/Regress-1.0.o:(.data+0x60): undefined reference to `regress_test_floating_get_type'
> collect2: ld returned 1 exit status
> linking of temporary binary failed: Command '['gcc', '-o', '/home/rjek/src/lgi-lgi/build/tests/tmp-introspectt8uqh3/Regress-1.0', '-L.', '-Wl,-rpath=.', '-lregress', '-pthread', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-lgthread-2.0', '-lrt', '-lglib-2.0', '/home/rjek/src/lgi-lgi/build/tests/tmp-introspectt8uqh3/Regress-1.0.o']' returned non-zero exit status 1
> Waf: Leaving directory `/home/rjek/src/lgi-lgi/build'
> Build failed
> -> task failed (exit status 1):
> {task 139902642538896: Regress-1.0.gir regress.c,regress.h -> Regress-1.0.gir}
> ' cd tests && /usr/bin/g-ir-scanner --warn-all --quiet --no-libtool --namespace=Regress --nsversion=1.0 --include=cairo-1.0 --include=Gio-2.0 -lregress regress.c regress.h --output=Regress-1.0.gir '
This looks like bug in gobject-introspection upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=664616
However, it is triggered only during build lgi's internal testsuite,
which is not needed during normal operation. Patch disabling tests
configuration and building for non-debug builds is now submitted in git
HEAD, will be part of the next release. In the meantime, please either
upgrade to git head, or open top-level 'wscript' file and modify
bld.recurse('src tests')
to
bld.recurse('src')
Thanks and sorry for the inconvenience.
Pavel