Gentoo Archives: gentoo-user

From: Gerrit Kuehn <gerrit.kuehn@×××××××.de>
To: Michael Orlitzky <mjo@g.o>
Cc: gentoo-user@l.g.o
Subject: Re: [gentoo-user] python, my nemesis
Date: Mon, 20 Sep 2021 14:32:09
Message-Id: 20210920163159.54851d8a@comet2.terra.ger
In Reply to: Re: [gentoo-user] python, my nemesis by Michael Orlitzky
1 On Mon, 20 Sep 2021 09:18:23 -0400
2 Michael Orlitzky <mjo@g.o> wrote:
3
4 > With our package manager written in python, you often need old python
5 > stuff to build the new python stuff, and disabling the old python
6 > stuff will throw a wrench into that. Even in situations where
7 > technically some upgrade path exists, the complexity of the python
8 > dependencies often means that the package manager will give up before
9 > it finds the solution unless the solution is obvious. By tweaking
10 > those variables, you make the solution less obvious to it.
11
12 I took out the extra settings and solved a few conflicts manually. I'm
13 down to this now:
14
15 ---
16 ~ # emerge -p --oneshot sys-apps/portage --verbose-conflicts
17
18 These are the packages that would be merged, in order:
19
20 Calculating dependencies... done!
21 [ebuild N ] acct-group/portage-0
22 [ebuild N ] acct-user/portage-0
23 [ebuild U ] sys-apps/portage-3.0.20-r6 [3.0.4-r1]
24 PYTHON_TARGETS="python3_9* (-python3_10)"
25
26 !!! Multiple package instances within a single package slot have been
27 pulled !!! into the dependency graph, resulting in a slot conflict:
28
29 sys-apps/portage:0
30
31 (sys-apps/portage-3.0.20-r6:0/0::gentoo, ebuild scheduled for merge)
32 USE="(ipc) native-extensions rsync-verify xattr -apidoc -build -doc
33 -gentoo-dev (-selinux) -test" ABI_X86="(64)"
34 PYTHON_TARGETS="python3_9 (-pypy3) (-python3_10) -python3_8" pulled
35 in by sys-apps/portage (Argument)
36
37 (sys-apps/portage-3.0.4-r1-3:0/0::gentoo, installed) USE="(ipc)
38 native-extensions rsync-verify xattr -apidoc -build -doc -gentoo-dev
39 (-selinux) -test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 (-pypy3)
40 -python3_6 -python3_8 -python3_9" pulled in by
41 sys-apps/portage[python_targets_python3_7(-),-python_single_target_pypy3(-),-python_single_target_python3_6(-),-python_single_target_python3_7(-),-python_single_target_python3_8(-)]
42 required by (app-portage/gentoolkit-0.5.0:0/0::gentoo, installed)
43 USE="-test" ABI_X86="(64)" PYTHON_TARGETS="python3_7 (-pypy3)
44 -python3_6 -python3_8"
45 ---
46
47
48 This looks like portage is blocked by itself... so how to solve this
49 one?
50
51
52 cu
53 Gerrit

Replies

Subject Author
Re: [gentoo-user] python, my nemesis Gerrit Kuehn <gerrit.kuehn@×××××××.de>
Re: [gentoo-user] python, my nemesis Arve Barsnes <arve.barsnes@×××××.com>