FTFont.cc: In method `Guchar * FTFont::getGlyphPixmap(unsigned int, unsigned int, int *, int *, int *, int *)': FTFont.cc:500: request for member `num_glyphs' in `*cff', which is of non-aggregate type `CFF_FontRec_ *' FTFont.cc:501: request for member `charset' in `*cff', which is of non-aggregate type `CFF_FontRec_ *' make[1]: *** [FTFont.o] Error 1 make[1]: Leaving directory `/mnt/huge/tmp/portage/xpdf-1.00/work/xpdf-1.00/xpdf' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 8, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/app-text/xpdf/xpdf-1.00.ebuild . 5 $ pkgsearch xpdf /usr/portage/app-text/xpdf/xpdf-0.93.ebuild /usr/portage/app-text/xpdf/xpdf-1.00-r1.ebuild (installed) /usr/portage/app-text/xpdf/xpdf-1.00.ebuild Looks like my working version is masked, and the system is trying to downgrade but failing. USE="doc aalib crypt oss matrox fbcon truetype mozilla mozirc mozxmlterm mpeg tcltk mta-tls tcpd"
emerge freetype 2.0.9 instead of 2.1.0 2.1.0 has been quite wickedly buggy and is masked, the updated revision of xpdf only works with that version of freetype and is also masked.
do an emerge --clean rsync and then emerge -u world That should get you the working freetype (2.0.9) and the new xpdf which seems to work fine with that freetype.