Mailing List Archive

is a global use flag necessary for python?
Hello all,

I just synced my system after a long delay, and I want to emerge
firefox.  I got this, first, I think, for something called gemato:

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_python3_10 python_targets_python3_11
python_targets_python3_12 )

  Not being sure exactly what was necessary, I put them all into the
use file for gemato.

Then, I got the same thing for meson, I think.  I'm thinking this might
go through all the packages.

Is there a way to do it globally?
Re: is a global use flag necessary for python? [ In reply to ]
On Sat, Mar 09, 2024 at 07:55:13PM +0100, n952162 wrote
> Hello all,
>
> I just synced my system after a long delay,

That's your problem right there.

> Is there a way to do it globally?

First of all python targets should not need to be mentioned in
make.conf or package.use. Gentoo manages versions automatically... if
you update often enough. First thing to do is update python so programs
have somthing up-to-date to build against. Try...

emerge -1 python

...and then update world.

--
Roses are red
Roses are blue
Depending on their velocity
Relative to you
Re: is a global use flag necessary for python? [ In reply to ]
On 3/9/24 20:51, Walter Dnes wrote:
> On Sat, Mar 09, 2024 at 07:55:13PM +0100, n952162 wrote
>> Hello all,
>>
>> I just synced my system after a long delay,
> That's your problem right there.
>
>> Is there a way to do it globally?
> First of all python targets should not need to be mentioned in
> make.conf or package.use. Gentoo manages versions automatically... if
> you update often enough. First thing to do is update python so programs
> have somthing up-to-date to build against. Try...
>
> emerge -1 python
>
> ...and then update world.
>


 * IMPORTANT: 2 config files in '/etc/portage' need updating.
Calculating dependencies   * See the CONFIGURATION FILES and
CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
.. ... ....... done!
[ebuild  N     ] dev-python/gentoo-common-1
[ebuild  N     ] dev-python/ensurepip-pip-24.0
[ebuild     U  ] dev-lang/python-exec-2.4.10 [2.4.8]
PYTHON_TARGETS="(python3_11%*) (python3_12%*)"
[ebuild     U  ] app-arch/gzip-1.13 [1.11] USE="-verify-sig%"
[ebuild  N     ] app-alternatives/gzip-1  USE="reference (split-usr) -pigz"
[ebuild     U  ] dev-build/autoconf-2.71-r6 [2.71-r1]
[ebuild     U  ] dev-build/automake-1.16.5-r2 [1.16.4]
[ebuild  NS    ] dev-lang/python-3.12.2_p1 [3.6.15, 3.7.12_p1, 3.8.13,
3.9.9-r1, 3.10.2_p1] USE="ensurepip%* -debug% -valgrind%"

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-lang/python-exec:2

  (dev-lang/python-exec-2.4.10:2/2::gentoo, ebuild scheduled for merge)
USE="(native-symlinks) -test" ABI_X86="(64)" PYTHON_TARGETS="(pypy3)
(python3_10) (python3_11) (python3_12)" pulled in by
    dev-lang/python-exec[python_targets_python3_12(-)] required by
(dev-lang/python-3.12.2_p1:3.12/3.12::gentoo, ebuild scheduled for
merge) USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build
-debug -examples -libedit -pgo -test -tk -valgrind -verify-sig"
ABI_X86="(64)"


  (dev-lang/python-exec-2.4.8:2/2::gentoo, installed)
USE="(native-symlinks) userland_GNU -test" ABI_X86="(64)"
PYTHON_TARGETS="(pypy3) (python3_10) python3_8 python3_9" pulled in by
>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/pyparsing-2.4.7-r1:0/0::gentoo, installed) USE="userland_GNU -examples" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (app-portage/gemato-16.2:0/0::gentoo, installed) USE="gpg userland_GNU -test -tools" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/namespace-sphinxcontrib-1.0:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/cython-0.29.24-r1:0/0::gentoo, installed) USE="userland_GNU -doc -emacs -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (x11-base/xcb-proto-1.14.1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 python3_9"

    dev-lang/python-exec[python_targets_python3_9(-)] required by
(dev-lang/python-3.9.9-r1:3.9/3.9::gentoo, installed) USE="gdbm ncurses
readline sqlite ssl userland_GNU xml -bluetooth -build -examples
-hardened -lto -pgo -test -tk -verify-sig -wininst" ABI_X86="(64)"

    >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-)] required
