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 630160 - tests fail if system has GLib-2.0.gir in format 1.0
tests fail if system has GLib-2.0.gir in format 1.0
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
: 630136 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-09-20 13:50 UTC by Simon McVittie
Modified: 2015-02-07 16:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch 1/2 (1.74 KB, patch)
2010-09-20 13:50 UTC, Simon McVittie
rejected Details | Review
patch 2/2 (1.00 KB, patch)
2010-09-20 13:50 UTC, Simon McVittie
rejected Details | Review
look for uninstalled girs (1.74 KB, patch)
2010-09-22 16:58 UTC, Colin Walters
accepted-commit_now Details | Review

Description Simon McVittie 2010-09-20 13:50:25 UTC
Created attachment 170660 [details] [review]
patch 1/2

g-i builds its own copy of GLib.2.0.gir, etc., but some of the regression tests prefer to use the system copies (if they exist).

In particular, this causes all tests in tests/warn to fail if the system copy is still in format 1.0: for instance, this is easily reproducible on Debian by installing the g-i 0.6.14 packages, then building g-i 0.9.6 from source.
Comment 1 Simon McVittie 2010-09-20 13:50:47 UTC
Created attachment 170661 [details] [review]
patch 2/2
Comment 2 Simon McVittie 2010-09-20 13:52:17 UTC
Patches also available from ssh://people.freedesktop.org/~smcv/gobject-introspection.git in the "local-gir" branch.
Comment 3 Colin Walters 2010-09-22 16:51:53 UTC
*** Bug 630136 has been marked as a duplicate of this bug. ***
Comment 4 Colin Walters 2010-09-22 16:52:47 UTC
Review of attachment 170660 [details] [review]:

This patch shouldn't be necessary; instead, in-tree users of the scanner should use --add-include-path=$(top_builddir)/gir
Comment 5 Colin Walters 2010-09-22 16:53:31 UTC
Review of attachment 170661 [details] [review]:

Neither of these should be necessary if the tests simply use --add-include-path.
Comment 6 Colin Walters 2010-09-22 16:58:17 UTC
Created attachment 170846 [details] [review]
look for uninstalled girs
Comment 7 Johan (not receiving bugmail) Dahlin 2010-09-22 17:29:49 UTC
Review of attachment 170846 [details] [review]:

Looks good, thanks!
Comment 8 André Klapper 2015-02-07 16:51:59 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]