#991230 java-package: Builidng on debian bullseye causes 'warning: Compatibility levels before 10 are deprecated (level 9 in use)' in multiple steps

#991230#5
Date:
2021-07-18 04:18:57 UTC
From:
To:
Dear Maintainer,

When running on a Debian 11.0 system the following wearnign are seen durig package build:

user@host:~$ make-jpkg jre-8u291-linux-x64.tar.gz
Creating temporary directory: /tmp/make-jpkg.rolLDD8qxm
Loading plugins: /usr/share/java-package/common.sh /usr/share/java-package/javase.sh /usr/share/java-package/jdk-doc.sh /usr/share/java-package/oracle-jdk-doc.sh /usr/share/java-package/oracle-jdk.sh /usr/share/java-package/oracle-jre.sh /usr/share/java-package/oracle-server-jre.sh

Detected Debian build architecture: amd64
Detected Debian GNU type: x86_64-linux-gnu

Detected product:
    Java(TM) Runtime Environment (JRE)
    Standard Edition, Version 8 Update 291
    Oracle(TM)
Is this correct [Y/n]: y

Checking free diskspace: done.

In the next step, the binary file will be extracted. Probably a
license agreement will be displayed. Please read this agreement
carefully. If you do not agree to the displayed license terms, the
package will not be built.

Press [Return] to continue:




Testing extracted archive... okay.

Create debian package:
dpkg-buildpackage: info: source package oracle-java8-jre
dpkg-buildpackage: info: source version 8u291
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
 debian/rules clean
dh clean
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_clean
dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use)
 debian/rules build
dh build
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_update_autotools_config
 debian/rules binary
dh binary
dh: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_testroot
   dh_prep
   dh_install
dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_installdocs
dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use)
   dh_installchangelogs
   dh_perl
   dh_link

[output truncated]


The bulid completes successfully, and java JRE packages seems to work OK