Subject: openjdk-11-jre-headless: libawt_xawt.so still listed as part of this package instead of openjdk-11-jre
Date: Sun, 25 Apr 2021 22:23:09 +0200
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.
-- System Information:
Debian Release: 10.9
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Acknowledgement sent
to Matthias Klose <[email protected]>:
Extra info received and forwarded to list. Copy sent to OpenJDK Team <[email protected]>.
(Mon, 26 Apr 2021 09:36:29 GMT) (full text, mbox, link).
Subject: Re: Bug#987570: openjdk-11-jre-headless: libawt_xawt.so still listed
as part of this package instead of openjdk-11-jre
Date: Mon, 26 Apr 2021 11:33:41 +0200
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?
Subject: Re: Bug#987570: openjdk-11-jre-headless: libawt_xawt.so still listed
as part of this package instead of openjdk-11-jre
Date: Tue, 27 Apr 2021 22:52:22 +0300
Control: severity -1 serious
On Sun, Apr 25, 2021 at 10:23:09PM +0200, 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.
>
> -- System Information:
> Debian Release: 10.9
> APT prefers stable-updates
> APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
* Move libawt_xawt.so, libjawt.so into the jre package. Closes: #908058.
Such changes should not happen in an update to stable.
cu
Adrian
Subject: Re: Bug#987570: openjdk-11-jre-headless: libawt_xawt.so still listed
as part of this package instead of openjdk-11-jre
Date: Thu, 29 Apr 2021 23:20:13 +0200
On Mon, 26 Apr 2021 11:33:41 +0200 Matthias Klose <[email protected]> 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.
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.