See e.g. bug 143423. ebuild.sh, line 1559: Called dyn_setup ebuild.sh, line 666: Called pkg_setup porthole-0.4.1.ebuild, line 22: Called built_with_use '<dev-python/pygtk-2.8.0-r2' 'gnome' eutils.eclass, line 1592: Called die !!! Unable to determine what USE flags was built with ^^ Suggest built_with_use die immediately if best_version fails: built_with_use() { local opt=$1 [[ ${opt:0:1} = "-" ]] && shift || opt="-a" local PKG=$(best_version $1) + [[ $PKG ]] || die "Unable to resolve $1 to an installed package" shift local USEFILE=${ROOT}/var/db/pkg/${PKG}/USE # if the USE file doesnt exist, assume the $PKG is either # injected or package.provided [[ ! -e ${USEFILE} ]] && die "Unable to determine what USE flags $PKG was built with"
added to cvs, cheers