Date: Mon, 19 Feb 2007 13:03:45 -0500 From: Tom McLaughlin <tmclaugh@sdf.lonestar.org> To: Kostik Belousov <kostikbel@gmail.com> Cc: ports@freebsd.org, "Phillip N." <pneumann@gmail.com>, Norikatsu Shigemura <nork@freebsd.org>, bsd-sharp-list@forge.novell.com Subject: Re: [Bsd-sharp-list] [ports/lang/mono] crosstalk compiling problem between installed mono and port's mono Message-ID: <1171908225.1714.160.camel@localhost> In-Reply-To: <20070219092142.GR39168@deviant.kiev.zoral.com.ua> References: <20070213010559.ae84dd0d.nork@FreeBSD.org> <1171751641.1714.27.camel@localhost> <1171755728.1247.2.camel@localhost> <1171862178.1714.155.camel@localhost> <20070219092142.GR39168@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2007-02-19 at 11:21 +0200, Kostik Belousov wrote: > On Mon, Feb 19, 2007 at 12:16:18AM -0500, Tom McLaughlin wrote: > > On Sat, 2007-02-17 at 20:42 -0300, Phillip N. wrote: > > > Hey Nork > > > > > > Do you get the same (port)upgrade problem if you add the following in > > > mono port's Makefile? > > > > > > MAKE_ARGS= EXTERNAL_MCS=false > > > > > > bye! > > > > I just committed the fix to the FreeBSD tree so all builds attempt to > > use the bundled mcs and not an already installed mcs. Thanks Phillip. > > > > With rev. 1.63 of lang/mono/Makefile, I got the following error doing > portupgrade: > Can you email me the full build log? What version of Mono do you have installed currently and was it installed via ports or packages? The build is using the bundled compiler now but it's still using previously installed system libraries. tom > MONO_PATH="../../class/lib/net_2_0_bootstrap:$MONO_PATH" /usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1/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:59072): WARNING **: Missing method .ctor in assembly /usr/local/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/local/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll mtoken: 0x0a000048 > aborting... > 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 System.Console..cctor () <0x000e0> > at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> > at Mono.CSharp.Report..cctor () <0xffffffff> > at Mono.CSharp.Report..cctor () <0x0000a> > at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> > Abort trap (core dumped) > gmake[8]: *** [../../class/lib/net_2_0_bootstrap/Mono.Security.dll] Error 134 > gmake[8]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1/mcs/class/Mono.Security' > gmake[7]: *** [do-all] Error 2 > gmake[7]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1/mcs/class/Mono.Security' > gmake[6]: *** [all-recursive] Error 1 > gmake[6]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1/mcs/class' > gmake[5]: *** [all-recursive] Error 1 > gmake[5]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1/mcs' > gmake[4]: *** [profile-do--net_2_0_bootstrap--all] Error 2 > gmake[4]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1/mcs' > gmake[3]: *** [profiles-do--all] Error 2 > gmake[3]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1/mcs' > gmake[2]: *** [all-local] Error 2 > gmake[2]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1/runtime' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/mono/work/mono-1.2.2.1' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop in /usr/ports/lang/mono. > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.80766.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mono-1.2.2.1_1 UPGRADE_PORT_VER=1.2.2.1_1 make WANT_OPENLDAP_VER=23 WANT_OPENLDAP_SASL=yes WANT_FAM_SYSTEM=fam WITH_BDB_VER=44 WITH_GECKO=firefox WITH_GHOSTSCRIPT_AFPL=yes WITH_UNIXODBC=yes DISABLE_VULNERABILITIES=yes NO_IGNORE=yes > ** Fix the problem and try again. > -- | tmclaugh at sdf.lonestar.org tmclaugh at FreeBSD.org | | FreeBSD http://www.FreeBSD.org | | BSD# http://www.mono-project.com/Mono:FreeBSD |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1171908225.1714.160.camel>