Package Details: mono-basic 4.8-1

Git Clone URL: https://aur.archlinux.org/mono-basic.git (read-only, click to copy)
Package Base: mono-basic
Description: Mono Visual Basic.NET compiler
Upstream URL: http://www.mono-project.com/
Licenses: GPL
Submitter: arojas
Maintainer: dariost
Last Packager: dariost
Votes: 10
Popularity: 0.000002
First Submitted: 2017-10-24 07:23 (UTC)
Last Updated: 2019-01-22 21:49 (UTC)

Dependencies (2)

Sources (1)

Latest Comments

lightdot commented on 2019-01-15 09:38 (UTC) (edited on 2019-01-15 09:40 (UTC) by lightdot)

Git is missing from build dependencies.

dariost commented on 2018-12-13 20:31 (UTC)

@SmitQtMan this is not a problem with mono-basic PKGBUILD, because those files are owned by the mono package

$ pacman -Qo /usr/lib/mono/4.7-api/System.Xml.dll

/usr/lib/mono/4.7-api/System.Xml.dll is owned by mono 5.16.0.220-1

dariost commented on 2018-03-29 21:02 (UTC)

@kuba09 That's a known bug: https://bugs.archlinux.org/task/57260

One known workaround is to run

export TERM=xterm

before starting to build mono-basic

kuba09 commented on 2018-03-29 19:09 (UTC)

I can't build the package anymore:

