uxmal / reko

Reko is a binary decompiler.
https://uxmal.github.io/reko
GNU General Public License v2.0
2.16k stars 253 forks source link

Building fails for reko 0.8.1.0 on Debian testing #779

Closed bluecmd closed 5 years ago

bluecmd commented 5 years ago

Hi,

To cut to the chase: I downloaded the latest source code tar ball and tried to build it using the advertised Mono 5.18.

[bluecmd]$ xbuild Reko-decompiler.sln

>>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

XBuild Engine Version 14.0
Mono, Version 5.18.0.240
Copyright (C) 2005-2013 Various Mono authors

Build started 7/15/2019 10:08:28 AM.
__________________________________________________
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/WixInstaller/WixInstaller.wixproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/WindowsDecompiler/WindowsDecompiler.csproj:  warning : Could not find project file /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/WindowsDecompiler/Drivers/Common.items, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/WindowsDecompiler/WindowsDecompiler.csproj:  warning : Could not find project file /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/WindowsDecompiler/Drivers/PreBuild.targets, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/CmdLine/CmdLine.csproj:  warning : Could not find project file /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/CmdLine/Drivers/Common.items, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/CmdLine/CmdLine.csproj:  warning : Could not find project file /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/CmdLine/Drivers/PreBuild.targets, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln:  warning : Don't know how to handle GlobalSection TextTemplating, Ignoring.
Project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln" (default target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "Debug|Any CPU".
    Target Build:
        Project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Core/Core.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
                Created directory "bin/Debug/"
                Created directory "obj/Debug/"
            Target GetFrameworkPaths:
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.7' not supported by this toolset (ToolsVersion: 14.0).
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /delaysign- /debug:portable /optimize- /out:obj/Debug/Reko.Core.dll Absyn/AbsynAssignment.cs Absyn/AbsynBreak.cs Absyn/AbsynCase.cs Absyn/AbsynCompoundAssignment.cs Absyn/AbsynContinue.cs Absyn/AbsynDeclaration.cs Absyn/AbsynDoWhile.cs Absyn/AbsynFor.cs Absyn/AbsynGoto.cs Absyn/AbsynIf.cs Absyn/AbsynLabel.cs Absyn/AbsynLineComment.cs Absyn/AbsynLoop.cs Absyn/AbsynProcedure.cs Absyn/AbsynReturn.cs Absyn/AbsynSideEffect.cs Absyn/AbsynStatement.cs Absyn/AbsynSwitch.cs Absyn/AbsynWhile.cs Absyn/IAbsynVisitor.cs Address.cs AddressCorrelatedException.cs AddressRange.cs AddressSearchHit.cs AnnotationList.cs ApplicationBuilder.cs Archives/Archive.cs Archives/ArchiveDirectoryEntry.cs Assemblers/Assembler.cs Assemblers/Emitter.cs Assemblers/Symbol.cs BinaryReaderExtensions.cs CallingConvention.cs CharacteristicsLibrary.cs CLanguage/CBasicType.cs CLanguage/CConstantEvaluator.cs CLanguage/CDirectiveLexer.cs CLanguage/CExpressionVisitor.cs CLanguage/CGrammar.cs CLanguage/CLexer.cs CLanguage/CParser.cs CLanguage/CParserException.cs CLanguage/CSyntax.cs CLanguage/CSyntaxVisitor.cs CLanguage/EnumEvaluator.cs CLanguage/LookaheadLexer.cs CLanguage/NamedDataType.cs CLanguage/NamedDataTypeExtractor.cs CLanguage/NameExtractor.cs CLanguage/ParseResult.cs CLanguage/ParserState.cs CLanguage/SerializedTypeComparer.cs CLanguage/SymbolTable.cs CLanguage/TypeSizer.cs Code/CodeComment.cs Code/CriticalInstruction.cs Code/GotoInstruction.cs Code/SwitchInstruction.cs Configuration/ArchitectureElement.cs Configuration/AssemblerElement.cs Configuration/PlatformArchitectureElement.cs Configuration/PropertyOption.cs Configuration/RekoConfigurationService.cs Configuration/LoaderElement.cs Configuration/OperatingEnvironmentElement.cs Configuration/RawFileElement.cs Configuration/RekoConfiguration_v1.cs Configuration/SignatureFileElement.cs Configuration/SymbolSource.cs Configuration/TypeLibraryElement.cs Configuration/UiPreferencesConfiguration.cs Configuration/UiStyleElement.cs DebugEx.cs Dfa/Automaton.cs Dfa/DfaBuilder.cs Dfa/PatternParser.cs Dfa/State.cs Dfa/TreeNode.cs DispatchProcedure.cs EndianImageReader.cs Endianness.cs EnumerableEx.cs EvaluationContext.cs EventEx.cs Expressions/Application.cs Expressions/ArrayAccess.cs Expressions/BinaryExpression.cs Expressions/Cast.cs Expressions/ConditionalExpression.cs Expressions/ConditionCode.cs Expressions/ConditionOf.cs Expressions/Constant.cs Expressions/DepositBits.cs Expressions/Dereference.cs Expressions/Expression.cs Expressions/ExpressionEmitter.cs Expressions/ExpressionMatcher.cs Expressions/ExpressionReplacer.cs Expressions/ExpressionValueComparer.cs Expressions/ExpressionVisitor.cs Expressions/FieldAccess.cs Expressions/Identifier.cs Code/IdentifierCollector.cs Expressions/MemberPointerSelector.cs Expressions/MemoryAccess.cs Expressions/MkSequence.cs Expressions/OutArgument.cs Expressions/PhiFunction.cs Expressions/PointerAddition.cs Expressions/ProcedureConstant.cs Expressions/Slice.cs Expressions/TestCondition.cs Expressions/UnaryExpression.cs FieldAttribute.cs ImageReaderExtensions.cs ImageReader.cs ImageStream.cs ImageSymbol.cs Analysis/IVarargsFormatParser.cs ISymbolSource.cs IRFormat/IRFormatLexer.cs IRFormat/IRFormatParser.cs IRFormat/IRProcedureBuilder.cs IRFormat/IRToken.cs IStorageBinder.cs Lib/ArticulationPointFinder.cs Lib/Bitfield.cs Lib/Dijkstra.cs Lib/FibonacciHeap.cs Lib/Float16.cs Lib/LinqAlgorithms.cs Lib/LTDominatorGraph.cs Lib/PatternCollector.cs Lib/PerfectHash.cs Lib/Float80.cs Lib/SuffixArray.cs Lib/SuffixArray2.cs Lib/UbjsonReader.cs Lib/UbjsonMarker.cs Lib/UbjsonWriter.cs Lib/WildPatternMatcher.cs Machine/Mutator.cs NativeInterface/CustomAnsiStringMarshaler.cs NativeInterface/ILibraryLoader.cs NativeInterface/INativeArchitecture.cs NativeInterface/INativeDisassembler.cs NativeInterface/INativeInstruction.cs NativeInterface/INativeInstructionWriter.cs NativeInterface/Interfaces/INativeSymbolSource.cs NativeInterface/Interfaces/NativeProcessorArchitectureProvider.cs NativeInterface/Interfaces/NativeSymbolSourceProvider.cs NativeInterface/NativeInteropAttribute.cs NativeInterface/NativeMachineInstruction.cs NativeInterface/NativeProcessorArchitecture.cs NativeInterface/NativeSymbolSource.cs NativeInterface/PosixLibraryLoader.cs NativeInterface/WindowsLibraryLoader.cs NativeInterface/BaseType.cs NativeInterface/INativeRewriter.cs NativeInterface/INativeTypeFactory.cs NativeInterface/Interop.cs NativeInterface/IRtlNativeEmitter.cs NativeInterface/NativeTypeFactory.cs NativeInterface/RtlNativeEmitter.cs Operators/FNegOperator.cs Output/IRFormatter.cs Output/JsonFormatter.cs Output/JsonWriter.cs Output/LlvmFormatter.cs Output/CTypeReferenceFormatter.cs Pascal/PascalLexer.cs Pascal/PascalParser.cs Pascal/PascalSyntax.cs Pascal/SymbolTable.cs Pascal/Token.cs Rational.cs CustomDecoderFallback.cs Rtl/RtlIf.cs SegmentMap.cs Serialization/ArgumentDeserializer.cs Serialization/DispatchProcedure_v1.cs Serialization/GlobalDataItem_v2.cs IByteSource.cs ICodeLocation.cs ILoader.cs ImageHeader.cs ImageSegmentRenderer.cs ImportReference.cs ImportResolver.cs AddressContext.cs IPlatformEmulator.cs IProcessorEmulator.cs IScriptInterpreter.cs Lib/Bits.cs Lib/DiGraph.cs Lib/ObservableRangeCollection.cs Lib/Trie.cs Lib/UndirectedGraph.cs Lib/UndirectedGraphImpl.cs InstrClass.cs Machine/MachineInstructionWriter.cs Machine/InstructionComparer.cs MetadataLoader.cs ModuleDescriptor.cs Operators/CommaOperator.cs Output/BlockDecorator.cs Output/GlobalDataWriter.cs Output/AbsynCodeFormatter.cs Output/TextFormatter.cs Output/TypeReferenceFormatter.cs PlatformHeuristics.cs PointerScanner.cs PointerScannerFlags.cs Lib/LookaheadEnumerator.cs Lib/PriorityQueue.cs Machine/RegisterOperand.cs Operators/FAddOperator.cs Operators/FDivOperator.cs Operators/FMulOperator.cs Operators/FSubOperator.cs Output/ProcedureFormatter.cs ProgramAddress.cs ProgramResource.cs ProjectFile.cs MetadataFile.cs Provenance.cs RelocationResults.cs Rtl/RtlAssignment.cs Rtl/RtlBranch.cs Rtl/RtlCall.cs Rtl/RtlEmitter.cs Rtl/RtlGoto.cs Rtl/RtlInstruction.cs Rtl/RtlInstructionMatcher.cs Rtl/RtlInstructionVisitor.cs Rtl/RtlInvalid.cs Rtl/RtlNop.cs Rtl/RtlReturn.cs Rtl/RtlSideEffect.cs Rtl/RtlTransfer.cs Serialization/CharacteristicsLibrary_v1.cs Serialization/Code_v1.cs Serialization/DataTypeSerializer.cs Serialization/ISerializedTypeVisitor.cs Serialization/Json/JsonProcedureSerializer.cs Serialization/Json/JsonProjectSerializer.cs Serialization/Json/JsonWriter.cs Serialization/Json/JsonSymbols.cs Serialization/MemberPointer_v1.cs Serialization/MemoryMap_v1.cs NamingPolicy.cs Serialization/ProgramOptions_v2.cs Serialization/ProjectLoader.cs Serialization/ProjectPersister.cs Serialization/ProjectSaver.cs Serialization/Procedure_v1.cs Serialization/Project_v3.cs Serialization/Project_v2.cs Serialization/ArrayType_v1.cs Serialization/Project_v4.cs Serialization/ReferenceType_v1.cs Serialization/SerializedEnumType.cs Serialization/SerializedProject.cs Serialization/SerializedTemplate.cs Serialization/SerializedTypedef.cs Serialization/TypeReference_v1.cs Serialization/StringType_v2.cs Serialization/UnionType_v1.cs Serialization/UnpackerSignatureFile_v1.cs Serialization/VoidType_v1.cs Services/DecompilerEventListener.cs Lib/BlockDominatorGraph.cs Lib/Dequeue.cs Output/PrettyPrinter.cs Output/PrettyPrinterOutput.cs Project.cs Properties/AssemblyInfo.cs BackwalkOperation.cs Block.cs BlockGraph.cs CallGraph.cs CallRewriter.cs CodeEmitter.cs Code/Assignment.cs Code/Branch.cs Code/CallInstruction.cs Code/CallSite.cs Code/Declaration.cs Code/DelegatedInstructionVisitor.cs Code/Instruction.cs Code/InstructionTransformer.cs Code/InstructionVisitor.cs Code/PhiAssignment.cs Expressions/ScopeResolution.cs Code/SideEffect.cs Diagnostic.cs DisassemblerBase.cs Dumper.cs ExternalProcedure.cs Frame.cs IBackWalkHost.cs ImageLoader.cs ImageMap.cs ImageMapBlock.cs ImageSegment.cs ImageMapVectorTable.cs ImageWriter.cs IProcessorArchitecture.cs IRewriterHost.cs Lib/DfsIterator.cs Lib/DirectedGraph.cs Lib/DirectedGraphImpl.cs Lib/DisjointPartition.cs Lib/DominatorGraph.cs Lib/SortedListEx.cs Lib/SccFinder.cs LinearInductionVariable.cs Machine/MachineInstruction.cs Machine/MachineOperand.cs Operators/IAddOperator.cs Operators/AndOperator.cs Operators/BinaryOperator.cs Operators/ConditionalOperator.cs Operators/SDivOperator.cs Operators/UDivOperator.cs Operators/IModOperator.cs Operators/IMulOperator.cs Operators/SMulOperator.cs Operators/UMulOperator.cs Operators/Operator.cs Operators/OrOperator.cs Operators/RealConditionalOperators.cs Operators/SarOperator.cs Operators/ShlOperator.cs Operators/ShrOperator.cs Operators/SignedIntOperators.cs Operators/ISubOperator.cs Operators/UnaryOperator.cs Operators/UnsignedIntOperators.cs Operators/XorOperator.cs Output/CodeFormatter.cs Output/Formatter.cs Output/IndentingTextWriter.cs Output/MockGenerator.cs Output/TypeFormatter.cs Platform.cs Procedure.cs ProcedureBase.cs ProcessorState.cs Program.cs MemoryArea.cs PseudoProcedure.cs RelocationDictionary.cs Serialization/ArgumentSerializer.cs Serialization/ArraySizeCharacteristic.cs Serialization/ProcedureCharacteristics.cs Serialization/Argument_v1.cs Serialization/SerializedCall_v1.cs Serialization/FlagGroup_v1.cs Serialization/FpuStackVariable_v1.cs Serialization/SerializedKind.cs Serialization/SerializedLibrary.cs Serialization/SerializedLibraryDefaults.cs Serialization/PointerType_v1.cs Serialization/PrimitiveType_v1.cs Serialization/Register_v1.cs Serialization/SerializedSequence.cs Serialization/SerializedService.cs Serialization/SerializedSignature.cs Serialization/StackVariable_v1.cs Serialization/StructType_v1.cs Serialization/SerializedType.cs Serialization/ProcedureSerializer.cs Services/IArchiveBrowserService.cs Services/IDecompilerUiService.cs Services/IDiagnosticsService.cs Services/IFileSystemService.cs Services/IOracleService.cs Services/ISymbolLoadingService.cs Services/ITypeLibraryLoaderService.cs Services/IUnpackerService.cs SignatureBuilder.cs Statement.cs StatementCorrelatedException.cs StatementList.cs StorageBinder.cs StorageFactory.cs StridedInterval.cs StructureReader.cs TypedDataDumper.cs TypeInferenceException.cs TypeLibrary.cs Storage.cs StorageVisitor.cs SystemService.cs TreeMatching/TreeMatcher.cs TypedServiceProvider.cs TypeLibraryDeserializer.cs TypeLibraryLoader.cs TypeNamingPolicy.cs Types/ArrayType.cs Types/ClassType.cs Types/CodeType.cs Types/CompositeType.cs Types/DataType.cs Types/DataTypeBuilderUnifier.cs Types/DataTypeComparer.cs Types/DataTypeTransformer.cs Types/DataTypeVisitor.cs Types/EnumType.cs Types/EquivalenceClass.cs Types/Field.cs Types/FunctionType.cs Types/MemberPointer.cs Types/Pointer.cs Types/PrimitiveType.cs Types/Qualifier.cs Types/ReferenceTo.cs Types/StringType.cs Types/StructureField.cs Types/StructureType.cs Expressions/ExpressionTypeAscenderBase.cs Types/TypeFactory.cs Types/TypeGraphWriter.cs Types/TypeReference.cs Types/TypeStore.cs Types/TypeVariable.cs Types/TypeVarSet.cs Types/Unifier.cs Types/UnionType.cs Types/UnknownType.cs Types/VoidType.cs UserData.cs UserRegisterValue.cs WorkList.cs XmlOptions.cs obj/Debug/.NETFramework,Version=v4.7.AssemblyAttribute.cs /target:library /define:"DEBUG;TRACE" /langversion:7 /nostdlib /reference:/usr/lib/mono/4.7-api/System.dll /reference:/usr/lib/mono/4.7-api/System.Data.dll /reference:/usr/lib/mono/4.7-api/System.Drawing.dll /reference:/usr/lib/mono/4.7-api/System.Windows.Forms.dll /reference:/usr/lib/mono/4.7-api/System.Xml.dll /reference:/usr/lib/mono/4.7-api/System.Configuration.dll /reference:/usr/lib/mono/4.7-api/System.Core.dll /reference:/usr/lib/mono/4.7-api//mscorlib.dll /warn:4
DispatchProcedure.cs(57,13): error CS0230: Type and identifier are both required in a foreach statement
DispatchProcedure.cs(57,36): error CS1525: Unexpected symbol `in'
DispatchProcedure.cs(57,47): error CS1525: Unexpected symbol `)'
Serialization/Json/JsonProcedureSerializer.cs(113,37): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
                  at Mono.CSharp.CSharpParser.case_963 () [0x0002d] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x04182] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
