{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/4558","repository_url":"https://api.github.com/repos/dotnet/coreclr","labels_url":"https://api.github.com/repos/dotnet/coreclr/issues/4558/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/coreclr/issues/4558/comments","events_url":"https://api.github.com/repos/dotnet/coreclr/issues/4558/events","html_url":"https://github.com/dotnet/coreclr/issues/4558","id":150831287,"number":4558,"title":"ARM: cross compile configure fail with version.cpp not found","user":{"login":"seanshpark","id":4616940,"avatar_url":"https://avatars.githubusercontent.com/u/4616940?v=3","gravatar_id":"","url":"https://api.github.com/users/seanshpark","html_url":"https://github.com/seanshpark","followers_url":"https://api.github.com/users/seanshpark/followers","following_url":"https://api.github.com/users/seanshpark/following{/other_user}","gists_url":"https://api.github.com/users/seanshpark/gists{/gist_id}","starred_url":"https://api.github.com/users/seanshpark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanshpark/subscriptions","organizations_url":"https://api.github.com/users/seanshpark/orgs","repos_url":"https://api.github.com/users/seanshpark/repos","events_url":"https://api.github.com/users/seanshpark/events{/privacy}","received_events_url":"https://api.github.com/users/seanshpark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-25T11:41:40Z","updated_at":"2016-04-25T22:47:16Z","closed_at":null,"body":"Failed with `Cannot find source file: bin/obj/Linux.arm.Debug/version.cpp` when clean build\r\n```\r\n-- Configuring done\r\nCMake Error at functions.cmake:174 (add_library):\r\n  Cannot find source file:\r\n\r\n    /.../coreclr/bin/obj/Linux.arm.Debug/version.cpp\r\n\r\n  Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp\r\n  .hxx .in .txx\r\nCall Stack (most recent call first):\r\n  src/corefx/System.Globalization.Native/CMakeLists.txt:55 (_add_library)\r\n```\r\nI try to build from clean like;\r\n```\r\nROOTFS_DIR=/home/maxwell/zarm-rootfs-wily ./build.sh arm cross skipmscorlib clean\r\n```\r\n\r\nmaster hash is 661e5d078fdbbb4b0acd98a023d8a66762af5a4a"},"comment":{"url":"https://api.github.com/repos/dotnet/coreclr/issues/comments/214554224","html_url":"https://github.com/dotnet/coreclr/issues/4558#issuecomment-214554224","issue_url":"https://api.github.com/repos/dotnet/coreclr/issues/4558","id":214554224,"user":{"login":"seanshpark","id":4616940,"avatar_url":"https://avatars.githubusercontent.com/u/4616940?v=3","gravatar_id":"","url":"https://api.github.com/users/seanshpark","html_url":"https://github.com/seanshpark","followers_url":"https://api.github.com/users/seanshpark/followers","following_url":"https://api.github.com/users/seanshpark/following{/other_user}","gists_url":"https://api.github.com/users/seanshpark/gists{/gist_id}","starred_url":"https://api.github.com/users/seanshpark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanshpark/subscriptions","organizations_url":"https://api.github.com/users/seanshpark/orgs","repos_url":"https://api.github.com/users/seanshpark/repos","events_url":"https://api.github.com/users/seanshpark/events{/privacy}","received_events_url":"https://api.github.com/users/seanshpark/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T22:47:16Z","updated_at":"2016-04-25T22:47:16Z","body":"I still get above error. And I think while in configure `msbuild.exe` is called before `Tools` are prepared\r\n```\r\n/../coreclr/init-tools.sh: line 122: /../coreclr/packages/Microsoft.DotNet.BuildTools/1.0.25-prerelease-00321-01/lib/init-tools.sh: No such file or directory\r\nchmod: cannot access ‘/../coreclr/Tools/corerun’: No such file or directory\r\nRunning: \"/../coreclr/Tools/corerun\" \"/../coreclr/Tools/MSBuild.exe\" \"/../coreclr/build.proj\" /t:GenerateVersionSourceFile /p:NativeVersionSourceFile=/../coreclr/bin/obj/Linux.arm.Debug/version.cpp /p:GenerateVersionSourceFile=true /v:minimal \r\n./build.sh: line 155: /../coreclr/Tools/corerun: No such file or directory\r\n```\r\n\r\nWhen I search for this `init-tools.sh`, I get this.\r\n```\r\n$ find . -name init-tools.sh\r\n./packages/Microsoft.DotNet.BuildTools/1.0.25-prerelease-00307-04/lib/init-tools.sh\r\n./init-tools.sh\r\n```\r\n\r\n`Tools` was not upgraded somehow and also does not after deleting `Tools` folder.\r\n\r\nThe reason for this was that I'm using shared Linux machine with others and I had no write authority for `/tmp/NuGetScratch` folder somehow.\r\n\r\nAfter changing `lock` folder to `777`, the whole thing is OK."}}