2008/2/11, Toshio Kuratomi <<a href="mailto:a.badger@gmail.com">a.badger@gmail.com</a>>:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
David Nielsen wrote:<br>><br>><br>> 2008/2/11, Ignacio Vazquez-Abrams <<a href="mailto:ivazqueznet@gmail.com">ivazqueznet@gmail.com</a><br>> <mailto:<a href="mailto:ivazqueznet@gmail.com">ivazqueznet@gmail.com</a>>>:<br>
><br>>     On Sun, 2008-02-10 at 20:42 +0100, David Nielsen wrote:<br>>      > 2008/2/10, Dan HorĂ¡k <<a href="mailto:dan@danny.cz">dan@danny.cz</a> <mailto:<a href="mailto:dan@danny.cz">dan@danny.cz</a>>>:<br>
>      >         The script included also some applications written in C# and<br>>      >         build with<br>>      >         Mono, are they really required to be rebuild?<br>>      ><br>>      > Pure managed code such as ndesk-dbus should not need a rebuild,<br>
>     thus I<br>>      > was also surprised to find them on the list.<br>><br>>     If it's pure managed code then why is it in an arch-specific package?<br>><br>><br>> Because the guidelines for packaging Mono are IMHO broken, we do this to<br>
> enable AOT after the fact, I have at least one upstream complaining<br>> loudly over this and personally I'm rather tired of patching the libdir<br>> stuff by hand.<br>> Would anyone oppose making that demand optional? As more and more code<br>
> is becoming pure managed it would greatly reduce the work required to<br>> maintain these packages if we could be allowed to package them as<br>> noarch. Less patching, closer to upstream.. all that good stuff and I<br>
> wouldn't be pulling out my hair everytime I feel like I'm writing yet<br>> another mindless patch that will never go upstream.<br>><br>I would oppose making the demand optional.  It either makes sense or it<br>
doesn't.  If it does make sense then %{_libdir} is the proper location.<br>  If it doesn't then %{_datadir} is the proper location.<br><br>Many upstreams will take patches for this issue as long as they<br>understand that the patch is making the location buildtime configurable.<br>
  If they don't it seems to be for one of two reasons:<br><br>1) They don't understand or don't want to understand multilib.<br>Therefore, they are willing to put things into /usr/lib and ignore the<br>possible usage of /usr/lib64.<br>
<br>2) They are unwilling to work around mono's limitation on having AOT<br>binaries in the same location as the mono assemblies.<br><br>Both Debian and Miguel have recommended that assemblies for mono be<br>treated as architecture dependent rather than shipping in /usr/share so<br>
upstreams using argument #2 can be pointed at Miguel's post on the<br>subject [1]_.  Multilib is a fact of life for Fedora so you can try to<br>persuade upstreams taking argument #1 that a proper build script will<br>
allow the right thing to happen on both multilib and non-multilib<br>systems.  Otherwise, yes, we do have to carry the patches to support our<br>multilib environment just as we'd have to carry patches if an upstream C<br>
library was unresponsive to our requests to unbork their custom Makefiles.<br><br>[1]_: <a href="http://osdir.com/ml/linux.debian.packages.mono/2005-02/msg00007.html">http://osdir.com/ml/linux.debian.packages.mono/2005-02/msg00007.html</a><br>
FHS section, points 3 & 4.<br></blockquote><div><br>You make a very convincing argument.. however in the interest of being diplomatic with the nice people who develop these fine tools, I think the smartest thing is to carry the patches and not argue with them - I think it's a case of respecting upstreams opinion even if it's wrong. They will come around the more distributions carry such patches I hope.<br>
</div><br></div>