On Sat, Aug 29, 2015 at 02:02:29PM -0600, neu pat wrote:
> I emerge python3.4 set as active:
> 
> eselect python list
> Available Python interpreters:
>   [1]   python2.7
>   [2]   python3.3
>   [3]   python3.4 *

What is the value of PYTHON_TARGETS? Can you post the output of `emerge
--info'?

> but it still complain
> 
> 
> [ebuild     U  ] sys-apps/portage-2.2.20.1 [2.2.14]
> PYTHON_TARGETS="python3_4* -python3_3*"
> 
> !!! Multiple package instances within a single package slot have been
> pulled
> !!! into the dependency graph, resulting in a slot conflict:
> 
> sys-apps/portage:0
> 
>   (sys-apps/portage-2.2.20.1:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
>     sys-apps/portage (Argument)
> 
>   (sys-apps/portage-2.2.14:0/0::gentoo, installed) pulled in by
> 
> sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-)]
> required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)
> 
> 
> 
> 
> 
> sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
> required by (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)
> 
> What is it looking for?

It looks like webapp-config is not compatible with python 3.4. As far as
I can tell, here's what's going on:

> sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-)]
> required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)

The above shows that webapp-config is pulling in portage built for
python 2.7 and 3.3.

> sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_pypy(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_pypy(-)]
> required by (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)

This snippet shows that gentoolkit is pulling in portage built for
python 2.7, 3.3, and 3.4.

Since PYTHON_TARGETS is handled as USE flags, the incompatible sets of
USE flags collide. There are a couple of solutions:

* Set PYTHON_TARGETS="python2_7 python3_3"
* Unset PYTHON_TARGETS and let it have its default value (which is the
  above
* Uninstall webapp-config or upgrade to the unstable version, which
  appears to support python 3.4

Alec

Reply via email to