[Mono-bugs] [Bug 474746] New: Cannot compile DbMetal From DbLinq project

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Feb 11 07:40:20 EST 2009


https://bugzilla.novell.com/show_bug.cgi?id=474746


           Summary: Cannot compile DbMetal From DbLinq project
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.2.x
          Platform: i386
        OS/Version: openSUSE 11.1
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: awilliam at whitemice.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.5)
Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5

Compiling DbMetal from DbLinq project fails with.

Building: DbMetal (Release)
Performing main compilation...
/usr/bin/gmcs
"/out:/home/awilliam/Works/DbLinq/dblinq2007-read-only/build/DbMetal.exe"
"/r:System.dll" "/r:System.Core.dll" "/r:System.Data.dll"
"/r:System.Data.Linq.dll" "/r:System.Web.Extensions.dll" "/r:System.Xml.dll"
"/r:System.Configuration.dll"
"/r:/home/awilliam/Works/DbLinq/dblinq2007-read-only/build/DbLinq.PostgreSql.dll"
"/r:/home/awilliam/Works/DbLinq/dblinq2007-read-only/build/DbLinq.dll"
/noconfig /nologo /codepage:utf8 /warn:4 /optimize+ /define:"DEBUG;TRACE"
/t:exe
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbLinq.ProductInfo.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/AttributeDefinition.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeDomGenerator/AbstractCodeDomGenerator.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/EntityInterface/Implementation/INotifyPropertyChangedImplementation.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/GenerationContext.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/ICodeGenerator.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/EntityInterface/Implementation/InterfaceImplementation.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeDomGenerator/VisualBasicCodeDomGenerator.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeDomGenerator/CSharpCodeDomGenerator.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Context.Ctor.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Procedure.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CSCodeGenerator.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CSCodeWriter.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/CodeWriter.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/EntityInterface/IImplementation.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/EntityInterface/Implementation/IModifiedImplementation.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/EntityInterface/Implementation/INotifyPropertyChangingImplementation.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/Processor.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/IProcessor.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/ISchemaLoaderFactory.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/SpecificationDefinition.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/ParameterDefinition.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Language/EnglishWords.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Language/FrenchWords.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Language/GermanWords.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Properties/Settings.Designer.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Reference.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Schema/DbmlRename.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Schema/DbmlRenameLoader.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Schema/NameAliasesLoader.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Utility/VariablesExtension.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Program.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/AbstractParameters.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Properties/AssemblyInfo.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Configuration/ProvidersSection.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Parameters.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Schema/TableAlias.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/SchemaLoaderFactory.cs"
"/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Utility/EnvironmentExtension.cs"
"/res:/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Language/EnglishWords.txt,DbMetal.Language.EnglishWords.txt"
"/res:/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Language/FrenchWords.txt,DbMetal.Language.FrenchWords.txt"
"/res:/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Language/GermanWords.txt,DbMetal.Language.GermanWords.txt" 
Exception caught by the compiler while compiling:
   Block that caused the problem begin at:
/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,99):
                     Block being compiled:
[/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,104):,/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,118):]
System.Exception: Expression Mono.CSharp.LocalVariableReference did not set its
type after Resolve
called from: Mono.CSharp.LocalVariableReference
Exception caught by the compiler while compiling:
   Block that caused the problem begin at:
/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,66):
                     Block being compiled:
[/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,66):,Internal(1,1):]
Mono.CSharp.InternalErrorException:
/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,99):
Exception caught by the compiler while compiling:
   Block that caused the problem begin at:
/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(473,32):
                     Block being compiled:
[/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,25):,/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(589,55):]
Mono.CSharp.InternalErrorException:
/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,99):
Internal compiler error at
/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(473,32)::
exception caught while emitting MethodBuilder [CodeGenerator::WriteClassParent]


Unhandled Exception: Mono.CSharp.InternalErrorException:
/home/awilliam/Works/DbLinq/dblinq2007-read-only/src/DbMetal/Generator/Implementation/CodeTextGenerator/CodeGenerator.Class.cs(588,99):
---> System.Exception: Expression Mono.CSharp.LocalVariableReference did not
set its type after Resolve
called from: Mono.CSharp.LocalVariableReference
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [0x00000] 
  at Mono.CSharp.SimpleName.DoSimpleNameResolve (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression right_side, Boolean intermediate) [0x00000] 
  at Mono.CSharp.SimpleName.SimpleNameResolve (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression right_side, Boolean intermediate) [0x00000] 
  at Mono.CSharp.SimpleName.DoResolve (Mono.CSharp.EmitContext ec, Boolean
intermediate) [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.Binary.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.ContextualReturn.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.ExplicitBlock.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] 
  --- End of inner exception stack trace ---
  at Mono.CSharp.AnonymousMethodExpression.Compatible (Mono.CSharp.EmitContext
ec, System.Type type) [0x00000] 
  at Mono.CSharp.AnonymousMethodExpression.ImplicitStandardConversionExists
(Mono.CSharp.EmitContext ec, System.Type delegate_type) [0x00000] 
  at Mono.CSharp.Convert.ImplicitConversionExists (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression expr, System.Type target_type) [0x00000] 
  at Mono.CSharp.MethodGroupExpr.IsArgumentCompatible (Mono.CSharp.EmitContext
ec, Modifier arg_mod, Mono.CSharp.Argument argument, Modifier param_mod,
System.Type parameter) [0x00000] 
  at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList arguments, Int32 arg_count,
System.Reflection.MethodBase& method, System.Boolean& params_expanded_form)
[0x00000] 
  at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList& Arguments, Boolean may_fail, Location loc)
[0x00000] 
  at Mono.CSharp.ExtensionMethodGroupExpr.ResolveOverloadExtensions
(Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments,
Mono.CSharp.NamespaceEntry ns, Location loc) [0x00000] 
  at Mono.CSharp.ExtensionMethodGroupExpr.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.ContextualReturn.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.ExplicitBlock.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] 


Build complete -- 1 error, 0 warnings


Reproducible: Always

Steps to Reproduce:
1. Download code
2. Import into Monodevelop
3. Compile
Actual Results:  
Fails with "Compile "Exception caught by the compiler while compiling"

Expected Results:  
Would get a DbMetal.exe and proceed to use the awesome DbLinq project.

-- 
Configure bugmail: https://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