when the zlib USE flag is not set, freetype is compiled without zlib support (even if it is installed). xfree-4.3.0 unconditionally depends on zlib and installs compressed fonts in /usr/X11R6/lib/X11/fonts. when fc-cache is later run in pkg_postinst(), it segfaults when it tries to access the compressed fonts. Reproducible: Always Steps to Reproduce: 1. USE="-zlib" emerge freetype 2. emerge xfree Actual Results: fc-cache segfaults when called from pkg_postinst() in xfree-ebuild. Expected Results: xfree should somehow depend on a freetype-library with zlib support. as i think, this is not possible, the best solution is imho to let freetype depend on zlib unconditionally. i586 (K6-3D) system with gentoo 1.0-profile.
i can't reproduce this behaviour. What is you 'emerge info' output ? Try lowering optimizations to the minumum (none) and get a backtrace if it still crashes. I think this happens to few people. We cant atm impose USE vars on dependencies, neither does it seem to be needed here. Freetype is used by more apps than xfree alone, forcing zlib for that reason alone isn't a good idea.
no reply, closing