openjdk team mailing list archive
-
openjdk team
-
Mailing list archive
-
Message #12804
Bug#887858: openjdk-7: hardcoded Pre-Depends on multiarch-support
Source: openjdk-7
Version: 7u161-2.6.12-1
Severity: normal
Tags: experimental patch
User: debian-glibc@xxxxxxxxxxxxxxxx
Usertags: multiarch-support-removal
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
diff -Nru openjdk-7-7u161-2.6.12/debian/control openjdk-7-7u161-2.6.12/debian/control
--- openjdk-7-7u161-2.6.12/debian/control 2017-12-07 09:12:51.000000000 +0100
+++ openjdk-7-7u161-2.6.12/debian/control 2018-01-20 22:46:34.000000000 +0100
@@ -39,7 +39,7 @@
Package: openjdk-7-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}, ${shlibs:Depends}, ${misc:Depends}
Recommends: ${dlopenhl:Recommends}, ${jamvm:Recommends}
Suggests: ${jamvm:Suggests}, libnss-mdns, sun-java6-fonts, fonts-dejavu-extra, fonts-ipafont-gothic, fonts-ipafont-mincho, fonts-wqy-microhei, fonts-wqy-zenhei, fonts-indic,
diff -Nru openjdk-7-7u161-2.6.12/debian/control.in openjdk-7-7u161-2.6.12/debian/control.in
--- openjdk-7-7u161-2.6.12/debian/control.in 2017-12-07 09:12:51.000000000 +0100
+++ openjdk-7-7u161-2.6.12/debian/control.in 2018-01-20 22:46:34.000000000 +0100
@@ -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}, ${tzdata:Depends}, ${jcommon:Depends}, ${dlopenhl:Depends}, ${mountpoint:Depends}, ${shlibs:Depends}, ${misc:Depends}
Recommends: ${dlopenhl:Recommends}, ${jamvm:Recommends}
Suggests: ${jamvm:Suggests}, libnss-mdns, sun-java6-fonts, @core_fonts@, @cjk_fonts@
diff -Nru openjdk-7-7u161-2.6.12/debian/rules openjdk-7-7u161-2.6.12/debian/rules
--- openjdk-7-7u161-2.6.12/debian/rules 2017-12-07 09:12:51.000000000 +0100
+++ openjdk-7-7u161-2.6.12/debian/rules 2018-01-20 22:46:34.000000000 +0100
@@ -727,7 +727,6 @@
ifneq (,$(DEB_HOST_MULTIARCH))
control_vars += \
- '-Vmultiarch:Depends=multiarch-support' \
'-Vmultiarch:Conflicts=icedtea-netx (<< 1.1.1-2~)'
endif