#987570 openjdk-11-jre-headless: libawt_xawt.so still listed as part of this package instead of openjdk-11-jre

Package:
openjdk-11-jre-headless
Source:
openjdk-11
Description:
OpenJDK Java runtime, using Hotspot JIT (headless)
Submitter:
GuyXY
Date:
2021-05-29 20:42:05 UTC
Severity:
serious
#987570#5
Date:
2021-04-25 20:23:09 UTC
From:
To:
After installing the latest security updates, davmail stopped working.
I looked into it and found out, that it required the file '/usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so' which was now missing even tho it's supposed to be installed as part of the openjdk-11-jre-headless package, which is installed as one of davmail's dependencies.

I asked for help in the #debian IRC channel, and we came to the conclusion that the file has been moved to the openjdk-11-jre package.
The package content list do not reflect those changes yet. Please adjust the list of the package contents for openjdk-11-jre-headless and openjdk-11-jre in Buster to avoid further confusion.

PS: It may also be a good idea to change the dependency from davmail from openjdk-11-jre-headless to openjdk-11-jre as well or add it as a recommended or at least suggested package.

#987570#10
Date:
2021-04-26 09:33:41 UTC
From:
To:
Control: clone -1 -2
Control: reassign -2 src:davmail

Right, I'm curious which component needs libawt_xawt.so.  The package already
lists libswt-gtk2-4-jni, libswt-cairo-gtk-4-jni, libopenjfx-java as suggestions,
so maybe these should be upgraded to recommendations as well?  Or is it possible
to split out the UI components into a separate package?

#987570#17
Date:
2021-04-27 19:52:22 UTC
From:
To:
Control: severity -1 serious


   * Move libawt_xawt.so, libjawt.so into the jre package. Closes: #908058.

Such changes should not happen in an update to stable.


cu
Adrian

#987570#24
Date:
2021-04-29 21:20:13 UTC
From:
To:
On Mon, 26 Apr 2021 11:33:41 +0200 Matthias Klose <doko@debian.org> wrote:
 > Control: clone -1 -2
 > Control: reassign -2 src:davmail
 >
 > On 4/25/21 10:23 PM, GuyXY wrote:
 > > Package: openjdk-11-jre-headless
 > > Severity: important
 > >
 > > After installing the latest security updates, davmail stopped working.
 > > I looked into it and found out, that it required the file
'/usr/lib/jvm/java-11-openjdk-amd64/lib/libawt_xawt.so' which was now
missing even tho it's supposed to be installed as part of the
openjdk-11-jre-headless package, which is installed as one of davmail's
dependencies.
 > >
 > > I asked for help in the #debian IRC channel, and we came to the
conclusion that the file has been moved to the openjdk-11-jre package.
 > > The package content list do not reflect those changes yet. Please
adjust the list of the package contents for openjdk-11-jre-headless and
openjdk-11-jre in Buster to avoid further confusion.
 > >
 > > PS: It may also be a good idea to change the dependency from
davmail from openjdk-11-jre-headless to openjdk-11-jre as well or add it
as a recommended or at least suggested package.
 >
 > Right, I'm curious which component needs libawt_xawt.so. The package
already
 > lists libswt-gtk2-4-jni, libswt-cairo-gtk-4-jni, libopenjfx-java as
suggestions,
 > so maybe these should be upgraded to recommendations as well? Or is
it possible
 > to split out the UI components into a separate package?

Well, if you are forced to use 2FA with Office365 (like I am), davmail
will open a window that asks you for the verification sms, otp code or
similar.
I do not have libswt-gtk2-4-jni or libswt-cairo-gtk-4-jni installed, so
those are not required for that. Therefore I do not think that those
should be promoted to "recommended".
When I try to remove libopenjfx-java however, it tells me that it's
going to remove the packages davmail and libopenjfx-jni as well, so I
guess libopenjfx-java already is a hard requirement somewhere in
davmail's dependency tree.
Granted, if you use 2FA and need to have an X-Server running on your
server because of that, it's not exactly headless anymore... I still
think making openjdk-11-jre a recommended or at least a suggested
dependency would be a good idea because of it.
Not sure how much effort it would be to split davmail like that or if it
would be a good idea.