Bug 59495 - Bad CFLAGS in a lot of *-config scripts
Summary: Bad CFLAGS in a lot of *-config scripts
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gcc
Version: 7.3
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact: Brock Organ
Depends On: 59496 59497 59498 59499 59500 59501 59502 59503 59504 59505 59506 59507 59508
TreeView+ depends on / blocked
Reported: 2002-02-09 00:11 UTC by Enrico Scholz
Modified: 2007-04-18 16:40 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2003-01-13 03:31:43 UTC

Attachments (Terms of Use)

Description Enrico Scholz 2002-02-09 00:11:47 UTC
gcc-3.1 issues warnings when specifying standard includes on the
cmd-line; e.g:

| $ gcc -I /usr/include -E -
| cpp0: warning: changing search order for system directory "/usr/include"
| cpp0: warning:   as it has already been specified as a non-system directory

Unfortunately, a *lot* of Hampton Beta 1 packages are setting such
directives in their *-config scripts:

| $ pkg-config oaf --cflags
|  -I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0  

As you can imagine, this will break -Werror builds (e.g. used while
developing own projects). Since there are good reasons to warn about
such bad '-I...', the affected packages must be fixed.

I will use this report as a reference-point for bugs regarding this

Comment 1 Havoc Pennington 2002-02-11 16:27:18 UTC
Why is this on gcc? Maybe we need a "general" component

Comment 2 Jay Turner 2002-02-19 17:42:40 UTC
OK, what's the status of this?

Comment 3 Enrico Scholz 2002-02-19 18:03:20 UTC
The packages affected by this bug and found by me are listed as an dependency.
Three of them are fixed.

Comment 4 Havoc Pennington 2002-02-21 05:20:07 UTC
I'm planning to fix my packages but don't have an ETA.

Comment 5 Havoc Pennington 2003-01-13 03:31:43 UTC
Closing this tracking bug, as it's on a weird component and I'm not really using 
it to track (not dealing with these bugs as a group).

Note You need to log in before you can comment on or make changes to this bug.