jtreg7: vendor dependencies and repack original tarball

Note: I have not imported the repacked sources since we may make changes to the exclusions in the d/copyright.

This MR addresses 1068629

Changes:

  • vendor jtreg7 dependencies (and required transitive dependencies) to allow publishing to backports.

Approach:

  • create component subdirectories, e.g. debian/jline3 that contain rules (d/rules, d/maven.rules, d/maven.ignoreRules) required to build the package. Rules are copied from each corresponding package (e.g. jline3).
  • using scripts in debian/components-scripts populate the package file structure for each component and build them.
  • build jtreg7 package itself using the vendored dependencies.

PPA build: ppa:vpa1977/bootstrap-openjdk-lts - jtreg7

Testing:

  • rebuild in sid, bookworm, bullseye chroots.
  • rebuild openjdk-21 in sid chroot using the vendored package
  • run jtreg tests for openjdk-21 in ppa[1]

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-rebuild/+packages

Edited by Vladimir Petko

Merge request reports

Loading