media-tv/xbmc-10.0 should depend on <=dev-lang/python-2.6 Reproducible: Always Steps to Reproduce: At present, XBMC will not build without python 2.4, 2.5 or 2.6 present. For those running unstable that have upgraded to 2.7 and removed 2.6, XBMC fails to configure. The ebuild should require anything equal to, or lesser than 2.6. 1. emerge -aC dev-lang/python:2.6 2. emerge =media-tv/xbmc-10.0 3. Watch it fail at checking for main in -lpython2.6... no checking for main in -lpython2.5... no checking for main in -lpython2.4... no configure: error: Could not find a required library. Please see the README for your platform.
Created attachment 258408 [details, diff] Changes python dependency Changes python dependency from >=dev-lang/python-2.4 to <=dev-lang/python-2.6 . We currently have 2.4, 2.5 and 2.6 in the tree, all fit the requirement. http://forum.xbmc.org/showthread.php?t=81047 http://trac.xbmc.org/ticket/7991
As I see it, unless there's a real (i.e. syntax) incompatibility with python 2.7, the patch, that's needed should be for configure check.
And <=dev-lang/python-2.6 is wrong anyway as that would exclude any 2.6.x release. If this for any reason cannot be fixed in configure, rather use <dev-lang/python-2.7
*** This bug has been marked as a duplicate of bug 313981 ***
not a duplicate ... Bug 313981 is about python.eclass cruft
meant to re-open ...
Comment on attachment 258408 [details, diff] Changes python dependency i'd rather we fix the code than force old python versions
Created attachment 258551 [details, diff] upstream patch for python-2.7 anyone feel like verifying this works for them ?
(In reply to comment #8) > Created an attachment (id=258551) [details] > upstream patch for python-2.7 > > anyone feel like verifying this works for them ? > The patch allows xbmc to compile and install cleanly without python-2.6 present. I'll throw it on a real install next.
(In reply to comment #9) > (In reply to comment #8) > > Created an attachment (id=258551) [details] [details] > > upstream patch for python-2.7 > > > > anyone feel like verifying this works for them ? > > > > The patch allows xbmc to compile and install cleanly without python-2.6 > present. I'll throw it on a real install next. > Installed on two machines and appears to be functional without any obvious faults. This is my 2nd+3rd time ever launching XBMC, but everything I've played with works on each install.
thanks for testing ... ive added the patch to xbmx-10.0 now
*** Bug 350370 has been marked as a duplicate of this bug. ***
Can you add this patch to xbmc-9999 ebuild?
no ... it'll get fixed upstream eventually