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 738989 - tests/*.c #include config.h which is missing, breaks Glib-Object-Introspection Perl bindings build
tests/*.c #include config.h which is missing, breaks Glib-Object-Introspectio...
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
1.42.x
Other Linux
: Normal major
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-10-22 07:37 UTC by intrigeri
Modified: 2015-02-13 21:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Tweak gimashallingtests.c the same way as regress.c (293 bytes, patch)
2014-10-22 08:11 UTC, intrigeri
none Details | Review

Description intrigeri 2014-10-22 07:37:38 UTC
This was reported to Debian as https://bugs.debian.org/764272. More details can be found there. It seems to be the same problem as #737275, but more general: in our case, test/regress.c fails to compile when building the Glib-Object-Introspection Perl bindings. Maybe the same ifdef that was added in commit 578eebd54bd9f2b1677922680701c454f489c895 should be added to tests/*.c too?

Setting severity as >normal, as this breaks other pieces of the stack. Sorry if that's not appropriate.

Thanks for your work!
Comment 1 intrigeri 2014-10-22 07:43:13 UTC
Oops, actually, with the aforementionned commit applied, tests/regress.c compiles file. The one that doesn't compile is rather tests/gimarshallingtests.c.
Comment 2 intrigeri 2014-10-22 08:11:21 UTC
Created attachment 289106 [details] [review]
Tweak gimashallingtests.c the same way as regress.c
Comment 3 intrigeri 2014-10-22 08:13:24 UTC
The attached patch fixes the immediate problem I'm experiencing. I suspect other tests/*.c are affected, though.
Comment 4 André Klapper 2015-02-07 17:17:46 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]