Mailinglist Archive: opensuse-buildservice (170 mails)

< Previous Next >
Re: [opensuse-buildservice] Re: AdrianS , Could you please, set the ppc filter for MonoOSC in openSUSE:Factory:Contrib?
  • From: Michal Marek <mmarek@xxxxxxx>
  • Date: Wed, 30 Sep 2009 17:00:55 +0200
  • Message-id: <4AC372A7.1030704@xxxxxxx>
Michal Marek napsal(a):
Michal Vyskocil napsal(a):
On Wednesday 30 of September 2009 12:39:15 Michal Marek wrote:
Petit Eric napsal(a):
I forget to ask about RpmSpecManager and SyntaxHighlighting too :-)
which are MonoOSC dependency's
Is there a reason why the packages aren't noarch?


Yes, the reason is the AOT - Ahead Of Time - compile. Explanation from Mono
Packaging Guidelines [1]

The main reason for this is that mono can ahead-of-time compile its
into ELF shared objects. These AOTs have to exist in the same directory as
their DLL/EXE counterparts otherwise mono cannot use them. Even if we, as
packagers, choose not to create the AOT files when we build the mono rpms,
system administrator can choose to create them after install. Since there's
way to place the mono assemblies into an arch independent directory and the
AOTs into arch dependent directories, the whole thing has to go into an arch
dependent tree.

We have noarch mono packages in Factory. Are these broken then?

BTW, if we install mono assemblies into /usr/lib on all platforms and
mark the packages noarch, I don't see how that breaks the above
use-case. /usr/lib cannot be nfs-shared anyway, so there is no problem
if an admin puts aot-compiled native files there. IMO the policy should
be changed, there is no win in duplicating the files in /usr/lib and

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups