1 |
On Fri, Mar 17, 2017 at 02:09:29AM +0100, Ralf wrote |
2 |
|
3 |
> So somehow PYTHON_TARGET and PYTHON_SINGLETARGET got screwed on my |
4 |
> system. I know how I could fix this for gedit only, but then other |
5 |
> packages begin complaining about the same issue as well. |
6 |
|
7 |
No, it's not screwed up. gedit insists on python 3.x now in |
8 |
PYTHON_SINGLE_TARGET, given your USE flags. Start from the beginning. |
9 |
app-editors/gedit-3.22.0::gentoo USE="introspection python spell" |
10 |
You have (via package.use, make.conf, or profile) invoked the "python" |
11 |
and "introspection" USE flags for gedit. The bit... |
12 |
|
13 |
> The following REQUIRED_USE flag constraints are unsatisfied: |
14 |
> python? ( exactly-one-of ( python_single_target_python3_4 |
15 |
> python_single_target_python3_5 ) ) |
16 |
|
17 |
...says that you need "exactly-one-of" the following... |
18 |
( python_single_target_python3_4 python_single_target_python3_5 ) |
19 |
|
20 |
Since you're using PYTHON_TARGETS="python3_4 -python3_5", the "local" |
21 |
option is to add the following line to package.use to apply to gedit only. |
22 |
|
23 |
app-editors/gedit python_single_target_python3_4 |
24 |
|
25 |
You might consider the "global" option, which is to change make.conf |
26 |
to read PYTHON_SINGLE_TARGET="python3_4" if that doesn't cause rebuilds |
27 |
all over the place. |
28 |
|
29 |
In either case, when upgrading from python 3.4 to 3.5 in the future, |
30 |
you'll have to change "3.4" to "3.5" in make.conf and/or package.use. |
31 |
|
32 |
-- |
33 |
Walter Dnes <waltdnes@××××××××.org> |
34 |
I don't run "desktop environments"; I run useful applications |