by (dev-python/backports-zoneinfo-0.2.1-r1:0/0::gentoo, installed)
USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3)"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/lxml-4.6.3-r1:0/0::gentoo, installed) USE="threads userland_GNU -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-devhelp-1.0.2:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/PySocks-1.7.1-r1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

    >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
(app-emulation/virtualbox-6.1.24:0/6.1::gentoo, installed) USE="alsa
opengl opus pam qt5 sdk udev userland_GNU vnc -debug -doc -dtrace
-headless -java -lvm (-pax-kernel) -pulseaudio -python -vboxwebsrv"
ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_9"
^^^^^^^^^^^^^^^^^^^^^^^^
>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (app-portage/gentoolkit-0.5.1-r1:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

    dev-lang/python-exec[python_targets_python3_8(-)] required by
(dev-lang/python-3.8.13:3.8/3.8::gentoo, installed) USE="gdbm ncurses
readline sqlite ssl userland_GNU xml -bluetooth -build -examples
-hardened -test -tk -verify-sig -wininst" ABI_X86="(64)"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-htmlhelp-2.0.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-serializinghtml-1.1.5:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/packaging-21.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/docutils-0.17.1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (app-misc/resolve-march-native-1.0.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"

    >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
(sys-devel/clang-12.0.1:12/12::gentoo, installed) USE="static-analyzer
userland_GNU -debug -default-compiler-rt -default-libcxx -default-lld
-doc -llvm-libunwind -test -xml" ABI_X86="(64) -32 (-x32)"
LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 (-ARC) -ARM -AVR (-CSKY)
-Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -VE
-WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_8 -python3_10 -python3_9"
^^^^^^^^^^^^^^^^^^^^^^^^
>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/six-1.16.0:0/0::gentoo, installed) USE="userland_GNU -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

    >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
(app-text/yelp-tools-40.0:0/0::gentoo, installed) USE="userland_GNU"
ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_9"
^^^^^^^^^^^^^^^^^^^^^^^^
>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-jsmath-1.0.1-r1:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/imagesize-1.2.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

    >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
(sys-kernel/genkernel-4.2.3:0/0::gentoo, installed) USE="firmware
userland_GNU (-ibm)" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8
-python3_10 -python3_9"
^^^^^^^^^^^^^^^^^^^^^^^^
>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (app-office/gnumeric-1.12.50:0/0::gentoo, installed) USE="introspection userland_GNU -libgda -perl" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/snowballstemmer-2.1.0:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/markupsafe-2.0.1:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

    >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
(dev-debug/gdb-10.2-r1:0/0::gentoo, installed) USE="nls python server
userland_GNU -cet -guile -lzma -multitarget -source-highlight -test
-vanilla -xml -xxhash" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8
-python3_10 -python3_9"
^^^^^^^^^^^^^^^^^^^^^^^^
>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/Babel-2.9.1:0/0::gentoo, installed) USE="userland_GNU -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinx-4.2.0-r1:0/0::gentoo, installed) USE="userland_GNU -doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/setuptools-57.5.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-qthelp-1.0.3:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-applehelp-1.0.2:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/alabaster-0.7.12:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/charset-normalizer-2.0.6:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/setuptools-scm-6.3.2:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"

>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-build/meson-format-array-0:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"

    >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
(dev-util/itstool-2.0.6-r1:0/0::gentoo, installed) USE="userland_GNU"
ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_9"
^^^^^^^^^^^^^^^^^^^^^^^^
>=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/pytz-2021.1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"



It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


!!! The following installed packages are masked:
- sys-libs/glibc-2.33-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
# (and others, updated later)
# These old versions of toolchain packages (binutils, gcc, glibc) are no
# longer officially supported and are not suitable for general use. Using
# these packages can result in build failures (and possible breakage) for
# many packages, and may leave your system vulnerable to known security
# exploits.
# If you still use one of these old toolchain packages, please upgrade (and
# switch the compiler / the binutils) ASAP. If you need them for a specific
# (isolated) use case, feel free to unmask them on your system.

- sys-kernel/linux-firmware-20201022-r2::gentoo (masked by: || ( )
linux-fw-redistributable no-source-code license(s))
A copy of the 'linux-fw-redistributable' license is located at
'/var/db/repos/gentoo/licenses/linux-fw-redistributable'.

A copy of the 'no-source-code' license is located at
'/var/db/repos/gentoo/licenses/no-source-code'.

- dev-python/docutils-0.17.1::gentoo (masked by: package.mask)
- dev-build/cmake-3.22.2::gentoo (masked by: CMake license(s))
- sys-devel/binutils-2.37_p1-r2::gentoo (masked by: package.mask)
- virtual/libcrypt-1-r1::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/base/package.mask:
# Sam James <sam@gentoo.org> (2021-11-22)
# Mask the older libcrypt virtual (which accepted glibc[crypt]) to ease
# dependency resolution. In a fair number of cases, this has helped
# upgrades go through cleanly.
# Read the news item if you need help!
# (This mask is undone in musl profiles where the transition is not yet
being
# made.)
# bug #699422.

- sys-libs/binutils-libs-2.37_p1-r2::gentoo (masked by: package.mask)
- dev-libs/openssl-1.1.1n::gentoo (masked by: package.mask)
/var/db/repos/gentoo/profiles/package.mask:
# Sam James <sam@gentoo.org> (2023-09-09)
# OpenSSL 1.1.x is EOL on 2023-09-11. Please upgrade immediately to >=
OpenSSL 3.
# https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/
# https://www.openssl.org/blog/blog/2023/06/15/1.1.1-EOL-Reminder/
# Please run a full world upgrade, especially checking /etc/portage and
your world file
# for old PHP or Ruby references.

- media-fonts/font-bh-ttf-1.0.3-r2::gentoo (masked by: bh-luxi license(s))
A copy of the 'bh-luxi' license is located at
'/var/db/repos/gentoo/licenses/bh-luxi'.

- media-fonts/font-bh-type1-1.0.3-r2::gentoo (masked by: bh-luxi license(s))
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Re: is a global use flag necessary for python? [ In reply to ]
Sorry; that is over my head. When did you last upgrade? The error
messages talk about python 3.8. But on my machine it looks like 3.11
and 3.12 are current...

[x8940][waltdnes][~] find /usr/bin -name python3\.*
/usr/bin/python3.12
/usr/bin/python3.12-config
/usr/bin/python3.11
/usr/bin/python3.11-config

What do you get when you run...

find /usr/bin -name python3\.*

--
Roses are red
Roses are blue
Depending on their velocity
Relative to you
Re: is a global use flag necessary for python? [ In reply to ]
Le dim. 10 mars 2024 à 00:22, n952162 <n952162@web.de> a écrit :
>
> On 3/9/24 20:51, Walter Dnes wrote:
> > On Sat, Mar 09, 2024 at 07:55:13PM +0100, n952162 wrote
> >> Hello all,
> >>
> >> I just synced my system after a long delay,
> > That's your problem right there.
> >
> >> Is there a way to do it globally?
> > First of all python targets should not need to be mentioned in
> > make.conf or package.use. Gentoo manages versions automatically... if
> > you update often enough. First thing to do is update python so programs
> > have somthing up-to-date to build against. Try...
> >
> > emerge -1 python
> >
> > ...and then update world.
> >
>
>
> * IMPORTANT: 2 config files in '/etc/portage' need updating.
> Calculating dependencies * See the CONFIGURATION FILES and
> CONFIGURATION FILES UPDATE TOOLS
> * sections of the emerge man page to learn how to update config files.
> .. ... ....... done!
> [ebuild N ] dev-python/gentoo-common-1
> [ebuild N ] dev-python/ensurepip-pip-24.0
> [ebuild U ] dev-lang/python-exec-2.4.10 [2.4.8]
> PYTHON_TARGETS="(python3_11%*) (python3_12%*)"
> [ebuild U ] app-arch/gzip-1.13 [1.11] USE="-verify-sig%"
> [ebuild N ] app-alternatives/gzip-1 USE="reference (split-usr) -pigz"
> [ebuild U ] dev-build/autoconf-2.71-r6 [2.71-r1]
> [ebuild U ] dev-build/automake-1.16.5-r2 [1.16.4]
> [ebuild NS ] dev-lang/python-3.12.2_p1 [3.6.15, 3.7.12_p1, 3.8.13,
> 3.9.9-r1, 3.10.2_p1] USE="ensurepip%* -debug% -valgrind%"
>
> !!! Multiple package instances within a single package slot have been pulled
> !!! into the dependency graph, resulting in a slot conflict:
>
> dev-lang/python-exec:2
>
> (dev-lang/python-exec-2.4.10:2/2::gentoo, ebuild scheduled for merge)
> USE="(native-symlinks) -test" ABI_X86="(64)" PYTHON_TARGETS="(pypy3)
> (python3_10) (python3_11) (python3_12)" pulled in by
> dev-lang/python-exec[python_targets_python3_12(-)] required by
> (dev-lang/python-3.12.2_p1:3.12/3.12::gentoo, ebuild scheduled for
> merge) USE="ensurepip gdbm ncurses readline sqlite ssl -bluetooth -build
> -debug -examples -libedit -pgo -test -tk -valgrind -verify-sig"
> ABI_X86="(64)"
>
>
> (dev-lang/python-exec-2.4.8:2/2::gentoo, installed)
> USE="(native-symlinks) userland_GNU -test" ABI_X86="(64)"
> PYTHON_TARGETS="(pypy3) (python3_10) python3_8 python3_9" pulled in by
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/pyparsing-2.4.7-r1:0/0::gentoo, installed) USE="userland_GNU -examples" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (app-portage/gemato-16.2:0/0::gentoo, installed) USE="gpg userland_GNU -test -tools" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/namespace-sphinxcontrib-1.0:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/cython-0.29.24-r1:0/0::gentoo, installed) USE="userland_GNU -doc -emacs -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (x11-base/xcb-proto-1.14.1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python3_8 python3_9"
>
> dev-lang/python-exec[python_targets_python3_9(-)] required by
> (dev-lang/python-3.9.9-r1:3.9/3.9::gentoo, installed) USE="gdbm ncurses
> readline sqlite ssl userland_GNU xml -bluetooth -build -examples
> -hardened -lto -pgo -test -tk -verify-sig -wininst" ABI_X86="(64)"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-)] required
> by (dev-python/backports-zoneinfo-0.2.1-r1:0/0::gentoo, installed)
> USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 (-pypy3)"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/lxml-4.6.3-r1:0/0::gentoo, installed) USE="threads userland_GNU -doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-devhelp-1.0.2:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/PySocks-1.7.1-r1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
> (app-emulation/virtualbox-6.1.24:0/6.1::gentoo, installed) USE="alsa
> opengl opus pam qt5 sdk udev userland_GNU vnc -debug -doc -dtrace
> -headless -java -lvm (-pax-kernel) -pulseaudio -python -vboxwebsrv"
> ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_9"
> ^^^^^^^^^^^^^^^^^^^^^^^^
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (app-portage/gentoolkit-0.5.1-r1:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> dev-lang/python-exec[python_targets_python3_8(-)] required by
> (dev-lang/python-3.8.13:3.8/3.8::gentoo, installed) USE="gdbm ncurses
> readline sqlite ssl userland_GNU xml -bluetooth -build -examples
> -hardened -test -tk -verify-sig -wininst" ABI_X86="(64)"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-htmlhelp-2.0.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-serializinghtml-1.1.5:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/packaging-21.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/docutils-0.17.1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (app-misc/resolve-march-native-1.0.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
> (sys-devel/clang-12.0.1:12/12::gentoo, installed) USE="static-analyzer
> userland_GNU -debug -default-compiler-rt -default-libcxx -default-lld
> -doc -llvm-libunwind -test -xml" ABI_X86="(64) -32 (-x32)"
> LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 (-ARC) -ARM -AVR (-CSKY)
> -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -VE
> -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_8 -python3_10 -python3_9"
> ^^^^^^^^^^^^^^^^^^^^^^^^
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/six-1.16.0:0/0::gentoo, installed) USE="userland_GNU -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
> (app-text/yelp-tools-40.0:0/0::gentoo, installed) USE="userland_GNU"
> ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_9"
> ^^^^^^^^^^^^^^^^^^^^^^^^
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-jsmath-1.0.1-r1:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/imagesize-1.2.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
> (sys-kernel/genkernel-4.2.3:0/0::gentoo, installed) USE="firmware
> userland_GNU (-ibm)" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8
> -python3_10 -python3_9"
> ^^^^^^^^^^^^^^^^^^^^^^^^
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (app-office/gnumeric-1.12.50:0/0::gentoo, installed) USE="introspection userland_GNU -libgda -perl" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/snowballstemmer-2.1.0:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/markupsafe-2.0.1:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
> (dev-debug/gdb-10.2-r1:0/0::gentoo, installed) USE="nls python server
> userland_GNU -cet -guile -lzma -multitarget -source-highlight -test
> -vanilla -xml -xxhash" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8
> -python3_10 -python3_9"
> ^^^^^^^^^^^^^^^^^^^^^^^^
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/Babel-2.9.1:0/0::gentoo, installed) USE="userland_GNU -doc -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinx-4.2.0-r1:0/0::gentoo, installed) USE="userland_GNU -doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/setuptools-57.5.0:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-qthelp-1.0.3:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/sphinxcontrib-applehelp-1.0.2:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/alabaster-0.7.12:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/charset-normalizer-2.0.6:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/setuptools-scm-6.3.2:0/0::gentoo, installed) USE="userland_GNU -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-build/meson-format-array-0:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9"
>
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8] required by
> (dev-util/itstool-2.0.6-r1:0/0::gentoo, installed) USE="userland_GNU"
> ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_8 -python3_9"
> ^^^^^^^^^^^^^^^^^^^^^^^^
> >=dev-lang/python-exec-2:2/2=[python_targets_python3_8(-),python_targets_python3_9(-)] required by (dev-python/pytz-2021.1:0/0::gentoo, installed) USE="userland_GNU" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_10"
>
>
>
> It may be possible to solve this problem by using package.mask to
> prevent one of those packages from being selected. However, it is also
> possible that conflicting dependencies exist such that they are
> impossible to satisfy simultaneously. If such a conflict exists in
> the dependencies of two different packages, then those packages can
> not be installed simultaneously. You may want to try a larger value of
> the --backtrack option, such as --backtrack=30, in order to see if
> that will solve this conflict automatically.
>
> For more information, see MASKED PACKAGES section in the emerge man
> page or refer to the Gentoo Handbook.
>
>
> !!! The following installed packages are masked:
> - sys-libs/glibc-2.33-r1::gentoo (masked by: package.mask)
> /var/db/repos/gentoo/profiles/package.mask:
> # Andreas K. Hüttel <dilfridge@gentoo.org> (2017-05-21)
> # (and others, updated later)
> # These old versions of toolchain packages (binutils, gcc, glibc) are no
> # longer officially supported and are not suitable for general use. Using
> # these packages can result in build failures (and possible breakage) for
> # many packages, and may leave your system vulnerable to known security
> # exploits.
> # If you still use one of these old toolchain packages, please upgrade (and
> # switch the compiler / the binutils) ASAP. If you need them for a specific
> # (isolated) use case, feel free to unmask them on your system.
>
> - sys-kernel/linux-firmware-20201022-r2::gentoo (masked by: || ( )
> linux-fw-redistributable no-source-code license(s))
> A copy of the 'linux-fw-redistributable' license is located at
> '/var/db/repos/gentoo/licenses/linux-fw-redistributable'.
>
> A copy of the 'no-source-code' license is located at
> '/var/db/repos/gentoo/licenses/no-source-code'.
>
> - dev-python/docutils-0.17.1::gentoo (masked by: package.mask)
> - dev-build/cmake-3.22.2::gentoo (masked by: CMake license(s))
> - sys-devel/binutils-2.37_p1-r2::gentoo (masked by: package.mask)
> - virtual/libcrypt-1-r1::gentoo (masked by: package.mask)
> /var/db/repos/gentoo/profiles/base/package.mask:
> # Sam James <sam@gentoo.org> (2021-11-22)
> # Mask the older libcrypt virtual (which accepted glibc[crypt]) to ease
> # dependency resolution. In a fair number of cases, this has helped
> # upgrades go through cleanly.
> # Read the news item if you need help!
> # (This mask is undone in musl profiles where the transition is not yet
> being
> # made.)
> # bug #699422.
>
> - sys-libs/binutils-libs-2.37_p1-r2::gentoo (masked by: package.mask)
> - dev-libs/openssl-1.1.1n::gentoo (masked by: package.mask)
> /var/db/repos/gentoo/profiles/package.mask:
> # Sam James <sam@gentoo.org> (2023-09-09)
> # OpenSSL 1.1.x is EOL on 2023-09-11. Please upgrade immediately to >=
> OpenSSL 3.
> # https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/
> # https://www.openssl.org/blog/blog/2023/06/15/1.1.1-EOL-Reminder/
> # Please run a full world upgrade, especially checking /etc/portage and
> your world file
> # for old PHP or Ruby references.
>
> - media-fonts/font-bh-ttf-1.0.3-r2::gentoo (masked by: bh-luxi license(s))
> A copy of the 'bh-luxi' license is located at
> '/var/db/repos/gentoo/licenses/bh-luxi'.
>
> - media-fonts/font-bh-type1-1.0.3-r2::gentoo (masked by: bh-luxi license(s))
> For more information, see the MASKED PACKAGES section in the emerge
> man page or refer to the Gentoo Handbook.
>
>
>

