openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12519
Bug#870521: openjdk-9: hardcoded Pre-Depends on multiarch-support
Source: openjdk-9
Version: 9~b179-2
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-9-9~b179/debian/control.in openjdk-9-9~b179/debian/control.in
--- openjdk-9-9~b179/debian/control.in 2017-02-04 09:42:00.000000000 +0000
+++ openjdk-9-9~b179/debian/control.in 2017-08-02 18:26:24.000000000 +0000
@@ -39,7 +39,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},
${jcommon:Depends}, ${dlopenhl:Depends},
${mountpoint:Depends},
diff -Nru openjdk-9-9~b179/debian/rules openjdk-9-9~b179/debian/rules
--- openjdk-9-9~b179/debian/rules 2017-07-24 11:20:07.000000000 +0000
+++ openjdk-9-9~b179/debian/rules 2017-08-02 18:25:30.000000000 +0000
@@ -827,11 +827,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})'