Bug#1076752: openjdk-8 fails to build in Ubuntu oracular
Vladimir Petko
vpa1977 at gmail.com
Tue Jul 23 00:43:12 BST 2024
Package: openjdk-8
Version: 8u422-b05-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oracular ubuntu-patch
Dear Maintainer,
Due to dpkg changes in oracular[1] a number of packages fail to build due to
undefined variables.
In Ubuntu, the attached patch was applied to achieve the following:
* d/rules: Include /usr/share/dpkg/buildflags.mk to avoid configure
failure due to the undefined variables (LP: #2073806).
Thanks for considering the patch.
[1] https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2071468
-- System Information:
Debian Release: trixie/sid
APT prefers noble-updates
APT policy: (500, 'noble-updates'), (500, 'noble-security'), (500, 'noble'), (100, 'noble-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.8.0-38-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-------------- next part --------------
diff -Nru openjdk-8-8u422-b05/debian/rules openjdk-8-8u422-b05/debian/rules
--- openjdk-8-8u422-b05/debian/rules 2024-07-20 11:34:18.000000000 +1200
+++ openjdk-8-8u422-b05/debian/rules 2024-07-23 11:17:18.000000000 +1200
@@ -4,6 +4,8 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+include /usr/share/dpkg/buildflags.mk
+
unexport LANG
export LC_ALL=C
unexport LANGUAGE
More information about the pkg-java-maintainers
mailing list