[Mono-dev] RPM Build Error

Timotheus Pokorra timotheus.pokorra at solidcharity.com
Mon Aug 18 21:07:00 UTC 2014


Hello Neale,

> Using the source RPM for openSUSE 12.3 I get the following error:
I assume that you are refering to my packages that I build on the OBS
server? They are not official, but can be useful.

> usr/src/packages/BUILD/mono-3.6.0
> + cp ../../SOURCES/env.sh /usr/src/packages/BUILDROOT/mono-opt-3.6.0-1.1.x86_64//opt/mono
> cp: cannot stat `../../SOURCES/env.sh': No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.abBMdB (%install)
>
> Apparently, the env.sh didn't get put in the source RPM.
You can find all the sources here:
https://build.opensuse.org/package/show/home:tpokorra:mono/mono-opt

I guess I have to add the env.sh properly as a source to the spec file.
I will try this tomorrow.
Thanks for the suggestion, it makes sense!

All the best,
  Timotheus


More information about the Mono-devel-list mailing list