We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building an rpm package from https://github.com/pussinboots/sbt-rpm on SLES-11SP3 works fine with sbt 0.13.2
When I change the sbt-native-packager version from 0.6.4 to 0.7.0-RC3
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.7.0-RC3") //addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.6.4")
the rpm:package task fails with this error:
package-war [success] Total time: 0 s, completed 01.05.2014 05:28:47 rpm:packageBin target /home/andreas/dev/sbt-rpm/target [info] Building target platforms: noarch-Frank Ittermann-Linux [info] Building for target noarch-Frank Ittermann-Linux [info] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2795 [error] + umask 022 [error] + cd /home/andreas/dev/sbt-rpm/target/rpm/BUILD [error] + '[' -e /home/andreas/dev/sbt-rpm/target/rpm/buildroot ']' [error] + mv /home/andreas/dev/sbt-rpm/target/rpm/tmp-buildroot/usr /home/andreas/dev/sbt-rpm/target/rpm/buildroot [error] + /usr/lib/rpm/brp-compress [error] + /usr/lib/rpm/brp-strip /usr/bin/strip [error] + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip [error] /var/tmp/rpm-tmp.2795: line 33: /usr/lib/rpm/brp-strip-static-archive: Datei oder Verzeichnis nicht gefunden [error] error: Bad exit status from /var/tmp/rpm-tmp.2795 (%install) [error] Bad exit status from /var/tmp/rpm-tmp.2795 (%install) [info] [info] [info] RPM build errors: [trace] Stack trace suppressed: run last rpm:packageBin for the full output. error Unable to run rpmbuild, check output for details. [error] Total time: 0 s, completed 01.05.2014 05:28:52
The text was updated successfully, but these errors were encountered:
This is a known behaviour and documented here. Turn on the rpm java repackaging with
rpmBrpJavaRepackJars := false
This removes the additional rpm macros which turn off this behavior.
Sorry, something went wrong.
try to fix the buil
b8e7d00
There is a known problem with sbt native packager and java see sbt/sbt-native-packager#240
try to fix the build again
bdbf200
No branches or pull requests
Building an rpm package from https://github.com/pussinboots/sbt-rpm on SLES-11SP3 works fine with sbt 0.13.2
When I change the sbt-native-packager version from 0.6.4 to 0.7.0-RC3
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.7.0-RC3")
//addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "0.6.4")
the rpm:package task fails with this error:
The text was updated successfully, but these errors were encountered: