Gentoo Archives: gentoo-user

From: Alec Ten Harmsel <alec@××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] emerge --oneshot portage - conflict
Date: Sat, 29 Aug 2015 21:37:37
Message-Id: 20150829213722.GA24948@greenbeast
In Reply to: [gentoo-user] emerge --oneshot portage - conflict by neu pat
1 On Sat, Aug 29, 2015 at 02:02:29PM -0600, neu pat wrote:
2 > I emerge python3.4 set as active:
3 >
4 > eselect python list
5 > Available Python interpreters:
6 > [1] python2.7
7 > [2] python3.3
8 > [3] python3.4 *
9
10 What is the value of PYTHON_TARGETS? Can you post the output of `emerge
11 --info'?
12
13 > but it still complain
14 >
15 >
16 > [ebuild U ] sys-apps/portage-2.2.20.1 [2.2.14]
17 > PYTHON_TARGETS="python3_4* -python3_3*"
18 >
19 > !!! Multiple package instances within a single package slot have been
20 > pulled
21 > !!! into the dependency graph, resulting in a slot conflict:
22 >
23 > sys-apps/portage:0
24 >
25 > (sys-apps/portage-2.2.20.1:0/0::gentoo, ebuild scheduled for merge)
26 > pulled in by
27 > sys-apps/portage (Argument)
28 >
29 > (sys-apps/portage-2.2.14:0/0::gentoo, installed) pulled in by
30 >
31 > sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-)]
32 > required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)
33 >
34 >
35 >
36 >
37 >
38 > 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(-)]
39 > required by (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)
40 >
41 > What is it looking for?
42
43 It looks like webapp-config is not compatible with python 3.4. As far as
44 I can tell, here's what's going on:
45
46 > sys-apps/portage[python_targets_python2_7(-)?,python_targets_python3_3(-)?,-python_single_target_python2_7(-),-python_single_target_python3_3(-)]
47 > required by (app-admin/webapp-config-1.52-r1:0/0::gentoo, installed)
48
49 The above shows that webapp-config is pulling in portage built for
50 python 2.7 and 3.3.
51
52 > 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(-)]
53 > required by (app-portage/gentoolkit-0.3.0.9-r2:0/0::gentoo, installed)
54
55 This snippet shows that gentoolkit is pulling in portage built for
56 python 2.7, 3.3, and 3.4.
57
58 Since PYTHON_TARGETS is handled as USE flags, the incompatible sets of
59 USE flags collide. There are a couple of solutions:
60
61 * Set PYTHON_TARGETS="python2_7 python3_3"
62 * Unset PYTHON_TARGETS and let it have its default value (which is the
63 above
64 * Uninstall webapp-config or upgrade to the unstable version, which
65 appears to support python 3.4
66
67 Alec