Frame.cs(121,37): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
                  at Mono.CSharp.CSharpParser.case_963 () [0x0002d] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x04182] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
Serialization/ProcedureSerializer.cs(224,37): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
                  at Mono.CSharp.CSharpParser.case_963 () [0x0002d] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x04182] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
StorageBinder.cs(107,37): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
                  at Mono.CSharp.CSharpParser.case_963 () [0x0002d] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x04182] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
Types/DataTypeComparer.cs(311,34): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
                  at Mono.CSharp.CSharpParser.case_963 () [0x0002d] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.yyparse (Mono.CSharp.yyParser.yyInput yyLex) [0x04182] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
                  at Mono.CSharp.CSharpParser.parse () [0x0002e] in <5ee4ea6b36fa4cf3b3000934ce92985a>:0 
            Task "Csc" execution -- FAILED
            Done building target "CoreCompile" in project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Core/Core.csproj".-- FAILED
        Done building project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Core/Core.csproj".-- FAILED
        Project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/xslt.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
                Created directory "bin/Debug/"
                Created directory "obj/Debug/"
            Target GetFrameworkPaths:
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.7' not supported by this toolset (ToolsVersion: 14.0).
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /delaysign- /debug:portable /optimize- /out:obj/Debug/xslt.exe Properties/AssemblyInfo.cs FilteringXmlWriter.cs Program.cs obj/Debug/.NETFramework,Version=v4.7.AssemblyAttribute.cs /target:exe /win32icon:App.ico /define:"DEBUG;TRACE;VS2003" /nowarn:618 /langversion:7 /nostdlib /reference:/usr/lib/mono/4.7-api/System.dll /reference:/usr/lib/mono/4.7-api/System.Data.dll /reference:/usr/lib/mono/4.7-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.7-api/System.Drawing.dll /reference:/usr/lib/mono/4.7-api/System.Windows.Forms.dll /reference:/usr/lib/mono/4.7-api/System.Xml.dll /reference:/usr/lib/mono/4.7-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.7-api/System.Core.dll /reference:/usr/lib/mono/4.7-api//mscorlib.dll /warn:4
            Target _CopyAppConfigFile:
                Copying file from '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/app.config' to '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/bin/Debug/xslt.exe.config'
            Target DeployOutputFiles:
                Copying file from '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/obj/Debug/xslt.exe.mdb' to '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/bin/Debug/xslt.exe.mdb'
                Copying file from '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/obj/Debug/xslt.exe' to '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/bin/Debug/xslt.exe'
            Target AfterBuild:
                Project dir = /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/
                Copying file from '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/bin/Debug/xslt.exe' to '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt.exe'
        Done building project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/xslt.csproj".
        Project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/makesigs.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Debug Platform: AnyCPU
                Created directory "bin/Debug/"
                Created directory "obj/Debug/"
            Target GetFrameworkPaths:
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.7' not supported by this toolset (ToolsVersion: 14.0).
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target CoreCompile:
                Tool /usr/lib/mono/4.5/mcs.exe execution started with arguments: /noconfig /debug:full /debug:portable /optimize- /out:obj/Debug/makesigs.exe Program.cs Properties/AssemblyInfo.cs obj/Debug/.NETFramework,Version=v4.7.AssemblyAttribute.cs /target:exe /define:"DEBUG;TRACE" /langversion:7 /nostdlib /platform:AnyCPU /reference:/usr/lib/mono/4.7-api/System.dll /reference:/usr/lib/mono/4.7-api/System.Xml.Linq.dll /reference:/usr/lib/mono/4.7-api/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.7-api/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.7-api/System.Data.dll /reference:/usr/lib/mono/4.7-api/System.Xml.dll /reference:/usr/lib/mono/4.7-api/System.Core.dll /reference:/usr/lib/mono/4.7-api//mscorlib.dll /warn:4
            Target _CopyAppConfigFile:
                Copying file from '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/App.config' to '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/bin/Debug/makesigs.exe.config'
            Target DeployOutputFiles:
                Copying file from '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/obj/Debug/makesigs.exe.mdb' to '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/bin/Debug/makesigs.exe.mdb'
                Copying file from '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/obj/Debug/makesigs.exe' to '/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/bin/Debug/makesigs.exe'
        Done building project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/makesigs.csproj".
    Task "MSBuild" execution -- FAILED
    Done building target "Build" in project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln".-- FAILED
