You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmmm, I think the issue may be related to the noarch not getting parsed. We're using different rpmbuild versions, that are oddly incompatible. Which version of rpmbuild are you using?
I have a auto generated play app configured for java_server. If I add the following line :
rpmPost := Some("ls")
I get:
play_clean rpm:packageBin
[info] Loading project definition from /web/svc-salesforce/project
[info] Set current project to svc-salesforce (in build file:/web/svc-salesforce/)
[info] Wrote /web/svc-salesforce/target/scala-2.10/svc-salesforce_2.10-0.1.0.pom
[info] Building target platforms: noarch-gilt-Linux
[info] Executing(%install): /bin/sh -e /usr/local/var/tmp/rpm-tmp.43711
[error] + umask 022
[error] + cd /web/svc-salesforce/target/rpm/BUILD
[error] + /bin/rm -rf /web/svc-salesforce/target/rpm/buildroot
[error] + /bin/mkdir -p /web/svc-salesforce/target/rpm/buildroot
[error] + '[' -e /web/svc-salesforce/target/rpm/buildroot ']'
[error] + mv /web/svc-salesforce/target/rpm/tmp-buildroot/usr /web/svc-salesforce/target/rpm/buildroot
[error] + exit 0
[info] Processing files: svc-salesforce-0.1.0-1.x86_64
[error] /bin/bash: --rpm-requires: invalid option
[error] Usage: /bin/bash [GNU long option] [option] ...
[error] /bin/bash [GNU long option] [option] script-file ...
[error] GNU long options:
[error] --debug
[error] --debugger
[error] --dump-po-strings
[error] --dump-strings
[error] --help
[error] --init-file
[error] --login
[error] --noediting
[error] --noprofile
[error] --norc
[error] --posix
[error] --protected
[error] --rcfile
[error] --restricted
[error] --verbose
[error] --version
[error] --wordexp
[error] Shell options:
[error] -irsD or -c command or -O shopt_option (invocation only)
[error] -abefhkmnptuvxBCHP or -o option
[info] Requires(interp): /bin/sh
[info] Requires(post): /bin/sh
[info] Checking for unpackaged file(s): /usr/local/Cellar/rpm/5.4.11/lib/rpm/check-files /web/svc-salesforce/target/rpm/buildroot
[info] Wrote: /web/svc-salesforce/target/rpm/RPMS/x86_64/svc-salesforce-0.1.0-1.x86_64.rpm
[success] Total time: 4 s, completed Nov 15, 2013 5:13:52 PM
Please let me know if you need any additional information.
The text was updated successfully, but these errors were encountered: