Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350098 - media-tv/xbmc-10.0 doesn't detect Python 2.7
Summary: media-tv/xbmc-10.0 doesn't detect Python 2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Xbox project
URL: http://forum.xbmc.org/showthread.php?...
Whiteboard:
Keywords:
: 350370 (view as bug list)
Depends on:
Blocks: python-2.7
  Show dependency tree
 
Reported: 2010-12-29 23:07 UTC by Tom Flair
Modified: 2011-04-29 19:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Changes python dependency (xbmc-python.patch,322 bytes, patch)
2010-12-29 23:09 UTC, Tom Flair
Details | Diff
upstream patch for python-2.7 (0001-Support-external-python2.7.patch,29.55 KB, patch)
2010-12-31 18:50 UTC, SpanKY
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Flair 2010-12-29 23:07:09 UTC
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.
Comment 1 Tom Flair 2010-12-29 23:09:04 UTC
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
Comment 2 Rafał Mużyło 2010-12-30 00:55:52 UTC
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.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-12-30 08:46:24 UTC
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 
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-30 15:50:35 UTC

*** This bug has been marked as a duplicate of bug 313981 ***
Comment 5 SpanKY gentoo-dev 2010-12-31 18:20:53 UTC
not a duplicate ... Bug 313981 is about python.eclass cruft
Comment 6 SpanKY gentoo-dev 2010-12-31 18:21:26 UTC
meant to re-open ...
Comment 7 SpanKY gentoo-dev 2010-12-31 18:22:41 UTC
Comment on attachment 258408 [details, diff]
Changes python dependency

i'd rather we fix the code than force old python versions
Comment 8 SpanKY gentoo-dev 2010-12-31 18:50:50 UTC
Created attachment 258551 [details, diff]
upstream patch for python-2.7

anyone feel like verifying this works for them ?
Comment 9 Tom Flair 2010-12-31 20:19:58 UTC
(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.
Comment 10 Tom Flair 2011-01-01 01:30:38 UTC
(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.
Comment 11 SpanKY gentoo-dev 2011-01-01 21:30:55 UTC
thanks for testing ... ive added the patch to xbmx-10.0 now
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2011-01-02 13:59:10 UTC
*** Bug 350370 has been marked as a duplicate of this bug. ***
Comment 13 Lukas Miczka 2011-01-03 16:44:17 UTC
Can you add this patch to xbmc-9999 ebuild?
Comment 14 SpanKY gentoo-dev 2011-01-03 21:05:53 UTC
no ... it'll get fixed upstream eventually