← Back to team overview

openjdk team mailing list archive

Bug#887858: openjdk-7: hardcoded Pre-Depends on multiarch-support

 

On 2018-02-26 15:01, Moritz Muehlenhoff wrote:
> On Sat, Jan 20, 2018 at 10:48:30PM +0100, Aurelien Jarno wrote:
> > 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.
> 
> Hi Aurelien,
> the situation of openjdk-7 is somewhat special, it's only in experimental
> and the packages uploaded to experimental are used to prepare the
> openjdk-7 updates in wheezy-security and jessie-security. Given that
> squeeze to wheezy updates are supported, I'm not sure what the best
> course of action is?

Hi,

I got a closer look at openjdk-7. It appears that it doesn't ship any
file in multiarch directories. Therefore the pre-dependency on
multiarch-support is not needed, even in wheezy.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@xxxxxxxxxxx                 http://www.aurel32.net
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 08:12:51.000000000 +0000
+++ openjdk-7-7u161-2.6.12/debian/control	2018-02-27 17:25:44.000000000 +0000
@@ -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}, ${misc:Pre-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/rules openjdk-7-7u161-2.6.12/debian/rules
--- openjdk-7-7u161-2.6.12/debian/rules	2017-12-07 08:12:51.000000000 +0000
+++ openjdk-7-7u161-2.6.12/debian/rules	2018-02-27 17:26:13.000000000 +0000
@@ -727,7 +727,6 @@
 
 ifneq (,$(DEB_HOST_MULTIARCH))
   control_vars += \
-	'-Vmultiarch:Depends=multiarch-support' \
 	'-Vmultiarch:Conflicts=icedtea-netx (<< 1.1.1-2~)'
 endif
 

References