Live kodi build fails to build because of kodi master commit d6bc920. Detailed description can be found here. https://github.com/xbmc/xbmc/issues/24225 Unpacking groovy, commons-lang3 and commons-text (in the ebuild) and setting compilation flags -Dgroovy_SOURCE_DIR -Dapache-commons-lang_SOURCE_DIR -Dapache-commons-text_SOURCE_DIR fix the issue as expected but don't give an answer why those packages are not unpacked at the first place.
https://github.com/gentoo/gentoo/pull/34972/commits/4a79949a864f5b5e2105e4adfd8c0c55c01ada6c should work but it is not in the tree yet. Patch I wrote is similar, different paths and using tar instead of unpack for the tar.gz files.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17939390efcb504b864531338abf6d9082b1f3fb commit 17939390efcb504b864531338abf6d9082b1f3fb Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2024-01-23 08:42:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-28 14:50:19 +0000 media-tv/kodi: fix issue with bundled java packages * Kodi wasn't properly building them leading to a build error. Unpack and feed this location to the build with -D*_SOURCE_DIR to make sure it works. Closes: https://bugs.gentoo.org/922871 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-tv/kodi/kodi-9999.ebuild | 7 +++++++ 1 file changed, 7 insertions(+)