Gentoo Archives: gentoo-user

From: Grand Duet <grand.duet@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Setting PYTHON_TARGETS in make.conf is not supported?
Date: Thu, 26 Jul 2018 14:57:11
Message-Id: CACE6sHntYnfZUq2UqMim-0pRGX0r2cF3D7A+hrTE0z8URiUosg@mail.gmail.com
1 Just now I have tried to manually set
2
3 PYTHON_TARGETS="python2_7 python3_6"
4 PYTHON_SINGLE_TARGET="python3_6"
5
6 in /etc/portage/make.conf and got the following error:
7
8 # emerge --update --deep --with-bdeps=y --newuse --backtrack=120 --ask world
9
10 These are the packages that would be merged, in order:
11
12 Calculating dependencies... done!
13
14 !!! The ebuild selected to satisfy "app-text/asciidoc" has unmet requirements.
15 - app-text/asciidoc-8.6.10::gentoo USE="-examples -graphviz -highlight
16 -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="(-pypy) -python2_7"
17 PYTHON_TARGETS="python2_7 (-pypy)"
18
19 The following REQUIRED_USE flag constraints are unsatisfied:
20 exactly-one-of ( python_single_target_pypy python_single_target_python2_7 )
21
22 The above constraints are a subset of the following complete expression:
23 exactly-one-of ( python_single_target_pypy
24 python_single_target_python2_7 ) python_single_target_pypy? (
25 python_targets_pypy ) python_single_target_python2_7? (
26 python_targets_python2_7 )
27
28 (dependency required by "app-text/dvisvgm-2.1.3::gentoo" [installed])
29 (dependency required by "app-text/texlive-2017::gentoo[extra]" [installed])
30 (dependency required by "@selected" [set])
31 (dependency required by "@world" [argument])
32
33 which is similar to those errors I got while trying to set
34
35 PYTHON_TARGETS="python2_7 python3_5"
36 PYTHON_SINGLE_TARGET="python3_5"
37
38 before switching yesterday from python-3.5 to python-3.6 target.
39
40 Does it mean that setting python targets in /etc/portage/make.conf is
41 not supported any more?
42
43 P.S. Currently my system is up-to-date and already switched to
44 python-3.6 targets.

Replies