[Pkg-mono-devel] help with 428611

Mirco Bauer meebey at meebey.net
Mon Oct 22 17:49:08 UTC 2007


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?

> 
> 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).

I will investigate in the source of boo (I hope it's not written in
boo...)
-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developer    meebey at meebey.net  http://www.meebey.net/
PEAR Developer    meebey at php.net     http://pear.php.net/
Debian Developer  meebey at debian.org  http://www.debian.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-mono-devel/attachments/20071022/551a3a56/attachment.pgp 


More information about the Pkg-mono-devel mailing list