Subject: bug#281: openjdk-8-jre-headless: OpenJDK JRE Headless depends on libcups

From: "B. R." <[email-masked]>
Date: Mon, 14 Jan 2019 19:16:44 +0100

Package: openjdk-8-jre-headless
Version: 8u181-b13-2~deb9u1
Severity: serious

As per https://bugs.archlinux.org/task/27499, it seems OpenJDK JRE binaries dependency on libcups is useless. This is especially worrying for the headless version of it.

This is especially worrying as the libcups2 package depends on libsystemd0, making headless Java binaries enforcing its presence in the end.

-- System Information:
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 9 (Ascii)
Release:	9
Codename:	Ascii

Architecture: x86_64

Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages openjdk-8-jre-headless depends on:
ii  ca-certificates-java  20170531+nmu1
ii  java-common           0.58
ii  libc6                 2.24-11+deb9u3
ii  libcups2              2.2.1-8+deb9u2
ii  libfontconfig1        2.11.0-6.7+b1
ii  libfreetype6          2.6.3-3.2
ii  libgcc1               1:6.3.0-18+deb9u1
ii  libjpeg62-turbo       1:1.5.1-2
ii  liblcms2-2            2.8-4+deb9u1
ii  libnss3               2:3.26.2-1.1+deb9u1
ii  libpcsclite1          1.8.22-1+devuan2
ii  libstdc++6            6.3.0-18+deb9u1
ii  libx11-6              2:1.6.4-3+deb9u1
ii  libxext6              2:1.3.3-1+b2
ii  libxi6                2:1.7.9-1
ii  libxrender1           1:0.9.10-1
ii  libxtst6              2:1.2.3-1
ii  util-linux            2.29.2-1+devuan2.1
ii  zlib1g                1:1.2.8.dfsg-5

openjdk-8-jre-headless recommends no packages.

Versions of packages openjdk-8-jre-headless suggests:
pn  fonts-dejavu-extra    <none>
pn  fonts-indic           <none>
pn  fonts-ipafont-gothic  <none>
pn  fonts-ipafont-mincho  <none>
pn  fonts-wqy-microhei    <none>
pn  fonts-wqy-zenhei      <none>
ii  libnss-mdns           0.10-8

-- no debconf information