Created
October 6, 2015 11:18
-
-
Save schmitch/fd2dcfc67b723f15520b to your computer and use it in GitHub Desktop.
sbt-native-packager error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[vagrant@centos-7 vagrant]$ ./activator rpm:packageBin | |
[info] Loading project definition from /vagrant/project | |
[info] Set current project to loki-erp (in build file:/vagrant/) | |
[info] Updating {file:/vagrant/}pdfgen... | |
[info] Resolving org.springframework#spring-beans;3.0.6.RELEASE ... | |
[info] Packaging /vagrant/target/scala-2.11/loki-erp_2.11-1.3.2-sources.jar ... | |
[info] Resolving com.google.zxing#core;2.3.0 ... | |
[info] Done packaging. | |
[info] Resolving jline#jline;2.12.1 ... | |
[info] Done updating. | |
[info] Wrote /vagrant/target/scala-2.11/loki-erp_2.11-1.3.2.pom | |
[info] Updating {file:/vagrant/}utils... | |
[info] Resolving jline#jline;2.12.1 ... | |
[info] Done updating. | |
[info] Updating {file:/vagrant/}auth... | |
[info] Resolving jline#jline;2.12.1 ... | |
[info] Done updating. | |
[info] Updating {file:/vagrant/}root... | |
[info] Resolving jline#jline;2.12.1 ... | |
[info] Done updating. | |
[info] Compiling 1 Scala source to /vagrant/modules/pdfgen/target/scala-2.11/classes... | |
[info] Compiling 23 Scala sources to /vagrant/modules/utils/target/scala-2.11/classes... | |
[info] Compiling 24 Scala sources to /vagrant/modules/auth/target/scala-2.11/classes... | |
[info] Compiling 313 Scala sources and 9 Java sources to /vagrant/target/scala-2.11/classes... | |
[info] Packaging /vagrant/target/scala-2.11/loki-erp_2.11-1.3.2.jar ... | |
[info] Done packaging. | |
[info] Wrote /vagrant/modules/pdfgen/target/scala-2.11/pdfgen_2.11-0.0.1-SNAPSHOT.pom | |
[info] Packaging /vagrant/modules/pdfgen/target/scala-2.11/pdfgen_2.11-0.0.1-SNAPSHOT-sources.jar ... | |
[info] Packaging /vagrant/modules/pdfgen/target/scala-2.11/pdfgen_2.11-0.0.1-SNAPSHOT.jar ... | |
[info] Main Scala API documentation to /vagrant/modules/pdfgen/target/scala-2.11/api... | |
[info] Done packaging. | |
[info] Done packaging. | |
model contains 5 documentable templates | |
[info] Main Scala API documentation successful. | |
[info] Packaging /vagrant/modules/pdfgen/target/scala-2.11/pdfgen_2.11-0.0.1-SNAPSHOT-javadoc.jar ... | |
[info] Done packaging. | |
[info] Wrote /vagrant/modules/utils/target/scala-2.11/utils_2.11-0.1-SNAPSHOT.pom | |
[info] Packaging /vagrant/modules/utils/target/scala-2.11/utils_2.11-0.1-SNAPSHOT-sources.jar ... | |
[info] Main Scala API documentation to /vagrant/modules/utils/target/scala-2.11/api... | |
[info] Done packaging. | |
[info] Packaging /vagrant/modules/utils/target/scala-2.11/utils_2.11-0.1-SNAPSHOT.jar ... | |
[info] Done packaging. | |
model contains 150 documentable templates | |
[warn] /vagrant/modules/utils/src/main/scala/utils/package.scala:20: Could not find any member to link for "java.sql.Time". | |
[warn] /** | |
[warn] ^ | |
[warn] /vagrant/modules/utils/src/main/scala/utils/date/DateHelper.scala:29: Could not find any member to link for "java.util.Date". | |
[warn] /** | |
[warn] ^ | |
[warn] /vagrant/modules/utils/src/main/scala/utils/date/DateHelper.scala:9: Could not find any member to link for "Option". | |
[warn] /** | |
[warn] ^ | |
[warn] /vagrant/modules/utils/src/main/scala/utils/Lister.scala:40: Could not find any member to link for "A". | |
[warn] /** | |
[warn] ^ | |
[warn] four warnings found | |
[info] Main Scala API documentation successful. | |
[info] Packaging /vagrant/modules/utils/target/scala-2.11/utils_2.11-0.1-SNAPSHOT-javadoc.jar ... | |
[info] Done packaging. | |
[info] Wrote /vagrant/modules/auth/target/scala-2.11/auth_2.11-0.0.1-SNAPSHOT.pom | |
[info] Packaging /vagrant/modules/auth/target/scala-2.11/auth_2.11-0.0.1-SNAPSHOT-sources.jar ... | |
[info] Main Scala API documentation to /vagrant/modules/auth/target/scala-2.11/api... | |
[info] Packaging /vagrant/modules/auth/target/scala-2.11/auth_2.11-0.0.1-SNAPSHOT.jar ... | |
[info] Done packaging. | |
[info] Done packaging. | |
model contains 44 documentable templates | |
[info] Main Scala API documentation successful. | |
[info] Packaging /vagrant/modules/auth/target/scala-2.11/auth_2.11-0.0.1-SNAPSHOT-javadoc.jar ... | |
[info] Done packaging. | |
[info] Packaging /vagrant/target/scala-2.11/loki-erp_2.11-1.3.2-sans-externalized.jar ... | |
[info] Done packaging. | |
java.io.IOException: Cannot run program "rpmbuild" (in directory "/vagrant/target/rpm/SPECS"): error=2, Datei oder Verzeichnis nicht gefunden | |
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) | |
at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349) | |
at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:128) | |
at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159) | |
at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159) | |
at sbt.BufferedLogger.buffer(BufferedLogger.scala:25) | |
at sbt.AbstractProcessBuilder.runBuffered(ProcessImpl.scala:159) | |
at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:156) | |
at com.typesafe.sbt.packager.rpm.RpmHelper$$anonfun$buildPackage$1.apply(RpmHelper.scala:87) | |
at com.typesafe.sbt.packager.rpm.RpmHelper$$anonfun$buildPackage$1.apply(RpmHelper.scala:74) | |
at sbt.IO$.withTemporaryDirectory(IO.scala:291) | |
at com.typesafe.sbt.packager.rpm.RpmHelper$.buildPackage(RpmHelper.scala:74) | |
at com.typesafe.sbt.packager.rpm.RpmHelper$.buildRpm(RpmHelper.scala:20) | |
at com.typesafe.sbt.packager.rpm.RpmPlugin$$anonfun$projectSettings$31.apply(RpmPlugin.scala:100) | |
at com.typesafe.sbt.packager.rpm.RpmPlugin$$anonfun$projectSettings$31.apply(RpmPlugin.scala:98) | |
at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:35) | |
at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:34) | |
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.io.IOException: error=2, Datei oder Verzeichnis nicht gefunden | |
at java.lang.UNIXProcess.forkAndExec(Native Method) | |
at java.lang.UNIXProcess.<init>(UNIXProcess.java:248) | |
at java.lang.ProcessImpl.start(ProcessImpl.java:134) | |
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) | |
at sbt.SimpleProcessBuilder.run(ProcessImpl.scala:349) | |
at sbt.AbstractProcessBuilder.run(ProcessImpl.scala:128) | |
at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159) | |
at sbt.AbstractProcessBuilder$$anonfun$runBuffered$1.apply(ProcessImpl.scala:159) | |
at sbt.BufferedLogger.buffer(BufferedLogger.scala:25) | |
at sbt.AbstractProcessBuilder.runBuffered(ProcessImpl.scala:159) | |
at sbt.AbstractProcessBuilder.$bang(ProcessImpl.scala:156) | |
at com.typesafe.sbt.packager.rpm.RpmHelper$$anonfun$buildPackage$1.apply(RpmHelper.scala:87) | |
at com.typesafe.sbt.packager.rpm.RpmHelper$$anonfun$buildPackage$1.apply(RpmHelper.scala:74) | |
at sbt.IO$.withTemporaryDirectory(IO.scala:291) | |
at com.typesafe.sbt.packager.rpm.RpmHelper$.buildPackage(RpmHelper.scala:74) | |
at com.typesafe.sbt.packager.rpm.RpmHelper$.buildRpm(RpmHelper.scala:20) | |
at com.typesafe.sbt.packager.rpm.RpmPlugin$$anonfun$projectSettings$31.apply(RpmPlugin.scala:100) | |
at com.typesafe.sbt.packager.rpm.RpmPlugin$$anonfun$projectSettings$31.apply(RpmPlugin.scala:98) | |
at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:35) | |
at scala.Function3$$anonfun$tupled$1.apply(Function3.scala:34) | |
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] (root/rpm:packageBin) java.io.IOException: Cannot run program "rpmbuild" (in directory "/vagrant/target/rpm/SPECS"): error=2, Datei oder Verzeichnis nicht gefunden | |
[error] Total time: 186 s, completed 06.10.2015 11:18:07 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment