in /etc/portage/package.provided i have x11-libs/cairo-1.3.99 and the ebuild tries if ! built_with_use x11-libs/cairo X; then eerror "Cairo is not built with X useflag." eerror "Please add 'X' to your USE flags, and re-emerge cairo." die "Cairo needs X" fi which results in !!! ERROR: www-client/mozilla-firefox-2.0.0.1-r2 failed. Call stack: ebuild.sh, line 1634: Called dyn_setup ebuild.sh, line 706: Called qa_call 'pkg_setup' ebuild.sh, line 38: Called pkg_setup mozilla-firefox-2.0.0.1-r2.ebuild, line 80: Called built_with_use 'x11-libs/cairo' 'X' eutils.eclass, line 1647: Called die !!! Unable to resolve x11-libs/cairo to an installed package !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/iie/fat/tmp/portage/www-client/mozilla-firefox-2.0.0.1-r2/temp/build.log'.
Sorry, we really don't care. *** This bug has been marked as a duplicate of bug 139842 ***
So, to provide a solution which works around the Portage silliness: Create a cairo ebuild in your local overlay (even if it's an ebuild which does nothing), and emerge it. It must have, and be emerged with, the 'X' USE flag. Remove the entry from package.provided.