GNOME Bugzilla – Bug 622378
Update to new gir format
Last modified: 2010-09-19 22:54:37 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'
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
Created attachment 166283 [details] [review] Patch usedin openSUSE Factory at this stage
PING. This has been blocking testing for a while now.
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+.
ebassi: Still it's a valid bug even if the patch is wrong, isn't it?
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.
*** This bug has been marked as a duplicate of bug 621717 ***