pango-1.8.1-r1 will not merge, complaining about undeclared functions/macros related to freetype. Reproducible: Always Steps to Reproduce: 1.emerge --deep --newuse --update world Actual Results: pangoft2.c: In function `pango_ft2_font_get_face': pangoft2.c:202: error: `FC_HINT_STYLE' undeclared (first use in this function) pangoft2.c:202: error: (Each undeclared identifier is reported only once pangoft2.c:202: error: for each function it appears in.) pangoft2.c:203: error: `FC_HINT_FULL' undeclared (first use in this function) pangoft2.c:205: error: `FC_HINT_NONE' undeclared (first use in this function) pangoft2.c:209: error: `FC_HINT_SLIGHT' undeclared (first use in this function) pangoft2.c:210: error: `FC_HINT_MEDIUM' undeclared (first use in this function) make[4]: *** [pangoft2.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -I.. -O5 -mcpu=i686 -fomit-frame-pointer -pipe -Wall -MT pangoft2-fontmap.lo -MD -MP -MF .deps/pangoft2-fontmap.Tpo -c pangoft2-fontmap.c -fPIC -DPIC -o .libs/pangoft2-fontmap.o i386-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Pango\" -DPANGO_ENABLE_BACKEND -DPANGO_ENABLE_ENGINE -DSYSCONFDIR=\"/etc\" -DLIBDIR=\"/usr/lib\" -DMODULE_VERSION=\"1.4.0\" -DG_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/X11R6/include -I/usr/X11R6/include -I/usr/include/freetype2 -I.. -O5 -mcpu=i686 -fomit-frame-pointer -pipe -Wall -MT pangoft2-render.lo -MD -MP -MF .deps/pangoft2-render.Tpo -c pangoft2-render.c -fPIC -DPIC -o .libs/pangoft2-render.o make[4]: Leaving directory `/var/tmp/portage/pango-1.8.1-r1/work/pango-1.8.1/pango' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/pango-1.8.1-r1/work/pango-1.8.1/pango' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/pango-1.8.1-r1/work/pango-1.8.1/pango' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/pango-1.8.1-r1/work/pango-1.8.1' make: *** [all] Error 2 Expected Results: Installed? Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.7-gentoo-r11 i686) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.4.16 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.4.3-r4, 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O5 -mcpu=i686 -fomit-frame-pointer -pipe" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-O5 -mcpu=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl adns aim apache2 apm bash-completion berkdb bidi bitmap-fonts bzlib cdparanoia cdr crypt cups curl curlwrappers cvsgraph eds emboss encode esd fam foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline samba sdl spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xfce xml xml2 xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
please search, this is a dupe where you have a stray (old!) freetype around.
Ah. I searched, but couldn't find anything for pango-1.8.1-r1. Thanks.
*** This bug has been marked as a duplicate of 17239 ***
I unmerged freetype-1.3.1-r4 (the stray version), and still run into the same problem...
I never mentioned freetype 1, it is not freetype 1 that is problematic. The duplicated bug has a whole range of clues on what could be wrong on your system. *** This bug has been marked as a duplicate of 17239 ***
removing /usr/X11R6/include/fontconfig causes the pango compile to fail, and emerging fontconfig puts it back there, not in /usr/include, but after re-emerging fontconfig, pango builds. Thanks, and sorry for my thick-headed-ness. Cheers, Andy