The compile fails everytime with same error. Tried re-emergeing zlib and gnome-libs depends. Reproducible: Always Steps to Reproduce: 1.emerge gnome-libs 2. 3. Actual Results: compile fails with....................................... 2 -I/usr/lib/glib/include -I/usr/X11R6/include -O2 -march=i686 -I/usr/includ e/db1 -Wall -Wunused -c parse.c -o parse.o >/dev/null 2>&1 In file included from /usr/include/png.h:329, from plc.h:103, from readXPM.c:135: /usr/include/zlib.h:84: error: redefinition of `struct z_stream_s' /usr/include/zlib.h:981: error: conflicting types for `gzwrite' /usr/X11R6/include/zlib.h:700: error: previous declaration of `gzwrite' /usr/include/zlib.h:1189: error: redefinition of `struct internal_state' distcc[30777] ERROR: compile on localhost failed make[2]: *** [readXPM.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .libs/parse.lo parse.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -I/usr/include -I/usr/include/g tk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DWITH_GTK -DDEBUG -DGNOME_LIB -I/usr/include/gtk-1.2 -I/usr/include/glib-1. 2 -I/usr/lib/glib/include -I/usr/X11R6/include -O2 -march=i686 -I/usr/includ e/db1 -Wall -Wunused -c gtk-forms.c -o gtk-forms.o >/dev/null 2>&1 In file included from /usr/include/png.h:329, from plc.h:103, from plc.c:171: /usr/include/zlib.h:84: error: redefinition of `struct z_stream_s' /usr/include/zlib.h:981: error: conflicting types for `gzwrite' /usr/X11R6/include/zlib.h:700: error: previous declaration of `gzwrite' /usr/include/zlib.h:1189: error: redefinition of `struct internal_state' distcc[30666] ERROR: compile on localhost failed make[2]: *** [plc.lo] Error 1 make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-lib s-1.4.2' make: *** [all-recursive-am] Error 2 !!! ERROR: gnome-base/gnome-libs-1.4.2 failed. !!! Function src_compile, Line 68, Exitcode 2 !!! (no error message) emerge info /roo Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,2 .5-r2, 2.4.25-pre8) ================================================================= System uname: 2.4.25-pre8 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.12 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabl ] Autoconf: sys-devel/autoconf-2.13-r2,sys-devel/autoconf-2.57-r1,sys-devel/auto nf-2.58 Automake: sys-devel/automake-1.7.5-r2,sys-devel/automake-1.4_p5,sys-devel/auto ke-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=i686" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3 hare/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=i686" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo ftp://ftp.gentoo.no/ b/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/user-portage/" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm avi berkdb cdr crypt cups encode esd foomaticdb freetype gd gd gif gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mozilla moznocomp e moznoirc moznomail mpeg mysql mythtv ncurses oggvorbis oss pam pdflib perl p postgres python qt quicktime readline sdl slang ssl svga tcltk tcpd tiff true pe x86 xml2 xmms xv zlib"
remove /usr/X11R6/include/zlib.h ... newer versions of xfree do this already i cant find the original bug report so i'm just gonna close this as WORKSFORME