I have a system that is freshly updated. All packages have their binary package counterparts built. I am trying to make a new installation into a new root directory, using only the binary packages (the -K switch). It fails like this: ---------------------------- # ROOT=/path/to/new/root/dir/ emerge -Kpv system These are the packages that would be merged, in order: Calculating dependencies... done! emerge: there are no ebuilds to satisfy ">=media-libs/freetype-2.2.1[abi_x86_64(-)]" for /path/to/new/root/dir/. (dependency required by "media-libs/fontconfig-2.10.92" [binary]) (dependency required by "x11-libs/cairo-1.12.14-r4" [binary]) (dependency required by "dev-libs/gobject-introspection-1.32.1" [binary]) (dependency required by "sys-auth/polkit-0.112" [binary]) (dependency required by "sys-auth/consolekit-0.4.6" [binary]) (dependency required by "sys-auth/pambase-20120417-r2" [binary]) (dependency required by "sys-libs/pam-1.1.6-r2" [binary]) ---------------------------- If I try the same, using ebuilds and binary packages (the -k switch), it works, but forces three packages to ebuilds. Three non-binary packages are: [ebuild N ] dev-libs/expat-2.1.0-r2 to /path/to/new/root/dir/ USE="unicode -examples -static-libs" 0 kB [ebuild N ] media-libs/freetype-2.4.11:2 to /path/to/new/root/dir/ USE="bzip2 -X -auto-hinter -bindist -debug -doc -fontforge -infinality -static-libs -utils" 0 kB [ebuild N ] sys-apps/openrc-0.11.8 to /path/to/new/root/dir/ USE="ncurses pam unicode -debug -newnet (-prefix) (-selinux) -static-libs" 0 kB The binary package for freetype was built from this: ---------------------------------------------- # equery u freetype [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for media-libs/freetype-2.4.11: U I - - X : Add support for X11 - - auto-hinter : Use the unpatented auto-hinter instead of the (recommended) TrueType bytecode interpreter - - bindist : Flag to enable or disable options for prebuilt (GRP) packages (eg. due to licensing issues) + + bzip2 : Support bzip2 compressed PCF fonts. - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml - - doc : Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally - - fontforge : Install internal headers required for TrueType debugger in media-gfx/fontforge (built with USE=truetype-debugger) - - infinality : Enable infinality options for improved LCD filtering - - static-libs : Build static libraries - - utils : Install utilities and examples from ft2demos ---------------------------------------------- How do I resolve this problem? Thanks, Reproducible: Always Steps to Reproduce: 1. ROOT=/path/to/new/root/dir/ emerge -Kpv system Actual Results: Fails to find binary package for freetype. Expected Results: It should install system in the $ROOT folder. This worked correctly on 9/24/2013. Now it is not working. On 9/24/2013, I had =media-libs/fontconfig-2.8.0-r1 installed. Today I upgraded to =media-libs/fontconfig-2.10.92. I did not test this before I upgraded.
This was resolved by upgrading freetype from =media-libs/freetype-2.4.11 to =media-libs/freetype-2.4.11-r2. Freetype was converted to a multilib ebuild in =media-libs/freetype-2.4.11-r1. *** This bug has been marked as a duplicate of bug 455070 ***