zeroc-ice FTFBS with openjdk-21

Bug #2053248 reported by Pushkar Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zeroc-ice (Debian)
Fix Released
Unknown
zeroc-ice (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package fails to build with default Java 21 due to the following error:

---
All input files are considered out-of-date for incremental task ':ice-
compat:compileJava'.
Use of target 1.7 is no longer supported, switching to 8
Use of source 1.7 is no longer supported, switching to 8
Compiling with JDK Java compiler API.
:icegrid-compat:compileSlice (Thread[#89,Task worker for ':' Thread 14,5,main])
completed. Took 0.27 secs.
:icegrid-compat:processResources (Thread[#89,Task worker for ':' Thread
14,5,main]) started.
:icegrid-compat:processResources
Putting task artifact state for task ':icegrid-compat:processResources' into
context took 0.0 secs.
file or directory '/<<PKGBUILDDIR>>/java-
compat/src/IceGrid/src/main/resources', not found
Skipping task ':icegrid-compat:processResources' as it has no source files and
no previous output files.
:icegrid-compat:processResources NO-SOURCE
:icegrid-compat:processResources (Thread[#89,Task worker for ':' Thread
14,5,main]) completed. Took 0.0 secs.
:icegrid-compat:writeNewPom (Thread[#89,Task worker for ':' Thread 14,5,main])
started.
:icegrid-compat:writeNewPom
Putting task artifact state for task ':icegrid-compat:writeNewPom' into context
took 0.0 secs.
Up-to-date check for task ':icegrid-compat:writeNewPom' took 0.0 secs. It is
not up-to-date because:
  No history is available.
:icegrid-compat:writeNewPom (Thread[#89,Task worker for ':' Thread 14,5,main])
completed. Took 0.001 secs.
:ice-compat:compileJava FAILED
:ice-compat:compileJava (Thread[#92,Task worker for ':' Thread 17,5,main])
completed. Took 0.124 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ice-compat:compileJava'.
> error: release version 7 not supported

* Try:
Run with --debug option to get more log output. Run with --scan to get full
insights.
---

Changed in zeroc-ice (Debian):
status: Unknown → New
Revision history for this message
Pushkar Kulkarni (pushkarnk) wrote :
Changed in zeroc-ice (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zeroc-ice - 3.7.10-1ubuntu1

---------------
zeroc-ice (3.7.10-1ubuntu1) noble; urgency=medium

  * d/rules, d/patches: Adjust javac -source/-target using $java_compat_level (LP: #2053248)

 -- Pushkar Kulkarni <email address hidden> Thu, 15 Feb 2024 21:19:59 +0530

Changed in zeroc-ice (Ubuntu):
status: Fix Committed → Fix Released
Changed in zeroc-ice (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.