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 622378 - Update to new gir format
Update to new gir format
Status: RESOLVED DUPLICATE of bug 621717
Product: atk
Classification: Platform
Component: build
git master
Other Linux
: Urgent blocker
: ---
Assigned To: Li Yuan
Li Yuan
Depends on:
Blocks:
 
 
Reported: 2010-06-22 11:04 UTC by André Klapper
Modified: 2010-09-19 22:54 UTC
See Also:
GNOME target: 2.32.x
GNOME version: 2.29/2.30


Attachments
Patch usedin openSUSE Factory at this stage (616 bytes, patch)
2010-07-21 13:51 UTC, Dominique Leuenberger
none Details | Review

Description André Klapper 2010-06-22 11:04:58 UTC
I tried to build gtk+ git master and failed:

/build/share/gir-1.0/Atk-1.0.gir: Incompatible version 1.0 (supported: 1.1)
make[4]: *** [Gtk-2.0.gir] Error 1
make[4]: Leaving directory `/home/andre/svn-gnome/gtk+/gtk'
Comment 1 André Klapper 2010-06-22 11:38:00 UTC
Workaround:
<pwithnall> You could try just editing Atk-1.0.gir to change the "version" property. That worked for me, since I don't know what the proper fix is
Comment 2 Dominique Leuenberger 2010-07-21 13:51:50 UTC
Created attachment 166283 [details] [review]
Patch usedin openSUSE Factory at this stage
Comment 3 André Klapper 2010-09-18 19:14:08 UTC
PING. This has been blocking testing for a while now.
Comment 4 Emmanuele Bassi (:ebassi) 2010-09-19 16:27:49 UTC
you're trying to compile the Gtk introspection data with a version of g-i newer than the version which compiled the Atk introspection data.

changing the version of the GIR file by hand is never going to work: you need to recompile it with the version of gobject-introspection that you're using for gtk+.
Comment 5 André Klapper 2010-09-19 16:52:38 UTC
ebassi: Still it's a valid bug even if the patch is wrong, isn't it?
Comment 6 Emmanuele Bassi (:ebassi) 2010-09-19 17:13:01 UTC
it's not "a bug": the introspection data format changed (twice, actually: the current version is 1.2, and requires g-i ≥ 0.9.5), and the change requires rebuilding the introspection data for every library in the stack.

it surely is not a bug against Atk, nor Gtk. if you want to file a bug against gobject-introspection (product: GLib, component: introspection) for better documentation and error messages, feel free to do so.
Comment 7 Johan (not receiving bugmail) Dahlin 2010-09-19 22:54:37 UTC

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