Skip to content
This repository was archived by the owner on Jan 3, 2023. It is now read-only.
This repository was archived by the owner on Jan 3, 2023. It is now read-only.

Doesn't compile with Mono master (4.9+) #685

@nosami

Description

@nosami

Please provide a succinct description of the issue.

Build error when compiling with Mono 4.9

Repro steps

Provide the steps required to reproduce the problem

  1. Install Mono 4.9 https://bosstoragemirror.blob.core.windows.net/wrench/mono-master/c1/c1c09bc78d33dda29a4e53aa833f8ed09bbadaf2/MonoFramework-MDK-4.9.4.26.macos10.xamarin.universal.pkg

  2. Build this repo

./autogen.sh --prefix=/Library/Frameworks/Mono.framework/Versions/4.9.4
make

Expected behavior

It should build

Actual behavior

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

Build started 3/21/2017 1:12:44 PM.
__________________________________________________
Project "/Users/jason/src/fsharp/src/fsharp/FSharp.Build-proto/FSharp.Build-proto.fsproj" (default target(s)):
	Target CallFsSrGen:
		Created directory "obj//net40/"
		Executing: mono /Users/jason/src/fsharp/packages/FSharp.Compiler.Tools.4.0.1.21/tools/fsi.exe --exec "/Users/jason/src/fsharp/src/scripts/fssrgen.fsx" "/Users/jason/src/fsharp/src/fsharp/FSharp.Build/FSBuild.txt" "obj//net40/FSBuild.fs"  "obj//net40/FSBuild.resx"
		error FS0193: Specified method is not supported.
/Users/jason/src/fsharp/src/scripts/fssrgen.targets: error : Command 'mono /Users/jason/src/fsharp/packages/FSharp.Compiler.Tools.4.0.1.21/tools/fsi.exe --exec "/Users/jason/src/fsharp/src/scripts/fssrgen.fsx" "/Users/jason/src/fsharp/src/fsharp/FSharp.Build/FSBuild.txt" "obj//net40/FSBuild.fs"  "obj//net40/FSBuild.resx" ' exited with code: 1.
	Task "Exec" execution -- FAILED
	Done building target "CallFsSrGen" in project "/Users/jason/src/fsharp/src/fsharp/FSharp.Build-proto/FSharp.Build-proto.fsproj".-- FAILED
Done building project "/Users/jason/src/fsharp/src/fsharp/FSharp.Build-proto/FSharp.Build-proto.fsproj".-- FAILED

Build FAILED.
Errors:

/Users/jason/src/fsharp/src/fsharp/FSharp.Build-proto/FSharp.Build-proto.fsproj (default targets) ->
/Users/jason/src/fsharp/src/scripts/fssrgen.targets (CallFsSrGen target) ->

	/Users/jason/src/fsharp/src/scripts/fssrgen.targets: error : Command 'mono /Users/jason/src/fsharp/packages/FSharp.Compiler.Tools.4.0.1.21/tools/fsi.exe --exec "/Users/jason/src/fsharp/src/scripts/fssrgen.fsx" "/Users/jason/src/fsharp/src/fsharp/FSharp.Build/FSBuild.txt" "obj//net40/FSBuild.fs"  "obj//net40/FSBuild.resx" ' exited with code: 1.

	 0 Warning(s)
	 1 Error(s)

Time Elapsed 00:00:02.9666400
make[3]: *** [build-proto] Error 1
make[2]: *** [build-proto] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

Known workarounds

None

Related information

Provide any related information

  • Operating system
  • Branch
  • .NET Runtime, CoreCLR or Mono Version
  • Editing Tools (e.g. Visual Studio Version)
  • Links to F# RFCs or entries on http://fslang.uservoice.com
  • Links to performance testing scripts
  • Indications of severity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions