1 |
On 27/02/2016 21:59, Alec Ten Harmsel wrote: |
2 |
> On Sat, Feb 27, 2016 at 09:40:06PM +0200, Alan McKinnon wrote: |
3 |
>> I don't know much about PYTHON_SINGLE_TARGET and PYTHON_TARGET, it all |
4 |
>> seemed to just work so I never looked further. Until now. Of all |
5 |
>> packages, libreoffice seems to want only python3: |
6 |
> |
7 |
> I don't know much about them either. |
8 |
> |
9 |
>> !!! The ebuild selected to satisfy "app-office/libreoffice" has unmet |
10 |
>> requirements. |
11 |
>> - app-office/libreoffice-5.1.0.3::gentoo USE="bluetooth branding cups |
12 |
>> dbus gstreamer java kde mysql vlc (-aqua) -coinmp -collada -debug -eds |
13 |
>> (-firebird) -gltf -gnome -gtk -gtk3 -jemalloc -libressl -odk -postgres |
14 |
>> (-telepathy) -test" ABI_X86="64" LIBREOFFICE_EXTENSIONS="-nlpsolver |
15 |
>> -scripting-beanshell -scripting-javascript -wiki-publisher" |
16 |
>> PYTHON_SINGLE_TARGET="-python3_4 -python3_5" PYTHON_TARGETS="python3_4 |
17 |
>> python3_5" |
18 |
>> |
19 |
>> The following REQUIRED_USE flag constraints are unsatisfied: |
20 |
>> exactly-one-of ( python_single_target_python3_4 |
21 |
>> python_single_target_python3_5 ) |
22 |
>> |
23 |
>> <snip> |
24 |
>> |
25 |
>> khamul ~ # emerge --info | grep PYTHON |
26 |
>> PYTHON_SINGLE_TARGET="python2_7" |
27 |
>> PYTHON_TARGETS="python2_7 python3_4" |
28 |
>> Unset: USE_PYTHON |
29 |
>> |
30 |
> |
31 |
> app-office/libreoffice-5.1.0.3 requires PYTHON_SINGLE_TARGET to be |
32 |
> python3_4 or python3_5. That's the only problem. I would recommend |
33 |
> running stable libreoffice; I would be surprised if emerge would be |
34 |
> happy after you set PYTHON_SINGLE_TARGET="python3_4". |
35 |
|
36 |
Correct, there are still way too many packages requiring python-2.7 that |
37 |
don't support python-3 at all. |
38 |
|
39 |
I deliberately keep this box on ~arch so I set the variables for |
40 |
libreoffice in package.use and a world update is now running. |
41 |
|
42 |
Wanting to know more about the subject, I found |
43 |
https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS |
44 |
which more or less states that to fix issues like this, put it in |
45 |
package.use |
46 |
|
47 |
|
48 |
-- |
49 |
Alan McKinnon |
50 |
alan.mckinnon@×××××.com |