Home Forums Kamanja Forums Problems & Solutions compiling Kamanja latest source from /dev branch

This topic contains 2 replies, has 2 voices, and was last updated by  Khaled Gharaibeh 1 year, 2 months ago.

  • Author
    Posts
  • #18470 Reply

    Khaled Gharaibeh
    Participant

    Dear Kamanja team,

    I pulled the latest source from kamanja repo on github, branch: dev

    I am using the following system specs:

    OS: Fedora 23 workstation, 64bit

    sbt version: 0.13.9

    jdk: openJDK 1.8

    I ran “sbt clean compile” from /trunk directory. and I got an “uncaught exception” as in the below stack:

    [kgharaibeh@localhost trunk]$ sbt clean compile

    [info] Loading global plugins from /home/kgharaibeh/.sbt/0.13/plugins

    [info] Loading project definition from /home/kgharaibeh/Kamanja/trunk/project

    [info] Compiling 2 Scala sources to /home/kgharaibeh/Kamanja/trunk/project/target/scala-2.10/sbt-0.13/classes…

    [error]

    [error]      while compiling: /home/kgharaibeh/Kamanja/trunk/project/TestConfigs.scala

    [error]         during phase: wartremover-traverser

    [error]      library version: version 2.10.4

    [error]     compiler version: version 2.10.4

    [error]   reconstructed args: -Xplugin:/home/kgharaibeh/.ivy2/cache/org.brianmckenna/wartremover_2.10/jars/wartremover_2.10-0.14.jar -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Nothing -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Any -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Return -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Throw -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Var -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Product -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Serializable -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.ToString -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.TryPartial -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.OptionPartial -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Option2Iterable -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.NonUnitStatements -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.NoNeedForMonad -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.MutableDataStructures -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.ListOps -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.JavaConversions -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.IsInstanceOf -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.FinalCaseClass -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.ExplicitImplicitTypes -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Enumeration -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.EitherProjectionPartial -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.DefaultArguments -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.AsInstanceOf -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Any2StringAdd -P:wartremover:only-warn-traverser:org.brianmckenna.wartremover.warts.Null -classpath /home/kgharaibeh/Kamanja/trunk/project/target/scala-2.10/sbt-0.13/classes:/home/kgharaibeh/.sbt/0.13/plugins/target/scala-2.10/sbt-0.13/classes:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/org.brianmckenna/sbt-wartremover/jars/sbt-wartremover-0.14.jar:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/org.scoverage/sbt-scoverage/jars/sbt-scoverage-1.3.5.jar:/home/kgharaibeh/.ivy2/cache/org.scoverage/scalac-scoverage-plugin_2.10/jars/scalac-scoverage-plugin_2.10-1.1.1.jar:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/com.typesafe.sbteclipse/sbteclipse-plugin/jars/sbteclipse-plugin-2.5.0.jar:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/com.typesafe.sbteclipse/sbteclipse-core/jars/sbteclipse-core-2.5.0.jar:/home/kgharaibeh/.ivy2/cache/org.scalaz/scalaz-core_2.10/bundles/scalaz-core_2.10-7.0.2.jar:/home/kgharaibeh/.ivy2/cache/org.scalaz/scalaz-effect_2.10/bundles/scalaz-effect_2.10-7.0.2.jar:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/com.orrsella/sbt-sublime/jars/sbt-sublime-1.0.9.jar:/home/kgharaibeh/.ivy2/cache/org.json4s/json4s-native_2.10/jars/json4s-native_2.10-3.2.5.jar:/home/kgharaibeh/.ivy2/cache/org.scala-lang/scalap/jars/scalap-2.10.0.jar:/home/kgharaibeh/.sbt/boot/scala-2.10.4/lib/scala-compiler.jar:/home/kgharaibeh/.sbt/boot/scala-2.10.4/lib/scala-reflect.jar:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/com.eed3si9n/sbt-assembly/jars/sbt-assembly-0.14.1.jar:/home/kgharaibeh/.ivy2/cache/org.scalactic/scalactic_2.10/bundles/scalactic_2.10-2.2.1.jar:/home/kgharaibeh/.ivy2/cache/org.pantsbuild/jarjar/jars/jarjar-1.6.0.jar:/home/kgharaibeh/.ivy2/cache/org.apache.ant/ant/jars/ant-1.9.6.jar:/home/kgharaibeh/.ivy2/cache/org.apache.ant/ant-launcher/jars/ant-launcher-1.9.6.jar:/home/kgharaibeh/.ivy2/cache/org.ow2.asm/asm/jars/asm-5.0.4.jar:/home/kgharaibeh/.ivy2/cache/org.ow2.asm/asm-commons/jars/asm-commons-5.0.4.jar:/home/kgharaibeh/.ivy2/cache/org.ow2.asm/asm-tree/jars/asm-tree-5.0.4.jar:/home/kgharaibeh/.ivy2/cache/org.apache.maven/maven-plugin-api/jars/maven-plugin-api-3.3.3.jar:/home/kgharaibeh/.ivy2/cache/org.apache.maven/maven-model/jars/maven-model-3.3.3.jar:/home/kgharaibeh/.ivy2/cache/org.codehaus.plexus/plexus-utils/jars/plexus-utils-3.0.20.jar:/home/kgharaibeh/.ivy2/cache/org.apache.maven/maven-artifact/jars/maven-artifact-3.3.3.jar:/home/kgharaibeh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.plexus/eclipse-plugins/org.eclipse.sisu.plexus-0.3.0.jar:/home/kgharaibeh/.ivy2/cache/javax.enterprise/cdi-api/jars/cdi-api-1.0.jar:/home/kgharaibeh/.ivy2/cache/javax.annotation/jsr250-api/jars/jsr250-api-1.0.jar:/home/kgharaibeh/.ivy2/cache/javax.inject/javax.inject/jars/javax.inject-1.jar:/home/kgharaibeh/.ivy2/cache/org.eclipse.sisu/org.eclipse.sisu.inject/eclipse-plugins/org.eclipse.sisu.inject-0.3.0.jar:/home/kgharaibeh/.ivy2/cache/org.codehaus.plexus/plexus-component-annotations/jars/plexus-component-annotations-1.5.5.jar:/home/kgharaibeh/.ivy2/cache/org.codehaus.plexus/plexus-classworlds/bundles/plexus-classworlds-2.5.2.jar:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/net.virtual-void/sbt-dependency-graph/jars/sbt-dependency-graph-0.7.4.jar:/home/kgharaibeh/.ivy2/cache/com.github.mdr/ascii-graphs_2.10/jars/ascii-graphs_2.10-0.0.3.jar:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/org.xerial.sbt/sbt-pack/jars/sbt-pack-0.6.2.jar:/home/kgharaibeh/.ivy2/cache/org.fusesource.scalate/scalate-core_2.10/bundles/scalate-core_2.10-1.6.1.jar:/home/kgharaibeh/.ivy2/cache/org.fusesource.scalate/scalate-util_2.10/bundles/scalate-util_2.10-1.6.1.jar:/home/kgharaibeh/.ivy2/cache/org.kamranzafar/jtar/jars/jtar-2.2.jar:/home/kgharaibeh/.ivy2/cache/org.slf4j/slf4j-nop/jars/slf4j-nop-1.7.5.jar:/home/kgharaibeh/.ivy2/cache/org.slf4j/slf4j-api/jars/slf4j-api-1.7.5.jar:/home/kgharaibeh/.ivy2/cache/scala_2.10/sbt_0.13/com.eed3si9n/sbt-unidoc/jars/sbt-unidoc-0.3.3.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/sbt/jars/sbt-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/main/jars/main-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/actions/jars/actions-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/classpath/jars/classpath-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/interface/jars/interface-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/io/jars/io-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/control/jars/control-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/launcher-interface/jars/launcher-interface-1.0.0-M1.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/completion/jars/completion-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/collections/jars/collections-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/jline/jline/jars/jline-2.11.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/api/jars/api-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/compiler-integration/jars/compiler-integration-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/incremental-compiler/jars/incremental-compiler-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/logging/jars/logging-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/process/jars/process-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/relation/jars/relation-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/compile/jars/compile-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/classfile/jars/classfile-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/persist/jars/persist-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-tools.sbinary/sbinary_2.10/jars/sbinary_2.10-0.4.2.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/compiler-ivy-integration/jars/compiler-ivy-integration-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/ivy/jars/ivy-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/cross/jars/cross-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt.ivy/ivy/jars/ivy-2.3.0-sbt-c5d1b95fdcc1e1007740ffbecf4eb07abc51ec93.jar:/home/kgharaibeh/.ivy2/cache/com.jcraft/jsch/jars/jsch-0.1.46.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/serialization_2.10/jars/serialization_2.10-0.1.1.jar:/home/kgharaibeh/.ivy2/cache/org.scala-lang.modules/scala-pickling_2.10/jars/scala-pickling_2.10-0.10.0.jar:/home/kgharaibeh/.ivy2/cache/org.scalamacros/quasiquotes_2.10/jars/quasiquotes_2.10-2.0.1.jar:/home/kgharaibeh/.ivy2/cache/org.json4s/json4s-core_2.10/jars/json4s-core_2.10-3.2.10.jar:/home/kgharaibeh/.ivy2/cache/org.json4s/json4s-ast_2.10/jars/json4s-ast_2.10-3.2.10.jar:/home/kgharaibeh/.ivy2/cache/com.thoughtworks.paranamer/paranamer/jars/paranamer-2.6.jar:/home/kgharaibeh/.ivy2/cache/org.spire-math/jawn-parser_2.10/jars/jawn-parser_2.10-0.6.0.jar:/home/kgharaibeh/.ivy2/cache/org.spire-math/json4s-support_2.10/jars/json4s-support_2.10-0.6.0.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/run/jars/run-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/task-system/jars/task-system-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/tasks/jars/tasks-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/tracking/jars/tracking-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/cache/jars/cache-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/testing/jars/testing-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/test-agent/jars/test-agent-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/test-interface/jars/test-interface-1.0.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/main-settings/jars/main-settings-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/apply-macro/jars/apply-macro-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/command/jars/command-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/logic/jars/logic-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/compiler-interface/jars/compiler-interface-src-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/compiler-interface/jars/compiler-interface-bin-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/precompiled-2_8_2/jars/compiler-interface-bin-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/precompiled-2_9_2/jars/compiler-interface-bin-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scala-sbt/precompiled-2_9_3/jars/compiler-interface-bin-0.13.9.jar:/home/kgharaibeh/.ivy2/cache/org.scoverage/scalac-scoverage-runtime_2.10/jars/scalac-scoverage-runtime_2.10-1.1.1.jar -bootclasspath /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.72-4.b15.fc23.x86_64/jre/classes:/home/kgharaibeh/.sbt/boot/scala-2.10.4/lib/scala-library.jar

    [error]

    [error]   last tree to typer: Select(This(object TestSettings), settings )

    [error]               symbol: lazy value settings in object TestSettings (flags: <mutable> lazy <triedcooking> private[this])

    [error]    symbol definition: lazy private[this] var settings: Seq[sbt.Def.Setting[_]]

    [error]                  tpe: Seq[sbt.Def.Setting[_]]

    [error]        symbol owners: lazy value settings -> object TestSettings -> package <empty>

    [error]       context owners: value settings -> object TestSettings -> package <empty>

    [error]

    [error] == Enclosing template or block ==

    [error]

    [error] DefDef( // lazy val settings: Seq[sbt.Def.Setting[_]] in object TestSettings

    [error]   <method> <stable> <accessor> lazy

    [error]   “settings”

    [error]   []

    [error]   Nil

    [error]   <tpt> // tree.tpe=Seq[sbt.Def.Setting[_]]

    [error]   Block( // tree.tpe=Seq[sbt.Def.Setting[_]]

    [error]     Assign( // tree.tpe=Unit

    [error]       TestSettings.this.”settings ” // lazy private[this] var settings: Seq[sbt.Def.Setting[_]] in object TestSettings, tree.tpe=Seq[sbt.Def.Setting[_]]

    [error]       Apply( // def ++[B >: A, That](that: scala.collection.GenTraversableOnce[B])(implicit bf: scala.collection.generic.CanBuildFrom[Repr,B,That]): That in trait TraversableLike, tree.tpe=Seq[sbt.Def.Setting[_]]

    [error]         Apply( // def ++[B >: A, That](that: scala.collection.GenTraversableOnce[B])(implicit bf: scala.collection.generic.CanBuildFrom[Repr,B,That]): That in trait TraversableLike, tree.tpe=(implicit bf: scala.collection.generic.CanBuildFrom[Seq[sbt.Def.Setting[_]],sbt.Def.Setting[_],Seq[sbt.Def.Setting[_]]])Seq[sbt.Def.Setting[_]]

    [error]           TypeApply( // def ++[B >: A, That](that: scala.collection.GenTraversableOnce[B])(implicit bf: scala.collection.generic.CanBuildFrom[Repr,B,That]): That in trait TraversableLike, tree.tpe=(that: scala.collection.GenTraversableOnce[sbt.Def.Setting[_]])(implicit bf: scala.collection.generic.CanBuildFrom[Seq[sbt.Def.Setting[_]],sbt.Def.Setting[_],Seq[sbt.Def.Setting[_]]])Seq[sbt.Def.Setting[_]]

    [error]             TestSettings.this.itSettings.++[sbt.Def.Setting[_], Seq[sbt.Def.Setting[_]]](TestSettings.this.e2eSettings)(collection.this.Seq.canBuildFrom[sbt.Def.Setting[_]]).”$plus$plus” // def ++[B >: A, That](that: scala.collection.GenTraversableOnce[B])(implicit bf: scala.collection.generic.CanBuildFrom[Repr,B,That]): That in trait TraversableLike, tree.tpe=[B >: sbt.Def.Setting[_], That](that: scala.collection.GenTraversableOnce[B])(implicit bf: scala.collection.generic.CanBuildFrom[Seq[sbt.Def.Setting[_]],B,That])That

    [error]             // 2 type arguments

    [error]             <tpt> // tree.tpe=sbt.Def.Setting[_]

    [error]             <tpt> // tree.tpe=Seq[sbt.Def.Setting[_]]

    [error]           )

    [error]           Apply( // def apply[A](elems: A*): CC[A] in class GenericCompanion, tree.tpe=Seq[sbt.Def.Setting[sbt.Task[Unit]]]

    [error]             TypeApply( // def apply[A](elems: A*): CC[A] in class GenericCompanion, tree.tpe=(elems: sbt.Def.Setting[sbt.Task[Unit]]*)Seq[sbt.Def.Setting[sbt.Task[Unit]]]

    [error]               collection.this.”Seq”.”apply” // def apply[A](elems: A*): CC[A] in class GenericCompanion, tree.tpe=[A](elems: A*)Seq[A]

    [error]               <tpt> // tree.tpe=sbt.Def.Setting[sbt.Task[Unit]]

    [error]             )

    [error]             Apply( // def set(app: sbt.Def.Initialize[sbt.Task[S]],source: sbt.SourcePosition): sbt.Def.Setting[sbt.Task[S]] in trait DefinableTask, tree.tpe=sbt.Def.Setting[sbt.Task[Unit]]

    [error]               TestSettings.this.”testAll”.”set” // def set(app: sbt.Def.Initialize[sbt.Task[S]],source: sbt.SourcePosition): sbt.Def.Setting[sbt.Task[S]] in trait DefinableTask, tree.tpe=(app: sbt.Def.Initialize[sbt.Task[Unit]], source: sbt.SourcePosition)sbt.Def.Setting[sbt.Task[Unit]]

    [error]               // 2 arguments

    [error]               Apply( // def dependsOn(tasks: sbt.Scoped.AnyInitTask*): sbt.Def.Initialize[sbt.Task[S]] in class RichInitializeTask, tree.tpe=sbt.Def.Initialize[sbt.Task[Unit]]

    [error]                 sbt.package.richInitializeTask[Unit](sbt.Keys.test.in(sbt.this.ConfigKey.configurationToKey(TestConfigs.EndToEndTest))).”dependsOn” // def dependsOn(tasks: sbt.Scoped.AnyInitTask*): sbt.Def.Initialize[sbt.Task[S]] in class RichInitializeTask, tree.tpe=(tasks: sbt.Scoped.AnyInitTask*)sbt.Def.Initialize[sbt.Task[Unit]]

    [error]                 Apply( // def dependsOn(tasks: sbt.Scoped.AnyInitTask*): sbt.Def.Initialize[sbt.Task[S]] in class RichInitializeTask, tree.tpe=sbt.Def.Initialize[sbt.Task[Unit]]

    [error]                   sbt.package.richInitializeTask[Unit](sbt.Keys.test.in(sbt.this.ConfigKey.configurationToKey(TestConfigs.IntegrationTest))).”dependsOn” // def dependsOn(tasks: sbt.Scoped.AnyInitTask*): sbt.Def.Initialize[sbt.Task[S]] in class RichInitializeTask, tree.tpe=(tasks: sbt.Scoped.AnyInitTask*)sbt.Def.Initialize[sbt.Task[Unit]]

    [error]                   Apply( // def in(c: sbt.ConfigKey): Result in trait ScopingSetting, tree.tpe=sbt.TaskKey[Unit]

    [error]                     “sbt”.”Keys”.”test”.”in” // def in(c: sbt.ConfigKey): Result in trait ScopingSetting, tree.tpe=(c: sbt.ConfigKey)sbt.TaskKey[Unit]

    [error]                     Apply( // implicit def configurationToKey(c: sbt.Configuration): sbt.ConfigKey in object ConfigKey, tree.tpe=sbt.ConfigKey

    [error]                       sbt.this.”ConfigKey”.”configurationToKey” // implicit def configurationToKey(c: sbt.Configuration): sbt.ConfigKey in object ConfigKey, tree.tpe=(c: sbt.Configuration)sbt.ConfigKey

    [error]                       “sbt”.”package”.”Test” // final val Test: sbt.Configuration in package sbt, tree.tpe=sbt.Configuration

    [error]                     )

    [error]                   )

    [error]                 )

    [error]               )

    [error]               Apply( // case def apply(path: String,startLine: Int): sbt.LinePosition in object LinePosition, tree.tpe=sbt.LinePosition

    [error]                 “LinePosition”.”apply” // case def apply(path: String,startLine: Int): sbt.LinePosition in object LinePosition, tree.tpe=(path: String, startLine: Int)sbt.LinePosition

    [error]                 // 2 arguments

    [error]                 “/home/kgharaibeh/Kamanja/trunk/project/TestSettings.scala”

    [error]                 25

    [error]               )

    [error]             )

    [error]           )

    [error]         )

    [error]         TypeApply( // implicit def canBuildFrom[A]: scala.collection.generic.CanBuildFrom[scala.collection.Seq.Coll,A,Seq[A]] in object Seq, tree.tpe=scala.collection.generic.CanBuildFrom[scala.collection.Seq.Coll,sbt.Def.Setting[_],Seq[sbt.Def.Setting[_]]]

    [error]           collection.this.”Seq”.”canBuildFrom” // implicit def canBuildFrom[A]: scala.collection.generic.CanBuildFrom[scala.collection.Seq.Coll,A,Seq[A]] in object Seq, tree.tpe=[A]=> scala.collection.generic.CanBuildFrom[scala.collection.Seq.Coll,A,Seq[A]]

    [error]           <tpt> // tree.tpe=sbt.Def.Setting[_]

    [error]         )

    [error]       )

    [error]     )

    [error]     TestSettings.this.”settings ” // lazy private[this] var settings: Seq[sbt.Def.Setting[_]] in object TestSettings, tree.tpe=Seq[sbt.Def.Setting[_]]

    [error]   )

    [error] )

    [error]

    [error] == Expanded type of tree ==

    [error]

    [error] TypeRef(

    [error]   TypeSymbol(

    [error]     abstract trait Seq[+A] extends PartialFunction[Int,A] with Iterable[A] with GenSeq[A] with GenericTraversableTemplate[A,Seq] with SeqLike[A,Seq[A]]

    [error]

    [error]   )

    [error]   args = List(

    [error]     PolyType(

    [error]       typeParams = List(AbstractType(type _$72))

    [error]       resultType = TypeRef(

    [error]         pre = SingleType(pre = ThisType(package sbt), object Def)

    [error]         TypeSymbol(

    [error]           sealed class Setting[T <: <?>] extends Init.this.SettingsDefinition

    [error]

    [error]         )

    [error]         args = List(AbstractTypeRef(AbstractType(type _$72)))

    [error]       )

    [error]     )

    [error]   )

    [error] )

    [error]

    [error] uncaught exception during compilation: java.lang.NoClassDefFoundError

    java.lang.NoClassDefFoundError: scala/quasiquotes/QuasiquoteCompat$

    at org.brianmckenna.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:82)

    at org.brianmckenna.wartremover.Plugin$Traverser$$anon$1$$anonfun$go$1$1.apply(Plugin.scala:72)

    at org.brianmckenna.wartremover.Plugin$Traverser$$anon$1$$anonfun$go$1$1.apply(Plugin.scala:72)

    at scala.collection.immutable.List.foreach(List.scala:318)

    at org.brianmckenna.wartremover.Plugin$Traverser$$anon$1.go$1(Plugin.scala:72)

    at org.brianmckenna.wartremover.Plugin$Traverser$$anon$1.apply(Plugin.scala:75)

    at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)

    at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)

    at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)

    at scala.collection.Iterator$class.foreach(Iterator.scala:727)

    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)

    at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431)

    at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)

    at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)

    at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)

    at scala.tools.nsc.Global$Run.compile(Global.scala:1662)

    at xsbt.CachedCompiler0.run(CompilerInterface.scala:116)

    at xsbt.CachedCompiler0.run(CompilerInterface.scala:95)

    at xsbt.CompilerInterface.run(CompilerInterface.scala:26)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

    at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101)

    at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47)

    at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)

    at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:51)

    at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:51)

    at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:51)

    at sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:75)

    at sbt.compiler.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:50)

    at sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:65)

    at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160)

    at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160)

    at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66)

    at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64)

    at sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:31)

    at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:62)

    at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:61)

    at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:89)

    at sbt.inc.Incremental$.compile(Incremental.scala:61)

    at sbt.inc.IncrementalCompile$.apply(Compile.scala:54)

    at sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160)

    at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138)

    at sbt.Compiler$.compile(Compiler.scala:128)

    at sbt.Compiler$.compile(Compiler.scala:114)

    at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:829)

    at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:820)

    at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:818)

    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)

    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)

    at sbt.std.Transform$$anon$4.work(System.scala:63)

    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)

    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)

    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)

    at sbt.Execute.work(Execute.scala:235)

    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)

    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)

    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)

    at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    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)

    Caused by: java.lang.ClassNotFoundException: scala.quasiquotes.QuasiquoteCompat$

    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

    at org.brianmckenna.wartremover.warts.NoNeedForMonad$$anon$1.traverse(NoNeedForMonad.scala:82)

    at org.brianmckenna.wartremover.Plugin$Traverser$$anon$1$$anonfun$go$1$1.apply(Plugin.scala:72)

    at org.brianmckenna.wartremover.Plugin$Traverser$$anon$1$$anonfun$go$1$1.apply(Plugin.scala:72)

    at scala.collection.immutable.List.foreach(List.scala:318)

    at org.brianmckenna.wartremover.Plugin$Traverser$$anon$1.go$1(Plugin.scala:72)

    at org.brianmckenna.wartremover.Plugin$Traverser$$anon$1.apply(Plugin.scala:75)

    at scala.tools.nsc.Global$GlobalPhase.applyPhase(Global.scala:464)

    at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)

    at scala.tools.nsc.Global$GlobalPhase$$anonfun$run$1.apply(Global.scala:431)

    at scala.collection.Iterator$class.foreach(Iterator.scala:727)

    at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)

    at scala.tools.nsc.Global$GlobalPhase.run(Global.scala:431)

    at scala.tools.nsc.Global$Run.compileUnitsInternal(Global.scala:1583)

    at scala.tools.nsc.Global$Run.compileUnits(Global.scala:1557)

    at scala.tools.nsc.Global$Run.compileSources(Global.scala:1553)

    at scala.tools.nsc.Global$Run.compile(Global.scala:1662)

    at xsbt.CachedCompiler0.run(CompilerInterface.scala:116)

    at xsbt.CachedCompiler0.run(CompilerInterface.scala:95)

    at xsbt.CompilerInterface.run(CompilerInterface.scala:26)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

    at java.lang.reflect.Method.invoke(Method.java:498)

    at sbt.compiler.AnalyzingCompiler.call(AnalyzingCompiler.scala:101)

    at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:47)

    at sbt.compiler.AnalyzingCompiler.compile(AnalyzingCompiler.scala:41)

    at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply$mcV$sp(MixedAnalyzingCompiler.scala:51)

    at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:51)

    at sbt.compiler.MixedAnalyzingCompiler$$anonfun$compileScala$1$1.apply(MixedAnalyzingCompiler.scala:51)

    at sbt.compiler.MixedAnalyzingCompiler.timed(MixedAnalyzingCompiler.scala:75)

    at sbt.compiler.MixedAnalyzingCompiler.compileScala$1(MixedAnalyzingCompiler.scala:50)

    at sbt.compiler.MixedAnalyzingCompiler.compile(MixedAnalyzingCompiler.scala:65)

    at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160)

    at sbt.compiler.IC$$anonfun$compileInternal$1.apply(IncrementalCompiler.scala:160)

    at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:66)

    at sbt.inc.IncrementalCompile$$anonfun$doCompile$1.apply(Compile.scala:64)

    at sbt.inc.IncrementalCommon.cycle(IncrementalCommon.scala:31)

    at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:62)

    at sbt.inc.Incremental$$anonfun$1.apply(Incremental.scala:61)

    at sbt.inc.Incremental$.manageClassfiles(Incremental.scala:89)

    at sbt.inc.Incremental$.compile(Incremental.scala:61)

    at sbt.inc.IncrementalCompile$.apply(Compile.scala:54)

    at sbt.compiler.IC$.compileInternal(IncrementalCompiler.scala:160)

    at sbt.compiler.IC$.incrementalCompile(IncrementalCompiler.scala:138)

    at sbt.Compiler$.compile(Compiler.scala:128)

    at sbt.Compiler$.compile(Compiler.scala:114)

    at sbt.Defaults$.sbt$Defaults$$compileIncrementalTaskImpl(Defaults.scala:829)

    at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:820)

    at sbt.Defaults$$anonfun$compileIncrementalTask$1.apply(Defaults.scala:818)

    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)

    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)

    at sbt.std.Transform$$anon$4.work(System.scala:63)

    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)

    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)

    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)

    at sbt.Execute.work(Execute.scala:235)

    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)

    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)

    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)

    at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

    at java.util.concurrent.FutureTask.run(FutureTask.java:266)

    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] (compile:compileIncremental) java.lang.NoClassDefFoundError: scala/quasiquotes/QuasiquoteCompat$

    Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore?

     

     

  • #18567 Reply

    William
    Keymaster

    Due to the way we’re handling differences between compiling in scala 2.10 and scala 2.11, you need to compile as such:

    sbt clean ‘++ 2.10.x package’

    or

    sbt clean ‘++ 2.11.x package’ (or compile if you want to run tests as well).

    Aside from that, I’m not sure where this “exception” is coming from, even with “sbt clean compile” I’m not seeing this. However, I’ve never tested on Fedora specifically, though I don’t see why it wouldn’t work.

    I’ll try setting up fedora 23 workstation on a vm and see if I can reproduce this.

  • #18579 Reply

    Khaled Gharaibeh
    Participant

    Thanks William,

    The problem was fixed strangely when I deleted all the SBT cache in ~/.sbt

    I did the compile and the easyInstallKamanja.sh in the /SampleApplications folder and target for scala-2.10 was generated perfectly and started kamanja using the .sh files (CreateQueues.sh …and others)

     

Reply To: compiling Kamanja latest source from /dev branch
Your information: