Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 11:21:42 +0200
From:      Kostik Belousov <kostikbel@gmail.com>
To:        Tom McLaughlin <tmclaugh@sdf.lonestar.org>
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:  <20070219092142.GR39168@deviant.kiev.zoral.com.ua>
In-Reply-To: <1171862178.1714.155.camel@localhost>
References:  <20070213010559.ae84dd0d.nork@FreeBSD.org> <1171751641.1714.27.camel@localhost> <1171755728.1247.2.camel@localhost> <1171862178.1714.155.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help

--FNX2SHge3qdlDajY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
> >=20
> > Do you get the same (port)upgrade problem if you add the following in
> > mono port's Makefile?
> >=20
> > MAKE_ARGS=3D      EXTERNAL_MCS=3Dfalse
> >=20
> > bye!
>=20
> 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.
>=20

With rev. 1.63 of lang/mono/Makefile, I got the following error doing
portupgrade:

MONO_PATH=3D"../../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:BO=
OTSTRAP_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 m=
ethod .ctor in assembly /usr/local/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed=
756/I18N.dll, type System.Runtime.CompilerServices.RuntimeCompatibilityAttr=
ibute

** 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,Syst=
em.Security.Policy.Evidence,bool) <0x00004>
  at (wrapper managed-to-native) System.AppDomain.LoadAssembly (string,Syst=
em.Security.Policy.Evidence,bool) <0xffffffff>
  at System.AppDomain.Load (string) <0x00018>
  at (wrapper remoting-invoke-with-check) System.AppDomain.Load (string) <0=
xffffffff>
  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,int=
ptr,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,int=
ptr,intptr,intptr) <0xffffffff>
Abort trap (core dumped)
gmake[8]: *** [../../class/lib/net_2_0_bootstrap/Mono.Security.dll] Error 1=
34
gmake[8]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/m=
ono/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/m=
ono/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/m=
ono/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/m=
ono/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/m=
ono/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/m=
ono/work/mono-1.2.2.1/mcs'
gmake[2]: *** [all-local] Error 2
gmake[2]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/m=
ono/work/mono-1.2.2.1/runtime'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/buddha/portsworkdir/usr/ports/lang/m=
ono/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=3Dportupgrade UPGRADE_PORT=3Dmono-1.2.2.1_1 UPGRADE_POR=
T_VER=3D1.2.2.1_1 make WANT_OPENLDAP_VER=3D23 WANT_OPENLDAP_SASL=3Dyes WANT=
_FAM_SYSTEM=3Dfam WITH_BDB_VER=3D44 WITH_GECKO=3Dfirefox WITH_GHOSTSCRIPT_A=
FPL=3Dyes WITH_UNIXODBC=3Dyes DISABLE_VULNERABILITIES=3Dyes NO_IGNORE=3Dyes
** Fix the problem and try again.


--FNX2SHge3qdlDajY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF2WwmC3+MBN1Mb4gRAnJRAJ9us4BtZ0mDhaDzwANg2EtDswQWXACgrPwg
cBX1IyQORu/6NEeATfCYmsc=
=WE2u
-----END PGP SIGNATURE-----

--FNX2SHge3qdlDajY--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070219092142.GR39168>