[FTBFS] ceph fails to build with openjdk-9

Bug #1756854 reported by Tiago Stürmer Daitx on 2018-03-19
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
Medium
James Page

Bug Description

ceph 12.2.2-0ubuntu2 FTBFS when building with openjdk-9 due to source/target being set to 1.5. OpenJDK 9 requires at least 1.6, but since OpenJDK 10 is due by this month and OpenJDK 11 LTS by september this year, it is safer to update both target and source to 1.8 so even OpenJDK 11 can be used to build it.

Building with openjdk-9 on bionic was tested locally and in a ppa, both reported success.

Tiago Stürmer Daitx (tdaitx) wrote :

Please consider the attached debdiff for fixing this bug.

tags: added: patch
tags: added: bionic
James Page (james-page) wrote :

Thanks for the patch; I'll include it with my upload for 12.2.4.

Changed in ceph (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
milestone: none → ubuntu-18.03
assignee: nobody → James Page (james-page)
status: Triaged → In Progress
James Page (james-page) wrote :

Committed to git repo under ubuntu/bionic branch.

James Page (james-page) on 2018-03-20
Changed in ceph (Ubuntu):
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ceph - 12.2.4-0ubuntu1

---------------
ceph (12.2.4-0ubuntu1) bionic; urgency=medium

  [ James Page ]
  * New upstream point release (LP: #1750826, #1731819, #1718134).
  * d/ceph-osd.install: Add ceph-volume tools (LP: #1750376).
  * d/*: wrap-and-sort -bast.
  * d/control,compat: Bump debhelper compat level to 10.
  * d/control: Switch to using python3-sphinx.
  * d/rules: Switch to using WITH_BOOST_CONTEXT for rgw beast frontend
    enablement.
  * d/rules,control: Switch to using vendored boost as 1.66 is required.
  * d/control: Add python-jinja2 to Depends of ceph-mgr (LP: #1752308).

  [ Tiago Stürmer Daitx ]
  * Update java source and target flags from 1.5 to 1.8. Allows it to run
    using OpenJDK 8 or earlier and to be build with OpenJDK 9, 10, and 11
    (LP: #1756854).

  [ James Page ]
  * d/ceph*.prerm: Drop, no longer needed as only use for removed upstart
    and init.d methods of managing ceph daemons (LP: #1754585).

 -- James Page <email address hidden> Tue, 20 Mar 2018 09:28:22 +0000

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

Other bug subscribers