Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 558798 - media-tv/kodi-15.1[java]: make[1]: ../../../tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder: Command not found
Summary: media-tv/kodi-15.1[java]: make[1]: ../../../tools/depends/native/JsonSchemaBu...
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:
: 559246 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-26 09:39 UTC by Manuel Rüger (RETIRED)
Modified: 2016-11-16 19:50 UTC (History)
5 users (show)

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


Attachments
build.log (build.log,790.99 KB, text/plain)
2015-08-26 09:39 UTC, Manuel Rüger (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2015-08-26 09:39:41 UTC
Created attachment 410314 [details]
build.log

make[1]: Entering directory '/var/tmp/portage/media-tv/kodi-15.1/work/xbmc-15.1-Isengard/xbmc/interfaces/json-rpc'
which: no JsonSchemaBuilder in (/var/tmp/portage/media-tv/kodi-15.1/temp/python2.7/bin:/usr/lib/portage/python3.4/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.9.3:/usr/
../../../tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder schema/version.txt schema/license.txt schema/methods.json schema/types.json schema/notifications.json
make[1]: ../../../tools/depends/native/JsonSchemaBuilder/bin/JsonSchemaBuilder: Command not found
Makefile:39: recipe for target 'ServiceDescription.h' failed
make[1]: *** [ServiceDescription.h] Error 127                                                                                                                                                                                                      
make[1]: Leaving directory '/var/tmp/portage/media-tv/kodi-15.1/work/xbmc-15.1-Isengard/xbmc/interfaces/json-rpc'
Makefile:469: 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....


According to http://kodi.wiki/view/HOW-TO:Compile_Kodi_on_Fedora/Red_Hat/CentOS#Build_JsonSchemaBuilder this maybe needs to be built before compiling kodi
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2015-08-26 15:48:45 UTC
+1
Comment 2 J.O. Aho 2015-08-26 16:48:11 UTC
The instruction in the HOWTO linked by Manuel solved this for me, after the failed build, I went to work and built the JsonSchemaBuilder and installed it in /usr/local/bin as instructed and then emerged kodi 15.1 and it built as expected.
Removed the file afterwards.
Comment 3 Craig Andrews gentoo-dev 2015-08-27 01:08:18 UTC
Here's a PR fixing the issue:
https://github.com/gentoo/gentoo/pull/43
Comment 4 SpanKY gentoo-dev 2015-08-27 01:21:34 UTC
(In reply to candrews from comment #3)

it isn't necessary to always build the tool.  i imagine it's only USE=java builds.
Comment 5 Craig Andrews gentoo-dev 2015-08-27 01:39:20 UTC
(In reply to SpanKY from comment #4)
> (In reply to candrews from comment #3)
> 
> it isn't necessary to always build the tool.  i imagine it's only USE=java
> builds.

I didn't realize that - I've updated by PR accordingly.
Comment 6 Craig Andrews gentoo-dev 2015-08-28 18:00:50 UTC
Is there anything else I can do?

My PR seems correct and it solves the problem for me, so I hope it can be accepted sooon for the benefit of everyone.

Thanks!
Comment 7 Peter Fox 2015-08-31 16:03:06 UTC
I modified the ebuild to add "make -C tools/depends/native/JsonSchemaBuilder/" in src_compile before "emake V=1", this desn't seem to be the fix mentioned in comment 3:

src_compile() {
        make -C tools/depends/native/JsonSchemaBuilder/
	emake V=1
}
Comment 8 Jory A. Pratt gentoo-dev 2015-09-06 05:04:12 UTC
*** Bug 559246 has been marked as a duplicate of this bug. ***
Comment 10 SpanKY gentoo-dev 2015-09-19 06:25:25 UTC
(In reply to SpanKY from comment #9)

i forgot to push; here's the right commit:
http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89417912ce79d5e1f497625ce13ed02b2003b08b
Comment 11 faminebadger 2016-10-30 14:20:38 UTC
This failure still happens on kodi 16.1, and I don't have the java use flag - so I suspect the assertion in comment #4 "i imagine it's only USE=java builds" is wrong.
Comment 12 Martin Cyr 2016-11-14 21:31:07 UTC
(In reply to faminebadger from comment #11)
> This failure still happens on kodi 16.1, and I don't have the java use flag
> - so I suspect the assertion in comment #4 "i imagine it's only USE=java
> builds" is wrong.

There is bug 598058 for 16.1.