Package: boo
Version: 0.7.6.2237-3
Severity: serious

I found that MonoDevelop FTBFS because of boo.

Here the output of the boo compiler:
mkdir -p ../../../build/AddIns/BackendBindings
/usr/bin/booc -r:../../../build/bin/MonoDevelop.Core.dll 
-r:../../../build/AddIns/MonoDevelop.Core.Gui.dll 
-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll 
-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll 
-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll 
-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll 
-r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll   
-r:/usr/lib/mono/boo/Boo.Lang.dll -r:/usr/lib/mono/boo/Boo.Lang.Useful.dll 
-r:/usr/lib/mono/boo/Boo.Lang.CodeDom.dll 
-r:/usr/lib/mono/boo/Boo.Lang.Compiler.dll 
-r:/usr/lib/mono/boo/Boo.Lang.Parser.dll 
-r:/usr/lib/mono/boo/Boo.Lang.Interpreter.dll    ./BooShell.boo  
-o:../../../build/AddIns/BackendBindings/BooShell.dll -t:library
Boo Compiler version 0.7.6.2237 (CLR v2.0.50727.42)
BCE0011: An error occurred during the execution of the step 
'Boo.Lang.Compiler.Steps.EmitAssembly': 'Object reference not set to an 
instance of an object'.
1 error(s).
make[4]: *** [../../../build/AddIns/BackendBindings/BooShell.dll] Error 255

first I thought the compiler is broken, but then I saw CLR v2.0 which
means _bad_ things.

I installed libmono2.0-cil which pulls the base CLR 2.0 packages in, and
then booc didn't fail with that error, but with another saying the libs
are not found. They libs are installed though, but since boo uses now
CLR 2.0 it wants the 2.0 version of those libs (instead of 1.1 as
before).

So I installed the 2.0 versions, and the build was happy, but I am not.

The resulting package depends on on the 2.0 runtime of Mono, because the
compiler linked it against 2.0 instead of 1.1
Unluckily this is a problem now.

I could add now the 2.0 stuff to monodevelop build deps but that is not
fixing the cause. Boo must be able to link against 1.1 or 2.0 somehow,
else all resulting libs or apps require 2.0 from now on.

C# solved this by having mcs (C# 1.0) which links against CLR 1.1 and
gmcs (C# 2.0) which links against CLR 2.0

Also I noticed that boo is not correctly fetching the binary
dependencies with dh_clideps, but I guess that must be some CDBS problem
since no other package has the problem. Probably is the make target too
early or too late or something. Then you would not need to manually
depend on mono (which is btw a bad idea since its a meta-package with 2
real deps).

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key:
http://keyserver.noreply.org/pks/lookup?op=get&search=0xEEF946C8

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d s-:+ a-- C++ UL++++$ P L++$>+++$ E- W+++$ N o? K- w++>! O---- M-
V? PS
PE+ Y- PGP++ t 5+ X++ R tv+ b+ DI? D+ G>++ e h! r->++ y?
------END GEEK CODE BLOCK------

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to