mono-core conflicts
Alexander Larsson
alexl at redhat.com
Wed Feb 27 15:03:05 UTC 2008
On Mon, 2008-02-25 at 02:11 +0100, Michael Schwendt wrote:
> On Sun, 24 Feb 2008 21:47:53 +0100, Dan Horák wrote:
>
> >
> > Debarshi Ray píše v Po 25. 02. 2008 v 01:55 +0530:
> > > Trying to install mono-devel on Fedora 8 x86_64 leads to a transaction error:
> > >
> > > # yum -y --enablerepo=fedora --enablerepo=updates install mono-devel
> > > [...]
> > > Dependencies Resolved
> > >
> > > =============================================================================
> > > Package Arch Version Repository Size
> > > =============================================================================
> > > Installing:
> > > mono-devel x86_64 1.2.5.1-3.fc8 updates 1.6 M
> > > mono-devel i386 1.2.5.1-3.fc8 updates 1.6 M
> > > Installing for dependencies:
> > > mono-core i386 1.2.5.1-3.fc8 updates 12 M
> > >
> > > Transaction Summary
> > > =============================================================================
> > > Install 3 Package(s)
> > > Update 0 Package(s)
> > > Remove 0 Package(s)
> > >
> > > Total download size: 15 M
> > > [...]
> > > Transaction Check Error:
> > > file /usr/bin/smcs from install of mono-core-1.2.5.1-3.fc8.i386
> > > conflicts with file from package mono-core-1.2.5.1-3.fc8.x86_64
> > >
> > > Error Summary
> > > -------------
> > >
> > > Is this worth filing a bug? I could not find something similar in
> > > Bugzilla: https://bugzilla.redhat.com/buglist.cgi?product=Fedora&version=&version=7&version=8&component=mono&bug_status=NEW&bug_status=ASSIGNED&bug_status=NEEDINFO&bug_status=MODIFIED&bug_status=ON_DEV&bug_status=ON_QA&bug_status=VERIFIED&bug_status=FAILS_QA&bug_status=RELEASE_PENDING&bug_status=POST&bug_status=PASSES_QA&bug_status=CLOSED&short_desc_type=allwordssubstr&short_desc=&long_desc_type=allwordssubstr&long_desc=
> >
> > It looks like that mono-core package is not multi-lib aware. It contains
> > some native shared libs (/usr/lib*/*.so) that should go into -libs
> > subpackage or mono-core should be added to some kind of multi-lib black
> > list.
>
> RPM explicitly complains about /usr/bin/scms, and if it sees a conflict in
> /usr/bin that is evidence of the file not being a binary executable:
>
> $ file /usr/bin/smcs
> /usr/bin/smcs: Bourne shell script text executable
>
> In that case, afaik, the file must be identical on all platforms. But
> it isn't:
>
> $ diff -u smcs.i386 smcs.x86_64
> --- smcs.i386 2007-11-09 22:40:45.000000000 +0100
> +++ smcs.x86_64 2007-11-09 22:25:25.000000000 +0100
> @@ -1,2 +1,2 @@
> #!/bin/sh
> -MONO_PATH="/usr/lib/mono/2.1/:$MONO_PATH" exec /usr/bin/mono $MONO_OPTIONS /usr/lib/mono/2.1/gmcs.exe -pkg:silver -langversion:linq "$@"
> +MONO_PATH="/usr/lib64/mono/2.1/:$MONO_PATH" exec /usr/bin/mono $MONO_OPTIONS /usr/lib64/mono/2.1/gmcs.exe -pkg:silver -langversion:linq "$@"
It should be using the `/usr/bin/monodir` hack the other shell wrappers
use.
More information about the devel
mailing list