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

Emmanuel Bourg ebourg at apache.org
Sat May 9 22:31:33 BST 2020


Le 09/05/2020 à 22:33, Olek Wojnar a écrit :

> 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.

Indeed, GraphBuilder was added to Guava 20, and Streams to Guava 21.
Thank you for checking.


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

Yes, I was waiting for your confirmation before uploading to unstable.


> 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.

Yes it's possible for Java libraries and we do it sometimes. Uploading a
libguava19-java package is an option, but that might not be necessary
since I've patched Guava 29 to preserve the backward compatibility. I
think I've fixed most (and hopefully all) of the regressions reported by
ratt.

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list