[Bug 1223446] mono-shogun - Don't build with mono 4

bugzilla at redhat.com bugzilla at redhat.com
Thu May 21 06:49:14 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1223446

Timotheus Pokorra <timotheus.pokorra at solidcharity.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timotheus.pokorra at solidchar
                   |                            |ity.com



--- Comment #1 from Timotheus Pokorra <timotheus.pokorra at solidcharity.com> ---
currently, the build on Koji for Rawhide fails much earlier, before Mono is
involved: http://koji.fedoraproject.org/koji/packageinfo?packageID=17486

I did a build on F21 with mono4 installed, which took much longer. I got
trouble with generated code in
/root/rpmbuild/BUILD/shogun-4.0.0/build-x86-64.fc21/src/interfaces/csharp_modular/modshogunPINVOKE.cs

/usr/bin/mcs /t:library *.cs /out:modshogun.dll
modshogunPINVOKE.cs(7271,137): error CS0100: The parameter name `size' is a
duplicate
modshogunPINVOKE.cs(17102,255+): error CS0100: The parameter name `size' is a
duplicate
modshogunPINVOKE.cs(17888,190): error CS0100: The parameter name `size' is a
duplicate
modshogunPINVOKE.cs(17891,190): error CS0100: The parameter name `size' is a
duplicate
modshogunPINVOKE.cs(19190,192): error CS0100: The parameter name `size' is a
duplicate

and many more errors like this.

The code for example in line 7271 looks like this:
public static extern global::System.IntPtr new_IndexBlockTree__SWIG_3(int size,
[MarshalAs(UnmanagedType.LPArray)]double[] jarg1, int size,
[MarshalAs(UnmanagedType.LPArray)]double[] jarg2);

hope this helps...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Om4zktsBAD&a=cc_unsubscribe


More information about the ml mailing list