I can't seem to compile mono-basic. This is on a package builder
which otherwise works. The only thing changed in bsd.ports.mk is
that TRUST_PACKAGES and BULK are set to Yes for a bulk build.
This is an i386-current system last compiled
OpenBSD 5.1-current (GENERIC.MP) #0: Thu May 3 16:20:22 EDT 2012
This problem has gone on for a while; I thought it was a threads
problem till I saw it was built and available via ftp.
Any clues as to what I messed up?
thanks, STeve Andre'
MONO_PATH="../../class/lib/bootstrap:$MONO_PATH" mono --debug
../../class/lib/bootstrap/vbnc.exe @vbnc.exe.rsp
/r:../../class/lib/net_4_0/Mono.Cecil.VB.dll
/sdkpath:/usr/local/lib/mono/4.0/ -debug /novbruntimeref
/r:../../class/lib/bootstrap/Microsoft.VisualBasic.dll -target:exe
-out:vbnc.exe @vbnc.exe.sources
Visual Basic.Net Compiler version 0.0.0.5943
Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.
Error : VBNC31007: CHANGEME
/usr/ports/pobj/mono-basic-2.10/mono-basic-2.10/vbnc/vbnc/source/Statements/OptionExplicitStatement.vb
(1,2) : Error VBNC99999: vbnc crashed nearby this location in the source
code.
Error : VBNC99999: Unexpected error: Object reference not set to an
instance of an object
at vbnc.Scanner.NextChar () [0x00072] in
/mono/main/git/mono-basic/vbnc/vbnc/source/General/Scanner.vb:1262
at vbnc.Scanner.NextFile () [0x000ab] in
/mono/main/git/mono-basic/vbnc/vbnc/source/General/Scanner.vb:1577
at vbnc.Scanner.NextUnconditionally () [0x00062] in
/mono/main/git/mono-basic/vbnc/vbnc/source/General/Scanner.vb:1594
at vbnc.Scanner.Next () [0x00002] in
/mono/main/git/mono-basic/vbnc/vbnc/source/General/Scanner.vb:460
at vbnc.tm.NextToken () [0x00108] in
/mono/main/git/mono-basic/vbnc/vbnc/source/Types/TokenManager.vb:106
at vbnc.tm.AcceptEndOfFile () [0x00019] in
/mono/main/git/mono-basic/vbnc/vbnc/source/Types/TokenManager.vb:409
at vbnc.Parser.ParseAssemblyDeclaration (System.String RootNamespace,
vbnc.AssemblyDeclaration assembly) [0x000ef] in
/mono/main/git/mono-basic/vbnc/vbnc/source/Parser/Parser.vb:472
at vbnc.Parser.Parse (System.String RootNamespace,
vbnc.AssemblyDeclaration assembly) [0x00006] in
/mono/main/git/mono-basic/vbnc/vbnc/source/Parser/Parser.vb:58
at vbnc.Compiler.Compile_Parse () [0x00084] in
/mono/main/git/mono-basic/vbnc/vbnc/source/General/Compiler.vb:345
Compilation took 00:00:01.1746760
gmake[3]: *** [../../class/lib/net_4_0/vbnc.exe] Error 255
gmake[3]: Leaving directory
`/usr/ports/pobj/mono-basic-2.10/mono-basic-2.10/vbnc/vbnc'
gmake[2]: *** [do-all] Error 2
gmake[2]: Leaving directory
`/usr/ports/pobj/mono-basic-2.10/mono-basic-2.10/vbnc/vbnc'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/pobj/mono-basic-2.10/mono-basic-2.10/vbnc'
gmake: *** [all-recursive] Error 1
*** Error code 2