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

Bug 434662

Summary: media-tv/xbmc-9999 should DEPEND on virtual/jre to build python bindings
Product: Gentoo Linux Reporter: BT <amak79>
Component: Current packagesAssignee: Gentoo Xbox project <xbox>
Status: RESOLVED FIXED    
Severity: normal CC: arne.flagge, bkohler, candrews, fturco
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/xbmc/xbmc/commit/c25b3d244771394ad8ac76a8afb7a6a547656e9f
Whiteboard:
Package list:
Runtime testing required: ---

Description BT 2012-09-11 00:13:38 UTC
With commit c25b3d2447 media-tv/xbmc-9999 fails to configure without virtual/jre.

Checking for a jre installation
checking for java... none
configure: error: Could not find a required program. Please see the README for your platform.
Comment 1 SpanKY gentoo-dev 2012-09-11 07:04:03 UTC
requiring java is braindead.  needs to conditionalized.
Comment 2 BT 2012-10-09 06:54:50 UTC
I don't think upstream will make it conditional[1].

[1] http://forum.xbmc.org/showthread.php?tid=140526&pid=1191659#pid1191659
Comment 3 SpanKY gentoo-dev 2012-10-09 18:58:17 UTC
(In reply to comment #2)

that makes it sound even dumber.  really should minimize the number of languages needed to build rather than picking random ones people feel like using.  no reason the build code couldn't have been written in python.
Comment 4 Ian 2012-11-28 19:19:59 UTC
Confirmed this problem.

I agree with you, SpanKY, but the fact remains that xbmc-9999 won't build without jre installed.  So until such time that upstream changes, isn't it a necessity to adjust this ebuild to depend on jre?

As of right now, this is blocking a simple install of xbmc-9999.  I'm going ahead with separately pulling in virtual/jre to get this fresh xbmc install going, but this step shouldn't be necessary.
Comment 5 Ben Kohler gentoo-dev 2012-12-07 17:06:44 UTC
The package's dep list should describe the current reality, not what we wish the dependencies were.
Comment 6 KaZeR 2012-12-08 01:28:15 UTC
I agree. Not having this dependency can currently break the build.
Comment 7 SpanKY gentoo-dev 2012-12-25 04:07:57 UTC
added it behind USE=java so most people don't have to get stuck with upstream's stupidity
Comment 8 SpanKY gentoo-dev 2012-12-25 04:08:25 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add USE=java to contain upstream idiocy
http://sources.gentoo.org/media-tv/xbmc/xbmc-12.0_rc2.ebuild?rev=1.1
http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.124&r2=1.125