Attempting to emerge x11-misc/xscreensaver-4.24 on amd64, I get a bunch of compile errors: ----- x86_64-pc-linux-gnu-gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89 -U__STRICT_ANSI__ -c -I. -I/var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24/driver -I/var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24/driver/../utils -I.. -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DHAVE_CONFIG_H -DDEFAULT_PATH_PREFIX='"/usr/lib/misc/xscreensaver"' -I/var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24/driver/../utils/images \ -DHAVE_CONFIG_H -DDEFAULT_ICONDIR='"/usr/share/xscreensaver/glade"' -DLOCALEDIR=\"/usr/share/locale\" -pipe -O2 -U__VEC__ -U__VEC__ -U__VEC__ -I/usr/include \ /var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24/driver/demo-Gtk.c In file included from /usr/include/glib-2.0/glib/gstring.h:32, from /usr/include/glib-2.0/glib/giochannel.h:32, from /usr/include/glib-2.0/glib.h:45, from /usr/include/gtk-2.0/gdk/gdktypes.h:32, from /usr/include/gtk-2.0/gdk/gdkcolor.h:31, from /usr/include/gtk-2.0/gdk/gdkcairo.h:23, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from /var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24/driver/demo-Gtk.c:85: /usr/include/glib-2.0/glib/gutils.h:248: error: syntax error before "gint" /usr/include/glib-2.0/glib/gutils.h:250: error: syntax error before "gint" /usr/include/glib-2.0/glib/gutils.h:252: error: syntax error before "guint" /usr/include/glib-2.0/glib/gutils.h:263: error: syntax error before "void" /usr/include/glib-2.0/glib/gutils.h:265: error: syntax error before "gpointer" /usr/include/glib-2.0/glib/gutils.h:266: error: syntax error before "gpointer" /usr/include/glib-2.0/glib/gutils.h:267: error: syntax error before "guint" /usr/include/glib-2.0/glib/gutils.h:272: error: syntax error before "gint" /usr/include/glib-2.0/glib/gutils.h:285: error: syntax error before "gint" /usr/include/glib-2.0/glib/gutils.h:300: error: syntax error before "guint" /usr/include/glib-2.0/glib/gutils.h:313: error: syntax error before "void" /usr/include/glib-2.0/glib/gutils.h:322: error: syntax error before "gpointer" /usr/include/glib-2.0/glib/gutils.h:339: error: syntax error before "gpointer" /usr/include/glib-2.0/glib/gutils.h:348: error: syntax error before "guint" In file included from /usr/include/glib-2.0/glib/giochannel.h:32, from /usr/include/glib-2.0/glib.h:45, from /usr/include/gtk-2.0/gdk/gdktypes.h:32, from /usr/include/gtk-2.0/gdk/gdkcolor.h:31, from /usr/include/gtk-2.0/gdk/gdkcairo.h:23, from /usr/include/gtk-2.0/gdk/gdk.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:31, from /var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24/driver/demo-Gtk.c:85: /usr/include/glib-2.0/glib/gstring.h:121: error: syntax error before "GString" In file included from /usr/include/gtk-2.0/gtk/gtkactiongroup.h:34, from /usr/include/gtk-2.0/gtk/gtk.h:38, from /var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24/driver/demo-Gtk.c:85: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:50: warning: function declaration isn't a prototype make[1]: *** [demo-Gtk.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xscreensaver-4.24/work/xscreensaver-4.24/driver' make: *** [default] Error 5 ----- The errors are happening in glib headers, but I haven't had problems with other glib apps. My glib version is dev-libs/glib-2.8.6.
Gentoo Base System version 1.6.14 Portage 2.1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64) ================================================================= System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 caps cli crypt cups dri eds emacs emboss encode exif fbcon flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 idn imap imlib ipv6 isdnlog jabber java jpeg lcms lesstif lzw lzw-tiff mad maildir mbox mng mozilla mp3 mpeg ncurses nls nsplugin offensive ogg opengl oscar oss pam pcre pdflib perl png postgres ppds pppd python qt quicktime readline reflection sdl session slang spell spl sqlite sqlite3 ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis xml xmms xorg xpm xv zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
I isolated this problem to the presence of FEATURES="confcache". With confcache on, I get the error. Without confcache, it compiles fine. I captured the configure output with and without confcache enabled, which I will attach shortly.
Created attachment 89718 [details] Configure output with FEATURES="confcache"
Created attachment 89719 [details] Configure output without confcache
- dev-util/confcache-0.4.2-r1 (masked by: package.mask) # Diego Pettenò <flameeyes@gentoo.org> (25 Jun 2006) # confcache really needs more work before prime-time # please don't file bugs for this unless you also have a solution