[Mono-bugs] [Bug 376876] New: Compiling with a ref to a lib that needs another lib, yields compiler exception
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Apr 3 13:20:13 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=376876
Summary: Compiling with a ref to a lib that needs another lib,
yields compiler exception
Product: Mono: Compilers
Version: unspecified
Platform: Other
OS/Version: openSUSE 10.3
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: aaragoneses at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
The testcase is to pick a project that depends on ATK# and not place glib# in
the same dir as this library. Results:
Performing main compilation...
Exception caught by the compiler while compiling:
Block that caused the problem begin at:
/home/knocte/Documents/iDocuments/Proyectos/mono/a11y/SVNtree/uia2atk/src/samples/managed/AtkSharpHelper/Main.cs(13,36):
Block being compiled:
[/home/knocte/Documents/iDocuments/Proyectos/mono/a11y/SVNtree/uia2atk/src/samples/managed/AtkSharpHelper/Main.cs(14,17):,/home/knocte/Documents/iDocuments/Proyectos/mono/a11y/SVNtree/uia2atk/src/samples/managed/AtkSharpHelper/Main.cs(77,17):]
System.IO.FileNotFoundException: Could not load file or assembly 'gdk-sharp,
Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' or one of
its dependencies.
Internal compiler error at
/home/knocte/Documents/iDocuments/Proyectos/mono/a11y/SVNtree/uia2atk/src/samples/managed/AtkSharpHelper/Main.cs(13,36)::
exception caught while emitting MethodBuilder [MainClass::Initialize]
** (/usr/lib/mono/2.0/gmcs.exe:14027): WARNING **: The following assembly
referenced from
/home/knocte/Documents/iDocuments/Proyectos/mono/a11y/SVNtree/gtk-sharp/gtk/gtk-sharp.dll
could not be loaded:
Assembly: gdk-sharp (assemblyref_index=2)
Version: 2.12.0.0
Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed in the
MONO_PATH environment variable, or in the location of the executing assembly
(/home/knocte/Documents/iDocuments/Proyectos/mono/a11y/SVNtree/gtk-sharp/gtk).
** (/usr/lib/mono/2.0/gmcs.exe:14027): WARNING **: Could not load file or
assembly 'gdk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or
assembly 'gdk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
File name: 'gdk-sharp, Version=2.12.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f'
at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo:get_method_info
(intptr,System.Reflection.MonoMethodInfo&)
at System.Reflection.MonoMethod.get_Attributes () [0x00000]
at System.Reflection.MethodBase.get_IsVirtual () [0x00000]
at Mono.CSharp.MemberCache.AddMethods (BindingFlags bf, System.Type type)
[0x00000]
at Mono.CSharp.MemberCache.AddMethods (System.Type type) [0x00000]
at Mono.CSharp.MemberCache..ctor (IMemberContainer container) [0x00000]
at Mono.CSharp.TypeHandle..ctor (System.Type type) [0x00000]
at Mono.CSharp.TypeHandle.GetTypeHandle (System.Type t) [0x00000]
at Mono.CSharp.TypeHandle.GetMemberCache (System.Type t) [0x00000]
at Mono.CSharp.TypeManager.MemberLookup_FindMembers (System.Type t,
MemberTypes mt, BindingFlags bf, System.String name, System.Boolean&
used_cache) [0x00000]
at Mono.CSharp.TypeManager.RealMemberLookup (System.Type invocation_type,
System.Type qualifier_type, System.Type queried_type, MemberTypes mt,
BindingFlags original_bf, System.String name, IList almost_match) [0x00000]
at Mono.CSharp.TypeManager.MemberLookup (System.Type invocation_type,
System.Type qualifier_type, System.Type queried_type, MemberTypes mt,
BindingFlags original_bf, System.String name, IList almost_match) [0x00000]
at Mono.CSharp.Expression.MemberLookup (System.Type container_type,
System.Type qualifier_type, System.Type queried_type, System.String name,
MemberTypes mt, BindingFlags bf, Location loc) [0x00000]
at Mono.CSharp.Expression.MemberLookup (System.Type container_type,
System.Type qualifier_type, System.Type queried_type, System.String name,
Location loc) [0x00000]
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression right_side) [0x00000]
at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [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.ExpressionStatement.ResolveStatement (Mono.CSharp.EmitContext
ec) [0x00000]
at Mono.CSharp.StatementExpression.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]
Build complete -- 1 error, 0 warnings
---------------------- Done ----------------------
Build: 1 error, 0 warnings
--
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