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 629426 - [scanner] typedef GArray is mishandled
[scanner] typedef GArray is mishandled
Status: RESOLVED DUPLICATE of bug 629682
Product: gobject-introspection
Classification: Platform
Component: general
2.25.x
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-09-12 12:50 UTC by Götz Waschk
Modified: 2015-02-07 16:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
scanner: Add workaround for libgnome-keyring (1.34 KB, patch)
2010-09-18 09:37 UTC, Vincent Untz
none Details | Review

Description Götz Waschk 2010-09-12 12:50:10 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
Comment 1 Vincent Untz 2010-09-18 09:24:57 UTC
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>
Comment 2 Vincent Untz 2010-09-18 09:27:48 UTC
This is probably the same bug as bug 629682.
Comment 3 Vincent Untz 2010-09-18 09:37:21 UTC
Created attachment 170532 [details] [review]
scanner: Add workaround for libgnome-keyring
Comment 4 Colin Walters 2012-12-10 19:07:10 UTC
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 ***
Comment 5 André Klapper 2015-02-07 16:53:16 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]