emerge on vte-0.11.11 fails gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -O3 -mcpu=pentium4 -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -funroll-loops -pipe -fomit-frame-pointer -I/usr/X11R6/include -I/usr/X11R6/include -O3 -mcpu=pentium4 -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -funroll-loops -pipe -fomit-frame-pointer -MT vtegl.lo -MD -MP -MF .deps/vtegl.Tpo -c vtegl.c -fPIC -DPIC -o .libs/vtegl.o vtefc.c: In function `_vte_fc_transcribe_from_pango_font_description': vtefc.c:163: error: `FC_WIDTH' undeclared (first use in this function) vtefc.c:163: error: (Each undeclared identifier is reported only once vtefc.c:163: error: for each function it appears in.) make[2]: *** [vtefc.lo] Error 1 Reproducible: Always Steps to Reproduce: 1. Do "emerge sync && emerge -uD world" 2. Ebuilds prior this package will compile fine 3. VTE will fail to build Actual Results: Fails. Expected Results: compile CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -funroll-loops -pipe -fomit-frame-pointer" USE="-gif samba mysql postgres X gtk2 gnome alsa acpi aalib avi bonobo crypt doc ethereal fftw flac gstreamer guile aim icq ipv6 jabber java jpeg libgda mad mmx mozilla ncurses oggvorbis opengl pdflib perl png python readline sasl sdl speex sse ssl tcltx tetex theora truetype usb xml2 xmms xv yahoo zlib" cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.40GHz stepping : 9 cpu MHz : 2394.564 cache size : 512 KB physical id : 0 siblings : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 4734.97 processor : 1 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.40GHz stepping : 9 cpu MHz : 2394.564 cache size : 512 KB physical id : 0 siblings : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid bogomips : 4784.12 gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r5, ssp-3.3-7, pie-8.7.5.3) 2.6.7-rc2 #2 SMP Mon May 31 14:52:23 CDT 2004 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux
Gentoo Base System version 1.4.15
First, try to use some sane CFLAGS, like "CFLAGS=-march=686 -pipe", then if it still fails, attach a full emerge log plus your emerge info, as it is requested in the bug report form.
possibly this is related to a bad fontconfig/freetype/xft install. Search for bugreports with similar error messages (search for the FT_* stuff).
The error when just using the CFLAGS of "CFLAGS=-march=pentium4 -pipe" gives this: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -march=pentium4 -pipe -march=pentium4 -pipe -MT vtefc.lo -MD -MP -MF .deps/vtefc.Tpo -c vtefc.c -fPIC -DPIC -o .libs/vtefc.o vtefc.c: In function `_vte_fc_transcribe_from_pango_font_description': vtefc.c:163: error: `FC_WIDTH' undeclared (first use in this function) vtefc.c:163: error: (Each undeclared identifier is reported only once vtefc.c:163: error: for each function it appears in.) make[2]: *** [vtefc.lo] Error 1 make[2]: Leaving directory `/home/portage/portage/vte-0.11.11/work/vte-0.11.11/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/portage/portage/vte-0.11.11/work/vte-0.11.11' make: *** [all] Error 2 The error when not using any CFLAGS is: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -g -O2 -g -O2 -MT vtefc.lo -MD -MP -MF .deps/vtefc.Tpo -c vtefc.c -fPIC -DPIC -o .libs/vtefc.o vtefc.c: In function `_vte_fc_transcribe_from_pango_font_description': vtefc.c:163: error: `FC_WIDTH' undeclared (first use in this function) vtefc.c:163: error: (Each undeclared identifier is reported only once vtefc.c:163: error: for each function it appears in.) make[2]: *** [vtefc.lo] Error 1 make[2]: Leaving directory `/home/portage/portage/vte-0.11.11/work/vte-0.11.11/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/portage/portage/vte-0.11.11/work/vte-0.11.11' make: *** [all] Error 2 My compiled version of GCC will not work with CFLAGS of "-march=686 -pipe" Will attach my emerge log.
Created attachment 32671 [details] Emerge Log The file size is 1.1MB. The first emerge that I saw it fail was at May 31, 2004 02:50:36, starting at line number 1085989836.
The compile is still failing at the same place. Emerge Info: Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r8) ================================================================= System uname: 2.6.7-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.5.1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -funroll-loops -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -mfpmath=sse -mmmx -msse -msse2 -funroll-loops -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox" GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.binarycompass.org http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.ccccom.com http://mirrors.tds.net/gentoo http://gentoo.netnitco.net http://gentoo.chem.wisc.edu/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi aim alsa apm arts avi berkdb bonobo cdparanoia cdr crypt cups doc dvd encode esd ethereal f77 fftw flac foomaticdb gcj gdbm gnome gpm gstreamer gtk gtk2 gtkhtml guile hardened icq imlib ipv6 jabber java jpeg kde ldap libg++ libgda libwww mad mikmod mmx motif mozilla mozsvg mpeg mysql ncurses nls nptl objc oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sasl sdl slang speex spell sse ssl svga tcltk tcltx tcpd tetex theora truetype usb video_cards_radeon x86 xml2 xmms xv yahoo zlib"
yes .. still read my #3 comment. thats the way to enlightenment in this matter. What fontconfig version are you guys using ?
i believe this is a local problem with a b0rked xft/fc/ft install for solutions read the suggestions i've made so far