Done building project "/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln".-- FAILED

Build FAILED.

Warnings:

/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/WixInstaller/WixInstaller.wixproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/WindowsDecompiler/WindowsDecompiler.csproj:  warning : Could not find project file /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/WindowsDecompiler/Drivers/Common.items, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/WindowsDecompiler/WindowsDecompiler.csproj:  warning : Could not find project file /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/WindowsDecompiler/Drivers/PreBuild.targets, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/CmdLine/CmdLine.csproj:  warning : Could not find project file /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/CmdLine/Drivers/Common.items, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/CmdLine/CmdLine.csproj:  warning : Could not find project file /usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Drivers/CmdLine/Drivers/PreBuild.targets, to import. Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln:  warning : Don't know how to handle GlobalSection TextTemplating, Ignoring.

/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln (default targets) ->
(Build target) ->
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Core/Core.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetFrameworkPaths target) ->

    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.7' not supported by this toolset (ToolsVersion: 14.0).

/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln (default targets) ->
(Build target) ->
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/xslt/xslt.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetFrameworkPaths target) ->

    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.7' not supported by this toolset (ToolsVersion: 14.0).

/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln (default targets) ->
(Build target) ->
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/tools/makesigs/makesigs.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetFrameworkPaths target) ->

    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : TargetFrameworkVersion 'v4.7' not supported by this toolset (ToolsVersion: 14.0).

