GNOME Bugzilla – Bug 738989
tests/*.c #include config.h which is missing, breaks Glib-Object-Introspection Perl bindings build
Last modified: 2015-02-13 21:20:57 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!
Oops, actually, with the aforementionned commit applied, tests/regress.c compiles file. The one that doesn't compile is rather tests/gimarshallingtests.c.
Created attachment 289106 [details] [review] Tweak gimashallingtests.c the same way as regress.c
The attached patch fixes the immediate problem I'm experiencing. I suspect other tests/*.c are affected, though.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]