{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/msbuild/issues/567","repository_url":"https://api.github.com/repos/Microsoft/msbuild","labels_url":"https://api.github.com/repos/Microsoft/msbuild/issues/567/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/msbuild/issues/567/comments","events_url":"https://api.github.com/repos/Microsoft/msbuild/issues/567/events","html_url":"https://github.com/Microsoft/msbuild/issues/567","id":147117496,"number":567,"title":"Can't build on UNIX","user":{"login":"JunielKatarn","id":4507319,"avatar_url":"https://avatars.githubusercontent.com/u/4507319?v=3","gravatar_id":"","url":"https://api.github.com/users/JunielKatarn","html_url":"https://github.com/JunielKatarn","followers_url":"https://api.github.com/users/JunielKatarn/followers","following_url":"https://api.github.com/users/JunielKatarn/following{/other_user}","gists_url":"https://api.github.com/users/JunielKatarn/gists{/gist_id}","starred_url":"https://api.github.com/users/JunielKatarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JunielKatarn/subscriptions","organizations_url":"https://api.github.com/users/JunielKatarn/orgs","repos_url":"https://api.github.com/users/JunielKatarn/repos","events_url":"https://api.github.com/users/JunielKatarn/events{/privacy}","received_events_url":"https://api.github.com/users/JunielKatarn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2016-04-09T10:35:43Z","updated_at":"2016-05-03T23:04:52Z","closed_at":"2016-05-03T23:04:52Z","body":"Hi. I can't build the latest xplat commit (See 5a2dcc67bff636fa8107bbf08e1852a2e34121b8) on Mac OS X 10.11.\r\n\r\nAfter checking out the latest xplat, I run `./cibuild` and always get the following output:\r\n```\r\nUnsupported target detected: . Configuring as if for CoreCLR\r\nUnsupported host detected: . Configuring as if for CoreCLR\r\nInstalling dotnet cli...\r\nRestoring BuildTools version 1.0.25-prerelease-00231-07...\r\nERROR: Could not restore build tools correctly. See '/Volumes/DATA/Build/msb/buildme/init-tools.log' for more details.\r\nInitializing BuildTools...\r\n./init-tools.sh: line 84: /Volumes/DATA/Build/msb/buildme/packages/Microsoft.DotNet.BuildTools/1.0.25-prerelease-00231-07/lib/init-tools.sh: No such file or directory\r\nDone initializing tools.\r\nBuild Command: ./Tools/corerun  ./Tools/MSBuild.exe ./build.proj /t:Build /p:OS=OSX /p:Configuration=Debug-NetCore /verbosity:minimal  /m /fl  \"/flp:v=diag;logfile=./msbuild.log\"\r\n./cibuild.sh: line 42: ./Tools/corerun: No such file or directory\r\n```\r\n\r\nAfter looking at `init-tools.log`, found the following:\r\n```\r\nunning: /Volumes/DATA/Build/msb/buildme/init-tools.sh\r\nInstalling 'https://dotnetcli.blob.core.windows.net/dotnet/beta/Binaries/1.0.0-beta-002173/dotnet-dev-osx-x64.1.0.0-beta-002173.tar.gz' to '/Volumes/DATA/Build/msb/buildme/Tools/dotnetcli/dotnet.tar'\r\nRunning: /Volumes/DATA/Build/msb/buildme/Tools/dotnetcli/dotnet restore \"/Volumes/DATA/Build/msb/buildme/Tools/1.0.25-prerelease-00231-07/project.json\" --packages /Volumes/DATA/Build/msb/buildme/packages --source https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json\r\nlog  : Restoring packages for /Volumes/DATA/Build/msb/buildme/Tools/1.0.25-prerelease-00231-07/project.json...\r\nerror: Failed to retrieve information from remote source '/Volumes/DATA/Build/msb/buildme/packages'.\r\nerror: Unable to load the service index for source https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json.\r\nerror:   The type initializer for 'Crypto' threw an exception.\r\nerror:   Unable to load DLL 'System.Security.Cryptography.Native': The specified module could not be found.\r\nerror:    (Exception from HRESULT: 0x8007007E)\r\nRunning: /Volumes/DATA/Build/msb/buildme/packages/Microsoft.DotNet.BuildTools/1.0.25-prerelease-00231-07/lib/init-tools.sh /Volumes/DATA/Build/msb/buildme /Volumes/DATA/Build/msb/buildme/Tools/dotnetcli/dotnet /Volumes/DATA/Build/msb/buildme/Tools\r\n```\r\n\r\nI notice a few things:\r\n1. The `packages` subdirectory never got created.\r\n2. I can browse to `https://dotnet.myget.org/F/dotnet-buildtools/api/v3/index.json` even when the scripts says its index can't be loaded.\r\n3. Maybe package `System.Security.Cryptography.Native` is outdated in the dependency mappings?\r\n4. The same commit was built successfully on Jenkins at http://dotnet-ci.cloudapp.net/job/Microsoft_msbuild/job/innerloop_xplat_OSX/87/ .\r\n\r\nIs there any pre-configuration I need to make in order to build locally?"}}