View previous topic :: View next topic |
Author |
Message |
Lars Apprentice
Joined: 06 Feb 2003 Posts: 171 Location: Germany, near baltic sea
|
Posted: Wed Dec 20, 2017 7:35 pm Post subject: What to set in PYTHON_SINGLE_TARGET [SOLVED] |
|
|
Hi all,
I've some strange problems with my portage tree. It seems that I need something else than PYTHON2_7 in the variable PYTHON_SINGLE_TARGET. Or I can't build my portage tree.
Code: |
!!! The ebuild selected to satisfy ">=sys-libs/libblockdev-2.14[cryptsetup,lvm?]" has unmet requirements.
- sys-libs/libblockdev-2.14-r1::gentoo USE="cryptsetup -bcache -dmraid -doc -kbd -lvm -test" ABI_X86="(64)" PYTHON_SINGLE_TARGET="-python3_4 -python3_5 -python3_6" PYTHON_TARGETS="python3_4 python3_5 python3_6"
|
So my question is, is it allowed to set something higher than PYTHON2_7 into the PYTHON_SINGLE_TARGET? _________________
Quote: | Alles was nicht einfach ist, ist entweder falsch oder zu kompliziert. |
V.Glazounov
Last edited by Lars on Thu Dec 21, 2017 1:17 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31302 Location: here
|
Posted: Wed Dec 20, 2017 7:43 pm Post subject: |
|
|
Strange default PYTHON_SINGLE_TARGET, provided by profile, is now 3.5. You have set 2.7 in make.conf? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Lars Apprentice
Joined: 06 Feb 2003 Posts: 171 Location: Germany, near baltic sea
|
Posted: Wed Dec 20, 2017 7:47 pm Post subject: |
|
|
Yes, I have PYTHON2_7 in my make.conf.
As I interpret your answer it seems to be ok to set this variable to something like PYTHON3_5 without big problems? _________________
Quote: | Alles was nicht einfach ist, ist entweder falsch oder zu kompliziert. |
V.Glazounov |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31302 Location: here
|
Posted: Wed Dec 20, 2017 7:51 pm Post subject: |
|
|
Lars wrote: | As I interpret your answer it seems to be ok to set this variable to something like PYTHON3_5 without big problems? |
Yes now is default target, from my emerge --info
Code: | PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Lars Apprentice
Joined: 06 Feb 2003 Posts: 171 Location: Germany, near baltic sea
|
Posted: Wed Dec 20, 2017 7:54 pm Post subject: |
|
|
Ok thank you very much. Now 178 packages will be rebuild...
Could take some minutes. _________________
Quote: | Alles was nicht einfach ist, ist entweder falsch oder zu kompliziert. |
V.Glazounov |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Wed Dec 20, 2017 7:59 pm Post subject: |
|
|
Lars wrote: | Yes, I have PYTHON2_7 in my make.conf. |
Why set it at all in make.conf? I never did. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31302 Location: here
|
Posted: Wed Dec 20, 2017 8:00 pm Post subject: |
|
|
Just for information, you can omit PYTHON_SINGLE_TARGET and PYTHON_TARGETS from make.conf because this is provided by profile
/usr/portage/profiles/base/make.defaults: | ...
# Mike Gilbert <floppym@gentoo.org> (15 May 2012)
# Default target(s) for python-r1.eclass
# Updated to python3_5 on 28 Nov 2017
PYTHON_TARGETS="python2_7 python3_5"
PYTHON_SINGLE_TARGET="python3_5"
... |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|