[Mono-dev] Error Building Mono RPM for Fedora

Mark Lintner mlintner at sinenomine.net
Sun Sep 1 17:50:11 UTC 2013

I believe that there are bugs in the makefiles way down where sgen gets built, specifically the way softlinks are handled that relate to this but also a few other problems. There are fixes that were recently applied to the trunk that fix it. I would have thought 3.3 would have the fixes but I guess not. I was trying to build 3.2.1 and became stuck at the problem you describe. When I obtained the latest mono from git that problem did not happen. There are a couple of more packages that mono is dependent on which were a problem for me also maybe you have that resolved.  I tried to backport the fixes from the master to 3.2.1 but there was too much and I could not get it to work and I wouldn't recommend that. I would move to mono from git or wait for the next tarball to be released and you should be good.

From: mono-devel-list-bounces at lists.ximian.com [mono-devel-list-bounces at lists.ximian.com] on behalf of Marcel Hellwig [keks at cookiesoft.de]
Sent: Saturday, August 31, 2013 5:12 AM
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Error Building Mono RPM for Fedora

On 31.08.2013 01:47, Mark Lintner wrote:
> if you put this at the top of the spec file it should get you past
> that problem.
> %global debug_package %{nil}
Don't know if there is any difference between %global and %define, both
works for me.
> It looks like you don't have the build environment set up in your home directory
> mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
> echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
New for me, what is this for?
> then you will put the spec in SPECS and the archive in SOURCES
> then
> rpmbuild -ba rpmbuild/SPECS/mono-core.spec
At the very end I'll get an error like this:
    Symlink points to BuildRoot: /usr/bin/mono ->

what should I do?

More information about the Mono-devel-list mailing list