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
Created attachment 376394 [details, diff] Proposed patch
what is the actual problem you're fixing ? the bootstrap script does things like run autotools, and the ebuild already handles that.
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.
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