Errors:

/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Reko-decompiler.sln (default targets) ->
(Build target) ->
/usr/local/home/bluecmd/Downloads/reko-version-0.8.1.0/src/Core/Core.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    DispatchProcedure.cs(57,13): error CS0230: Type and identifier are both required in a foreach statement
    DispatchProcedure.cs(57,36): error CS1525: Unexpected symbol `in'
    DispatchProcedure.cs(57,47): error CS1525: Unexpected symbol `)'
    Serialization/Json/JsonProcedureSerializer.cs(113,37): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
    Frame.cs(121,37): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
    Serialization/ProcedureSerializer.cs(224,37): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
    StorageBinder.cs(107,37): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching
    Types/DataTypeComparer.cs(311,34): error CS0589: Internal compiler error during parsingSystem.NotImplementedException: type pattern matching

     10 Warning(s)
     8 Error(s)

Time Elapsed 00:00:02.6932480
[bluecmd]$ mono --version
Mono JIT compiler version 5.18.0.240 (Debian 5.18.0.240+dfsg-2 Tue Apr 16 02:41:45 UTC 2019)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    Interpreter:   yes
    LLVM:          supported, not enabled.
    Suspend:       preemptive
    GC:            sgen (concurrent by default)

Let me know if you need anything else.

smx-smx commented 5 years ago

Hi @bluecmd. xbuild is deprecated and we switched to msbuild several months ago. Use msbuild to build the project.

uxmal commented 5 years ago

@bluecmd: the build instructions for reko are here: https://github.com/uxmal/reko/blob/master/doc/build.md

As @smx-smx points out, xbuild is deprecated. I'm assuming from the inactivity on this issue that you've been able to use msbuild to build reko. If not, please re-activate this issue and/or reach out on https://gitter.im/uxmal/reko.