On Mon, Jul 13, 2020 at 2:36 PM Philip Webb <[email protected]> wrote:

> 200713 Adam Carter wrote:
> > On Mon, Jul 13, 2020 at 5:32 AM Philip Webb <[email protected]>
> wrote:
> >> root:543 ~> emerge -pv pycairo
> ...
> >> WARNING: One or more updates/rebuilds have been skipped
> >> due to a dependency conflict:
> >> dev-python/pycairo:0
> >>   (dev-python/pycairo-1.19.1:0/0::gentoo, ebuild scheduled for merge)
> >>   USE="-doc -examples -test" ABI_X86="(64)" PYTHON_TARGETS=
> >>   "(-pypy3) python3_6 python3_7 -python3_8 (-python3_9)" conflicts with
> >>   >=dev-python/pycairo-1.11.1 [python_targets_python2_7(-),
> >>   python_targets_python3_6(-),python_targets_python3_7(-),
> >>   -python_single_target_python2_7(-),-python_single_target_python3_6(-),
> >>   -python_single_target_python3_7(-),-python_single_target_python3_8(-),
> >>   -python_single_target_python3_9(-)] required by
> >>   (dev-python/pygobject-3.34.0:3/3::gentoo, installed)
> >>   USE="cairo -examples -test" ABI_X86="(64)"
> >>   PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_8"
> > I think it's because dev-python/pycairo-1.19.1 doesnt have python2_7 ,
> > which dev-python/pycairo-1.18.2 does and pygobject requires it.
> > You could try removing python2_7 from pygobject,
> > but i'm guessing there will be other dependencies that wont allow that.
>
> Thanks for the suggestion ; that does solve the problem, tho' how anyone
> could derive that info from the Portage output is quite beyond me
>

I cut and pasted the output into what my brain thought was a sensible order.

The problem is with pygobject, so what does it need?
USE="cairo -examples -test"
ABI_X86="(64)"
PYTHON_TARGETS="python2_7 python3_6 python3_7 -python3_8"

So out of that stuff, what does pycairo-1.18.2 have that pycairo-1.19.1 is
missing?
1.18
USE="-doc -examples -test"
PYTHON_TARGETS="(-pypy3%) python2_7 python3_6 python3_7 -python3_8
(-python3_9)"
1.19
USE="-doc -examples -test"
ABI_X86="(64)"
PYTHON_TARGETS="(-pypy3) python3_6 python3_7 -python3_8 (-python3_9)"

Ok so 1.19 doesn't have python2_7, so while pygobject is using it, pycairo
will need to have it. So, you tried rebuilding pygobject without 2_7, and
luckily nothing else that was using pygobject needed 2_7 so it worked.

Reply via email to