Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto] PYTHON_TARGETS again
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Sep 10, 2017 2:06 pm    Post subject: [risolto] PYTHON_TARGETS again Reply with quote

Code:
cloc3Lnv ~ # grep -rH zope /etc/portage/package.use/
/etc/portage/package.use/pythonTargets:dev-python/zope-interface PYTHON_TARGETS: python2_7 python3_4 python3_5 python3_6
/etc/portage/package.use/pythonTargets:dev-python/namespace-zope PYTHON_TARGETS: python2_7 python3_4 python3_5 python3_6
/etc/portage/package.use/pythonTargets:dev-python/zope-event PYTHON_TARGETS: python2_7 python3_4 python3_5 python3_6
Code:
cloc3Lnv ~ # eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.5
  [3]   python3.4
  [4]   python2.7 (fallback)
  [5]   jython2.7 (fallback)
Code:
cloc3Lnv ~ # emerge -pv dev-python/zope-interface

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-python/namespace-zope[python_targets_pypy(-)?,python_targets_pypy3(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]".
(dependency required by "dev-python/zope-interface-4.4.2::gentoo" [ebuild])
(dependency required by "dev-python/zope-interface" [argument])


le ho già provate un po' tutte, ma non ne esco.
almeno capissi che cosa significa quel messaggio di errore (there are no ebuilds ...).
_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Sun Sep 10, 2017 6:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sun Sep 10, 2017 3:00 pm    Post subject: Reply with quote

Domanda., hai smascherato la use flag python_targets_python3_5 e python_targets_python3_6
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Sep 10, 2017 3:28 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Domanda., hai smascherato la use flag python_targets_python3_5 e python_targets_python3_6

in make.conf?
Code:

cloc3Lnv ~ # grep PYTHON_TARGETS /etc/portage/make.conf
PYTHON_TARGETS="python2_7 python3_5 python3_6"

_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sun Sep 10, 2017 3:35 pm    Post subject: Reply with quote

cloc3 wrote:
in make.conf?

No. Ma sei in un sistema unstable (~)?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Sep 10, 2017 3:37 pm    Post subject: Reply with quote

fedeliallalinea wrote:
cloc3 wrote:
in make.conf?

No. Ma sei in un sistema unstable (~)?

diciamo che ci sono molti pacchetti in tilde.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sun Sep 10, 2017 3:42 pm    Post subject: Reply with quote

Ok allora devi smascherare le use flag, perche' in un sistema stable sono mascherare.

/usr/portage/profiles/base/use.stable.mask:
# Michał Górny <mgorny@gentoo.org> (25 Jan 2017)
# Early pre-stabilization mask for dev-lang/python:3.6
python_targets_python3_6
python_single_target_python3_6

...

# Mike Gilbert <floppym@gentoo.org> (02 Oct 2015)
# Needs dev-lang/python:3.5 stable
python_targets_python3_5
python_single_target_python3_5

...


Quindi devi metterele in /etc/portage/profile/use.mask
Code:
echo "-python_targets_python3_5" >> /etc/portage/profile/use.mask
echo "-python_targets_python3_6" >> /etc/portage/profile/use.mask

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Sep 10, 2017 4:18 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Ok allora devi smascherare le use flag, perche' in un sistema stable sono mascherare.

/usr/portage/profiles/base/use.stable.mask:
# Michał Górny <mgorny@gentoo.org> (25 Jan 2017)
# Early pre-stabilization mask for dev-lang/python:3.6
python_targets_python3_6
python_single_target_python3_6

...

# Mike Gilbert <floppym@gentoo.org> (02 Oct 2015)
# Needs dev-lang/python:3.5 stable
python_targets_python3_5
python_single_target_python3_5

...

sembra sufficiente commentare le quattro righe che hai indicato tu.
avevo letto di questa procedura, ma ne fraintendevo completamente il significato.

perché bisogna toccare anche /etc/portage/profile/use.mask?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sun Sep 10, 2017 4:27 pm    Post subject: Reply with quote

cloc3 wrote:
perché bisogna toccare anche /etc/portage/profile/use.mask?

Perche' al prossimo sync il file /usr/portage/profiles/base/use.stable.mask viene sovrescritto mentre quello in /etc/portage/profile/use.mask no
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4788
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Sep 10, 2017 6:33 pm    Post subject: Reply with quote

fedeliallalinea wrote:
cloc3 wrote:
perché bisogna toccare anche /etc/portage/profile/use.mask?

Perche' al prossimo sync il file /usr/portage/profiles/base/use.stable.mask viene sovrascritto mentre quello in /etc/portage/profile/use.mask no

e siccome use.mask serve a mascherare e io voglio smascherare, uso il segno meno, che maschera la mancanza della flag.
:) contorto, ma pervenuto.
grazie.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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