Christian, all in all I have to agree with your proposed idea. It makes
great sense and should have been done a long time ago.
In order to provide multi-arch support (32-bit and 64-bit packages
can be both installed on x86_64 systems), the standard mono's libdir
/usr/lib was changed to %{_libdir} (which is /usr/lib64 on x86_64).
Yeah,
that's a huge hack.
Since this contradicts upstream's understanding of the directory
structure, this causes lots of unnecessary work for the maintainers and
quite a couple of bug reports due to uncaught uses of these default
paths within the mono packages. Nearly every mono package must be
adjusted and so the majority of all patches for mono consists solely of
%{_libdir} "fixes".
Indeed. And it can lead to unforseen bugs that nor
upstream, neither the
packagers can fix.
Since it looks like that upstream (not only
mono-core, basically all mono-based packages) does not agree to these
changes, non of these patches are accepted upstream.
Just as with every other
package, we should provide it as upstream.
However, solving this issue would include to loose the ability to
use
32bit parts of the mono stack in x86-64
A usecase which doesn't make sense
anyway. We won't lose anything by
letting it go.My plan is to run this by the following groups to get
their agreement:
Please let me know you thoughts!
I think this is a very good
idea and it is definitely worth implementing.
Basically all we need to do is remove a bunch of 'sed' commands, is that
right?
On 05/03/2011 02:10 AM, Drew Kwashnak wrote:
Just to make sure I understand this, this change would drop the
ability to run 32 bit Mono of 64 bit systems, but 32 bit Mono would
run on 32 bit systems and 64 bit mono would run on 64 bit systems?
As I understand
it, it means that you could no longer have both the
32-bit and the 64-bit versions of Mono installed on the same system. So
32-bit Mono would run on 32-bit systems (as it does now), and on 64-bit
you could install either the 32-bit or the 64-bit version, just not both
at the same time.
Cheers,
Timur