Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 580696 - dev-java/guava java 1.8 support?
Summary: dev-java/guava java 1.8 support?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 809974
Blocks:
  Show dependency tree
 
Reported: 2016-04-21 02:57 UTC by Nathan Dehnel
Modified: 2022-01-19 02:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
guava-13-java8.patch (guava-13-java8.patch,9.29 KB, patch)
2016-11-15 16:18 UTC, Vadim A. Misbakh-Soloviov (mva)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Dehnel 2016-04-21 02:57:33 UTC
The ebuild for guava appears to only list virtual/jdk:1.7 as a dependency.
Comment 1 James Le Cuirot gentoo-dev 2016-04-21 07:20:13 UTC
It only supported building with Java 8 quite recently. Dealing with this is actually high on my TODO list because the older versions are one of the biggest blockers for the removal of Java 7.
Comment 2 Anton Bolshakov 2016-05-23 08:57:58 UTC
changing from "virtual/jdk:1.7" to ">=virtual/jdk-1.7" would be a really good start
There is no reason why jdk8 is not in the list
Comment 3 James Le Cuirot gentoo-dev 2016-05-23 09:09:41 UTC
(In reply to Anton Bolshakov from comment #2)
> changing from "virtual/jdk:1.7" to ">=virtual/jdk-1.7" would be a really
> good start
> There is no reason why jdk8 is not in the list

Right, so I must have imagined this then.

https://github.com/google/guava/issues/635
Comment 4 Anton Bolshakov 2016-05-23 13:13:51 UTC
(In reply to James Le Cuirot from comment #3)
> (In reply to Anton Bolshakov from comment #2)
> > changing from "virtual/jdk:1.7" to ">=virtual/jdk-1.7" would be a really
> > good start
> > There is no reason why jdk8 is not in the list
> 
> Right, so I must have imagined this then.
> 
> https://github.com/google/guava/issues/635

My comment was based googleing. I tried to compile and hit the problem. My apologies for that.

So here is the correct bug report:
https://github.com/google/guava/issues/1738
There were few commitments fixing java 8 problem until two days ago. I guess it should be fixed (will be fixed) soon.
Comment 5 Gleb 2016-10-01 07:13:15 UTC
It seems that it was fixed upstream, the issue is closed now and marked as fixed. Any chances it will appear in portage anytime soon? I'm asking becasue app-text/languagetool depends on Java 8 and Guava itself requires Java 7. So it's big dependencies list just for one package.
Comment 6 James Le Cuirot gentoo-dev 2016-10-01 14:30:53 UTC
I was looking at this recently but some new packages are needed in the tree so it wasn't trivial. I'll try to get back onto it.
Comment 7 James Le Cuirot gentoo-dev 2016-11-05 22:51:00 UTC
20.0 is now in the tree. The revdeps need updating. This may take a while.
Comment 8 Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2016-11-15 16:18:34 UTC
Created attachment 453388 [details, diff]
guava-13-java8.patch

Can you also add 1.8 support to guava:13 too, please?
There is a patch existing for that.

// needed for jython, which is needed for libreoffice
Comment 9 James Le Cuirot gentoo-dev 2016-11-27 23:14:49 UTC
(In reply to Vadim A. Misbakh-Soloviov (mva) from comment #8)
> Created attachment 453388 [details, diff] [details, diff]
> guava-13-java8.patch
> 
> Can you also add 1.8 support to guava:13 too, please?
> There is a patch existing for that.
> 
> // needed for jython, which is needed for libreoffice

No need, guava is quite backwards compatible and I have just revbumped jython. Makes me wonder if it could simply be folded back into SLOT 0 now that it's matured a bit but that's one for another day.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-19 02:38:47 UTC
Fixed by bug 809974, I think.