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 750296 - introspection scanner should set environment
introspection scanner should set environment
Status: RESOLVED DUPLICATE of bug 726571
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
1.4.5
Other Solaris
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-02 20:03 UTC by Shawn Walker
Modified: 2015-06-03 20:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
uses INTROSPECTION_SCANNER_ENV to set CC for scanner usage (3.83 KB, patch)
2015-06-02 20:04 UTC, Shawn Walker
none Details | Review

Description Shawn Walker 2015-06-02 20:03:29 UTC
The various invocations of INTROSPECTION_SCANNER (for gobject-introspection) fail to set important environment variables (such as CC) which can cause builds to fail.

Gtk2, Gtk3, etc. all set this as expected, so GStreamer should as well.

See attached patch.
Comment 1 Shawn Walker 2015-06-02 20:04:18 UTC
Created attachment 304455 [details] [review]
uses INTROSPECTION_SCANNER_ENV to set CC for scanner usage
Comment 2 Shawn Walker 2015-06-02 20:04:49 UTC
Apologies if there's a better way to set environment for the scanner invocation; I'm not an automake expert.
Comment 3 Shawn Walker 2015-06-03 20:41:48 UTC
Ultimately, this is actually caused by the fact that gstreamer doesn't use Makefile.introspection -- fixing that would resolve this issue.

*** This bug has been marked as a duplicate of bug 726571 ***