[Bug 2036873] [NEW] [WIP] Provide a bootstrapping build for Java 21 GA in focal and mantic -proposed.
Vladimir Petko
2036873 at bugs.launchpad.net
Thu Sep 21 06:35:06 UTC 2023
Public bug reported:
[Impact]
Java 21 is the latest stable release of Java. In order for Ubuntu to
provide a robust Java toolchain for our users the stable Ubuntu releases
(focal and jammy) should include Java 21.
Java 21 requires bootstrapping from Java 20 (or existing Java 21).
Neither Java 20 nor Java 21 are published in Jammy and Focal.
Mantic contains the Release Candidate Java 21 build 35. It was promoted
to a General Availability build on 20 September 2023.
adjust-bootjdk.patch (attached) allows bootstrapping from openjdk-17
that is present in Focal and Jammy releases. This patch is only intended
for bootstrapping of GA Java 21 build and contains limitations such as
disabled jtreg tests and disabled documentation package. The full
debdiff of bootstrap openjdk-21 package is attached.
The openjdk-21 21~35ea-1ubuntu1~20.04 should be published to focal -proposed and blocked from migration.
The openjdk-21 21~35ea-1ubuntu1~22.04 should be published to jammy -proposed and blocked from migration.
Those builds will allow publishing of the openjdk-21 21+35-X package
once it is available to Jammy and Focal.
Jtreg tests should be disabled for the package due to the large number
of packages that need to be upgraded in order to port jtreg7. This
should be handled as a separate issue.
[Test Plan]
The ppas are set up with security pocket enabled.
PPA: ppa:vpa1977/openjdk-21-jtreg
PPA: ppa:vpa1977/openjdk-21-bootstrapped
The jtreg7 with dependencies, openjdk-21 21~35ea-1ubuntu1~20.04 and
openjdk-21 21~35ea-1ubuntu1~22.04 are published to the PPA[1].
A dependent PPA[2] has openjdk-21 21+35-1 uploaded to focal and Jammy.
Note: final upload needs jtreg tests disabled.
The ppa:vpa1977/openjdk-21-bootstrapped[2] should build and jtreg tests
should pass (see comments).
Packages built in bootstrapped[2] PPA should pass installation tests
(see comments).
[Where problems could occur]
The packages need to be blocked from migration otherwise users will get
an incomplete openjdk-21 package (missing documentation).
The jtreg tests need to be disabled in the archive (either -1ubuntu1 or
+35-2 package) as we do not have an official jtreg port yet.
There are no packages in the archive depending on Java 21 (except
openjdk-21 itself).
[1] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21
[2] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-bootstrapped
** Affects: openjdk-21 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-21 in Ubuntu.
https://bugs.launchpad.net/bugs/2036873
Title:
[WIP] Provide a bootstrapping build for Java 21 GA in focal and mantic
-proposed.
Status in openjdk-21 package in Ubuntu:
New
Bug description:
[Impact]
Java 21 is the latest stable release of Java. In order for Ubuntu to
provide a robust Java toolchain for our users the stable Ubuntu
releases (focal and jammy) should include Java 21.
Java 21 requires bootstrapping from Java 20 (or existing Java 21).
Neither Java 20 nor Java 21 are published in Jammy and Focal.
Mantic contains the Release Candidate Java 21 build 35. It was
promoted to a General Availability build on 20 September 2023.
adjust-bootjdk.patch (attached) allows bootstrapping from openjdk-17
that is present in Focal and Jammy releases. This patch is only
intended for bootstrapping of GA Java 21 build and contains
limitations such as disabled jtreg tests and disabled documentation
package. The full debdiff of bootstrap openjdk-21 package is attached.
The openjdk-21 21~35ea-1ubuntu1~20.04 should be published to focal -proposed and blocked from migration.
The openjdk-21 21~35ea-1ubuntu1~22.04 should be published to jammy -proposed and blocked from migration.
Those builds will allow publishing of the openjdk-21 21+35-X package
once it is available to Jammy and Focal.
Jtreg tests should be disabled for the package due to the large number
of packages that need to be upgraded in order to port jtreg7. This
should be handled as a separate issue.
[Test Plan]
The ppas are set up with security pocket enabled.
PPA: ppa:vpa1977/openjdk-21-jtreg
PPA: ppa:vpa1977/openjdk-21-bootstrapped
The jtreg7 with dependencies, openjdk-21 21~35ea-1ubuntu1~20.04 and
openjdk-21 21~35ea-1ubuntu1~22.04 are published to the PPA[1].
A dependent PPA[2] has openjdk-21 21+35-1 uploaded to focal and Jammy.
Note: final upload needs jtreg tests disabled.
The ppa:vpa1977/openjdk-21-bootstrapped[2] should build and jtreg
tests should pass (see comments).
Packages built in bootstrapped[2] PPA should pass installation tests
(see comments).
[Where problems could occur]
The packages need to be blocked from migration otherwise users will
get an incomplete openjdk-21 package (missing documentation).
The jtreg tests need to be disabled in the archive (either -1ubuntu1
or +35-2 package) as we do not have an official jtreg port yet.
There are no packages in the archive depending on Java 21 (except
openjdk-21 itself).
[1] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21
[2] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-bootstrapped
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2036873/+subscriptions
More information about the foundations-bugs
mailing list