Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 587936

Summary: media-video/totem-3.20.1 causing unsolvable libpeas use flag issues
Product: Gentoo Linux Reporter: Harris Landgarten <harrisl>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harris Landgarten 2016-07-04 01:12:40 UTC
My system is configured with python-3.5 as default. libpeas require only one of the python 3s as target. Several gnome packages like gedit require python targets like libpeas. So I have them all -python3_3 -python3_4 python3_5.

When I set totem -python3_3 -python3_4 python3_5 says it needs python3_4 target enabled in libpeas.  If I change everything to +python3_4 -python3_5 then gnome-music requires the python3_5 target.

The only workaround I have found is to disable the python use flag in totem.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2016-07-13 16:43:21 UTC
Could you please add the portage output? Both totem and libpeas appear to have python3_5 support.
Comment 2 Harris Landgarten 2016-07-13 16:50:15 UTC
I solved the issue by disabling the python3_4 target in totem. There is too much playing around with python targets.
Comment 3 Harris Landgarten 2016-07-16 16:36:03 UTC
the issue is that if you have totem python_targets set to python3_4 python3_5 and 
libpeas python_targets set to -python3_4 python3_5 then

totem wants libpeas flags changed -python3_4 -> +python3_4

That appears to be a bug.

changing totem python_targets to -python3_4 works around the issue. Python should be able to use the libpeas python3_5 support and not call for a change to libpeas based on both 3.4 and 3.5 enabled as targets.

If totem really needs libpeas support for each 3.x target that it should be restricted to the same use flags as libpeas and require only one 3.x python matching libpeas.