2024-10-21, 22:18
Any insights into the cause of this error? Similar to this older thread where @wsnipex had to create a PR to fix.
Building on Arch Linux tried with jdk-openjdk-23.0.1.u0. If I use jdk-openjdk-21.0.5.u11, the build completes successfully
Code:
...
[ 97%] Building CXX object build/interfaces/legacy/CMakeFiles/legacy_interface.dir/DrmCryptoSession.cpp.o
Caught: BUG! exception in phase 'semantic analysis' in source unit '/build/kodi-git/src/xbmc/tools/codegenerator/Generator.groovy' Unsupported class file major version 67
BUG! exception in phase 'semantic analysis' in source unit '/build/kodi-git/src/xbmc/tools/codegenerator/Generator.groovy' Unsupported class file major version 67
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 67
make[2]: *** [build/swig/CMakeFiles/python_binding.dir/build.make:118: build/swig/AddonModuleXbmcwsgi.i.cpp] Error 1
Building on Arch Linux tried with jdk-openjdk-23.0.1.u0. If I use jdk-openjdk-21.0.5.u11, the build completes successfully