← Back to team overview

openjdk team mailing list archive

[Bug 2001559] [NEW] Unable to build openjdk-lts in lunar

 

Public bug reported:

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.

** Affects: openjdk-lts (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: lunar

** Patch added: "add lunar to jtreg selection"
   https://bugs.launchpad.net/bugs/2001559/+attachment/5639002/+files/openjdk-11-jtreg-distro.patch

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-lts in Ubuntu.
https://bugs.launchpad.net/bugs/2001559

Title:
  Unable to build openjdk-lts in lunar

Status in openjdk-lts package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-lts/+bug/2001559/+subscriptions



Follow ups