tarball 2.12.0-RC1 not compilable

71 views
Skip to first unread message

Jörg Plate

unread,
Sep 9, 2016, 1:12:26 PM9/9/16
to scala-user
Hi-ho,

I'm trying to compile 2.12.0-RC1 (but M5 had the same problem).

1> sbt
[...] 
[info] Compiling 14 Scala sources to scala-2.12.0-RC1/project/target/scala-2.10/sbt-0.13/classes...
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: Not a git repository (or any parent up to mount point /home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
java.lang.StringIndexOutOfBoundsException: String index out of range: 7
        at java.lang.String.substring(String.java:1963)
        at VersionUtil$$anonfun$versionPropertiesImpl$1.apply(VersionUtil.scala:81)
        at VersionUtil$$anonfun$versionPropertiesImpl$1.apply(VersionUtil.scala:61)
        at sbt.EvaluateSettings$MixedNode.evaluate0(INode.scala:175)
        at sbt.EvaluateSettings$INode.evaluate(INode.scala:135)
        at sbt.EvaluateSettings$$anonfun$sbt$EvaluateSettings$$submitEvaluate$1.apply$mcV$sp(INode.scala:69)
        at sbt.EvaluateSettings.sbt$EvaluateSettings$$run0(INode.scala:78)
        at sbt.EvaluateSettings$$anon$3.run(INode.scala:74)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
[error] java.lang.StringIndexOutOfBoundsException: String index out of range: 

How can I compile it from the tar-ball?
 

Seth Tisue

unread,
Sep 9, 2016, 1:19:08 PM9/9/16
to scala-user
I've opened https://github.com/scala/scala-dev/issues/220 on this, let's discuss further there.

Seth Tisue / Scala team / Lightbend, Inc.

Jörg Plate

unread,
Sep 14, 2016, 1:16:59 PM9/14/16
to scala-user
I've opened https://github.com/scala/scala-dev/issues/220 on this, let's discuss further there.

There's a workaround over there (faking a git repo). Thanks. 

Oliver Ruebenacker

unread,
Sep 14, 2016, 3:32:00 PM9/14/16
to Jörg Plate, scala-user

     Hello,

  The workaround is actually not faking a Git repo. It simply turns it into a real Git repo.

     Best, Oliver

On Wed, Sep 14, 2016 at 1:16 PM, Jörg Plate <patt...@gmail.com> wrote:
I've opened https://github.com/scala/scala-dev/issues/220 on this, let's discuss further there.

There's a workaround over there (faking a git repo). Thanks. 

--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Oliver Ruebenacker
Senior Software Engineer, Diabetes Portal, Broad Institute

Jörg Plate

unread,
Sep 19, 2016, 4:19:17 PM9/19/16
to scala-user, patt...@gmail.com
  The workaround is actually not faking a Git repo. It simply turns it into a real Git repo.
 
"Fake" is in "isn't really used for anything besides making sbt happy". Or is there actually a real use case for that repository?
Reply all
Reply to author
Forward
0 new messages