[Ironruby-core] New build errors on Mono

C.J. Adams-Collier cjac at colliertech.org
Mon Sep 15 12:51:45 EDT 2008


Hey all,

Marek fixed the last build problem (Thanks Marek!).

Now we get a new one.

./Runtime/RubyExecutionContext.cs(1399,41): error CS0826: The type of
an implicitly typed array cannot be inferred from the initializer. Try
specifying array type explicitly
Compilation failed: 1 error(s), 7 warnings

Details in attached log.  Sounds like something else I need to throw
to Marek.  What do you folks think?

cjac at sanxiyn:~$ svn info /usr/src/svn/mono/  /usr/src/svn/mono/mcs
/usr/src/svn/ironruby/ | grep -e '^URL' -e '^Revision'
URL: svn://anonsvn.mono-project.com/source/trunk/mono
Revision: 113037
URL: svn://anonsvn.mono-project.com/source/trunk/mcs
Revision: 113037
URL: svn://rubyforge.org/var/svn/ironruby/trunk
Revision: 144


Cheers,

C.J.
-------------- next part --------------
cjac at sanxiyn:/usr/src/svn/ironruby$ rake compile mono=1 --trace
(in /usr/src/svn/ironruby)
** Invoke compile (first_time)
** Invoke happy (first_time)
** Execute happy
** Invoke clean_build (first_time)
** Invoke happy
** Execute clean_build
** Invoke compile_dlr (first_time)
** Invoke clean_build
** Execute compile_dlr
./ast/MethodCallExpression.cs(167,18): warning CS0219: The variable `invoke' is assigned but its value is never used
./actions/GetMemberAction.cs(44,43): warning CS3006: Overloaded method `System.Scripting.Actions.GetMemberAction.Bind(params System.Scripting.Actions.MetaObject[])' differing only in ref or out, or in array rank, is not CLS-compliant
./actions/metaaction.cs(159,36): (Location of the symbol related to previous warning)
./ast/expressiontreevisitor.cs(99,30): warning CS0219: The variable `c' is assigned but its value is never used
./actions/callsite.cs(255,25): warning CS0219: The variable `newRule' is assigned but its value is never used
./actions/callsite.cs(146,18): warning CS0219: The variable `typeofT' is assigned but its value is never used
./com/VarEnumSelector.cs(313,37): warning CS0219: The variable `narrowingLevel' is assigned but its value is never used
./compiler/LambdaCompiler.Logical.cs(182,33): warning CS0219: The variable `p' is assigned but its value is never used
./compiler/LambdaCompiler.Logical.cs(234,19): warning CS0219: The variable `labReturnLeft' is assigned but its value is never used
./compiler/LambdaCompiler.Logical.cs(410,19): warning CS0219: The variable `labReturnLeft' is assigned but its value is never used
./compiler/LambdaCompiler.Statements.cs(368,19): warning CS0219: The variable `endCatchBlock' is assigned but its value is never used
./compiler/lambdacompiler.unary.cs(84,35): warning CS0219: The variable `labIfNull' is assigned but its value is never used
./compiler/TryStatementInfo.cs(110,24): warning CS0219: The variable `cb' is assigned but its value is never used
./compiler/ilgen.cs(1104,18): warning CS0219: The variable `isFromFloatingPoint' is assigned but its value is never used
./ast/Expression.cs(185,24): warning CS0169: The private property `System.Linq.Expressions.Expression.Dump' is never used
./actions/callsite.cs(326,29): warning CS0169: The private method `System.Scripting.Actions.CallSite<T>.ClearRuleCache()' is never used
./actions/rule.cs(123,24): warning CS0169: The private property `System.Scripting.Actions.Rule<T>.Dump' is never used
./com/ExcepInfo.cs(37,24): warning CS0414: The private field `System.Scripting.Com.ExcepInfo.pvReserved' is assigned but its value is never used
./com/ExcepInfo.cs(38,24): warning CS0414: The private field `System.Scripting.Com.ExcepInfo.pfnDeferredFillIn' is assigned but its value is never used
./com/IDispatchComObject.cs(144,20): warning CS0169: The private method `System.Scripting.Com.IDispatchComObject.Invoke(System.Scripting.Com.IDispatch, int, out object)' is never used
./com/Variant.cs(150,21): warning CS0169: The private method `System.Scripting.Com.Variant.Dummy()' is never used
./com/Variant.cs(70,28): warning CS0169: The private field `System.Scripting.Com.Variant.Record._record' is never used
./com/Variant.cs(71,28): warning CS0169: The private field `System.Scripting.Com.Variant.Record._recordInfo' is never used
Compilation succeeded - 22 warning(s)
Read in 17 resources from '/usr/src/svn/ironruby/src/microsoft.scripting/math/MathResources.resx'
Writing resource file...  Done.
./tuple.cs(251,21): warning CS0219: The variable `argCnt' is assigned but its value is never used
./actions/combobinder.cs(42,36): warning CS3006: Overloaded method `Microsoft.Scripting.Actions.ComboBinder.Bind(params System.Scripting.Actions.MetaObject[])' differing only in ref or out, or in array rank, is not CLS-compliant
/usr/src/svn/ironruby/build/mono_debug/Microsoft.Scripting.Core.dll (Location of the symbol related to previous warning)
./actions/defaultbinder.conversions.cs(36,18): warning CS0219: The variable `knownType' is assigned but its value is never used
./actions/defaultbinder.getmember.cs(145,26): warning CS0219: The variable `x' is assigned but its value is never used
./actions/defaultbinder.invoke.cs(241,24): warning CS0219: The variable `instance' is assigned but its value is never used
./generation/ilgen.cs(1176,18): warning CS0219: The variable `isFromFloatingPoint' is assigned but its value is never used
./math/BigInteger.cs(364,13): warning CS0642: Possible mistaken empty statement
./actions/getmemberbinderhelper.cs(128,22): warning CS0169: The private method `Microsoft.Scripting.Actions.GetMemberBinderHelper<T>.MakeGenericBody(System.Type, Microsoft.Scripting.Actions.MemberGroup, System.Linq.Expressions.Expression)' is never used
./actions/getmemberbinderhelper.cs(189,30): warning CS0169: The private method `Microsoft.Scripting.Actions.GetMemberBinderHelper<T>.GetCallableMethods(Microsoft.Scripting.Actions.MemberGroup)' is never used
./actions/getmemberbinderhelper.cs(200,22): warning CS0169: The private method `Microsoft.Scripting.Actions.GetMemberBinderHelper<T>.MakeIncorrectArgumentCountError()' is never used
./actions/getmemberbinderhelper.cs(208,22): warning CS0169: The private method `Microsoft.Scripting.Actions.GetMemberBinderHelper<T>.MakeGenericPropertyError()' is never used
./actions/namespacetracker.cs(162,22): warning CS0169: The private method `Microsoft.Scripting.Actions.NamespaceTracker.LoadAllTypes()' is never used
./actions/calls/ByRefReturnBuilder.cs(60,31): warning CS0169: The private method `Microsoft.Scripting.Actions.Calls.ByRefReturnBuilder.GetValue(object[], object, int)' is never used
./actions/calls/MethodBinder.cs(528,22): warning CS0169: The private method `Microsoft.Scripting.Actions.Calls.MethodBinder.GetMinAndMaxArgs(out int, out int)' is never used
./ast/lambdabuilder.cs(614,28): warning CS0169: The private method `Microsoft.Scripting.Ast.LambdaBuilder.ToArray<T>(System.Collections.Generic.List<T>)' is never used
./interpretation/Interpreter.cs(517,31): warning CS0169: The private method `Microsoft.Scripting.Interpretation.Interpreter.EvalCoalesce(object, object)' is never used
./runtime/languagecontext.cs(437,26): warning CS0169: The private method `Microsoft.Scripting.Runtime.LanguageContext.GetArg<T>(object[], int, bool)' is never used
Compilation succeeded - 17 warning(s)
** Invoke compile_ruby (first_time)
** Invoke compile_dlr
** Execute compile_ruby
./Compiler/AST/Expressions/WhileLoopExpression.cs(81,28): warning CS0219: The variable `clearRedoStmt' is assigned but its value is never used
./Compiler/AST/Expressions/YieldCall.cs(41,28): warning CS0219: The variable `evalUnwinder' is assigned but its value is never used
./Compiler/Generation/overriddenmembers.cs(181,22): warning CS0219: The variable `declType' is assigned but its value is never used
./Runtime/Converter.cs(502,17): warning CS0219: The variable `rank' is assigned but its value is never used
./Runtime/RubyExceptionData.cs(229,25): warning CS0219: The variable `dict' is assigned but its value is never used
./Runtime/RubyExceptionData.cs(273,25): warning CS0219: The variable `dict' is assigned but its value is never used
./Runtime/RubyExceptions.cs(149,34): warning CS0219: The variable `ec' is assigned but its value is never used
./Runtime/RubyExecutionContext.cs(1399,41): error CS0826: The type of an implicitly typed array cannot be inferred from the initializer. Try specifying array type explicitly
Compilation failed: 1 error(s), 7 warnings
rake aborted!
Command failed with status (1): [gmcs /out:"/usr/src/svn/ironruby/build/mon...]
/usr/lib/ruby/1.8/rake.rb:722:in `sh'
/usr/lib/ruby/1.8/rake.rb:729:in `call'
/usr/lib/ruby/1.8/rake.rb:729:in `sh'
/usr/lib/ruby/1.8/rake.rb:812:in `sh'
./context.rb:214:in `exec'
./context.rb:503:in `compile'
./context.rb:487:in `chdir'
./context.rb:487:in `compile'
/usr/src/svn/ironruby/Rakefile:286
./context.rb:661:in `instance_eval'
./context.rb:661:in `source_context'
/usr/src/svn/ironruby/Rakefile:285
/usr/lib/ruby/1.8/rake.rb:387:in `call'
/usr/lib/ruby/1.8/rake.rb:387:in `execute'
/usr/lib/ruby/1.8/rake.rb:387:in `each'
/usr/lib/ruby/1.8/rake.rb:387:in `execute'
/usr/lib/ruby/1.8/rake.rb:357:in `invoke'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:350:in `invoke'
/usr/lib/ruby/1.8/rake.rb:364:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:999:in `each'
/usr/lib/ruby/1.8/rake.rb:999:in `send'
/usr/lib/ruby/1.8/rake.rb:999:in `each'
/usr/lib/ruby/1.8/rake.rb:363:in `invoke_prerequisites'
/usr/lib/ruby/1.8/rake.rb:356:in `invoke'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/1.8/rake.rb:350:in `invoke'
/usr/lib/ruby/1.8/rake.rb:1906:in `run'
/usr/lib/ruby/1.8/rake.rb:1906:in `each'
/usr/lib/ruby/1.8/rake.rb:1906:in `run'
/usr/bin/rake:4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080915/b8ea25e5/attachment.bin>


More information about the Ironruby-core mailing list