Gentoo Archives: gentoo-user

From: Miles Malone <m.malone@××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision
Date: Wed, 16 Dec 2020 10:34:21
Message-Id: CAM8Dd_2J1xVvM++oDA0+Ts6cjw_QrBX_K8-6ZyQj1ocWo-qDPw@mail.gmail.com
In Reply to: [gentoo-user] override PYTHON_TARGETS to avoid a slot collision by n952162
1 What's happening when you do emerge -avuDN --with-bdeps=y
2 --backtrack=100 @world ? Giving portage the flexibility to solve it
3 with some extra backtracking and increasing the scope to world might
4 fix it, if not then we can revisit it?
5
6 On Wed, 16 Dec 2020 at 20:24, n952162 <n952162@×××.de> wrote:
7 >
8 > In an update with several slot collisions (see attachment), I'm zero-ing in on the simplest, where a package is to be replaced by the same package, but with different PYTHON_TARGETS (at least, that's how I interpret it).
9 >
10 > Is there a way to force the PYTHON_TARGETS of the dependency?
11 >
12 > Slot collision:
13 >
14 > dev-python/jinja:0
15 >
16 > (dev-python/jinja-2.11.2-r1:0/0::gentoo, ebuild scheduled for merge) USE="-doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_8 python3_9 (-pypy3) -python3_6 -python3_7" pulled in by
17 > dev-python/jinja[python_targets_python3_9(-),python_single_target_python3_9(+)] required by (sys-auth/pambase-20201103:0/0::gentoo, ebuild scheduled for merge) USE="nullok passwdqc sha512 -caps -debug -elogind -gnome-keyring -minimal -mktemp -pam_krb5 -pam_ssh -pwhistory -pwquality -securetty (-selinux) -systemd" ABI_X86="(64)"
18 >
19 >
20 > dev-python/jinja (Argument)
21 >
22 > (dev-python/jinja-2.11.2-r1:0/0::gentoo, installed) USE="-doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 -python3_9" pulled in by
23 > dev-python/jinja[python_targets_pypy3(-)?,python_targets_python3_6(-)?,python_targets_python3_7(-)?,python_targets_python3_8(-)?,python_targets_python3_9(-)?,-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-),-python_single_target_python3_9(-)] required by (dev-python/sphinx-3.2.1:0/0::gentoo, installed) USE="-doc -latex -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 (-pypy3) -python3_6 -python3_8 -python3_9"
24 >
25 > If the package was good enough before, it's likely still good enough. Where's the problem? I've (unsuccessfully) made these attempts:
26 >
27 > # */* PYTHON_TARGETS: python3_6 python3_7 python3_8 python3_9
28 > #*/* PYTHON_TARGETS: -python3_6 -python3_7 python3_8 python3_9
29 > # just have one set
30 > */* PYTHON_TARGETS: python3_8
31 >
32 > The sphinx ebuild has no targets, but does have this:
33 >
34 > PYTHON_COMPAT=( python3_{6..9} pypy3 )
35 >
36 > The emerge command was:
37 >
38 > sudo emerge --verbose=y -vuUD --verbose-conflicts dev-python/setuptools dev-python/setuptools_scm dev-python/certifi dev-python/markupsafe dev-python/jinja dev-libs/libxml2
39 >
40 >

Replies