[...] Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0008d] in /build/mono/src/mono/mcs/class/corlib/System/TermInfoReader.cs:134 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in /build/mono/src/mono/mcs/class/corlib/System/TermInfoReader.cs:97 at System.TermInfoDriver..ctor (System.String term) [0x00055] in /build/mono/src/mono/mcs/class/corlib/System/TermInfoDriver.cs:164 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in /build/mono/src/mono/mcs/class/corlib/System/ConsoleDriver.cs:73 at System.ConsoleDriver..cctor () [0x0004d] in /build/mono/src/mono/mcs/class/corlib/System/ConsoleDriver.cs:57 --- End of inner exception stack trace --- at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00000] in /build/mono/src/mono/mcs/class/corlib/System/Console.cs:136 at System.Console..cctor () [0x0008e] in /build/mono/src/mono/mcs/class/corlib/System/Console.cs:130 --- End of inner exception stack trace --- at vbnc.Main.Main (System.String[] CmdArgs) [0x0010e] in /Users/marek/git/mono/mono-basic/vbnc/vbnc/source/General/Main.vb:87 [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Console' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System.Exception: Magic number is wrong: 542 at System.TermInfoReader.ReadHeader (System.Byte[] buffer, System.Int32& position) [0x0008d] in /build/mono/src/mono/mcs/class/corlib/System/TermInfoReader.cs:134 at System.TermInfoReader..ctor (System.String term, System.String filename) [0x0005f] in /build/mono/src/mono/mcs/class/corlib/System/TermInfoReader.cs:97 at System.TermInfoDriver..ctor (System.String term) [0x00055] in /build/mono/src/mono/mcs/class/corlib/System/TermInfoDriver.cs:164 at System.ConsoleDriver.CreateTermInfoDriver (System.String term) [0x00000] in /build/mono/src/mono/mcs/class/corlib/System/ConsoleDriver.cs:73 at System.ConsoleDriver..cctor () [0x0004d] in /build/mono/src/mono/mcs/class/corlib/System/ConsoleDriver.cs:57 --- End of inner exception stack trace --- at System.Console.SetupStreams (System.Text.Encoding inputEncoding, System.Text.Encoding outputEncoding) [0x00000] in /build/mono/src/mono/mcs/class/corlib/System/Console.cs:136 at System.Console..cctor () [0x0008e] in /build/mono/src/mono/mcs/class/corlib/System/Console.cs:130 --- End of inner exception stack trace --- at vbnc.Main.Main (System.String[] CmdArgs) [0x0010e] in /Users/marek/git/mono/mono-basic/vbnc/vbnc/source/General/Main.vb:87 [...]

adsun commented on 2018-03-29 10:56 (UTC)

This also needs the git package as a makedepends, otherwise the build will fail.

dariost commented on 2018-03-29 10:14 (UTC)

@hug It should be buildable now

hug commented on 2018-03-28 23:01 (UTC)

Fails to build....

MONO_PATH="../../class/lib/bootstrap:$MONO_PATH" mono --debug ../../class/lib/bootstrap/vbnc.exe /sdkpath:/usr/lib/mono/4.5/ -debug @vbruntime-net_4_5.rsp /noconfig -target:library -out:../../class/lib/net_4_5/Microsoft.VisualBasic.dll @Microsoft.VisualBasic.dll.sources Visual Basic.Net Compiler version 0.0.0.5943 (Mono 4.0 - master/43f50e7) Copyright (C) 2004-2010 Rolf Bjarne Kvinge. All rights reserved.

/home/user/.cache/pacaur/mono-basic/src/mono-basic-4.6/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices/Conversions.vb (61,12) : error VBNC99999: Internal compiler error close to this location /home/user/.cache/pacaur/mono-basic/src/mono-basic-4.6/vbruntime/Microsoft.VisualBasic/Microsoft.VisualBasic.CompilerServices/Conversions.vb (60,23) : error VBNC99999: Internal compiler error close to this location vbnc : Command line : error VBNC99999: Unexpected error: The method or operation is not implemented. at vbnc.CecilHelper.InflateType (Mono.Cecil.TypeReference original, Mono.Collections.Generic.Collection1[T] parameters, Mono.Collections.Generic.Collection1[T] arguments) [0x003f1] in /tmp/mono-basic/vbnc/vbnc/source/General/CecilHelper.vb:422 at vbnc.CecilHelper.GetCorrectMember (Mono.Cecil.MethodDefinition Member, Mono.Cecil.TypeReference Type, System.Boolean Emittable) [0x000bd] in /tmp/mono-basic/vbnc/vbnc/source/General/CecilHelper.vb:636 at vbnc.CecilHelper.GetCorrectMember (Mono.Cecil.MethodReference Member, Mono.Cecil.TypeReference Type, System.Boolean Emittable) [0x0001b] in /tmp/mono-basic/vbnc/vbnc/source/General/CecilHelper.vb:520 at vbnc.CecilHelper.GetMembers (Mono.Cecil.TypeReference Type) [0x00218] in /tmp/mono-basic/vbnc/vbnc/source/General/CecilHelper.vb:99 at vbnc.MemberCache.ClearAll () [0x0010f] in /tmp/mono-basic/vbnc/vbnc/source/General/MemberCache.vb:122 at vbnc.MemberCache..ctor (vbnc.Compiler Compiler, Mono.Cecil.TypeReference Type) [0x00059] in /tmp/mono-basic/vbnc/vbnc/source/General/MemberCache.vb:69 at vbnc.TypeManager.GetCache (Mono.Cecil.TypeReference Type) [0x00028] in /tmp/mono-basic/vbnc/vbnc/source/General/TypeManager.vb:87 at vbnc.Helper.GetOperators (vbnc.Compiler Compiler, System.String[] Names, Mono.Cecil.TypeReference Type) [0x0000b] in /tmp/mono-basic/vbnc/vbnc/source/General/Helper.vb:1640 at vbnc.Helper.GetConversionOperators (vbnc.Compiler Compiler, System.String[] Names, Mono.Cecil.TypeReference Type, Mono.Cecil.TypeReference ReturnType) [0x0002e] in /tmp/mono-basic/vbnc/vbnc/source/General/Helper.vb:1612 at vbnc.Helper.GetWideningConversionOperators (vbnc.Compiler Compiler, Mono.Cecil.TypeReference Type, Mono.Cecil.TypeReference ReturnType) [0x00000] in /tmp/mono-basic/vbnc/vbnc/source/General/Helper.vb:1628 at vbnc.Helper.IsConvertible (vbnc.ParsedObject Parent, vbnc.Expression FromExpression, Mono.Cecil.TypeReference FromType, Mono.Cecil.TypeReference DestinationType, System.Boolean CreateConversionExpression, vbnc.Expression& convExpr, System.Boolean ShowError, System.Nullable1[T] isStrict, System.Boolean considerConstantExpressions) [0x037af] in /tmp/mono-basic/vbnc/vbnc/source/General/Helper.vb:3662 at vbnc.MemberCandidate.IsApplicable (System.Collections.Generic.List1[T] error_lines) [0x00d4c] in /tmp/mono-basic/vbnc/vbnc/source/Members/MethodResolver.vb:1619 at vbnc.MethodResolver.RemoveInapplicable (System.Collections.Generic.List1[T] error_lines) [0x0006a] in /tmp/mono-basic/vbnc/vbnc/source/Members/MethodResolver.vb:584 at vbnc.MethodResolver.ResolveInternal () [0x00335] in /tmp/mono-basic/vbnc/vbnc/source/Members/MethodResolver.vb:242 at vbnc.MethodResolver.Resolve () [0x00008] in /tmp/mono-basic/vbnc/vbnc/source/Members/MethodResolver.vb:162 at vbnc.MethodGroupClassification.ResolveGroup (vbnc.ArgumentList SourceParameters, System.Boolean ShowErrors, System.Boolean CanBeLateBound) [0x000e2] in /tmp/mono-basic/vbnc/vbnc/source/Expressions/Classifications/MethodGroupClassification.vb:403 at vbnc.DelegateOrObjectCreationExpression.ResolveExpressionInternal (vbnc.ResolveInfo Info) [0x005d2] in /tmp/mono-basic/vbnc/vbnc/source/Expressions/DelegateOrObjectCreationExpression.vb:208 at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo) [0x0007a] in /tmp/mono-basic/vbnc/vbnc/source/Expressions/Expression.vb:225 at vbnc.NewExpression.ResolveExpressionInternal (vbnc.ResolveInfo Info) [0x00006] in /tmp/mono-basic/vbnc/vbnc/source/Expressions/NewExpression.vb:63 at vbnc.Expression.ResolveExpression (vbnc.ResolveInfo ResolveInfo) [0x0007a] in /tmp/mono-basic/vbnc/vbnc/source/Expressions/Expression.vb:225 at vbnc.ReturnStatement.ResolveStatement (vbnc.ResolveInfo Info) [0x00018] in /tmp/mono-basic/vbnc/vbnc/source/Statements/ReturnStatement.vb:55 at vbnc.CodeBlock.ResolveCode (vbnc.ResolveInfo Info) [0x000c6] in /tmp/mono-basic/vbnc/vbnc/source/Code/CodeBlock.vb:570 at vbnc.MethodBaseDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00088] in /tmp/mono-basic/vbnc/vbnc/source/General/MethodBaseDeclaration.vb:331 at vbnc.SubDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00048] in /tmp/mono-basic/vbnc/vbnc/source/Members/SubDeclaration.vb:118 at vbnc.BaseObjects1[T].ResolveCode (vbnc.ResolveInfo Info) [0x00054] in /tmp/mono-basic/vbnc/vbnc/source/General/BaseObjects`1.vb:63 at vbnc.TypeDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00081] in /tmp/mono-basic/vbnc/vbnc/source/TypeDeclarations/TypeDeclaration.vb:407 at vbnc.ClassDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00029] in /tmp/mono-basic/vbnc/vbnc/source/TypeDeclarations/ClassDeclaration.vb:140 at vbnc.AssemblyDeclaration.ResolveCode (vbnc.ResolveInfo Info) [0x00040] in /tmp/mono-basic/vbnc/vbnc/source/TypeDeclarations/AssemblyDeclaration.vb:159 at vbnc.Compiler.Compile_Resolve () [0x003ae] in /tmp/mono-basic/vbnc/vbnc/source/General/Compiler.vb:416 at vbnc.Compiler.Compile () [0x004c6] in /tmp/mono-basic/vbnc/vbnc/source/General/Compiler.vb:532 Compilation took 00:00:00.8750630 make[3]: [../../build/library.make:267: ../../class/lib/net_4_5/Microsoft.VisualBasic.dll] Error 255 make[3]: Leaving directory '/home/user/.cache/pacaur/mono-basic/src/mono-basic-4.6/vbruntime/Microsoft.VisualBasic' make[2]: [../../build/rules.make:122: do-all] Error 2 make[2]: Leaving directory '/home/user/.cache/pacaur/mono-basic/src/mono-basic-4.6/vbruntime/Microsoft.VisualBasic' make[1]: [../build/rules.make:134: all-recursive] Error 1 make[1]: Leaving directory '/home/user/.cache/pacaur/mono-basic/src/mono-basic-4.6/vbruntime' make: [build/rules.make:134: all-recursive] Error 1 ==> ERROR: A failure occurred in build(). Aborting...