← Back to team overview

openjdk team mailing list archive

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

 

** Changed in: openjdk-lts (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released

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



References