GNOME Bugzilla – Bug 629391
build failure
Last modified: 2010-09-17 17:20:36 UTC
I'm trying to upgrade to version 4.1.0. The build dies wgda-4.0/information_schema.xml" ** (lt-Gda-4.0:10605): WARNING **: Missing or malformed file '/opt/garnome-svn-2.31.90/share/libgda-4.0/information_schema.xml', check your installation Traceback (most recent call last):
+ Trace 223661
sys.exit(scanner_main(sys.argv))
final.validate()
self._namespace.walk(self._introspectable_callable_analysis)
node.walk(callback, [])
self._walk(callback, chain)
ith:
etc.
You seem to try to use version 4.1.0, the latest one is 4.1.10, and I encourage you to use this one instead. Otherwise, can you send me the config.log file from the configuration step?
Created attachment 170085 [details] config.log config.log file as requested.
I'm trying to build 4.1.10. The last version I'd installed was 4.1.8. I'll attach config.log. One other recent change on this box is that I've upgraded gobject-introspection to version 0.9.5.
It looks like the build is fixed on a previously installed libgda-4.0. I deleted that directory from lib, share and include. The problem still remains.
I found information_schema.xml in the libgda directory and copied it to a recreated $(prefix)/share/libgda-4.0. (I'm also a bit confused by all the 4.0 tagged .pc etc files in the 4.1.10 directory) The compilation still fails with: GISCAN Gda-4.0.gir Traceback (most recent call last):
+ Trace 223668
meth.walk(callback, chain)
res = callback(self, chain)
if not self._type_is_introspectable(param.type):
return self._type_is_introspectable(typeval.element_type)
target = self._transformer.lookup_typenode(typeval)
return self.lookup_giname(typeobj.target_giname)
include = self._includes[ns]
make[1]: *** [Gda-4.0.gir] Error 1 make[1]: Leaving directory `/home/ronis/Project/notar/GNOME/garnome/office/libgda/work/main.d/libgda-4.1.10/libgda'
For comment #5: applying the patch as in commit http://git.gnome.org/browse/libgda/commit/?id=fc1569b17b6a21e149caaeb96a16cbe48f58075b will correct this problem.
Thanks for the patch. The build still dies, now at a different place: GISCAN Gda-4.0.gir GICOMP Gda-4.0.gir Gda-4.0.gir:22:50: error: The element <type> is invalid here error parsing file Gda-4.0.gir: The element <type> is invalid here make[3]: *** [Gda-4.0.typelib] Error 1
I upgraded to gobject-introspection 0.9.6. The problem remains.
For all I know if you remove the line 22 then the Gda-4.0.typelib is correctly generated. I'm sorry but it's the only workaround I see for now, the bug in the the gobject introspection's source. See bug #629682.
*** This bug has been marked as a duplicate of bug 629779 ***