Apache Spark Build error
<p>I'm building Apache spark source code in ubuntu 14.04.4 (spark version: 1.6.0 with Scala code runner version 2.10.4) with command </p>

<blockquote>
  <p>sudo sbt/sbt assembly </p>
</blockquote>

<p>and getting the following error,</p>

<blockquote>
  <p>[warn]   def deleteRecursively(dir: TachyonFile, client: TachyonFS) {
  <br/>[warn]                                                   ^
  <br/>[error]  <br/>[error]      while compiling:
  /home/ashish/spark-apps/spark-1.6.1/core/src/main/scala/org/apache/spark/util/random/package.scala
  <br/>[error]         during phase: jvm <br/>[error]      library
  version: version 2.10.5 <br/>[error]     compiler version: version
  2.10.5 <br/>[error]   reconstructed args: -deprecation -Xplugin:/home/ashish/.ivy2/cache/org.spark-project/genjavadoc-plugin_2.10.5/jars/genjavadoc-plugin_2.10.5-0.9-spark0.jar
  -feature -P:genjavadoc:out=/home/ashish/spark-apps/spark-1.6.1/core/target/java -classpath /home/ashish/spark-apps/spark-1.6.1/core/target/scala-2.10/classes:/home/ashish/spark-apps/spark-1.6.1/launcher/target/scala-2.10/classes:/home/ashish/spark-apps/spark-1.6.1/network/common/target/scala-2.10/classes:/home/ashish/spark-apps/spark-1.6.1/network/shuffle/target/scala-2.10/classes:/home/ashish/spark-apps/spark-1.6.1/unsafe/target/scala-2.10/classes:/home/ashish/.ivy2/cache/org.spark-project.spark/unused/jars/unused-1.0.0.jar:/home/ashish/.ivy2/cache/com.google.guava/guava/bundles/guava-14.0.1.jar:/home/ashish/.ivy2/cache/io.netty/netty-all/jars/netty-all-4.0.29.Final.jar:/home/ashish/.ivy2/cache/org.fusesource.leveldbjni/leveldbjni-all/bundles/leveldbjni-all-1.8.jar:/home/ashish/.ivy2/cache/com.fasterxml.jackson.core/jackson-databind/bundles/jackson-databind-2.4.4.jar:/home/ashish/.ivy2/cache/com.fasterxml.jackson.core/jackson-annotations/bundles/jackson-annotations-2.4.4.jar:/home/ashish/.ivy2/cache/com.fasterxml.jackson.core/jackson-core/bundles/jackson-......and
  many other jars...</p>
  
  <p><br/><br/>[error]  <br/>[error]   last tree to typer:
  Literal(Constant(collection.mutable.Map)) <br/>[error]<br>
  symbol: null <br/>[error]    symbol definition: null <br/>[error]<br>
  tpe: Class(classOf[scala.collection.mutable.Map]) <br/>[error]<br>
  symbol owners:  <br/>[error]       context owners: package package ->
  package random <br/>[error]  <br/>[error] == Enclosing template or
  block == <br/>[error]  <br/>[error] Template( // val :
   in package random,
  tree.tpe=org.apache.spark.util.random.package.type <br/>[error]<br>
  "java.lang.Object" // parents <br/>[error]   ValDef( <br/>[error]<br>
  private <br/>[error]     "_" <br/>[error]      <br/>[error]<br>
   <br/>[error]   ) <br/>[error]   DefDef( // def ():
  org.apache.spark.util.random.package.type in package random
  <br/>[error]      <br/>[error]     "" <br/>[error]<br>
  [] <br/>[error]     List(Nil) <br/>[error]      //
  tree.tpe=org.apache.spark.util.random.package.type <br/>[error]<br>
  Block( // tree.tpe=Unit <br/>[error]       Apply( // def ():
  Object in class Object, tree.tpe=Object <br/>[error]<br>
  <code>package</code>.super."" // def (): Object in class Object,
  tree.tpe=()Object <br/>[error]         Nil <br/>[error]       )
  <br/>[error]       () <br/>[error]     ) <br/>[error]   ) <br/>[error]
  ) <br/>[error]  <br/>[error] == Expanded type of tree == <br/>[error] 
  <br/>[error] ConstantType(value = Constant(collection.mutable.Map))
  <br/>[error]  <br/>[error] uncaught exception during compilation:
  java.io.IOException <br/>[error] File name too long <br/>[warn] 45
  warnings found <br/>[error] two errors found <br/>[error]
  (core/compile:compile) Compilation failed <br/>[error] Total time:
  5598 s, completed 5 Apr, 2016 9:06:50 AM</p>
</blockquote>

<p><br/><br/>Where I'm getting wrong?</p>