# emerge -p gtk+ => [ebuild R ] x11-libs/gtk+-2.8.12 MAKEOPTS="-j1" emerge gnome-libs distcc[8059] ERROR: compile /var/tmp/ccache/gtk-error.tmp.wnswsexc.8055.i on localhost failed gtk-error.c:66: error: conflicting types for '__XmHTMLWarning' XmHTMLI.h:1022: error: previous declaration of '__XmHTMLWarning' was here gtk-error.c:66: error: conflicting types for '__XmHTMLWarning' XmHTMLI.h:1022: error: previous declaration of '__XmHTMLWarning' was here gtk-error.c:145: error: conflicting types for '__XmHTMLError' XmHTMLI.h:1027: error: previous declaration of '__XmHTMLError' was here gtk-error.c:145: error: conflicting types for '__XmHTMLError' XmHTMLI.h:1027: error: previous declaration of '__XmHTMLError' was here gtk-error.c:251: error: conflicting types for '__XmHTMLBadParent' XmHTMLI.h:1029: error: previous declaration of '__XmHTMLBadParent' was here gtk-error.c:251: error: conflicting types for '__XmHTMLBadParent' XmHTMLI.h:1029: error: previous declaration of '__XmHTMLBadParent' was here make[2]: *** [gtk-error.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2/gtk-xmhtml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnome-libs-1.4.2/work/gnome-libs-1.4.2' make: *** [all-recursive-am] Error 2 #emerge info Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System version 1.12.0_pre15 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 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 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -mtune=pentium4 -Os -s -pipe -mmmx -msse -msse2 -mfpmath=sse -ftracer -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -DNO_DEBUG" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mtune=pentium4 -Os -s -pipe -mmmx -msse -msse2 -mfpmath=sse -ftracer -fomit-frame-pointer -DNDEBUG -DG_DISABLE_ASSERT -DNO_DEBUG -fvisibility-inlines-hidden " DISTDIR="/home/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.citylink.co.nz/gentoo http://gentoo.osuosl.org http://public.planetmirror.com/pub/gentoo ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo http://gentoo.osuosl.org/ ftp://mir.zyrianes.net/gentoo/ http://www.gigaload.org/gentoo.org/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="en_GB" MAKEOPTS="-j20" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/home/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://luke/gentoo-portage" USE="X acpi aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 ccache cdr crypt cups curl cvs docs dvd dvdr dvdrw eds elibc_glibc emboss encode esd exif expat fam ffmpeg flash foomaticdb fortran ftp gcj gd gdbm geoip gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal i810 icq idn imagemagick imlib jabber java jpeg kde kdeenablefinal kdexdeltas kerberos lcms ldap libg++ libwww linguas_en_GB mad meanwhile memlimit mhash mikmod ming mmx mng motif mozilla mp3 mpeg msn mysql ncurses nptl nptlonly nvidia ogg ooo-kde openal opengl oss pam pcre pdflib perl pic pie pmount png posix ppds python qt quicktime readline ruby samba sametime sasl scanner sdl slp sockets speex spell sqlite sse sse2 ssl svga tcltk tcpd tetex tidy tiff truetype truetype-fonts type1-fonts udev usb userland_GNU video_cards_i810 video_cards_i865 video_cards_i915 vorbis winbind wmv x86 xine xinerama xml xml2 xmms xslxv xv xvid yahoo zeo zlib kernel_linux" Unset: ASFLAGS, CTARGET, LANG, LC_ALL
cool down your cflags/cxxflags, unset your ldflags, and set makeopts to -j1. try to recompile the package after doing that, and report back results. Thanks.
Thanks John. Already done before reporting the bug. No LDFLAGS, Minimal CFLAGS, MAKEOPTS=j1. env-update / revdep-rebuild / ldconfig / binutils-config 1 all run clean. - I also note recent reports with similar issues with previous CVS versions of gnome-libs during February. e.g. http://mail.gnome.org/archives/gnome-list/1999-February/msg00175.html http://mail.gnome.org/archives/gnome-list/1999-February/msg00454.html Had new versions of gtk+/cairo came through in the last few days which were initially problematic, displaying similar messages to these. Somehow these went away by themselves on subsequent days emerge --sync && emerge -uDN world.
Please use CFLAGS and CXXFLAGS "-march=pentium4 -Os -pipe -fomit-frame-pointer", no LDFLAGS, and disable distcc, and then come back if you can still reproduce the bug. Something tells me you won't be able to. Your mess of redundant CFLAGS would also indicate that you really don't have a clue what you're doing.
No response from reporter. Marking NEEDINFO.