I’ll take a look. Once you on path where it tries to install Tools it is bad. Please try src/Native/build-native.sh directly.
Tomas On 9/19/17, 10:07 PM, "Russell Haley" <[email protected]> wrote: Hey Tomas, coreclr native parts built first time for me. I am trying to build the dotnet fx native parts and I'm still stalled out on Linux emulation errors. I have a question in the TrueOS forums and will poke around: https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdiscourse.trueos.org%2Ft%2Fexecuting-64-bit-linux-binaries%2F703%2F2&data=02%7C01%7CTomas.Weinfurt%40microsoft.com%7C3b720d481d9b4e70aceb08d4ffe57ac2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636414808455309694&sdata=us2YL%2F%2BjZg2xtSCtzDCrhRwGH3EqoTwPK8MWcazmNEo%3D&reserved=0 Here is my build output: russellh@prescott:/storage/russellh/Git/corefx% ./build.sh native -clang=clang3.9 Unsupported OS 'FreeBSD' detected. Downloading linux-x64 tools. Installing dotnet cli... Restoring BuildTools version 2.0.0-prerelease-01931-01... ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2 /storage/russellh/Git/corefx/init-tools.sh: line 142: 39789 Abort trap $__DOTNET_CMD restore "$__INIT_TOOLS_RESTORE_PROJECT" --no-cache --packages $__PACKAGES_DIR --source $__BUILDTOOLS_SOURCE /p:BuildToolsPackageVersion=$__BUILD_TOOLS_PACKAGE_VERSION >> $__init_tools_log ERROR: Could not restore build tools correctly. Please check the detailed log that follows. Running: /storage/russellh/Git/corefx/init-tools.sh Installing 'https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdotnetcli.azureedge.net%2Fdotnet%2FSdk%2F2.0.0-preview1-005977%2Fdotnet-dev-linux-x64.2.0.0-preview1-005977.tar.gz&data=02%7C01%7CTomas.Weinfurt%40microsoft.com%7C3b720d481d9b4e70aceb08d4ffe57ac2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636414808455309694&sdata=nmUCgZjM2kCcFAeFciTqw0mXOOAUO0qaIrJD0ODTSGM%3D&reserved=0' to '/storage/russellh/Git/corefx/Tools/dotnetcli/dotnet.tar' Running: /storage/russellh/Git/corefx/Tools/dotnetcli/dotnet restore "/storage/russellh/Git/corefx/init-tools.msbuild" --no-cache --packages /storage/russellh/Git/corefx/packages --source https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdotnet.myget.org%2FF%2Fdotnet-buildtools%2Fapi%2Fv3%2Findex.json&data=02%7C01%7CTomas.Weinfurt%40microsoft.com%7C3b720d481d9b4e70aceb08d4ffe57ac2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636414808455309694&sdata=uIeCnyr%2FTLSr%2FphUMAPJJ0AF3iKxzBMHD6YpOYBRSTw%3D&reserved=0 /p:BuildToolsPackageVersion=2.0.0-prerelease-01931-01 Initializing BuildTools... chmod: /storage/russellh/Git/corefx/packages/microsoft.dotnet.buildtools/2.0.0-prerelease-01931-01/lib/init-tools.sh: No such file or directory /storage/russellh/Git/corefx/init-tools.sh: line 121: /storage/russellh/Git/corefx/packages/microsoft.dotnet.buildtools/2.0.0-prerelease-01931-01/lib/init-tools.sh: No such file or directory ERROR: An error occurred when trying to initialize the tools. Please check the detailed log that follows. Running: /storage/russellh/Git/corefx/init-tools.sh Installing 'https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdotnetcli.azureedge.net%2Fdotnet%2FSdk%2F2.0.0-preview1-005977%2Fdotnet-dev-linux-x64.2.0.0-preview1-005977.tar.gz&data=02%7C01%7CTomas.Weinfurt%40microsoft.com%7C3b720d481d9b4e70aceb08d4ffe57ac2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636414808455309694&sdata=nmUCgZjM2kCcFAeFciTqw0mXOOAUO0qaIrJD0ODTSGM%3D&reserved=0' to '/storage/russellh/Git/corefx/Tools/dotnetcli/dotnet.tar' Running: /storage/russellh/Git/corefx/Tools/dotnetcli/dotnet restore "/storage/russellh/Git/corefx/init-tools.msbuild" --no-cache --packages /storage/russellh/Git/corefx/packages --source https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdotnet.myget.org%2FF%2Fdotnet-buildtools%2Fapi%2Fv3%2Findex.json&data=02%7C01%7CTomas.Weinfurt%40microsoft.com%7C3b720d481d9b4e70aceb08d4ffe57ac2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636414808455309694&sdata=uIeCnyr%2FTLSr%2FphUMAPJJ0AF3iKxzBMHD6YpOYBRSTw%3D&reserved=0 /p:BuildToolsPackageVersion=2.0.0-prerelease-01931-01 Running: /storage/russellh/Git/corefx/packages/microsoft.dotnet.buildtools/2.0.0-prerelease-01931-01/lib/init-tools.sh /storage/russellh/Git/corefx /storage/russellh/Git/corefx/Tools/dotnetcli/dotnet /storage/russellh/Git/corefx/Tools russellh@prescott:/storage/russellh/Git/corefx% I tried building the mscorelib in monodevelop (and also tried xbuild) but got the following error: Error: /storage/russellh/Git/coreclr/src/mscorlib/System.Private.CoreLib.csproj: /storage/russellh/Git/coreclr/dir.targets: Project file could not be imported, it was being imported by /storage/russellh/Git/coreclr/src/mscorlib/System.Private.CoreLib.csproj: /storage/russellh/Git/coreclr/dir.targets could not import "$(ToolsDir)/Build.Common.targets" (System.Private.CoreLib)x A quick search showed something about wrong framework version. I wonder if I should ping off the Xamarina/Mono team? Russ _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-mono To unsubscribe, send any mail to "[email protected]"
