HomeFreeBSD

multimedia/kodi: Limit Java version - fix build if installed too new Java…

Description

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)

Details

Provenance
yzrh <yzrh@noema.org>Authored on Jul 22 2025, 8:58 PM
vvdCommitted on Jul 22 2025, 9:02 PM
Parents
R11:97025610e528: audio/elisa: add more GStreamer bits
Branches
Unknown
Tags
Unknown