GNOME Bugzilla – Bug 629426
[scanner] typedef GArray is mishandled
Last modified: 2015-02-07 16:53:16 UTC
This is with latest git of gir-repository and gobject-introspection 0.9.5: /usr/bin/g-ir-compiler --includedir=. --includedir=. GnomeKeyring-2.0.gir -o GnomeKeyring-2.0.typelib GnomeKeyring-2.0.gir:19:50: error: The element <type> is invalid here error parsing file GnomeKeyring-2.0.gir: The element <type> is invalid here make[2]: *** [GnomeKeyring-2.0.typelib] Error 1
This is a bug in the scanner. We have: typedef GArray GnomeKeyringAttributeList This is how it is translated in gir: <alias name="AttributeList" c:type="GnomeKeyringAttributeList"> <array name="GLib.Array" c:type="GArray"> <type name="gpointer" c:type="gpointer"/> </array> </alias> But it should be: <alias name="AttributeList" c:type="GnomeKeyringAttributeList"> <type name="GLib.Array" c:type="GArray"/> </alias>
This is probably the same bug as bug 629682.
Created attachment 170532 [details] [review] scanner: Add workaround for libgnome-keyring
Yeah, it is the same bug. I think I'd rather not take workarounds for libgnome-keyring, given its imminent demise in favor of libsecret. *** This bug has been marked as a duplicate of bug 629682 ***
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]