Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
v22 building master triggers Caught: BUG! exception in phase 'semantic analysis'
#1
Any insights into the cause of this error?  Similar to this older thread where @wsnipex had to create a PR to fix.
 
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
Need help programming a Streamzap remote?
Reply
#2
This means compiled Java bytecode is at version JDK VM does npt understand. Best to report bug against groovy and openjdk.
Maintainer of Kodi from Debian | Got an issue with Kodi from Debian? Report it here: Kodi from Debian - Support Thread
Reply
#3
OK, not a kodi bug, thanks!
Need help programming a Streamzap remote?
Reply

Logout Mark Read Team Forum Stats Members Help
building master triggers Caught: BUG! exception in phase 'semantic analysis'0