After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 629391 - build failure
build failure
Status: RESOLVED DUPLICATE of bug 629779
Product: libgda
Classification: Other
Component: general
4.1.x
Other Linux
: Normal critical
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-09-12 02:48 UTC by David Ronis
Modified: 2010-09-17 17:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
config.log (85.10 KB, text/plain)
2010-09-12 15:03 UTC, David Ronis
Details

Description David Ronis 2010-09-12 02:48:55 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):
  • File "/opt/garnome-svn-2.31.90/bin/g-ir-scanner", line 45 in <module>
    sys.exit(scanner_main(sys.argv))
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/scannermain.py", line 353 in scanner_main
    final.validate()
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/introspectablepass.py", line 34 in validate
    self._namespace.walk(self._introspectable_callable_analysis)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/ast.py", line 417 in walk
    node.walk(callback, [])
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/ast.py", line 498 in walk
    self._walk(callback, chain)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/ast.py", line 907 in _walk
    ith:


etc.
Comment 1 malerba 2010-09-12 07:36:42 UTC
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?
Comment 2 David Ronis 2010-09-12 15:03:09 UTC
Created attachment 170085 [details]
config.log

config.log file as requested.
Comment 3 David Ronis 2010-09-12 15:03:53 UTC
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.
Comment 4 David Ronis 2010-09-12 15:15:21 UTC
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.
Comment 5 David Ronis 2010-09-12 15:27:23 UTC
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):
  • File "/opt/garnome-svn-2.31.90/bin/g-ir-scanner", line 45 in <module>
    sys.exit(scanner_main(sys.argv))
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/scannermain.py", line 353 in scanner_main
    final.validate()
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/introspectablepass.py", line 34 in validate
    self._namespace.walk(self._introspectable_callable_analysis)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/ast.py", line 417 in walk
    node.walk(callback, [])
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/ast.py", line 498 in walk
    self._walk(callback, chain)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/ast.py", line 907 in _walk
    meth.walk(callback, chain)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/ast.py", line 493 in walk
    res = callback(self, chain)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/introspectablepass.py", line 187 in _introspectable_callable_analysis
    if not self._type_is_introspectable(param.type):
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/introspectablepass.py", line 121 in _type_is_introspectable
    return self._type_is_introspectable(typeval.element_type)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/introspectablepass.py", line 141 in _type_is_introspectable
    target = self._transformer.lookup_typenode(typeval)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/transformer.py", line 147 in lookup_typenode
    return self.lookup_giname(typeobj.target_giname)
  • File "/opt/garnome-svn-2.31.90/lib/gobject-introspection/giscanner/transformer.py", line 139 in lookup_giname
    include = self._includes[ns]
KeyError: 'Gobject'
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'
Comment 6 malerba 2010-09-12 18:39:43 UTC
For comment #5: applying the patch as in commit http://git.gnome.org/browse/libgda/commit/?id=fc1569b17b6a21e149caaeb96a16cbe48f58075b will correct this problem.
Comment 7 David Ronis 2010-09-12 19:18:19 UTC
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
Comment 8 David Ronis 2010-09-17 16:28:54 UTC
I upgraded to gobject-introspection 0.9.6.  The problem remains.
Comment 9 malerba 2010-09-17 17:20:02 UTC
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.
Comment 10 malerba 2010-09-17 17:20:36 UTC

*** This bug has been marked as a duplicate of bug 629779 ***