Bug 315685 (MONO62414) - Interdependence of mono and mcs
Summary: Interdependence of mono and mcs
Status: RESOLVED FIXED
Alias: MONO62414
Product: Mono: Runtime
Classification: Mono
Component: packaging (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Blocker
Target Milestone: ---
Assignee: Duncan Mak
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2004-08-04 12:19 UTC by Andrew Cilia
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:49:03 UTC


---- Reported by acilia@ptl.com.mt 2004-08-04 05:19:39 MST ----

I have unzipped and untarred the mono-03-Aug-04 snapshot and attempted to
compile mono. The following error was issued:

Making all in runtime
make[2]: Entering directory `/nobackup/Downloads/mono-03-Aug-04/mono/runtime'
Making all in .
make[3]: Entering directory `/nobackup/Downloads/mono-03-Aug-04/mono/runtime'
test -f ../../mcs/gmcs/gmcs.exe
make[3]: *** [gmcs.exe] Error 1
make[3]: Leaving directory `/nobackup/Downloads/mono-03-Aug-04/mono/runtime'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/nobackup/Downloads/mono-03-Aug-04/mono/runtime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nobackup/Downloads/mono-03-Aug-04/mono'
make: *** [all] Error 2

I then went into the mcs directory to compile this first and got this error
message:

make[4]: Entering directory
`/nobackup/Downloads/mono-03-Aug-04/mcs/class/corlib'
MONO_PATH="../../class/lib/default:$MONO_PATH" mono 
../../tools/security/sn.exe -q -R ../../class/lib/default/mscorlib.dll
../../class/mono.snk

** (../../tools/security/sn.exe:6151): WARNING **: cant resolve internal
call to
"System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData()"
(tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is:
/nobackup/Downloads/mono-03-Aug-04/mcs/class/corlib/../../class/lib/default/mscorlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

** (../../tools/security/sn.exe:6151): WARNING **: cant resolve internal
call to
"System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData()"
(tested without signature also)

Your mono runtime and class libraries are out of sync.
The out of sync library is:
/nobackup/Downloads/mono-03-Aug-04/mcs/class/corlib/../../class/lib/default/mscorlib.dll

When you update one from cvs you need to update, compile and install
the other too.
Do not report this as a bug unless you're sure you have updated correctly:
you probably have a broken mono install.
If you see other errors or faults after this message they are probably related
and you need to fix your mono install first.

Unhandled Exception: System.MissingMethodException: Cannot find the
requested method.
in <0x0003b> (wrapper managed-to-native)
System.Runtime.CompilerServices.RuntimeHelpers:get_OffsetToStringData ()
in <0x00033> System.String:ToUpperInvariant ()
in <0x00058> System.String:ToUpper (System.Globalization.CultureInfo)
in <0x0016c> Mono.Security.StrongNameManager:LoadMapping
(System.Security.SecurityElement)
in <0x001c4> Mono.Security.StrongNameManager:LoadConfig (string)
in <0x000b8> Mono.Tools.SN:LoadConfig (bool)
in <0x00137> Mono.Tools.SN:Main (string[])

make[4]: *** [../../build/deps/default_corlib.dll.was_signed] Error 1
make[4]: Leaving directory
`/nobackup/Downloads/mono-03-Aug-04/mcs/class/corlib'
make[3]: *** [all.real] Error 2
make[3]: Leaving directory
`/nobackup/Downloads/mono-03-Aug-04/mcs/class/corlib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/nobackup/Downloads/mono-03-Aug-04/mcs/class'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nobackup/Downloads/mono-03-Aug-04/mcs'
make: *** [all.override] Error 2

This may be using a old version of mono to run. 

How do I get around this gridlock



---- Additional Comments From duncan@ximian.com 2004-09-07 16:00:19 MST ----

You can avoid this problem by using a Mono release to bootstrap your
setup.


Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Fedora 2 Kernel 2.6.5</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".