[Mono-list] Error building corlib after Type.IsArrayImpl change was committed

Duncan Mak duncan@ximian.com
24 Jul 2003 01:32:10 -0400


Hey,

I've been assigned to work on creating daily mono snapshot tarballs,
monocharge tarballs and monolite tarballs.

I can't get any tarballs out until we can fix this problem.

For the last 2 hours, I have been battling these 2 build errors. Miguel
gave me his latest working corlib (#1), and using that, I'm able to
build another corlib (#2).

I filed a bug for this: http://bugzilla.ximian.com/show_bug.cgi?id=46843

Error set #1 (using http://primates.ximian.com/~miguel/tmp/corlib.dll)

make[2]: Entering directory `/home/duncan/Mono/mcs/class/corlib'
touch ../../build/deps/corlib.dll.stamp
mcs    -g /nowarn:1595 /nowarn:0169 /nowarn:0109 /nowarn:0067 /nowarn:0649 /nowarn:0679 /noconfig /unsafe /nostdlib /target:library /out:../../class/lib/corlib.dll @../../build/deps/corlib.dll.response
System/String.cs(112) error CS0225: params parameter has to be a single dimensional array
System/String.cs(161) error CS0225: params parameter has to be a single dimensional array
System/String.cs(168) error CS0225: params parameter has to be a single dimensional array
System/String.cs(175) error CS0225: params parameter has to be a single dimensional array
System/String.cs(564) error CS0225: params parameter has to be a single dimensional array
System/String.cs(568) error CS0225: params parameter has to be a single dimensional array
System/String.cs(777) error CS0225: params parameter has to be a single dimensional array
System/String.cs(811) error CS0225: params parameter has to be a single dimensional array
System/Console.cs(185) error CS0225: params parameter has to be a single dimensional array
System/Console.cs(290) error CS0225: params parameter has to be a single dimensional array
System.IO/TextWriter.cs(144) error CS0225: params parameter has to be a single dimensional array
System.IO/TextWriter.cs(249) error CS0225: params parameter has to be a single dimensional array
System.IO/TextWriter.cs(402) error CS0115: `System.IO.SynchronizedWriter.Write' no suitable methods found to override
System.IO/TextWriter.cs(531) error CS0115: `System.IO.SynchronizedWriter.WriteLine' no suitable methods found to override
System.Text/Encoding.cs(225) error CS0225: params parameter has to be a single dimensional array
System.Text/StringBuilder.cs(474) error CS0225: params parameter has to be a single dimensional array
System.Text/StringBuilder.cs(482) error CS0225: params parameter has to be a single dimensional array
Compilation failed: 17 error(s), 0 warnings


Error set #2 (using http://primates.ximian.com/~duncan/tmp/corlib.dll)

make[2]: Entering directory `/home/duncan/Mono/mcs/class/corlib'
mcs    -g /nowarn:1595 /nowarn:0169 /nowarn:0109 /nowarn:0067 /nowarn:0649 /nowarn:0679 /noconfig /unsafe /nostdlib /target:library /out:../../class/lib/corlib.dll @../../build/deps/corlib.dll.response
System/String.cs(818) error CS0030: Cannot convert type 'string' to 'string'
System/Enum.cs(272) error CS0030: Cannot convert type 'string' to 'string'
System/Array.cs(323) error CS0030: Cannot convert type 'int' to 'int'
System/DateTime.cs(468) error CS0030: Cannot convert type 'string' to 'string'
System/Environment.cs(274) error CS0030: Cannot convert type 'string' to 'string'
System.IO/Directory.cs(101) error CS0030: Cannot convert type 'string' to 'string'
System.IO/Directory.cs(104) error CS0030: Cannot convert type 'string' to 'string'
System.IO/DirectoryInfo.cs(96) error CS0030: Cannot convert type 'string' to 'string'
System.IO/DirectoryInfo.cs(110) error CS0030: Cannot convert type 'string' to 'string'
System.IO/Path.cs(312) error CS1502: The best overloaded match for method 'string[] System.String.Split (char[], int)' has some invalid arguments
System.IO/Path.cs(312) error CS1503: Argument 0: Cannot convert from 'char' to 'char[]'
System.IO/Path.cs(312) error CS1501: No overload for method `Split' takes `2' arguments
System.IO/Path.cs(312) error CS8006: Could not find any applicable function for this argument list
System.IO/Path.cs(316) error CS0165: Use of unassigned local variable `dirs'
System.Runtime.Remoting/TypeInfo.cs(82) error CS0030: Cannot convert type 'string' to 'string'
System.Runtime.Remoting/TypeInfo.cs(85) error CS0030: Cannot convert type 'string' to 'string'
System.Runtime.Remoting.Messaging/MethodDictionary.cs(81) error CS0030: Cannot convert type 'string' to 'string'
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs(200) error CS0030: Cannot convert type 'byte' to 'byte'
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs(213) error CS0030: Cannot convert type 'byte' to 'byte'
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs(272) error CS0030: Cannot convert type 'byte' to 'byte'
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs(285) error CS0030: Cannot convert type 'byte' to 'byte'
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs(173) error CS0030: Cannot convert type 'byte' to 'byte'
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs(187) error CS0030: Cannot convert type 'byte' to 'byte'
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs(236) error CS0030: Cannot convert type 'byte' to 'byte'
System.Runtime.Remoting.Messaging/MonoMethodMessage.cs(253) error CS0030: Cannot convert type 'byte' to 'byte'
System.Runtime.Serialization.Formatters.Binary/ObjectWriter.cs(197) error CS0030: Cannot convert type 'string' to 'string'
System.Runtime.Serialization.Formatters.Binary/MessageFormatter.cs(463) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Cryptography/DES.cs(89) error CS0030: Cannot convert type 'ulong' to 'ulong'
System.Security.Cryptography/DES.cs(101) error CS0030: Cannot convert type 'ulong' to 'ulong'
System.Security.Cryptography/DESCryptoServiceProvider.cs(332) error CS0030: Cannot convert type 'byte' to 'byte'
System.Security.Cryptography/DESCryptoServiceProvider.cs(353) error CS0030: Cannot convert type 'byte' to 'byte'
System.Security.Permissions/EnvironmentPermission.cs(65) error CS1502: The best overloaded match for method 'string[] System.String.Split (params char[])' has some invalid arguments
System.Security.Permissions/EnvironmentPermission.cs(65) error CS1503: Argument 0: Cannot convert from 'char' to 'params char[]'
System.Security.Permissions/EnvironmentPermission.cs(65) error CS1501: No overload for method `Split' takes `1' arguments
System.Security.Permissions/EnvironmentPermission.cs(65) error CS8006: Could not find any applicable function for this argument list
System.Security.Permissions/EnvironmentPermission.cs(66) error CS0165: Use of unassigned local variable `paths'
System.Security.Permissions/EnvironmentPermission.cs(175) error CS1502: The best overloaded match for method 'string[] System.String.Split (params char[])' has some invalid arguments
System.Security.Permissions/EnvironmentPermission.cs(175) error CS1503: Argument 0: Cannot convert from 'char' to 'params char[]'
System.Security.Permissions/EnvironmentPermission.cs(175) error CS1501: No overload for method `Split' takes `1' arguments
System.Security.Permissions/EnvironmentPermission.cs(175) error CS8006: Could not find any applicable function for this argument list
System.Security.Permissions/EnvironmentPermission.cs(176) error CS0165: Use of unassigned local variable `targets'
System.Security.Permissions/EnvironmentPermission.cs(186) error CS1502: The best overloaded match for method 'string[] System.String.Split (params char[])' has some invalid arguments
System.Security.Permissions/EnvironmentPermission.cs(186) error CS1503: Argument 0: Cannot convert from 'char' to 'params char[]'
System.Security.Permissions/EnvironmentPermission.cs(186) error CS1501: No overload for method `Split' takes `1' arguments
System.Security.Permissions/EnvironmentPermission.cs(186) error CS8006: Could not find any applicable function for this argument list
System.Security.Permissions/EnvironmentPermission.cs(187) error CS0165: Use of unassigned local variable `targets'
System.Security.Permissions/EnvironmentPermission.cs(238) error CS1502: The best overloaded match for method 'string[] System.String.Split (params char[])' has some invalid arguments
System.Security.Permissions/EnvironmentPermission.cs(238) error CS1503: Argument 0: Cannot convert from 'char' to 'params char[]'
System.Security.Permissions/EnvironmentPermission.cs(238) error CS1501: No overload for method `Split' takes `1' arguments
System.Security.Permissions/EnvironmentPermission.cs(238) error CS8006: Could not find any applicable function for this argument list
System.Security.Permissions/EnvironmentPermission.cs(239) error CS0165: Use of unassigned local variable `paths'
System.Security.Permissions/FileIOPermission.cs(109) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Permissions/FileIOPermission.cs(162) error CS1502: The best overloaded match for method 'string[] System.String.Split (params char[])' has some invalid arguments
System.Security.Permissions/FileIOPermission.cs(162) error CS1503: Argument 0: Cannot convert from 'char' to 'params char[]'
System.Security.Permissions/FileIOPermission.cs(162) error CS1501: No overload for method `Split' takes `1' arguments
System.Security.Permissions/FileIOPermission.cs(162) error CS8006: Could not find any applicable function for this argument list
System.Security.Permissions/FileIOPermission.cs(163) error CS0165: Use of unassigned local variable `files'
System.Security.Permissions/FileIOPermission.cs(167) error CS1502: The best overloaded match for method 'string[] System.String.Split (params char[])' has some invalid arguments
System.Security.Permissions/FileIOPermission.cs(167) error CS1503: Argument 0: Cannot convert from 'char' to 'params char[]'
System.Security.Permissions/FileIOPermission.cs(167) error CS1501: No overload for method `Split' takes `1' arguments
System.Security.Permissions/FileIOPermission.cs(167) error CS8006: Could not find any applicable function for this argument list
System.Security.Permissions/FileIOPermission.cs(168) error CS0165: Use of unassigned local variable `files'
System.Security.Permissions/FileIOPermission.cs(172) error CS1502: The best overloaded match for method 'string[] System.String.Split (params char[])' has some invalid arguments
System.Security.Permissions/FileIOPermission.cs(172) error CS1503: Argument 0: Cannot convert from 'char' to 'params char[]'
System.Security.Permissions/FileIOPermission.cs(172) error CS1501: No overload for method `Split' takes `1' arguments
System.Security.Permissions/FileIOPermission.cs(172) error CS8006: Could not find any applicable function for this argument list
System.Security.Permissions/FileIOPermission.cs(173) error CS0165: Use of unassigned local variable `files'
System.Security.Permissions/FileIOPermission.cs(227) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Permissions/FileIOPermission.cs(237) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Permissions/FileIOPermission.cs(247) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Permissions/FileIOPermission.cs(285) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Permissions/FileIOPermission.cs(295) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Permissions/FileIOPermission.cs(305) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Permissions/FileIOPermission.cs(336) error CS0030: Cannot convert type 'string' to 'string'
System.Security.Principal/GenericPrincipal.cs(40) error CS0030: Cannot convert type 'string' to 'string'
Compilation failed: 75 error(s), 0 warnings