Unable to build openjdk-lts in lunar

Bug #2001559 reported by Vladimir Petko
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-lts (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When building openjdk-lts in lunar a following error occurs:

```
dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
 debian/rules binary
jtreg_version="$(dpkg-query -f '${Version}\n' -W )"; \
if ! dpkg --compare-versions 6+1-0~ le $jtreg_version; then \
  echo "Error: testsuite requires 6+1-0~ but $jtreg_version is installed"; \
  echo "Please update the dependency and regenerate debian/control"; \
  false; \
fi
dpkg: error: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
Error: testsuite requires 6+1-0~ but 3.121ubuntu1

```

This is caused by missing `lunar` distribution when selecting jtreg package version.

Related branches

Revision history for this message
Vladimir Petko (vpa1977) wrote :
Vladimir Petko (vpa1977)
tags: added: fr-3141
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "add lunar to jtreg selection" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Vladimir Petko (vpa1977)
Changed in openjdk-lts (Ubuntu):
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.