I'm wondering how and where PYTHON_TARGETS and PYTHON_SINGLE_TARGET are defined.
Since upgrading to 1.3 and lately to 1.4, I've been getting more and more emerge errors, complaining about these two settings. I even started a fresh install, thinking that one of the upgrades might have broken something, but already on the first (still empty world file) world update, I ran into the same kind of errors again.
I read the forums and found out, that the way to go should be to override the PYTHON_SINGLE_TARGET setting via USE flags (this thread), but I'm still getting errors: PYTHON_TARGETS either lists versions of python that are not installed or demands versions that are already installed, as if they weren't.
A few examples:
Currently installed python versions are:
note, that I didn't set a python use flag for this package. The PYTHON_TARGETS should be pyhton3_7, python3_6 and pyhton2_7 as far as I understand.
There are no mentions of PYTHON_TARGETS in my make.conf. I even tried to change the python version via eselect to another version and back, hoping that would resolve the issue, but it didn't help.
Where does my system get those PYTHON_TARGETS settings from? I thought they should be defined via eselect python?
Is there any guide or wiki entry about these settings, where to define them, what overrides them and how to correctly override them per package via USE flags?
Question
escy
Hi,
I'm wondering how and where PYTHON_TARGETS and PYTHON_SINGLE_TARGET are defined.
Since upgrading to 1.3 and lately to 1.4, I've been getting more and more emerge errors, complaining about these two settings. I even started a fresh install, thinking that one of the upgrades might have broken something, but already on the first (still empty world file) world update, I ran into the same kind of errors again.
I read the forums and found out, that the way to go should be to override the PYTHON_SINGLE_TARGET setting via USE flags (this thread), but I'm still getting errors: PYTHON_TARGETS either lists versions of python that are not installed or demands versions that are already installed, as if they weren't.
A few examples:
Currently installed python versions are:
[I] dev-lang/python [1] (2.7) 2.7.15 (3.6) 3.6.8 (3.7) 3.7.3
eselect python list shows:
Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7
emerge -avuDN world gives:
note, that I didn't set a python use flag for this package. The PYTHON_TARGETS should be pyhton3_7, python3_6 and pyhton2_7 as far as I understand.
There are no mentions of PYTHON_TARGETS in my make.conf. I even tried to change the python version via eselect to another version and back, hoping that would resolve the issue, but it didn't help.
Where does my system get those PYTHON_TARGETS settings from? I thought they should be defined via eselect python?
Is there any guide or wiki entry about these settings, where to define them, what overrides them and how to correctly override them per package via USE flags?
Thanks for your help.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts