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.
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.
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.