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: 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.
pgppowVsgw3j6.pgp
Description: PGP signature
