Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922871 - media-tv/kodi-9999 fails to build because groovy class cannot be found (master commit d6bc920)
Summary: media-tv/kodi-9999 fails to build because groovy class cannot be found (maste...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-01-24 22:09 UTC by Francois Chenier
Modified: 2024-01-28 14:51 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chenier 2024-01-24 22:09:42 UTC
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.
Comment 1 Francois Chenier 2024-01-25 10:41:26 UTC
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.
Comment 2 Larry the Git Cow gentoo-dev 2024-01-28 14:51:04 UTC
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(+)