[Pkg-mono-devel] [1.1.17.1-5] New Build-Conflict

Mirco Bauer meebey at meebey.net
Sun Oct 15 12:29:31 UTC 2006


On Wed, 2006-10-04 at 09:55 +0200, Mirco Bauer wrote:
> On Wed, 2006-10-04 at 08:47 +0530, Raja R Harinath wrote:
> > Hi,
> > 
> > You don't need a build conflict to avoid using the installed version
> > of mono.  Just use
> > 
> >   make EXTERNAL_MCS=false EXTERNAL_MONO=false
> > 
> > I should really move the detection and handling of this to
> > mono/configure.in, but haven't yet got around to it.
> 
> Oh, thanks alot for this info! I was already a bit worried that the
> build-conflict can bite us some day (like when other CLI libraries or
> application needs to be present when building mono).
> 
> I will put this in the package with the next debian revision.

I tested this now, and the build fails in the same way, I added that to
the make call and then to the configure call, no change.

Here is the part that breaks during build:
make[9]: Entering directory
`/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mcs/class/Mono.Security'MONO_PATH="../../class/lib/net_2_0_bootstrap:$MONO_PATH" /home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/runtime/mono-wrapper  ../../class/lib/net_2_0_bootstrap/mcs.exe /codepage:65001   -d:NET_1_1 -d:BOOTSTRAP_NET_2_0 -debug /noconfig -r:System.dll -unsafe -target:library -out:Mono.Security.dll  @Mono.Security.dll.sources

** (../../class/lib/net_2_0_bootstrap/mcs.exe:19836): WARNING **:
Missing method .ctor in
assembly /usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll, type
System.Runtime.CompilerServices.RuntimeCompatibilityAttribute

** ERROR **: Can't find custom attr constructor
image: /usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll mtoken:
0x0a000048
aborting...

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Stacktrace:

  at (wrapper managed-to-native) System.AppDomain.LoadAssembly
(string,System.Security.Policy.Evidence,bool) <0x00004>
  at (wrapper managed-to-native) System.AppDomain.LoadAssembly
(string,System.Security.Policy.Evidence,bool) <0xffffffff>
  at System.AppDomain.Load (string) <0x00018>
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load (string)
<0xffffffff>
  at System.Reflection.Assembly.Load (string) <0x0001b>
  at System.Text.Encoding.InvokeI18N (string,object[]) <0x0007c>
  at System.Text.Encoding.GetEncoding (string) <0x0015d>
  at System.Text.Encoding.get_Default () <0x0006b>
  at Mono.CSharp.Driver.MainDriver (string[]) <0x00084>
  at Mono.CSharp.Driver.Main (string[]) <0x00045>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_int_string[]
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono [0x8183029]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono [0x8165b94]
	[0xffffe440]
	/lib/tls/i686/cmov/libc.so.6(abort+0x109) [0x3abeefb9]
	/usr/lib/libglib-2.0.so.0(g_logv+0x454) [0x3ab27114]
	/usr/lib/libglib-2.0.so.0(g_log+0x29) [0x3ab27149]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_custom_attrs_from_index+0x182) [0x818fdba]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_custom_attrs_from_assembly+0x38) [0x81900e6]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_assembly_load_from_full+0x521) [0x80f2813]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_assembly_open_full+0x351) [0x80f2cac]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_assembly_load_full+0x8e0) [0x80f3b8c]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono [0x80e570d]
	[0x3b0fb19f]
	[0x3b0fb121]
	[0x3b0fb0d6]
	[0x3b0faffc]
	[0x3b0fac65]
	[0x3b0fa61e]
	[0x3b0fa354]
	[0x3b0f9015]
	[0x3b0f7c66]
	[0x3b0f1914]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono [0x81659f8]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_runtime_invoke+0x27) [0x80aa8df]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_runtime_exec_main+0x109) [0x80af1f0]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_runtime_run_main+0x276) [0x80af4cf]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_jit_exec+0xbd) [0x80587b8]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono [0x8058895]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono(mono_main+0x1610) [0x805a034]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono [0x8057996]
	/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xc8) [0x3abd9ea8]
	/home/meebey/data/projects/debian/pkg-mono/mono/mono-1.1.18/mono/mini/mono [0x80578f1]

So it uses my existing GAC as far as I can tell... so what can I do to
avoid mono build-conflics with mono?

-- 
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------
-------------- 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/20061015/cd90d73c/attachment.pgp


More information about the Pkg-mono-devel mailing list