Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: Gentoo User <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] problem emerging pycairo
Date: Mon, 13 Jul 2020 05:21:00
Message-Id: CAC=wYCGuxJF97SPA_bZCE2E7kwvO6XNVYcgeZA8WV-OuD3W1EQ@mail.gmail.com
In Reply to: Re: [gentoo-user] problem emerging pycairo by Philip Webb
1 On Mon, Jul 13, 2020 at 2:36 PM Philip Webb <purslow@××××××××.net> wrote:
2
3 > 200713 Adam Carter wrote:
4 > > On Mon, Jul 13, 2020 at 5:32 AM Philip Webb <purslow@××××××××.net>
5 > wrote:
6 > >> root:543 ~> emerge -pv pycairo
7 > ...
8 > >> WARNING: One or more updates/rebuilds have been skipped
9 > >> due to a dependency conflict:
10 > >> dev-python/pycairo:0
11 > >> (dev-python/pycairo-1.19.1:0/0::gentoo, ebuild scheduled for merge)
12 > >> USE="-doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS=
13 > >> "(-pypy3) python3_6 python3_7 -python3_8 (-python3_9)" conflicts with
14 > >> >=dev-python/pycairo-1.11.1 [python_targets_python2_7(-),
15 > >> python_targets_python3_6(-),python_targets_python3_7(-),
16 > >> -python_single_target_python2_7(-),-python_single_target_python3_6(-),
17 > >> -python_single_target_python3_7(-),-python_single_target_python3_8(-),
18 > >> -python_single_target_python3_9(-)] required by
19 > >> (dev-python/pygobject-3.34.0:3/3::gentoo, installed)
20 > >> USE="cairo -examples -test" ABI_X86="(64)"
21 > >> PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_8"
22 > > I think it's because dev-python/pycairo-1.19.1 doesnt have python2_7 ,
23 > > which dev-python/pycairo-1.18.2 does and pygobject requires it.
24 > > You could try removing python2_7 from pygobject,
25 > > but i'm guessing there will be other dependencies that wont allow that.
26 >
27 > Thanks for the suggestion ; that does solve the problem, tho' how anyone
28 > could derive that info from the Portage output is quite beyond me
29 >
30
31 I cut and pasted the output into what my brain thought was a sensible order.
32
33 The problem is with pygobject, so what does it need?
34 USE="cairo -examples -test"
35 ABI_X86="(64)"
36 PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_8"
37
38 So out of that stuff, what does pycairo-1.18.2 have that pycairo-1.19.1 is
39 missing?
40 1.18
41 USE="-doc -examples -test"
42 PYTHON_TARGETS="(-pypy3%) python2_7 python3_6 python3_7 -python3_8
43 (-python3_9)"
44 1.19
45 USE="-doc -examples -test"
46 ABI_X86="(64)"
47 PYTHON_TARGETS="(-pypy3) python3_6 python3_7 -python3_8 (-python3_9)"
48
49 Ok so 1.19 doesn't have python2_7, so while pygobject is using it, pycairo
50 will need to have it. So, you tried rebuilding pygobject without 2_7, and
51 luckily nothing else that was using pygobject needed 2_7 so it worked.