Re: [gentoo-user] problem emerging pycairo

2020-07-12 Thread Adam Carter
On Mon, Jul 13, 2020 at 2:36 PM Philip Webb  wrote:

> 200713 Adam Carter wrote:
> > On Mon, Jul 13, 2020 at 5:32 AM Philip Webb 
> 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.


Re: [gentoo-user] problem emerging pycairo

2020-07-12 Thread Philip Webb
200713 Adam Carter wrote:
> On Mon, Jul 13, 2020 at 5:32 AM Philip Webb  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 :

root:570 ~> PYTHON_TARGETS="python3_6 python3_7" emerge -pv pycairo pygobject
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U  ] dev-python/pycairo-1.19.1::gentoo [1.18.2::gentoo]
USE="-doc -examples -test" PYTHON_TARGETS="(-pypy3) (-python2_7%*)
python3_6 python3_7 -python3_8 (-python3_9)" 201 KiB
[ebuild   R] dev-python/pygobject-3.34.0:3::gentoo
USE="cairo -examples -test"
PYTHON_TARGETS="-python2_7* python3_6 python3_7 -python3_8 (-python3_9)"

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatcadotinterdotnet




Re: [gentoo-user] problem emerging pycairo

2020-07-12 Thread Adam Carter
On Mon, Jul 13, 2020 at 5:32 AM Philip Webb  wrote:

> this is the output :
>
> root:543 ~> emerge -pv pycairo
>
> These are the packages that would be merged, in order:
> Calculating dependencies... done!
> [ebuild   R] dev-python/pycairo-1.18.2::gentoo  USE="-doc -examples
> -test"
> PYTHON_TARGETS="(-pypy3%) python2_7 python3_6 python3_7 -python3_8
> (-python3_9)"
>
> 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"
>
> root:544 ~> eix pycairo
>   [U] dev-python/pycairo
>   Available versions: 1.18.2^t 1.19.1^t {doc examples test
>   PYTHON_TARGETS="pypy3 python2_7 python3_6 python3_7 python3_8 python3_9"}
>   Installed versions: 1.18.2^t([2020-04-25 12:09:30])(-doc -examples -test
>   PYTHON_TARGETS="python2_7 python3_6 python3_7 -pypy3 -python3_8")
>
> root:545 ~> eix pygobject
>   [I] dev-python/pygobject
>   Available versions:
> (2)2.28.6-r55^t
> (3)3.32.1^t 3.34.0^t
>   {+cairo examples libffi test
>   PYTHON_TARGETS="python2_7 python3_6 python3_7 python3_8 python3_9"}
>   Installed versions: 3.34.0(3)^t([2020-05-09 19:57:48])(cairo -examples
> -test
>   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.