[Pkg-mono-devel] help with 428611

Sam Clegg sam at superduper.net
Tue Oct 23 07:13:32 UTC 2007


On Mon, 2007-10-22 at 19:49 +0200, Mirco Bauer wrote:
> On Mon, 2007-10-22 at 18:28 +0100, Sam Clegg wrote:
> > I've got a rather strange bug with booc.exe:
> > 
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428611
> > 
> > The binary seem to stop working in the absence of libmono1.0-cil but it
> > does not depend directly on this package via the normal ".assembly
> > extern" method (and hense dh_clilibs doesn't figure it out).
> 
> Did it always fail without libmono1.0-cil?

AFIAK yes.  This bug is very old.   I have to admit I wouldn't have
found it myself as I'm not in the habit of build/installing/testing
in clean chroots.

> 
> > 
> > One solution is to simply add this library as an explicit dependancy.
> > Before I do this I thought I see if anyone knew why booc might break in
> > the way that is does when these libraries are missing.  No error about
> > missing dlls, instead:
> > 
> > ERROR: An error occurred during the execution of the step
> > 'Boo.Lang.Compiler.Steps.EmitAssembly': 'Object reference not set to an
> > instance of an object'.
> 
> A quick check on booc.exe (monodis --assemblyref) only showed System and
> mscorlib as references, which are covered by libmono-corlib1.0-cil and
> libmono-system1.0-cil.
> 
> I suspect either boo is doing something "nasty" (in a dynamical way,
> like reflection), or Mono itself does something nasty which boo just
> triggers.
> At a first look of libmono1.0-cil package content, the
> file /usr/lib/mono/1.0/Mono.CompilerServices.SymbolWriter.dll looks like
> it could be related to it. All other libraries in that package shouldn't
> be used by boo (in some magical way).

Yes, I did look briefly for an LibraryOpen calls in boo, but I don't
know why they would use this method to access the code generation parts
of mono.

Thanks for you help
-- 
sam clegg
:: sam at superduper.net :: http://superduper.net/ :: PGP : D91EE369
$superduper: .signature,v 1.13 2003/06/17 10:29:24 sam Exp $
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-mono-devel/attachments/20071023/0c1302ef/attachment.pgp 


More information about the Pkg-mono-devel mailing list