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 566737 - Bad -I ordering can break build
Bad -I ordering can break build
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
2.16.x
Other Mac OS
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2009-01-06 08:03 UTC by Daniel Macks
Modified: 2009-01-06 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix -I ordering (2.03 KB, patch)
2009-01-06 08:04 UTC, Daniel Macks
committed Details | Review

Description Daniel Macks 2009-01-06 08:03:49 UTC
Various Makefiles pass -I flags for the source dirs after those for external support libs. That means a header installed in the global locations can mask one that is part of the source itself. Compiler might find this unrelated (or different-version) file instead of the intended local one and build pygobject incorrectly. For safety and sanity, should always pass all local -I before any global ones.
Comment 1 Daniel Macks 2009-01-06 08:04:51 UTC
Created attachment 125833 [details] [review]
fix -I ordering

Patch against pygobject-2.16.0
Comment 2 Gian Mario Tagliaretti 2009-01-06 15:06:53 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.

Sending        ChangeLog
Sending        Makefile.am
Sending        gio/Makefile.am
Sending        gobject/Makefile.am
Sending        tests/Makefile.am
Transmitting file data .....
Committed revision 992.