View previous topic :: View next topic |
Author |
Message |
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Tue Feb 25, 2020 6:28 am Post subject: [Solved] Rpi3 ~arm Python |
|
|
I don't understand why I installed both Python3.7 and python3.8 but eselect python list keeps showing me only 2.7 and 3.6.
Last edited by antonellocaroli on Sun Mar 01, 2020 10:27 am; edited 1 time in total |
|
Back to top |
|
|
erm67 l33t
Joined: 01 Nov 2005 Posts: 653 Location: EU
|
Posted: Wed Feb 26, 2020 8:00 am Post subject: |
|
|
what is the result of
less /usr/share/eselect/modules/python.eselect _________________ Ok boomer
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia
My fediverse account: @erm67@erm67.dynu.net |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Wed Feb 26, 2020 5:10 pm Post subject: |
|
|
erm67 wrote: | what is the result of
|
Code: |
python-exec2c -l
python3.6
python2.7
|
erm67 wrote: |
less /usr/share/eselect/modules/python.eselect |
http://dpaste.com/0102KS8 |
|
Back to top |
|
|
erm67 l33t
Joined: 01 Nov 2005 Posts: 653 Location: EU
|
Posted: Wed Feb 26, 2020 7:40 pm Post subject: |
|
|
python-exec cannot find the interpreters you have installed, sure they were really installed?
https://wiki.gentoo.org/wiki/Project:Python/python-exec _________________ Ok boomer
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia
My fediverse account: @erm67@erm67.dynu.net |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Thu Feb 27, 2020 2:38 am Post subject: |
|
|
erm67 wrote: | python-exec cannot find the interpreters you have installed, sure they were really installed? |
yes
Code: | GentooPlayerRpi32 ~ # emerge -pv dev-lang/python:3.7
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/python-3.7.6:3.7/3.7m::gentoo USE="gdbm ipv6 ncurses readline sqlite ssl xml -bluetooth -build -examples (-hardened) -libressl -test -tk -wininst" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
* IMPORTANT: 24 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
GentooPlayerRpi32 ~ # emerge -pv dev-lang/python:3.8
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-lang/python-3.8.1:3.8::gentoo USE="gdbm ipv6 ncurses readline sqlite ssl xml -bluetooth -build -examples (-hardened) -libressl -test -tk -wininst" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
* IMPORTANT: 24 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
|
Code: | ls -l /usr/lib
drwxr-xr-x 24 root root 20480 Dec 30 16:28 python2.7
drwxr-xr-x 33 root root 4096 Dec 31 07:38 python3.6
drwxr-xr-x 33 root root 4096 Feb 25 06:44 python3.7
drwxr-xr-x 33 root root 4096 Feb 25 07:20 python3.8
drwxr-xr-x 6 root root 4096 Feb 25 07:20 python-exec
|
Code: |
/usr/lib/python-exec:
total 20
drwxr-xr-x 2 root root 4096 Feb 12 08:47 python2.7
drwxr-xr-x 2 root root 4096 Feb 12 20:12 python3.6
drwxr-xr-x 2 root root 4096 Feb 25 06:44 python3.7
drwxr-xr-x 2 root root 4096 Feb 25 07:20 python3.8
-rwxr-xr-x 1 root root 2302 Dec 31 08:47 python-exec2
|
|
|
Back to top |
|
|
erm67 l33t
Joined: 01 Nov 2005 Posts: 653 Location: EU
|
Posted: Thu Feb 27, 2020 7:18 am Post subject: |
|
|
did you try to re-emerge python-exec?
I have multiple python installed and in works so it's probably not related to the architecture.
Code: | erm67 /usr/src # python-exec2c -l
python3.7
python3.6
python2.7
|
_________________ Ok boomer
True ignorance is not the absence of knowledge, but the refusal to acquire it.
Ab esse ad posse valet, a posse ad esse non valet consequentia
My fediverse account: @erm67@erm67.dynu.net
Last edited by erm67 on Thu Feb 27, 2020 8:52 am; edited 1 time in total |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Thu Feb 27, 2020 8:12 am Post subject: Re: Rpi3 ~arm Python |
|
|
antonellocaroli wrote: | I don't understand why I installed both Python3.7 and python3.8 but eselect python list keeps showing me only 2.7 and 3.6. |
If you put python_targets_python2_7 into /etc/portage/profile/use.mask you would mask the 2.7 too.
For python3_7 see bug 696084 |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Fri Feb 28, 2020 3:51 pm Post subject: |
|
|
erm67 wrote: | did you try to re-emerge python-exec?
|
Yes, but I can´t figure out what the problem is... |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Fri Feb 28, 2020 3:53 pm Post subject: Re: Rpi3 ~arm Python |
|
|
charles17 wrote: | antonellocaroli wrote: | I don't understand why I installed both Python3.7 and python3.8 but eselect python list keeps showing me only 2.7 and 3.6. |
If you put python_targets_python2_7 into /etc/portage/profile/use.mask you would mask the 2.7 too.
For python3_7 see bug 696084 |
The problem is, he can't see me in 3.7 or 3.8. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Fri Feb 28, 2020 5:00 pm Post subject: Re: Rpi3 ~arm Python |
|
|
antonellocaroli wrote: | The problem is, he can't see me in 3.7 or 3.8. |
Maybe masked? What are you getting from this? Code: | grep -nr 'python3_7\|python3_8' /var/db/repos/gentoo/profiles/ |
|
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Fri Feb 28, 2020 5:07 pm Post subject: Re: Rpi3 ~arm Python |
|
|
charles17 wrote: | antonellocaroli wrote: | The problem is, he can't see me in 3.7 or 3.8. |
Maybe masked? What are you getting from this? Code: | grep -nr 'python3_7\|python3_8' /var/db/repos/gentoo/profiles/ |
|
Code: | /var/db/repos/gentoo/profiles/base/package.use.force:115:dev-lang/python-exec python_targets_python3_7
/var/db/repos/gentoo/profiles/base/package.use.force:116:dev-lang/python-exec python_targets_python3_8
/var/db/repos/gentoo/profiles/prefix/windows/cygwin/use.mask:8:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:13:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:14:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:15:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:16:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:7:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:8:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:9:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:10:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:17:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:18:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:19:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:20:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/alpha/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:9:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:10:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:11:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:12:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/x86/package.use.stable.mask:35:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/x86/use.mask:15:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.mask:16:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/base/use.mask:7:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/base/use.mask:8:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:24:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:25:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:26:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:27:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.mask:24:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.mask:25:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:25:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:26:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:27:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:28:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:9:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:10:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:11:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:12:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/package.use.stable.mask:36:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.mask:11:-python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.mask:12:-python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:13:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:14:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:15:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:16:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/make.defaults:41:PYTHON_TARGETS="python3_7"
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/make.defaults:42:PYTHON_SINGLE_TARGET="python3_7"
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/use.force:8:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/use.force:9:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:17:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:18:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:19:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:20:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/arm/use.mask:19:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.mask:20:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/hppa/use.mask:23:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/hppa/use.mask:24:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/s390/use.mask:27:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/s390/use.mask:28:python_single_target_python3_7
/var/db/repos/gentoo/profiles/desc/python_single_target.desc:8:python3_7 - Build for Python 3.7 only
/var/db/repos/gentoo/profiles/desc/python_single_target.desc:9:python3_8 - Build for Python 3.8 only
/var/db/repos/gentoo/profiles/desc/python_targets.desc:8:python3_7 - Build with Python 3.7
/var/db/repos/gentoo/profiles/desc/python_targets.desc:9:python3_8 - Build with Python 3.8 |
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Feb 29, 2020 8:32 am Post subject: Re: Rpi3 ~arm Python |
|
|
Looking for package.use.stable.mask in that output should tell you.
Quote: | ...
/var/db/repos/gentoo/profiles/arch/x86/package.use.stable.mask:35:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
...
/var/db/repos/gentoo/profiles/arch/amd64/package.use.stable.mask:36:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
|
There is no such unmask for dev-lang/python-exec on arm. |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Sat Feb 29, 2020 8:50 am Post subject: Re: Rpi3 ~arm Python |
|
|
charles17 wrote: | Looking for package.use.stable.mask in that output should tell you.
Quote: | ...
/var/db/repos/gentoo/profiles/arch/x86/package.use.stable.mask:35:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
...
/var/db/repos/gentoo/profiles/arch/amd64/package.use.stable.mask:36:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
|
There is no such unmask for dev-lang/python-exec on arm. |
so it's normal that eselect python list doesn't see them?
Is that right?
I don't really understand much. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Feb 29, 2020 9:02 am Post subject: |
|
|
You can check yourself by unmasking it with your /etc/portage/profile/package.use.stable.mask file. |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Sat Feb 29, 2020 9:42 am Post subject: |
|
|
charles17 wrote: | You can check yourself by unmasking it with your /etc/portage/profile/package.use.stable.mask file. |
so I should create the /etc/protage/profile folder
and in the /etc/portage/profile/package.use.stable.mask file put
python-exec -python_targets_python3_7 -python_targets_python3_8
? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Feb 29, 2020 9:49 am Post subject: |
|
|
Yep. Just try it and then re-check your eselect python list to see if it changes |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Sat Feb 29, 2020 10:16 am Post subject: |
|
|
charles17 wrote: | Yep. Just try it and then re-check your eselect python list to see if it changes |
Code: | /var/db/repos/gentoo/profiles/prefix/windows/cygwin/use.mask:8:python_targets_python3_7
/var/db/repos/gentoo/profiles/desc/python_single_target.desc:8:python3_7 - Build for Python 3.7 only
/var/db/repos/gentoo/profiles/desc/python_single_target.desc:9:python3_8 - Build for Python 3.8 only
/var/db/repos/gentoo/profiles/desc/python_targets.desc:8:python3_7 - Build with Python 3.7
/var/db/repos/gentoo/profiles/desc/python_targets.desc:9:python3_8 - Build with Python 3.8
/var/db/repos/gentoo/profiles/arch/hppa/use.mask:23:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/hppa/use.mask:24:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:17:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:18:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:19:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:20:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/alpha/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:9:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:10:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:11:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:12:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/x86/package.use.stable.mask:35:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/x86/use.mask:15:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.mask:16:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:9:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:10:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:11:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:12:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/package.use.stable.mask:36:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.mask:11:-python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.mask:12:-python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:24:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:25:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:26:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:27:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.mask:24:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.mask:25:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/base/use.mask:7:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/base/use.mask:8:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:13:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:14:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:15:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:16:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/s390/use.mask:27:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/s390/use.mask:28:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:13:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:14:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:15:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:16:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:7:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:8:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:9:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:10:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:17:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:18:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:19:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:20:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/arm/use.mask:19:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.mask:20:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:25:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:26:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:27:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:28:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/use.force:8:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/use.force:9:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/make.defaults:41:PYTHON_TARGETS="python3_7"
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/make.defaults:42:PYTHON_SINGLE_TARGET="python3_7"
/var/db/repos/gentoo/profiles/base/package.use.force:115:dev-lang/python-exec python_targets_python3_7
/var/db/repos/gentoo/profiles/base/package.use.force:116:dev-lang/python-exec python_targets_python3_8 |
but eselect still doesn't show them
Code: | eselect python list
Available Python interpreters, in order of preference:
[1] python3.6
[2] python2.7
|
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Feb 29, 2020 10:42 am Post subject: |
|
|
antonellocaroli wrote: | charles17 wrote: | Yep. Just try it and then re-check your eselect python list to see if it changes |
|
Please verify Code: | grep -nr 'dev-lang/python-exec' /etc/portage/* |
|
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Sat Feb 29, 2020 10:43 am Post subject: |
|
|
charles17 wrote: | antonellocaroli wrote: | charles17 wrote: | Yep. Just try it and then re-check your eselect python list to see if it changes |
|
Please verify Code: | grep -nr 'dev-lang/python-exec' /etc/portage/* |
|
Code: | grep -nr 'dev-lang/python-exec' /etc/portage/*
/etc/portage/profile/package.use.stable.mask:1:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8 |
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Feb 29, 2020 11:07 am Post subject: |
|
|
Yes, something is still missing (or too much).
Code: | /var/db/repos/gentoo/profiles/arch/arm/use.mask:19:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.mask:20:python_single_target_python3_7 |
Try to minus them in /etc/portage/profile/use.mask
Also see bug 696084 |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Sat Feb 29, 2020 11:33 am Post subject: |
|
|
charles17 wrote: | Yes, something is still missing (or too much).
Code: | /var/db/repos/gentoo/profiles/arch/arm/use.mask:19:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.mask:20:python_single_target_python3_7 |
Try to minus them in /etc/portage/profile/use.mask
Also see bug 696084 |
Code: | /var/db/repos/gentoo/profiles/prefix/windows/cygwin/use.mask:8:python_targets_python3_7
/var/db/repos/gentoo/profiles/desc/python_single_target.desc:8:python3_7 - Build for Python 3.7 only
/var/db/repos/gentoo/profiles/desc/python_single_target.desc:9:python3_8 - Build for Python 3.8 only
/var/db/repos/gentoo/profiles/desc/python_targets.desc:8:python3_7 - Build with Python 3.7
/var/db/repos/gentoo/profiles/desc/python_targets.desc:9:python3_8 - Build with Python 3.8
/var/db/repos/gentoo/profiles/arch/hppa/use.mask:23:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/hppa/use.mask:24:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:17:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:18:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:19:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/alpha/use.stable.mask:20:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/alpha/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/alpha/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:9:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:10:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:11:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/x86/use.stable.mask:12:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/x86/package.use.stable.mask:35:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/x86/use.mask:15:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/x86/use.mask:16:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:9:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:10:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:11:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.stable.mask:12:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/package.use.stable.mask:36:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.mask:11:-python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/amd64/use.mask:12:-python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:24:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:25:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:26:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.stable.mask:27:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/sparc/use.mask:24:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/sparc/use.mask:25:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/base/use.mask:7:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/base/use.mask:8:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:13:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:14:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:15:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.stable.mask:16:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/ia64/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/ia64/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/s390/use.mask:27:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/s390/use.mask:28:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/use.mask:20:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/use.mask:21:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:13:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:14:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:15:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc64/use.stable.mask:16:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:7:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:8:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:9:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/powerpc/ppc32/use.stable.mask:10:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:17:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:18:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:19:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/arm/use.stable.mask:20:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/arm/use.mask:19:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm/use.mask:20:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:25:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:26:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:27:python_targets_python3_8
/var/db/repos/gentoo/profiles/arch/arm64/use.stable.mask:28:python_single_target_python3_8
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/use.force:8:python_targets_python3_7
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/use.force:9:python_single_target_python3_7
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/make.defaults:41:PYTHON_TARGETS="python3_7"
/var/db/repos/gentoo/profiles/arch/riscv/rv64gc/make.defaults:42:PYTHON_SINGLE_TARGET="python3_7"
/var/db/repos/gentoo/profiles/base/package.use.force:115:dev-lang/python-exec python_targets_python3_7
/var/db/repos/gentoo/profiles/base/package.use.force:116:dev-lang/python-exec python_targets_python3_8
|
still not going
Code: | grep -nr 'dev-lang/python-exec' /etc/portage/*
/etc/portage/profile/package.use.stable.mask:1:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8
/etc/portage/profile/use.mask:1:dev-lang/python-exec -python_targets_python3_7 -python_targets_python3_8 |
|
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Feb 29, 2020 12:40 pm Post subject: |
|
|
Have a look in man 5 portage.
Content should be similar to /var/db/repos/gentoo/profiles/arch/arm/use.mask but with leading minus sign
Here what I use for USE-masking python:2.7
/etc/portage/profile/use.mask : | python_targets_python2_7
python_single_target_python2_7
|
But you want to unmask, so prepend minus sign |
|
Back to top |
|
|
antonellocaroli Guru
Joined: 11 Aug 2016 Posts: 513
|
Posted: Sat Feb 29, 2020 2:33 pm Post subject: |
|
|
charles17 wrote: | Have a look in man 5 portage.
Content should be similar to /var/db/repos/gentoo/profiles/arch/arm/use.mask but with leading minus sign
Here what I use for USE-masking python:2.7
/etc/portage/profile/use.mask : | python_targets_python2_7
python_single_target_python2_7
|
But you want to unmask, so prepend minus sign |
ok!
It works now.
But now the question is:
Why do we have to do this? How come it's not in the standard/test profile? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3685
|
Posted: Sat Feb 29, 2020 3:02 pm Post subject: |
|
|
antonellocaroli wrote: | Why do we have to do this? How come it's not in the standard/test profile? |
The question is: Why do you want to use dev-lang/python:3.7 or even dev-lang/python:3.8 while is's still masked? |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 23004
|
Posted: Sat Feb 29, 2020 4:56 pm Post subject: |
|
|
Usually, packages are masked out for good reason. In this case, if I were to guess, I would say that the package either is insufficiently tested, or has known problems, on the masked out architecture. It will be unmasked when its maintainers decide that it is suitable for general consumption. If you want to use it early, you need to go through the work above to advise Portage that you want the package in its potentially unfinished state. |
|
Back to top |
|
|
|