[Bug 2036873] Re: [WIP] Provide a bootstrapping build for Java 21 GA in focal and mantic -proposed.

Vladimir Petko 2036873 at bugs.launchpad.net
Mon Sep 25 21:20:29 UTC 2023


Note: following files are left on system:
  /etc/timezone	 not owned
  /usr/local/share/fonts/	 not owned
  /usr/local/share/fonts/.uuid	 not owned
  /usr/share/fonts/	 owned by: fonts-dejavu-core
  /usr/share/fonts/.uuid	 not owned
  /usr/share/fonts/truetype/	 owned by: fonts-dejavu-core
  /usr/share/fonts/truetype/.uuid	 not owned
  /usr/share/fonts/truetype/dejavu/	 owned by: fonts-dejavu-core
  /usr/share/fonts/truetype/dejavu/.uuid	 not owned


** Attachment added: "piuparts-jammy.log"
   https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2036873/+attachment/5704380/+files/piuparts-jammy.log

** Description changed:

  [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-1~20.04 and
  21+35-1~22.04 packages.
  
  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 [1]. This
  should be handled as a separate issue.
  
  The bootstrap openjdk is built for all architectures in
  ppa:openjdk-r/ppa[2]
  
  [Test Plan]
  
  The ppas are set up with security pocket enabled.
  
  PPA: ppa:vpa1977/openjdk-21-jtreg7[1]
  PPA: ppa:vpa1977/openjdk-21-rebuild[3]
  PPA: ppa:vpa1977/openjdk-21-notests [4]
  
  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.
+ A dependent PPA[2] has openjdk-21 21+35-1 published in Focal and Jammy.
  
  A PPA with versions that should be uploaded[4] has openjdk-21 with jtreg
  tests disabled.
  
  The ppa:vpa1977/openjdk-21-bootstrapped[2] should build and jtreg tests
  should pass (see comments).
  
- Packages built with tests disabled[4] should pass installation tests.
- 
+ Packages built with tests disabled[4] should pass installation tests
+ (see piuparts attachments).
  
  [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 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-jtreg7
  [2] https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa
  [3] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-rebuild
  [4] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-notests

** Also affects: openjdk-21 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: openjdk-21 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Tags added: block-proposed-focal block-proposed-jammy

-- 
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:
  [SRU] Please provide openjdk-21 for focal and jammy

Status in openjdk-21 package in Ubuntu:
  New
Status in openjdk-21 source package in Focal:
  New
Status in openjdk-21 source package in Jammy:
  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-1~20.04 and
  21+35-1~22.04 packages.

  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 [1]. This
  should be handled as a separate issue.

  The bootstrap openjdk is built for all architectures in
  ppa:openjdk-r/ppa[2]

  [Test Plan]

  The ppas are set up with security pocket enabled.

  PPA: ppa:vpa1977/openjdk-21-jtreg7[1]
  PPA: ppa:vpa1977/openjdk-21-rebuild[3]
  PPA: ppa:vpa1977/openjdk-21-notests [4]

  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 published in Focal and
  Jammy.

  A PPA with versions that should be uploaded[4] has openjdk-21 with
  jtreg tests disabled.

  The ppa:vpa1977/openjdk-21-bootstrapped[2] should build and jtreg
  tests should pass (see comments).

  Packages built with tests disabled[4] should pass installation tests
  (see piuparts attachments).

  [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 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-jtreg7
  [2] https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa
  [3] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-rebuild
  [4] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-notests

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