Description of problem: As a consequence of fixing bug https://bugzilla.redhat.com/show_bug.cgi?id=2164351, jdeparser build started to fail. Previously the build worked as maven (incorrectly) ignored the JAVA_HOME env variable. The build uses a class from xmvn which was build with Java 11 but jdeparser needs to be built with Java 8. Thus, the build fails as Java 8 can use Java 11 bytecode: ... ... Caused by: java.lang.UnsupportedClassVersionError: org/fedoraproject/xmvn/connector/maven/XMvnModelValidator has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 Version-Release number of selected component (if applicable): jdeparser-2.0.3-12.el9 How reproducible: Always Steps to Reproduce: 1. rpmbuild --rebuild jdeparser-2.0.3-12.el9.src.rpm 2. 3. Actual results: Expected results: Additional info:
It appears the requirement for Java 8 is no longer necessary, I have a successful c9s scratch build with Java 11. As we are in the blocker/exception phase for RHEL 9.2 I am targeting the fix for RHEL 9.3, we can backport the fix to RHEL 9.2.z if we need to do a build for it in the future.
Successful build for RHEL 9.3: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=51249500, closing ticket.
In RHEL-9.3.0-20230718.0, there is still jdeparser-2.0.3-12.el9: https://beaker-archive.hosts.prod.psi.bos.redhat.com/beaker-logs/2023/07/80920/8092091/14267204/163226326/taskout.log Is that intentional, not to include the fix in the shipped product yet?
Yes, because the problem is in building the package. It is a build system implementation detail on our side so the fix does not need shipping in an erratum to users. I chose CLOSED NEXTRELEASE because I confirmed that future builds of jdeparser are not affected by this bug, but there has not been a reason (rebase, another bug) to actually rebuild the package since then, so we still have the build from before this.