View previous topic :: View next topic |
Author |
Message |
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sun Sep 10, 2017 2:06 pm Post subject: [risolto] PYTHON_TARGETS again |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Sun Sep 10, 2017 3:00 pm Post subject: |
|
|
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 |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sun Sep 10, 2017 3:28 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Sun Sep 10, 2017 3:35 pm Post subject: |
|
|
cloc3 wrote: | in make.conf? |
No. Ma sei in un sistema unstable (~)? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sun Sep 10, 2017 3:37 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Sun Sep 10, 2017 3:42 pm Post subject: |
|
|
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 |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sun Sep 10, 2017 4:18 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30909 Location: here
|
Posted: Sun Sep 10, 2017 4:27 pm Post subject: |
|
|
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 |
|
|
cloc3 Advocate
Joined: 13 Jan 2004 Posts: 4788 Location: http://www.gentoo-users.org/user/cloc3/
|
Posted: Sun Sep 10, 2017 6:33 pm Post subject: |
|
|
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 |
|
|
|