Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 585262 - dev-java/sbt depends on scala-2.10
Summary: dev-java/sbt depends on scala-2.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-07 08:31 UTC by Pavel Kozlov
Modified: 2020-01-12 07:15 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Kozlov 2016-06-07 08:31:02 UTC
sbt-0.13.11 depends on scala-2.10, but works perfectly with scala-2.11.
Comment 1 Pavel Kozlov 2016-06-07 08:48:03 UTC
And also there is no such file https://dev.gentoo.org/~gienah/files/dist/sbt-0.13.11-gentoo-binary.tar.bz2
Comment 2 James Le Cuirot gentoo-dev 2016-06-07 08:48:53 UTC
gienah, this would be a good change to make as 2.11 isn't tied to Java 7. sbt itself does seem tied to Java 7 though. :( I guess it was tested with 8? I hope to push ahead with the Java 7 removal before the end of the year so something needs to happen in this space.
Comment 3 Mark Wright gentoo-dev 2016-06-07 12:05:56 UTC
(In reply to Pavel Kozlov from comment #0)
> sbt-0.13.11 depends on scala-2.10, but works perfectly with scala-2.11.

I do not think that sbt-0.13.11 would compile with scala-2.11.  Which is why
it has DEPEND=">=dev-lang-2.10.6:2.10" where the :2.10 is the slot.

(In reply to Pavel Kozlov from comment #1)
> And also there is no such file
> https://dev.gentoo.org/~gienah/files/dist/sbt-0.13.11-gentoo-binary.tar.bz2

Thanks for reporting that, fixed.

(In reply to James Le Cuirot from comment #2)
> gienah, this would be a good change to make as 2.11 isn't tied to Java 7.
> sbt itself does seem tied to Java 7 though. :( I guess it was tested with 8?

At runtime sbt-0.13.11 seems to work with java 8.

> I hope to push ahead with the Java 7 removal before the end of the year so
> something needs to happen in this space.

Scala upstream have a beta of scala 2.12 that depends on Java 8.  And confusingly sbt upstream have a beta of sbt 1.0 that depends on scala 2.11.8:

https://groups.google.com/forum/#!topic/sbt-dev/X00SU-EZQ4M

sbt upstream say that sbt 1.0 will require java 8.  So I'm hoping that
sbt 1.0 will end up depending on scala 2.12.  But like, they don't say
which scala version they plan to use, even though these scala versions and
which java version they are built with are binary incompatible with each
other:

http://eed3si9n.com/sbt-1-roadmap
Comment 4 Mark Wright gentoo-dev 2016-12-29 05:17:30 UTC
Bumped to sbt-0.13.13 built with >=virtual/jdk-1.8
Comment 5 Mark Wright gentoo-dev 2020-01-12 07:15:36 UTC
Fixed with the bump to dev-java/sbt-0.13.11, and also the fix is in dev-java/sbt-0.13.13