pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mono build & LANG settings



On Sat, 04 Dec 2010 04:34:42 +0900, Matthias Drochner 
<M.Drochner%fz-juelich.de@localhost> wrote:


It is only for me that lang/mono will be failed to build with LC_ALL=C (or
unset)?

The mono build has been failing for me (on current/i386) for months
(coredump in the middle of the build).
Now I've tested with various settings (de_DE.{UTF-8,ISO8859-1} and
en_US.UTF-8) for both LANG and LC_ALL but it didn't change anything.
What works for you, exactly?

For me, exception will be risen from I18N dll.
Maybe, installed mono was built with LC_ALL=ja_JP.UTF-8, but not set now
(installed I18N.dll is used, not building one...why?)

gmake[7]: Entering directory 
`/work/obj/pkgsrc/lang/mono/work/mono-2.8.1/mcs/mcs'
Makefile:52: warning: overriding recipe for target `csproj-local'
../build/executable.make:134: warning: ignoring old recipe for target 
`csproj-local'
/bin/sh ./../mkinstalldirs ../class/lib/net_4_0/
mkdir -p -- ../class/lib/net_4_0/
touch ../class/lib/net_4_0//.stamp
MCS     [net_4_0] dmcs.exe
Missing method System.Reflection.Assembly::op_Equality(Assembly,Assembly) in 
assembly 
/work/obj/pkgsrc/lang/mono/work/mono-2.8.1/mcs/class/lib/net_4_0_bootstrap/mscorlib.dll,
 referenced in assembly 
/usr/pkg/lib/mono/gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll

Unhandled Exception: System.TypeInitializationException: An exception was thrown by 
the type initializer for System.Console ---> 
System.Reflection.TargetInvocationException: Exception has been thrown by the target 
of an invocation. ---> System.MissingMethodException: Method not found: 
'System.Reflection.Assembly.op_Equality'.
  at I18N.Common.Manager.GetEncoding (System.String name) [0x00000] in <filename 
unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke 
(System.Reflection.MonoMethod*,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, 
System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, 
System.Reflection.Binder binder, System.Object[] parameters, 
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.MonoType.InvokeMember (System.String name, BindingFlags invokeAttr, 
System.Reflection.Binder binder, System.Object target, System.Object[] args, 
System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo 
culture, System.String[] namedParameters) [0x00000] in <filename unknown>:0
  at System.Text.Encoding.InvokeI18N (System.String name, System.Object[] args) 
[0x00000] in <filename unknown>:0
  at System.Text.Encoding.GetEncoding (System.String name) [0x00000] in <filename 
unknown>:0
  at System.Text.Encoding.get_Default () [0x00000] in <filename unknown>:0
  at System.Console..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at Mono.CSharp.ConsoleReportPrinter..ctor () [0x00000] in <filename unknown>:0
  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename 
unknown>:0
gmake[7]: *** [../class/lib/net_4_0/dmcs.exe] Error 1


--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index