Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3357 - gcc-3.1 changing includes search order when compiling gnome-vfs-1.0.5-r1
Summary: gcc-3.1 changing includes search order when compiling gnome-vfs-1.0.5-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-03 14:11 UTC by José Fonseca
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description José Fonseca 2002-06-03 14:11:32 UTC
This is the bug report following Spider request. The gcc output is:

    gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\"              
                               
    -DGNOME_VFS_DATADIR=\"/usr/share\" -DGNOME_VFS_PREFIX=\"/usr\" -I..        
                               
    -I../intl -I.. -I../intl -I../libgnomevfs -I/usr/include/glib-1.2          
                               
    -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2               
                               
    -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include            
                               
    -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0   
                               
    -I/usr/include/gnome-xml -Wall -Wunused -I/usr/include -D_GNU_SOURCE       
                               
    -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DLIBDIR=\"/usr/lib\"              
                               
    -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_LARGEFILE64_SOURCE    
                               
    -D_FILE_OFFSET_BITS=64 -march=i686 -O3 -pipe -c                            
                               
    gnome-vfs-application-registry.c  -fPIC -DPIC -o                           
                               
    .libs/gnome-vfs-application-registry.lo                                    
                               
    cc1: warning: changing search order for system directory "/usr/include"    
                               
    cc1: warning:   as it has already been specified as a non-system           
                               
    directory                                                                  
                               
    In file included from gnome-vfs-mime-private.h:26,                         
                               
    from gnome-vfs-application-registry.c:32:                                  
                               
    ../libgnomevfs/gnome-vfs-mime-monitor.h:28:27:                             
                               
    gtk/gtkobject.h: No such file or directory                                 
                               

I don't think this is the cause to the compile failure as -I/usr/include/gtk-1.2
isn't even included in the command line. So /usr/include/gtk-1.2/gtk/gtkobject.h
would never be found.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-07-09 00:52:01 UTC
unbugging this, this is a general problem if it doesn't break compiles we aren't
dealing with it quiet yet, however gcc-3.1-r8 may settle it.
Comment 2 José Fonseca 2002-07-09 16:20:16 UTC
I filled this bug report due to Spider request.

I confess that personally I never saw this warning as a error. It's a little
annoying as it appears so often when building, but I guess that the fault in the
packages which shouldn't specify the /usr/include directory.