Closed zoosky closed 8 years ago
Here is the debug output. Leap 42.1 uses rpmbuild version 4.11.2
[info] Done packaging.
[debug] Copying /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/universal/tmp/bin/simple-rpm to /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/tmp-buildroot/usr/share/simple-rpm/bin/simple-rpm
[debug] Copying /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/scala-2.10/simple-rpm_2.10-1.0.jar to /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/tmp-buildroot/usr/share/simple-rpm/lib/de.muki.simple-rpm-1.0.jar
[debug] Copying /home/andreas/.sbt/boot/scala-2.10.4/lib/scala-library.jar to /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/tmp-buildroot/usr/share/simple-rpm/lib/org.scala-lang.scala-library-2.10.4.jar
[debug] Copying /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/universal/tmp/etc/default/simple-rpm to /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/tmp-buildroot/etc/default/simple-rpm
[debug] Copying /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/universal/tmp/bin/systemv-init to /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/tmp-buildroot/etc/init.d/simple-rpm
[debug] Creating SPEC file: /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/SPECS/simple-rpm.spec
[debug] Executing rpmbuild with: rpmbuild -bb --target noarch-mukis.de, Muki-Linux --buildroot /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/buildroot --define _topdir /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm --define _tmppath /tmp/sbt_6c574bb2 simple-rpm.spec
[info] Building target platforms: noarch-mukis.de, Muki-Linux
[info] Building for target noarch-mukis.de
[info] Executing(%install): /bin/sh -e /tmp/sbt_6c574bb2/rpm-tmp.3mnViM
[error] + umask 022
[error] + cd /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/BUILD
[error] + '[' -e /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/buildroot ']'
[error] + mv /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/tmp-buildroot/etc /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/tmp-buildroot/usr /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/tmp-buildroot/var /home/andreas/dev/sbt-native-packager-examples/simple-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] /tmp/sbt_6c574bb2/rpm-tmp.3mnViM: line 38: /usr/lib/rpm/brp-strip-static-archive: No such file or directory
[info]
[info]
[info] RPM build errors:
[error] error: Bad exit status from /tmp/sbt_6c574bb2/rpm-tmp.3mnViM (%install)
[error] Bad exit status from /tmp/sbt_6c574bb2/rpm-tmp.3mnViM (%install)
[trace] Stack trace suppressed: run last rpm:packageBin for the full output.
[error] (rpm:packageBin) Unable to run rpmbuild, check output for details. Errorcode 1
[error] Total time: 4 s, completed Feb 3, 2016 5:53:28 PM
The rpmbuild statement executed in the project context gives
andreas@linux-bgw2:~/dev/sbt-native-packager-examples/simple-rpm> rpmbuild -bb --target noarch-mukis.de, Muki-Linux --buildroot /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm/buildroot --define _topdir /home/andreas/dev/sbt-native-packager-examples/simple-rpm/target/rpm --define _tmppath /tmp/sbt_6c574bb2 simple-rpm.spec
error: Macro %_topdir has empty body
error: Macro %_topdir has empty body
error: Macro %_topdir has empty body
error: Macro %_tmppath has empty body
error: Macro %_tmppath has empty body
Building target platforms: noarch-mukis.de
Building for target noarch-mukis.de
error: failed to stat /home/andreas/dev/sbt-native-packager-examples/simple-rpm/Muki-Linux: No such file or directory
Thanks for your report. It was a missconfiguration in the build.sbt
. The rpmVendor
cannot have a comma in it. Sorry :)
Thanks, now it builds. Great respsonsiveness!
Happy to help ;) Am 03.02.2016 11:36 nachm. schrieb Andreas Kapp notifications@github.com:Thanks, now it builds. Great respsonsiveness!
—Reply to this email directly or view it on GitHub.
Unfortunately I see this error:
As I try already for a some hours, is the RPM Build with 1.0 working at all?