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 612126 - Wrong glib dependency
Wrong glib dependency
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
2.21.x
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2010-03-07 20:44 UTC by Priit Laes (IRC: plaes)
Modified: 2011-01-18 12:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Raise required versions of GLib and GObject-Introspection (1.03 KB, patch)
2011-01-18 11:58 UTC, Simon van der Linden
committed Details | Review
Raise required versions of GLib and GObject-Introspection (1.03 KB, patch)
2011-01-18 12:03 UTC, Simon van der Linden
committed Details | Review

Description Priit Laes (IRC: plaes) 2010-03-07 20:44:34 UTC
pygobject 2.21.x doesn't compile anymore against glib-2.22.4, so the dependency should be updated to at least 2.23.4 (I only tested it with this version).
Comment 1 Gian Mario Tagliaretti 2010-04-05 16:52:30 UTC
so we have to raise the dependency because you are getting an error which you didn't report and to a random version since you have only that one installed.

Looks like we have a good bunch of reasons here.
Comment 2 Priit Laes (IRC: plaes) 2010-04-05 18:13:38 UTC
(In reply to comment #1)
> so we have to raise the dependency because you are getting an error which you
> didn't report and to a random version since you have only that one installed.
> 
> Looks like we have a good bunch of reasons here.

Bah.. I even reported this at least once on IRC and you think that I don't care...

[snip]
gio.c: In function ‘pygio_add_constants’:
gio.c:19415: error: ‘G_TYPE_CONVERTER_FLAGS’ undeclared (first use in this function)
gio.c:19415: error: (Each undeclared identifier is reported only once
gio.c:19415: error: for each function it appears in.)
gio.c:19416: error: ‘G_TYPE_CONVERTER_RESULT’ undeclared (first use in this function)
gio.c:19444: error: ‘G_TYPE_ZLIB_COMPRESSOR_FORMAT’ undeclared (first use in this function)
[/snip]
Comment 3 Gian Mario Tagliaretti 2010-04-05 18:59:16 UTC
Priit I'm not saying you don't care, I totally appreciate the bug report, is just that I don't know what to do with a bug report like that, test all the versions available until I have the compile error?

Thanks for the additional info, I'll see how to fix it.
Comment 4 Simon van der Linden 2011-01-18 11:54:13 UTC
PyGObject compiles fine with GLib 2.24.0.

Moreover, we now require GObbject-Introspection 0.10.2 (next version) which depends on GLib 2.24.0.

Moreover, PyCairo 1.0.2 is outdated too. We need PyCairo 1.2.0 at least.

I'm going to update the required versions.
Comment 5 Simon van der Linden 2011-01-18 11:58:03 UTC
Created attachment 178617 [details] [review]
Raise required versions of GLib and GObject-Introspection
Comment 6 Simon van der Linden 2011-01-18 12:03:51 UTC
The following fix has been pushed:
30750cc Raise required versions of GLib and GObject-Introspection
Comment 7 Simon van der Linden 2011-01-18 12:03:57 UTC
Created attachment 178618 [details] [review]
Raise required versions of GLib and GObject-Introspection