Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919856 - media-tv/kodi-9999 is out of date
Summary: media-tv/kodi-9999 is out of date
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-12-13 23:03 UTC by Michael Cook
Modified: 2024-01-22 12:41 UTC (History)
5 users (show)

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


Attachments
Alternative kodi-9999.ebuild file (kodi-9999.ebuild,11.23 KB, text/plain)
2024-01-01 03:47 UTC, Francois Chenier
Details
Alternative kodi-9999.ebuild file (kodi-9999.ebuild,11.21 KB, text/plain)
2024-01-01 05:03 UTC, Francois Chenier
Details
patch for swig and groovy issues (kodi-9999-groovy_swig.patch,2.72 KB, patch)
2024-01-21 04:25 UTC, Sirko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cook 2023-12-13 23:03:43 UTC
FFmpeg is now version 6.0, they're also using the upstream source instead of on their own mirror

virtual/jre:17 is required now 

The bundled stuff in xbmc/interfaces/swig/CMakeLists.txt has been unbundled, we can use the build defines groovy_SOURCE_DIR, apache-commons-lang_SOURCE_DIR, apache-commons-text_SOURCE_DIR to get around network-sandbox, these will also have to be unpacked in src_unpack for the live ebuild

Reproducible: Always
Comment 1 Yuriy V 2023-12-19 10:31:21 UTC
+ also unsatisfied dependency of media-libs/libdisplay
Comment 2 Francois Chenier 2024-01-01 03:47:02 UTC
Created attachment 881157 [details]
Alternative kodi-9999.ebuild file

Just a temporary fix
Comment 3 Francois Chenier 2024-01-01 05:03:13 UTC
Created attachment 881159 [details]
Alternative kodi-9999.ebuild file

Unset KEYWORD as it should be for -9999 packages
Comment 4 Sirko 2024-01-21 04:22:49 UTC
Hi,

looks like upstream wants swig <4.2.0 for now.

 BDEPEND  <dev-lang/swig-4.2.0

and with groovy/common [lang|text] fixes I was able to build 
kodi here.

Cheers,
Sirko
Comment 5 Sirko 2024-01-21 04:25:37 UTC
Created attachment 882713 [details, diff]
patch for swig and groovy issues
Comment 6 Michael Cook 2024-01-21 04:29:40 UTC
https://github.com/xbmc/xbmc/issues/24385 this has a fix for swig 4.2.0
Comment 7 Larry the Git Cow gentoo-dev 2024-01-21 04:41:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee7a4f5f7c338b8ae2aafabdc7b1bc3da901147e

commit ee7a4f5f7c338b8ae2aafabdc7b1bc3da901147e
Author:     Alfred Wingate <parona@protonmail.com>
AuthorDate: 2023-12-24 14:10:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-21 04:41:08 +0000

    media-tv/kodi: update live ebuilds, add 20.9999, drop 19.9999
    
    Closes: https://bugs.gentoo.org/913858
    Closes: https://bugs.gentoo.org/919856
    Signed-off-by: Alfred Wingate <parona@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-tv/kodi/Manifest            |   4 +-
 media-tv/kodi/kodi-19.9999.ebuild | 360 ----------------------------
 media-tv/kodi/kodi-20.9999.ebuild | 474 +++++++++++++++++++++++++++++++++++++
 media-tv/kodi/kodi-9999.ebuild    | 481 ++++++++++++++++++++++++--------------
 4 files changed, 778 insertions(+), 541 deletions(-)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-21 04:42:25 UTC
Could you open new bugs for any remaining issues? Thank you!
Comment 9 Alfred Wingate 2024-01-21 12:58:14 UTC
With swig its best to just wait for upstream to fix it. Backporting patches to live is ripe for it breaking again when its fixed.

In the meantime you can mask the new swig version or apply the patches yourself with /etc/portage/patches

https://github.com/xbmc/xbmc/pull/24552
Comment 10 Larry the Git Cow gentoo-dev 2024-01-22 12:41:11 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c50949246c59a960e6dadc9824fe7e5869509a92

commit c50949246c59a960e6dadc9824fe7e5869509a92
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-22 12:40:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-22 12:41:02 +0000

    profiles/base: drop media-tv/kodi[system-ffmpeg force]
    
    The intent is good here, but it causes more harm-than-good. Kodi doesn't really
    keep up with latest ffmpeg at all so this just ends up holding back upgrades
    for people.
    
    Bug: https://bugs.gentoo.org/892547
    Bug: https://bugs.gentoo.org/890375
    Bug: https://bugs.gentoo.org/919856
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/base/package.use.force | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)