On Thu, May 19, 2016 at 01:21:20AM +0800, Andrew Lowe wrote:
> Hi all,
>       Doing the usual "emerge -NuD world" and I get hit with:
> 
> ********************
> 
> Calculating dependencies... done!
> 
> !!! The ebuild selected to satisfy ">=kde-frameworks/ki18n-5.18.0:5" has 
> unmet requirements.
> - kde-frameworks/ki18n-5.22.1::gentoo USE="-debug -doc -test" 
> ABI_X86="64" PYTHON_SINGLE_TARGET="python3_4 -python2_7" 
> PYTHON_TARGETS="python2_7 -python3_4"

PYTHON_SINGLE_TARGET sets the version of python for a package that can
only be installed with a single python. PYTHON_TARGETS sets the versions
of python a python package will be installed to/with for packages that
can be installed to multiple python versions.

You have PYTHON_SINGLE_TARGET=python3_4, but PYTHON_TARGETS does *not*
contain python3_4. This is bad.

>    The following REQUIRED_USE flag constraints are unsatisfied:
>      python_single_target_python3_4? ( python_targets_python3_4 )

This is the line that enforces the above (i.e. PYTHON_SINGLE_TARGET must
be in PYTHON_TARGETS).

> ********************
> 
> kde-frameworks/ki18n python_single_target_python3_4
> 

This is not the problem and can be removed.

> ********************
> 
>       But the problem persists, nothing has changed. "eselect python list" 
> lists that I've got Python 2.7, 3.4 and 3.5 installed. I've just noticed 
> that doing "emerge --info ki18n" shows:
> 
>   PYTHON SINGLE_TARGET="python3_5"

what?

What do you have PYTHON_TARGETS and PYTHON_SINGLE_TARGET in
/etc/portage/make.conf?

Alec

Reply via email to