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
rpm:packageBin generates a RPM without throwing errors
When rpm:packageBin is run I see the following errors. However the rpm is generated but I don't know if something important is missing.
sbt:rpm-test> rpm:packageBin [info] Packaging /Users/damian.albrun/dev/workspace/poc/rpm-test/target/scala-2.12/rpm-test_2.12-0.0.1-SNAPSHOT-sources.jar ... [info] Updating {file:/Users/damian.albrun/dev/workspace/poc/rpm-test/}rpm-test... [info] Done packaging. [info] Wrote /Users/damian.albrun/dev/workspace/poc/rpm-test/target/scala-2.12/rpm-test_2.12-0.0.1-SNAPSHOT.pom [info] Done updating. [info] Main Scala API documentation to /Users/damian.albrun/dev/workspace/poc/rpm-test/target/scala-2.12/api... [info] Compiling 2 Scala sources to /Users/damian.albrun/dev/workspace/poc/rpm-test/target/scala-2.12/classes ... model contains 6 documentable templates [info] Done compiling. [info] Main Scala API documentation successful. [info] Packaging /Users/damian.albrun/dev/workspace/poc/rpm-test/target/scala-2.12/rpm-test_2.12-0.0.1-SNAPSHOT-javadoc.jar ... [info] Done packaging. [info] Packaging /Users/damian.albrun/dev/workspace/poc/rpm-test/target/scala-2.12/rpm-test_2.12-0.0.1-SNAPSHOT.jar ... [info] Done packaging. [info] Building target platforms: noarch-me-Linux [info] Executing(%install): /bin/sh -e /var/folders/rh/d5rfmtpx5fq0vz2t1m_cx9x121mq1t/T/sbt_faf1181a/rpm-tmp.79822 [error] + umask 022 [error] + cd /Users/damian.albrun/dev/workspace/poc/rpm-test/target/rpm/BUILD [error] + /bin/rm -rf /Users/damian.albrun/dev/workspace/poc/rpm-test/target/rpm/buildroot [error] + /bin/mkdir -p /Users/damian.albrun/dev/workspace/poc/rpm-test/target/rpm/buildroot [error] + '[' -e /Users/damian.albrun/dev/workspace/poc/rpm-test/target/rpm/buildroot ']' [error] + mv /Users/damian.albrun/dev/workspace/poc/rpm-test/target/rpm/tmp-buildroot/usr /Users/damian.albrun/dev/workspace/poc/rpm-test/target/rpm/buildroot [error] + exit 0 [info] Processing files: rpm-test-0.0.1-SNAPSHOT.noarch [info] Requires(interp): /bin/sh /bin/sh /bin/sh [info] Requires(pre): /bin/sh [info] Requires(post): /bin/sh [info] Requires(postun): /bin/sh [info] Requires: /usr/bin/env [info] Checking for unpackaged file(s): /usr/local/Cellar/rpm/5.4.15_3/lib/rpm/check-files /Users/damian.albrun/dev/workspace/poc/rpm-test/target/rpm/buildroot [info] Wrote: /Users/damian.albrun/dev/workspace/poc/rpm-test/target/rpm/RPMS/noarch/rpm-test-0.0.1-SNAPSHOT.noarch.rpm
The project was created using http4s template sbt new http4s/http4s.g8
sbt new http4s/http4s.g8
build.sbt
organization := "com.me" name := "rpm-test" version := "0.0.1-SNAPSHOT" scalaVersion := "2.12.3" rpmVendor := "me" rpmLicense := Some("Propietary") rpmGroup := Some("me") val Http4sVersion = "0.17.5" val LogbackVersion = "1.2.3" libraryDependencies ++= Seq( "org.http4s" %% "http4s-blaze-server" % Http4sVersion, "org.http4s" %% "http4s-circe" % Http4sVersion, "org.http4s" %% "http4s-dsl" % Http4sVersion, "ch.qos.logback" % "logback-classic" % LogbackVersion ) enablePlugins(JavaAppPackaging)
plugins.sbt
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.2.2")
build.properties
sbt.version=1.0.2
The text was updated successfully, but these errors were encountered:
This looks like the same issue as #103 where rpm is logging to STDERR
Sorry, something went wrong.
@hnw17 is right (though you like to same issue 😉 ) the rpm tool writes to STDERR, which then appears as an error, but is actually fine.
rpm
STDERR
No branches or pull requests
Expected behaviour
rpm:packageBin generates a RPM without throwing errors
Actual behaviour
When rpm:packageBin is run I see the following errors. However the rpm is generated but I don't know if something important is missing.
Information
The project was created using http4s template
sbt new http4s/http4s.g8
build.sbt
plugins.sbt
build.properties
The text was updated successfully, but these errors were encountered: