git: a52105440ab9 - 2025Q3 - multimedia/kodi: Limit Java version - fix build if installed too new Java version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Jul 2025 21:02:59 UTC
The branch 2025Q3 has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=a52105440ab99fa2fafc60ad590d3e7b5318ba9f commit a52105440ab99fa2fafc60ad590d3e7b5318ba9f Author: yzrh <yzrh@noema.org> AuthorDate: 2025-07-22 20:58:17 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2025-07-22 21:02:51 +0000 multimedia/kodi: Limit Java version - fix build if installed too new Java version Caught: BUG! exception in phase 'semantic analysis' in source unit '/tmp/ports/usr/ports/multimedia/kodi/work/xbmc-21.2-Omega/tools/codegenerator/Generator.groovy' Unsupported class file major version 68 BUG! exception in phase 'semantic analysis' in source unit '/tmp/ports/usr/ports/multimedia/kodi/work/xbmc-21.2-Omega/tools/codegenerator/Generator.groovy' Unsupported class file major version 68 Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 68 It is likely about Apache Groovy, which requires Java version 8-16. PR: 287946 MFH: 2025Q3 (cherry picked from commit ea48face9fdddbe8adfe967524433685214444f9) --- multimedia/kodi/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/multimedia/kodi/Makefile b/multimedia/kodi/Makefile index d4652c81303c..3794c8991ada 100644 --- a/multimedia/kodi/Makefile +++ b/multimedia/kodi/Makefile @@ -82,6 +82,7 @@ PLIST_SUB= ARCH=${KODI_ARCH_${ARCH}} USE_LDCONFIG= yes USE_GNOME= libxml2 +JAVA_VERSION= 8 11 CMAKE_ARGS= -DGIT_VERSION="${DISTVERSION}-${KODI_CODENAME}" \ -DLIBDVDCSS_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdcss-${LIBDVDCSS_VERSION}_GH0.tar.gz" \ -DLIBDVDNAV_URL="${DISTDIR}/${PORTNAME}/xbmc-libdvdnav-${LIBDVDNAV_VERSION}_GH0.tar.gz" \