It seems you have a lot of updates to handle before Firefox.

The first hint is the mask on glibc-2.33-r1, back from 2017. This is a
central package and must be updated early.
The current stable version is sys-libs/glibc-2.38-r10
As most packages are linked to glibc, they will also probably need an update.

The second hint is the mask on openssl-1.1.1n. This should also be
updated early.
The current stable version is dev-libs/openssl-3.0.13.
As above, many packages, including Firefox, depend on it.

The most simple way would be to recompile everything with "emerge -e
@world", but that's also really time consuming, and conflicts are not
solved magically...
Maybe a first step with "emerge -e @system" could take care of the
most important packages first.
You can try these commands with "--pretend --backtrack=20" to see if
you can go forward or if other blockers remain.

Best regards
Mickaël Bucas
Re: is a global use flag necessary for python? [ In reply to ]
On 2024-03-09, Walter Dnes <waltdnes@waltdnes.org> wrote:
> On Sat, Mar 09, 2024 at 07:55:13PM +0100, n952162 wrote

>> I just synced my system after a long delay,
>
> That's your problem right there.

Yep, to quote Olivia Rodrigo...

Bad idea, right?

>> Is there a way to do it globally?
>
> First of all python targets should not need to be mentioned in
> make.conf or package.use.

Like the girl said.

