openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12518
Bug#870520: openjdk-8: hardcoded Pre-Depends on multiarch-support
Source: openjdk-8
Version: 8u141-b15-3
Severity: normal
Tags: sid buster patch
User: debian-glibc@xxxxxxxxxxxxxxxx
Usertags: multiarch-support-removal
Dear Maintainer,
The multiarch-support package has been introduced with squeeze so that
packages using the multiarch libraries can Pre-Depends on it to make
sure the multiarch path ares supported by the dynamic linker. As
dist-upgrades from such a distant release are not supported, the
Pre-Depends can now be dropped and then the package removed from the
archive.
Most of the packages added this Pre-Depends through debhelper and the
misc:Pre-Depends substvar, so a change in debhelper [1] was enough to
get rid of it. However it appears that your package uses a hardcoded
Pre-Depends, thus it needs to be removed manually. You will find a
patch attached to do so.
Please apply it as soon as possible as the multiarch-support package
will be removed from the archive for buster. Failing to do so will
therefore make your package uninstallable. In case you don't have
time to do so, don't hesitate to ask for a NMU.
Thanks,
Aurelien
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783898
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.11.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru openjdk-8-8u141-b15/debian/control openjdk-8-8u141-b15/debian/control
--- openjdk-8-8u141-b15/debian/control 2017-07-25 12:24:29.000000000 +0000
+++ openjdk-8-8u141-b15/debian/control 2017-08-02 18:23:02.000000000 +0000
@@ -42,7 +42,7 @@
Package: openjdk-8-jre-headless
Architecture: alpha amd64 armel armhf arm64 i386 ia64 mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el m68k sh4 sparc sparc64 s390x x32 kfreebsd-i386 kfreebsd-amd64
Multi-Arch: same
-Pre-Depends: ${dpkg:Depends}, ${multiarch:Depends}
+Pre-Depends: ${dpkg:Depends}
Depends: ${jredefault:Depends}, ${cacert:Depends},
${tzdata:Depends}, ${jcommon:Depends}, ${dlopenhl:Depends},
${mountpoint:Depends},
diff -Nru openjdk-8-8u141-b15/debian/control.in openjdk-8-8u141-b15/debian/control.in
--- openjdk-8-8u141-b15/debian/control.in 2017-07-21 12:22:51.000000000 +0000
+++ openjdk-8-8u141-b15/debian/control.in 2017-08-02 18:22:58.000000000 +0000
@@ -42,7 +42,7 @@
Package: @basename@-jre-headless
Architecture: @any_archs@
Multi-Arch: same
-Pre-Depends: ${dpkg:Depends}, ${multiarch:Depends}
+Pre-Depends: ${dpkg:Depends}
Depends: ${jredefault:Depends}, ${cacert:Depends},
${tzdata:Depends}, ${jcommon:Depends}, ${dlopenhl:Depends},
${mountpoint:Depends},
diff -Nru openjdk-8-8u141-b15/debian/rules openjdk-8-8u141-b15/debian/rules
--- openjdk-8-8u141-b15/debian/rules 2017-07-25 12:24:23.000000000 +0000
+++ openjdk-8-8u141-b15/debian/rules 2017-08-02 18:23:05.000000000 +0000
@@ -837,11 +837,6 @@
'-Vpkg:pulseaudio=$(pkg_pulseaudio)' \
'-Vxulrunner:Depends=$(xulrunner_depends)' \
-ifneq (,$(DEB_HOST_MULTIARCH))
- control_vars += \
- '-Vmultiarch:Depends=multiarch-support'
-endif
-
ifneq (,$(filter $(DEB_HOST_ARCH),$(jamvm_archs)))
ifneq (,$(filter $(DEB_HOST_ARCH),$(jamvm_defaults)))
control_vars += '-Vjredefault:Depends=$(p_jrej) (= $${binary:Version})'