From owner-freebsd-ports@FreeBSD.ORG Mon Feb 19 18:03:47 2007 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DFAB616B11A; Mon, 19 Feb 2007 18:03:47 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from straycat.dhs.org (c-24-63-86-11.hsd1.ma.comcast.net [24.63.86.11]) by mx1.freebsd.org (Postfix) with ESMTP id 7B9D013C4A3; Mon, 19 Feb 2007 18:03:47 +0000 (UTC) (envelope-from tmclaugh@sdf.lonestar.org) Received: from [192.168.1.127] (bofh.straycat.dhs.org [192.168.1.127]) by straycat.dhs.org (8.13.8/8.13.8) with ESMTP id l1JI3jgP005587; Mon, 19 Feb 2007 13:03:45 -0500 (EST) From: Tom McLaughlin To: Kostik Belousov 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> Content-Type: text/plain Date: Mon, 19 Feb 2007 13:03:45 -0500 Message-Id: <1171908225.1714.160.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, "Phillip N." , Norikatsu Shigemura , bsd-sharp-list@forge.novell.com Subject: Re: [Bsd-sharp-list] [ports/lang/mono] crosstalk compiling problem between installed mono and port's mono X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 18:03:48 -0000 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 |