You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by arvind viswanathan <ar...@gmail.com> on 2015/09/24 23:37:46 UTC

Help with build failure when running gradlew script

Hi
I am trying to prepare a debian package for kafka kafka_2.11-0.8.3-SNAPSHOT

I am using pdebuild to build it in a chromed environement

I am encountering an error when running the task ':core:compileScala'
At the outset it looks like a permission error or path problem, but I am
unable
to find a solution,

Compiling with Zinc Scala compiler.

'compiler-interface' not yet compiled for Scala 2.10.5. Compiling...

  Compilation completed in 30.319 s

Exception executing
org.gradle.api.internal.tasks.scala.ZincScalaCompiler@5cc47680 in compiler
daemon: java.lang.RuntimeException: Could not create directory
/root/.zinc/0.3.7/compiler-interface-2.10.5-51.0.

:core:compileScala FAILED

* What went wrong:

Execution failed for task ':core:compileScala'.

> Could not create directory
/root/.zinc/0.3.7/compiler-interface-2.10.5-51.0


Caused by: java.lang.RuntimeException: Could not create directory
/root/.zinc/0.3.7/compiler-interface-2.10.5-51.0

at scala.sys.package$.error(package.scala:27)

at sbt.IO$.createDirectory(IO.scala:166)

at sbt.IO$.archive(IO.scala:407)

at sbt.IO$.zip(IO.scala:400)

at
sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$apply$2.apply(AnalyzingCompiler.scala:151)

at
sbt.compiler.AnalyzingCompiler$$anonfun$compileSources$1$$anonfun$apply$2.apply(AnalyzingCompiler.scala:142)


Not sure if any environment variables are wrong.


Thanks

Arvind