Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What to set in PYTHON_SINGLE_TARGET [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Lars
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 171
Location: Germany, near baltic sea

PostPosted: Wed Dec 20, 2017 7:35 pm    Post subject: What to set in PYTHON_SINGLE_TARGET [SOLVED] Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Wed Dec 20, 2017 7:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lars
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 171
Location: Germany, near baltic sea

PostPosted: Wed Dec 20, 2017 7:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Wed Dec 20, 2017 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Lars
Apprentice
Apprentice


Joined: 06 Feb 2003
Posts: 171
Location: Germany, near baltic sea

PostPosted: Wed Dec 20, 2017 7:54 pm    Post subject: Reply with quote

Ok thank you very much. Now 178 packages will be rebuild...

Could take some minutes. 8)
_________________
Quote:
Alles was nicht einfach ist, ist entweder falsch oder zu kompliziert.

V.Glazounov
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3685

PostPosted: Wed Dec 20, 2017 7:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31340
Location: here

PostPosted: Wed Dec 20, 2017 8:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum