Skip to content

Instantly share code, notes, and snippets.

@mgosk
Created October 1, 2014 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mgosk/2f648a877c29b367f6aa to your computer and use it in GitHub Desktop.
Save mgosk/2f648a877c29b367f6aa to your computer and use it in GitHub Desktop.
[info] Building debian package with native implementation
[error] dpkg-deb: error: control directory has bad permissions 750 (must be >=0755 and <=0775)
java.lang.RuntimeException: Failure packaging debian file. Exit code: 2
at scala.sys.package$.error(package.scala:27)
at com.typesafe.sbt.packager.debian.NativePackaging$$anonfun$debianNativeSettings$4.apply(NativePackaging.scala:76)
at com.typesafe.sbt.packager.debian.NativePackaging$$anonfun$debianNativeSettings$4.apply(NativePackaging.scala:70)
at scala.Function9$$anonfun$tupled$1.apply(Function9.scala:35)
at scala.Function9$$anonfun$tupled$1.apply(Function9.scala:34)
at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:42)
at sbt.std.Transform$$anon$4.work(System.scala:64)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:237)
at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
at sbt.Execute.work(Execute.scala:244)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:237)
at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
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] (debian:packageBin) Failure packaging debian file. Exit code: 2
[error] Total time: 28 s, completed Oct 1, 2014 8:07:20 AM
@taylorleese
Copy link

@mgosk Any chance you found a fix for this? I just ran into the same thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment