qpid-proton-j-extensions: FTBFS with default Java 21

Bug #2054236 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpid-proton-j-extensions (Debian)
Fix Released
Unknown
qpid-proton-j-extensions (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package qpid-proton-j-extensions ftbfs with default Java 21.
The relevant part of the build log:
---------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] 3 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] warnings found and -Werror specified
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.282 s
[INFO] Finished at: 2023-12-04T11:02:51Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:compile (base-compile) on project qpid-proton-j-extensions: Compilation failure
[ERROR] warnings found and -Werror specified
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
---------------

Related branches

Changed in qpid-proton-j-extensions (Debian):
status: Unknown → New
Revision history for this message
Vladimir Petko (vpa1977) wrote :

piuparts install/upgrade/purge (pass)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qpid-proton-j-extensions - 1.2.4-1ubuntu1

---------------
qpid-proton-j-extensions (1.2.4-1ubuntu1) noble; urgency=medium

  [ Pushkar Kulkarni ]
  * Use java-common's java_compat_level for -source/-target. Disable -Xlint
    options warning (LP: #2054236).

 -- Vladimir Petko <email address hidden> Mon, 19 Feb 2024 08:42:11 +1300

Changed in qpid-proton-j-extensions (Ubuntu):
status: New → Fix Released
Changed in qpid-proton-j-extensions (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.