On 03/28/2014 08:29:27 PM, Tom Wijsman wrote:
On Fri, 28 Mar 2014 11:42:59 +0100
Helmut Jarausch <jarau...@igpm.rwth-aachen.de> wrote:

> sys-apps/portage:0
>
>    (sys-apps/portage-9999:0/0::gentoo, ebuild scheduled for merge)
> pulled in by
>      sys-apps/portage (Argument)
>
>    (sys-apps/portage-9999:0/0::gentoo, installed) pulled in by
>
> sys-apps/portage[**SNIP**] required by
> (app-portage/gentoolkit-dev-0.2.8.3-r1:0/0::gentoo, installed)
>
> sys-apps/portage[**SNIP**] required by
> (app-admin/webapp-config-1.53:0/0::gentoo, installed)
>
> sys-apps/portage[**SNIP**] required by
> (app-portage/flaggie-0.2.1:0/0::gentoo, installed)

The thing with Python is that it wants 'packages that support Python'
depend on 'Python packages that have the same versions supported'.

Iotw, from the above example; let's say the reverse dependencies
gentoolkit-dev, webapp-config, flaggie, ... were build with 2.x and
with 3.x, they would want both 2.x and 3.x set on sys-apps/portage.

If you drop 2.x you can't just rebuild Portage, you'll need to rebuild
the reverse deps as well; such that they no longer want 2.x on Portage.

So, when changing PYTHON_TARGET in make.conf; you will want to do
something along the lines of `emerge -auvDN @world --backtrack=9001`,
this to ensure that the reverse dependencies of Portage no longer
depend on Portage having the previously set Python versions.

Portage will then go ahead and rebuild both Portage and its reverse
dependencies; that way, it doesn't create the conflict you saw.

(Backtracking 9001 so it is sufficiently high to not cause conflicts)

--

Unfortunately, this doesn't solve my problem.

If I remove python2_7 from PYTHON_TARGET emerge -auvDN @world --backtrack=9001
fails for those packages which don't support Python3.

But if I keep python2_7 in PYTHON_TARGET then all packages which support
Python2_7 and Python3_3 are installed twice, once in /usr/lib64/python2.7
and then in /usr/lib64/python3.3

But I'm looking for a means to install packages which do support Python3.3 only for Python3.3 and which installs packages which don't support Python3.3
nevertheless under /usr/lib64/python2.7

Helmut

Reply via email to