Gentoo Archives: gentoo-user

From: Andreas Fink <finkandreas@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] PYTHON_SINGLE_TARGET inconsistent?
Date: Sat, 07 Jul 2018 18:32:14
Message-Id: 0MKIti-1fdVtD3iEA-001mI9@smtp.web.de
1 Hello,
2 I have a question considering PYTHON_SINGLE_TARGET because it seems to behave
3 inconsistently on my system and I cannot find any documentation about it, that would
4 guide me in the right direction how to fix it.
5 Running emerge --info I see the following (I'm on ~amd64):
6 ... PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" ...
7
8 This output is the default for ~amd64, neither PYTHON_SINGLE_TARGET nor PYTHON_TARGETS
9 has been set explicitly.
10 If I do an emerge -av asciidoc, I see the following output:
11 ebuild R ] app-text/asciidoc-8.6.10::gentoo USE="-examples -graphviz -highlight {-test}" PYTHON_SINGLE_TARGET="python2_7 -pypy" PYTHON_TARGETS="python2_7 -pypy"
12
13 Setting PYTHON_SINGLE_TARGET and PYTHON_TARGETS in /etc/portage/make.conf explicitly to:
14 PYTHON_SINGLE_TARGET="python3_5"
15 PYTHON_TARGETS="python2_7 python3_5"
16
17 Now emerge --info doesn't show any difference. It's still the same output.
18 Doing an emerge -av asciidoc I get now this output:
19 !!! The ebuild selected to satisfy "asciidoc" has unmet requirements.
20 - app-text/asciidoc-8.6.10::gentoo USE="-examples -graphviz -highlight -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-pypy -python2_7" PYTHON_TARGETS="python2_7 -pypy"
21
22 The following REQUIRED_USE flag constraints are unsatisfied:
23 exactly-one-of ( python_single_target_pypy python_single_target_python2_7 )
24
25
26 This seems for me to be really inconsistent, considering the fact that we usually request users to provide an emerge --info,
27 which wouldn't show any difference.
28 Why am I able to merge in the first case the package, but in the second case I get an
29 error? I really cannot understand where the python_single_target_python2_7 is set in the
30 first case.
31 Anyone who has more insight into that case?
32
33 Cheers
34 Andreas

Replies

Subject Author
Re: [gentoo-user] PYTHON_SINGLE_TARGET inconsistent? "Vadim A. Misbakh-Soloviov" <gentoo@×××.name>