Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509592 - media-tv/xbmc-9999 - bootstrap before configure
Summary: media-tv/xbmc-9999 - bootstrap before configure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xbox project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-05-05 03:44 UTC by Anthony Ryan
Modified: 2014-05-09 22:40 UTC (History)
3 users (show)

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


Attachments
Proposed patch (bootstrap.diff,430 bytes, patch)
2014-05-05 03:45 UTC, Anthony Ryan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Ryan 2014-05-05 03:44:56 UTC
The compile directions for XBMC instruct that bootstrap should be run before anything is configured.

Previously xbmc had included pre-compiled tools in their repository that were used as part of the build process. They have now cleaned these up and the 9999 ebuild cannot build without running bootstrap first.

There may be alternative solutions, but this is the officially supported way.

Reproducible: Always
Comment 1 Anthony Ryan 2014-05-05 03:45:15 UTC
Created attachment 376394 [details, diff]
Proposed patch
Comment 2 SpanKY gentoo-dev 2014-05-05 20:02:14 UTC
what is the actual problem you're fixing ?  the bootstrap script does things like run autotools, and the ebuild already handles that.
Comment 3 Anthony Ryan 2014-05-06 00:02:08 UTC
Without the bootstrap it's failing to compile with the following error:

make[1]: ../../../tools/depends/native/JsonSchemaBuilder/JsonSchemaBuilder: Command not found
Makefile:34: recipe for target 'ServiceDescription.h' failed
make[1]: *** [ServiceDescription.h] Error 127
Makefile:502: recipe for target 'xbmc/interfaces/json-rpc/json-rpc.a' failed
make: *** [xbmc/interfaces/json-rpc/json-rpc.a] Error 2
make: *** Waiting for unfinished jobs....

I imagine the method the ebuild has in place to bypass the bootstrap is failing to compile a JsonSchemaBuilder binary that is then used in the compile process.

Running the bootstrap makes it compile without issue.
Comment 4 SpanKY gentoo-dev 2014-05-09 22:40:19 UTC
the full script runs autotools which we don't want.  looks like they've added more to the code generator file though, so we can't just rely on the parts to generate things on the fly.  not sure if it's a bug upstream, but not a big deal for us to run that particular step.

Commit message: Run code generator bootstrap
http://sources.gentoo.org/media-tv/xbmc/xbmc-9999.ebuild?r1=1.155&r2=1.156