[Mono-bugs] [Bug 541863] New: Mono fails to build IronRuby and IronPython

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 24 12:35:46 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=541863


           Summary: Mono fails to build IronRuby and IronPython
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ivan at flanders.co.nz
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=319758)
 --> (http://bugzilla.novell.com/attachment.cgi?id=319758)
build file (context.rb)

Description of Problem:
Mono fails to build IronRuby and IronPython. It throws an exception.



Steps to reproduce the problem:
1. get source of ironruby git clone git://github.com/ironruby/ironruby.git
2. patch the build script files:
    * replace Merlin/Main/Languages/Ruby/context.rb with the one from the
attachment
3. change line 15 in Merlin/Main/Languages/Ruby/rake/test.rake to read
    require "#{ENV['MERLIN_ROOT']}/Languages/Ruby/Scripts/irtests"
4. export MERLIN_ROOT=/path/to/git/clone/Merlin/Main
5. ensure you have ruby 1.8 and the pathname2 gem installed 
6. rake compile


Actual Results:

ivan at debian-stage:~/projects/ironruby
(master)» rake compile
(in /home/ivan/projects/ironruby)
-------------------------------------------------------------------------------
dlr_extension
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
dlr_core
-------------------------------------------------------------------------------
Actions/CallSiteBinder.cs(169,18): warning CS0219: The variable `targetType' is
assigned but its value is never used
Actions/CallSite.cs(317,17): warning CS0168: The variable `site' is declared
but never used
Actions/GetMemberBinder.cs(86,50): warning CS3006: Overloaded method
`System.Dynamic.GetMemberBinder.Bind(System.Dynamic.DynamicMetaObject, params
System.Dynamic.DynamicMetaObject[])' differing only in ref or out, or in array
rank, is not CLS-compliant
Actions/DynamicMetaObjectBinder.cs(217,43): (Location of the symbol related to
previous warning)
Ast/ExpressionStringBuilder.cs(165,28): warning CS0219: The variable `getIndex'
is assigned but its value is never used
Ast/ExpressionStringBuilder.cs(166,28): warning CS0219: The variable `setIndex'
is assigned but its value is never used
Ast/ExpressionStringBuilder.cs(167,31): warning CS0219: The variable
`deleteIndex' is assigned but its value is never used
Ast/ExpressionStringBuilder.cs(169,26): warning CS0219: The variable `invoke'
is assigned but its value is never used
Ast/ExpressionStringBuilder.cs(170,34): warning CS0219: The variable `create'
is assigned but its value is never used
Ast/DebugViewWriter.cs(232,28): warning CS0219: The variable `getIndex' is
assigned but its value is never used
Ast/DebugViewWriter.cs(233,28): warning CS0219: The variable `setIndex' is
assigned but its value is never used
Ast/DebugViewWriter.cs(234,31): warning CS0219: The variable `deleteIndex' is
assigned but its value is never used
Ast/DebugViewWriter.cs(236,26): warning CS0219: The variable `invoke' is
assigned but its value is never used
Ast/DebugViewWriter.cs(237,34): warning CS0219: The variable `create' is
assigned but its value is never used
Ast/DebugViewWriter.cs(869,18): warning CS0219: The variable `parenthesize' is
assigned but its value is never used
Compiler/LambdaCompiler.Logical.cs(178,33): warning CS0219: The variable `p' is
assigned but its value is never used
Compiler/LambdaCompiler.Unary.cs(111,35): warning CS0219: The variable
`labIfNull' is assigned but its value is never used
Compiler/ILGen.cs(652,18): warning CS0219: The variable `isFromFloatingPoint'
is assigned but its value is never used
Actions/CallSite.cs(217,22): warning CS0169: The private method
`System.Runtime.CompilerServices.CallSite<T>.ClearRuleCache()' is never used
Compilation succeeded - 18 warning(s)
-------------------------------------------------------------------------------
dlr_libs
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
dlr_com
-------------------------------------------------------------------------------
Actions/ActionBinder.cs(114,18): warning CS0219: The variable `visType' is
assigned but its value is never used
Actions/DefaultBinder.Conversions.cs(40,18): warning CS0219: The variable
`knownType' is assigned but its value is never used
Actions/DefaultBinder.GetMember.cs(133,26): warning CS0219: The variable `x' is
assigned but its value is never used
Actions/DefaultBinder.Invoke.cs(230,24): warning CS0219: The variable
`instance' is assigned but its value is never used
Interpreter/LightLambda.cs(184,17): warning CS0168: The variable `ret' is
declared but never used
Exception caught by the compiler while compiling:
   Block that caused the problem begin at: Ast/GeneratorRewriter.cs(797,39):
                     Block being compiled:
[Ast/GeneratorRewriter.cs(797,74):,Ast/GeneratorRewriter.cs(808,9):]
Mono.CSharp.InternalErrorException: VerifyArgumentsCompat didn't find any
problem with rejected candidate MethodBuilder [GeneratorRewriter::Rewrite]
Internal compiler error at Ast/GeneratorRewriter.cs(797,39):: exception caught
while emitting MethodBuilder [GeneratorRewriter::VisitBinary]

Unhandled Exception: Mono.CSharp.InternalErrorException: VerifyArgumentsCompat
didn't find any problem with rejected candidate MethodBuilder
[GeneratorRewriter::Rewrite]
  at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList& Arguments, Boolean may_fail, Location loc)
[0x00000] 
  at Mono.CSharp.Invocation.DoResolveOverload (Mono.CSharp.EmitContext ec)
[0x00000] 
  at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [0x00000] 
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
  at Mono.CSharp.Return.DoResolve (Mono.CSharp.EmitContext ec) [0x00000] 
  at Mono.CSharp.ExitStatement.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
  at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext
anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters
ip, IMethodData md, System.Boolean& unreachable) [0x00000] 
rake aborted!
Command failed with status (1): [csc /noconfig @/tmp/dlr_com20090924-14279-..]

(See full trace by running task with --trace)


Expected Results:

that the compilation finishes without a problem.

How often does this happen? 

Every time

Additional Information:

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list