Bug 102991

Summary: pgk-config does not always remove '-I/usr/include'
Product: [Retired] Red Hat Linux Reporter: Steve <kkbbf81jd6>
Component: pkgconfigAssignee: Matthias Clasen <mclasen>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9Keywords: MoveUpstream, Triaged
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-09 19:22:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve 2003-08-24 14:11:23 UTC
Description of problem:
pgk-config --cflags (by default) is supposed to remove '-I/usr/include'
from the output cflags, it does not always do this.

Version-Release number of selected component (if applicable):
 0.14.0 

How reproducible:
Every time

Steps to Reproduce:
1. Run these commands
pkg-config --cflags gconfgtk
-> -I/usr/include/gconf/1 -I/usr/include ...

pkg-config --cflags gconf
-> -I/usr/include/gconf/1 -I/usr/include ...

pkg-config --cflags oaf
-> -I/usr/include ..
    
Actual results:
'-I/usr/include' is output

Expected results:
'-I/usr/include' is removed from the output.

Additional info:
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS is not set.

Comment 1 Havoc Pennington 2003-08-24 20:46:52 UTC
Probably doesn't work with the obsolete GNOME 1.x libraries.

Comment 2 Matthias Clasen 2005-03-09 19:22:44 UTC
Filed upstream as https://bugs.freedesktop.org/show_bug.cgi?id=2687