From owner-freebsd-mono@FreeBSD.ORG Sun Jun 6 16:37:30 2010 Return-Path: Delivered-To: freebsd-mono@FreeBSD.org Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 81F59106566C; Sun, 6 Jun 2010 16:37:29 +0000 (UTC) (envelope-from nork@FreeBSD.org) Date: Mon, 7 Jun 2010 01:37:28 +0900 From: Norikatsu Shigemura To: freebsd-mono@FreeBSD.org Message-Id: <20100607013728.de924113.nork@FreeBSD.org> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: nork@FreeBSD.org Subject: multimedia/moonlight depending on LC_CTYPE issue X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jun 2010 16:37:30 -0000 Hi mono team. I noticed that multimedia/moonlight has a compiling issue. So I researched this issue, and I knew that LC_CTYPE is not C issue (I tested only LC_CTYPE=ja_JP.eucJP) like following: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - $ printenv | egrep 'L[AC]' LC_CTYPE=ja_JP.eucJP LANG=C $ cd /usr/ports/multimedia/moonlight $ make : gmake[7]: Entering directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs/class/Mono.Security' Creating ../../build/deps/net_2_0_bootstrap_Mono.Security.dll.makefrag ... gmake[7]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs/class/Mono.Security' gmake[7]: Entering directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs/class/Mono.Security' gmake all-local gmake[8]: Entering directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs/class/Mono.Security' MCS [net_2_0_bootstrap] Mono.Security.dll ** (./../../class/lib/net_2_0_bootstrap/gmcs.exe:14210): WARNING **: The class System.Collections.Generic.Dictionary`2 could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ** (./../../class/lib/net_2_0_bootstrap/gmcs.exe:14210): WARNING **: The class System.Collections.Generic.Dictionary`2 could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Console ---> System.TypeLoadException: Could not load type 'System.IO.SynchronizedWriter' from assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. at System.Console..cctor () [0x00000] in :0 --- End of inner exception stack trace --- at Mono.CSharp.ConsoleReportPrinter..ctor () [0x00000] in :0 at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in :0 gmake[8]: *** [../../class/lib/net_2_0_bootstrap/tmp/Mono.Security.dll] Error 1 gmake[8]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs/class/Mono.Security' gmake[7]: *** [do-all] Error 2 gmake[7]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs/class/Mono.Security' gmake[6]: *** [all-recursive] Error 1 gmake[6]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs/class' gmake[5]: *** [all-recursive] Error 1 gmake[5]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs' gmake[4]: *** [profile-do--net_2_0_bootstrap--all] Error 2 gmake[4]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs' gmake[3]: *** [profiles-do--all] Error 2 gmake[3]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/mcs' gmake[2]: *** [all-local] Error 2 gmake[2]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1/runtime' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/moonlight/work/mono-2.6.1' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/multimedia/moonlight. *** Error code 1 Stop in /usr/ports/multimedia/moonlight. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - I have no idea to fix this issue. Simple-fully, I have only idea 'MAKE_ENV+= LC_CTYPE=C' and '.undef LC_ALL'. -- Norikatsu Shigemura