1 |
On Thu, Jul 26, 2018 at 10:57 AM Grand Duet <grand.duet@×××××.com> wrote: |
2 |
> |
3 |
> Just now I have tried to manually set |
4 |
> |
5 |
> PYTHON_TARGETS="python2_7 python3_6" |
6 |
> PYTHON_SINGLE_TARGET="python3_6" |
7 |
> |
8 |
> in /etc/portage/make.conf and got the following error: |
9 |
> |
10 |
> # emerge --update --deep --with-bdeps=y --newuse --backtrack=120 --ask world |
11 |
> |
12 |
> These are the packages that would be merged, in order: |
13 |
> |
14 |
> Calculating dependencies... done! |
15 |
> |
16 |
> !!! The ebuild selected to satisfy "app-text/asciidoc" has unmet requirements. |
17 |
> - app-text/asciidoc-8.6.10::gentoo USE="-examples -graphviz -highlight |
18 |
> -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="(-pypy) -python2_7" |
19 |
> PYTHON_TARGETS="python2_7 (-pypy)" |
20 |
> |
21 |
> The following REQUIRED_USE flag constraints are unsatisfied: |
22 |
> exactly-one-of ( python_single_target_pypy python_single_target_python2_7 ) |
23 |
> |
24 |
> The above constraints are a subset of the following complete expression: |
25 |
> exactly-one-of ( python_single_target_pypy |
26 |
> python_single_target_python2_7 ) python_single_target_pypy? ( |
27 |
> python_targets_pypy ) python_single_target_python2_7? ( |
28 |
> python_targets_python2_7 ) |
29 |
> |
30 |
> (dependency required by "app-text/dvisvgm-2.1.3::gentoo" [installed]) |
31 |
> (dependency required by "app-text/texlive-2017::gentoo[extra]" [installed]) |
32 |
> (dependency required by "@selected" [set]) |
33 |
> (dependency required by "@world" [argument]) |
34 |
> |
35 |
> which is similar to those errors I got while trying to set |
36 |
> |
37 |
> PYTHON_TARGETS="python2_7 python3_5" |
38 |
> PYTHON_SINGLE_TARGET="python3_5" |
39 |
> |
40 |
> before switching yesterday from python-3.5 to python-3.6 target. |
41 |
> |
42 |
> Does it mean that setting python targets in /etc/portage/make.conf is |
43 |
> not supported any more? |
44 |
|
45 |
No, setting PYTHON_TARGETS in make.conf should still work. |
46 |
|
47 |
It looks like asciidoc only supports python2, and for some reason |
48 |
portage is trying to disable python2_7. I'm not sure why that might |
49 |
be; we enable python2_7 for asciidoc via profiles/base/package.use. |
50 |
|
51 |
Have you made some odd change to your profile, or overridden something |
52 |
in /etc/portage/package.use? |