> Gentoo manages versions automatically... if you update often enough.

This has been pointed out here (I think even to the OP) more than once.

Gentoo is not appropriate for machines that don't get updated
regularly. I recommend at least once a week, but once a month will
probably be OK. Much longer than a few months and you're asking for
trouble.

Hard-wiring PYTHON versions is also asking for trouble. Combining the
two is demanding trouble.

Just back up your user data and re-install.

There are ways to get out of your mess, but if you have to ask...

As they used to say at the billiards tournaments:

"If you could make a shot like that, you wouldn't need to make a
shot like that."

--
Grant
Re: Re: is a global use flag necessary for python? [ In reply to ]
On Sun, Mar 10, 2024 at 06:43:56PM -0000, Grant Edwards wrote

> Just back up your user data and re-install.

Also back up /etc/ for your app configs and stuff like hosts and
resolve.conf and make.ccnf and package.use and package.mask etc. And
remember /var/lib/. /var/lib/portage/ has your sets including world.
/var/lib/iptables and /var/lib/ip6tables have your firewall rules.

The files from /etc/ and /var/lib/ should be checked before blindly
dumping them into your new machine.

--
Roses are red
Roses are blue
Depending on their velocity
Relative to you
Re: Re: is a global use flag necessary for python? [ In reply to ]
Good tips, thank you.

On 3/10/24 22:53, Walter Dnes wrote:
> On Sun, Mar 10, 2024 at 06:43:56PM -0000, Grant Edwards wrote
>
>> Just back up your user data and re-install.
> Also back up /etc/ for your app configs and stuff like hosts and
> resolve.conf and make.ccnf and package.use and package.mask etc. And
> remember /var/lib/. /var/lib/portage/ has your sets including world.
> /var/lib/iptables and /var/lib/ip6tables have your firewall rules.
>
> The files from /etc/ and /var/lib/ should be checked before blindly
> dumping them into your new machine.
>