Bug#959113: guava-libraries: Please update to recent upstream (v25.1 or later)

Olek Wojnar olek at debian.org
Sat May 9 21:33:47 BST 2020


Hi Emmanuel,

On Tue, May 5, 2020 at 7:22 PM Emmanuel Bourg <ebourg at apache.org> wrote:

> Le 05/05/2020 à 05:59, Olek Wojnar a écrit :
>
> > However, I will attempt to build with v19 once we get to that point.
> > That will hopefully be within the next week or two. If I obtain any
> > useful information, I will let you know on this bug report.
>

Ok, update. I can confirm that Bazel does not build with Guava v19. [1] It
looks like `com.google.common.graph.GraphBuilder` is missing, along with
other classes.


> Thank you. Guava is a troublesome library to upgrade, it's a core
> library used by many projects, but upstream doesn't take binary
> compatibility seriously and frequently removes classes/methods. This is
> a recurrent source of regression on upgrades. So if the upgrade isn't
> absolutely required it's preferable to stick to the current version.
>

Ugh, that *does* sound like quite the pain. I can definitely understand
your preference to stick with something that you know works.

That said, I've uploaded the version 23.6.1 to experimental, and the
> version 29.0 should follow soon. So if it doesn't work with Guava 19 you
> can try with the recent releases.
>

Great, thanks! I'll try those! Are you planning to migrate either to
unstable in the near future?

Also, is it possible to concurrently install multiple versions of guava
like we do with some C++ libraries? Sorry if that's a naive question but
I'm not exactly an expert with Java and how we package it in Debian. I know
I've had similar issues in the past with C++ libraries and solved them by
packaging both versions so that I was breaking neither old nor new packages
that depended on them. Then again, I'm not sure if it's practical to do
that with Java.

Please let me know if there's anything else that I can do to help with this!

-Olek

[1] http://paste.debian.net/1145912/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20200509/ac343b51/attachment-0001.html>


More information about the pkg-java-maintainers mailing list