Also, the branch you're checking out is very old. If you want the most recent release, that's tagged as 0.8.2.1. Otherwise, you'll want to use the trunk branch.
-Ewen On Thu, Jul 23, 2015 at 11:45 AM, Gwen Shapira <gshap...@cloudera.com> wrote: > Sorry, we don't actually do SBT builds anymore. > > You can build successfully using Gradle: > > You need to have [gradle](http://www.gradle.org/installation) installed. > > ### First bootstrap and download the wrapper ### > cd kafka_source_dir > gradle > > Now everything else will work > > ### Building a jar and running it ### > ./gradlew jar > > > Can you let us know where you saw the SBT instructions, so we can fix it? > > On Thu, Jul 23, 2015 at 11:39 AM, David Montgomery > <davidmontgom...@gmail.com> wrote: > > Just wondering I am getting this very disapointing error with kafka > install. > > > > git clone https://git-wip-us.apache.org/repos/asf/kafka.git > > cd kafka > > git checkout -b 0.8 remotes/origin/0.8 > > ./sbt "++2.9.2 update" > > > > > > Thanks > > > > > > [warn] > > > http://repo1.maven.org/maven2/com/jsuereth/xsbt-gpg-plugin_2.9.2_0.12/0.6/xsbt-gpg-plugin-0.6.pom > > [info] Resolving org.scala-sbt#precompiled-2_10_0-m7;0.12.1 ... > > [warn] :::::::::::::::::::::::::::::::::::::::::::::: > > [warn] :: UNRESOLVED DEPENDENCIES :: > > [warn] :::::::::::::::::::::::::::::::::::::::::::::: > > [warn] :: com.eed3si9n#sbt-assembly;0.8.8: not found > > [warn] :: com.jsuereth#xsbt-gpg-plugin;0.6: not found > > [warn] :::::::::::::::::::::::::::::::::::::::::::::: > > [warn] > > [warn] Note: Some unresolved dependencies have extra attributes. > Check > > that these dependencies exist with the requested attributes. > > [warn] com.eed3si9n:sbt-assembly:0.8.8 (sbtVersion=0.12, > > scalaVersion=2.9.2) > > [warn] com.jsuereth:xsbt-gpg-plugin:0.6 (sbtVersion=0.12, > > scalaVersion=2.9.2) > > [warn] > > sbt.ResolveException: unresolved dependency: > > com.eed3si9n#sbt-assembly;0.8.8: not found > > unresolved dependency: com.jsuereth#xsbt-gpg-plugin;0.6: not found > > at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:214) > > at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:122) > > at sbt.IvyActions$$anonfun$update$1.apply(IvyActions.scala:121) > > at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114) > > at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:114) > > at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:102) > > at sbt.IvySbt.liftedTree1$1(Ivy.scala:49) > > at sbt.IvySbt.action$1(Ivy.scala:49) > > at sbt.IvySbt$$anon$3.call(Ivy.scala:58) > > at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:75) > > at xsbt.boot.Locks$GlobalLock.withChannelRetries$1(Locks.scala:58) > > at > > xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:79) > > at xsbt.boot.Using$.withResource(Using.scala:11) > > at xsbt.boot.Using$.apply(Using.scala:10) > > at xsbt.boot.Locks$GlobalLock.liftedTree1$1(Locks.scala:51) > > at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:51) > > at xsbt.boot.Locks$.apply0(Locks.scala:30) > > at xsbt.boot.Locks$.apply(Locks.scala:27) > > at sbt.IvySbt.withDefaultLogger(Ivy.scala:58) > > at sbt.IvySbt.withIvy(Ivy.scala:99) > > at sbt.IvySbt.withIvy(Ivy.scala:95) > > at sbt.IvySbt$Module.withModule(Ivy.scala:114) > > at sbt.IvyActions$.update(IvyActions.scala:121) > > at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:951) > > at sbt.Classpaths$$anonfun$work$1$1.apply(Defaults.scala:949) > > at > > sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:972) > > at > > sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$54.apply(Defaults.scala:970) > > at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35) > > at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:974) > > at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:969) > > at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45) > > at sbt.Classpaths$.cachedUpdate(Defaults.scala:977) > > at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:856) > > at sbt.Classpaths$$anonfun$45.apply(Defaults.scala:853) > > at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586) > > at sbt.Scoped$$anonfun$hf10$1.apply(Structure.scala:586) > > at scala.Function1$$anonfun$compose$1.apply(Function1.scala:49) > > at > > > sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) > > at > > > sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311) > > at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41) > > at sbt.std.Transform$$anon$5.work(System.scala:71) > > at > > sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) > > at > > sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232) > > at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18) > > at sbt.Execute.work(Execute.scala:238) > > at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) > > at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232) > > at > > > sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) > > at sbt.CompletionService$$anon$2.call(CompletionService.scala:30) > > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > > at > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > > at java.util.concurrent.FutureTask.run(FutureTask.java:262) > > at > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) > > at java.lang.Thread.run(Thread.java:745) > > [error] (*:update) sbt.ResolveException: unresolved dependency: > > com.eed3si9n#sbt-assembly;0.8.8: not found > > [error] unresolved dependency: com.jsuereth#xsbt-gpg-plugin;0.6: not > found > > Project loading failed: (r)etry, (q)uit, (l)ast, or (i)gnore? > > [3]+ Stopped ./sbt "++2.9.2 update" > -- Thanks, Ewen