Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671072 - dev-java/sbt-0.13.13 fails to compile, missing ${SV}
Summary: dev-java/sbt-0.13.13 fails to compile, missing ${SV}
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-13 12:17 UTC by Maxim Buzdalov
Modified: 2022-11-26 07:09 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,5.67 KB, text/plain)
2018-11-13 12:17 UTC, Maxim Buzdalov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Buzdalov 2018-11-13 12:17:22 UTC
Created attachment 555006 [details]
emerge --info

The current version of the ebuild for SBT depends on "just Scala".

It does not compile, and the reason for that is that the variable ${SV}, which shall denote the Scala version to use, seems to be undefined. As a result, there are the following lines in the patched build.sbt:

def commonSettings: Seq[Setting[_]] = Seq(
  scalaVersion := scala,
  scalaHome := Some(file("/usr/share/scala-")),

and everything fails. The state of installed Scala versions is:

$ sudo eselect scala list
Available Scala profiles:
  [1]   scala-2.12 *
Comment 1 cono 2019-11-19 09:32:36 UTC
Having same issue here
Comment 2 Larry the Git Cow gentoo-dev 2020-01-14 12:15:18 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4bb562edb2cd65b3ef6b642d147b48c1673869

commit 6f4bb562edb2cd65b3ef6b642d147b48c1673869
Author:     Mark Wright <gienah@gentoo.org>
AuthorDate: 2020-01-14 12:11:08 +0000
Commit:     Mark Wright <gienah@gentoo.org>
CommitDate: 2020-01-14 12:11:08 +0000

    dev-java/sbt: Bump to 0.13.18, fix bugs #671072 #671284
    
    Thanks to Maxim Buzdalov and cono for reporting bug #671072, this
    is fixed in 0.13.18.
    
    Thanks to Till Schafer and Martin von Gagern for reporting
    bug #671284, this is also fixed in 0.13.18.
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=671072
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=671284
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Mark Wright <gienah@gentoo.org>

 dev-java/sbt/Manifest           |   5 ++
 dev-java/sbt/sbt-0.13.18.ebuild | 144 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 149 insertions(+)