On Thu, Jul 26, 2018 at 10:57 AM Grand Duet <grand.d...@gmail.com> wrote: > > Just now I have tried to manually set > > PYTHON_TARGETS="python2_7 python3_6" > PYTHON_SINGLE_TARGET="python3_6" > > in /etc/portage/make.conf and got the following error: > > # emerge --update --deep --with-bdeps=y --newuse --backtrack=120 --ask world > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > > !!! The ebuild selected to satisfy "app-text/asciidoc" has unmet requirements. > - 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)" > > The following REQUIRED_USE flag constraints are unsatisfied: > exactly-one-of ( python_single_target_pypy python_single_target_python2_7 > ) > > The above constraints are a subset of the following complete expression: > exactly-one-of ( python_single_target_pypy > python_single_target_python2_7 ) python_single_target_pypy? ( > python_targets_pypy ) python_single_target_python2_7? ( > python_targets_python2_7 ) > > (dependency required by "app-text/dvisvgm-2.1.3::gentoo" [installed]) > (dependency required by "app-text/texlive-2017::gentoo[extra]" [installed]) > (dependency required by "@selected" [set]) > (dependency required by "@world" [argument]) > > which is similar to those errors I got while trying to set > > PYTHON_TARGETS="python2_7 python3_5" > PYTHON_SINGLE_TARGET="python3_5" > > before switching yesterday from python-3.5 to python-3.6 target. > > Does it mean that setting python targets in /etc/portage/make.conf is > not supported any more?
No, setting PYTHON_TARGETS in make.conf should still work. It looks like asciidoc only supports python2, and for some reason portage is trying to disable python2_7. I'm not sure why that might be; we enable python2_7 for asciidoc via profiles/base/package.use. Have you made some odd change to your profile, or overridden something in /etc/portage/package.use?