Public bug reported:

How to reproduce:
1) use Ubuntu 24.04
2) install java-package (apt install java-package)
3) download the JDK 8u421 tar.gz archive (from Oracle site)
4) try to build the package but it will fail due to the 'Unmet build 
dependencies: libgl1-mesa-glx'.

I don't know if it is due to the contents of jdk-8u421-linux-x64.tar.gz
or to an issue in the java-package utility.

This is the complete output:
user@user-pc:/tmp$ make-jpkg jdk-8u421-linux-x64.tar.gz
Creating temporary directory: /tmp/make-jpkg.4i10WfZtRP
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) Development Kit (JDK)
    Standard Edition, Version 8 Update 421
    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-jdk
dpkg-buildpackage: info: source version 8u421
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
dpkg-buildpackage: info: host architecture amd64
 dpkg-source --before-build .
dpkg-checkbuilddeps: error: Unmet build dependencies: libgl1-mesa-glx
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

Aborted (-us).

Removing temporary directory: done

** Affects: java-package (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  How to reproduce:
  1) use Ubuntu 24.04
  2) install java-package (apt install java-package)
  3) download the JDK 8u421 tar.gz archive (from Oracle site)
  4) try to build the package but it will fail due to the 'Unmet build 
dependencies: libgl1-mesa-glx'.
  
  I don't know if it is due to the contents of jdk-8u421-linux-x64.tar.gz
  or to an issue in the java-package utility.
  
  This is the complete output:
-  and you will get the following output:
  user@user-pc:/tmp$ make-jpkg jdk-8u421-linux-x64.tar.gz
  Creating temporary directory: /tmp/make-jpkg.4i10WfZtRP
  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) Development Kit (JDK)
-     Standard Edition, Version 8 Update 421
-     Oracle(TM)
+     Java(TM) Development Kit (JDK)
+     Standard Edition, Version 8 Update 421
+     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-jdk
  dpkg-buildpackage: info: source version 8u421
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Debian Java Maintainers 
<pkg-java-maintain...@lists.alioth.debian.org>
  dpkg-buildpackage: info: host architecture amd64
-  dpkg-source --before-build .
+  dpkg-source --before-build .
  dpkg-checkbuilddeps: error: Unmet build dependencies: libgl1-mesa-glx
  dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
  dpkg-buildpackage: warning: (Use -d flag to override.)
  
  Aborted (-us).
  
  Removing temporary directory: done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091881

Title:
  Missing dependancy building package for Oracle JDK 8

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/java-package/+bug/2091881/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to