{"action":"created","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/2379","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2379/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2379/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2379/events","html_url":"https://github.com/crystal-lang/crystal/issues/2379","id":144020418,"number":2379,"title":"Errors during crystal build","user":{"login":"dsounded","id":3995852,"avatar_url":"https://avatars.githubusercontent.com/u/3995852?v=3","gravatar_id":"","url":"https://api.github.com/users/dsounded","html_url":"https://github.com/dsounded","followers_url":"https://api.github.com/users/dsounded/followers","following_url":"https://api.github.com/users/dsounded/following{/other_user}","gists_url":"https://api.github.com/users/dsounded/gists{/gist_id}","starred_url":"https://api.github.com/users/dsounded/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsounded/subscriptions","organizations_url":"https://api.github.com/users/dsounded/orgs","repos_url":"https://api.github.com/users/dsounded/repos","events_url":"https://api.github.com/users/dsounded/events{/privacy}","received_events_url":"https://api.github.com/users/dsounded/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-28T16:34:56Z","updated_at":"2016-03-28T19:35:58Z","closed_at":null,"body":"My Crystal version is 0.14.2 and I can't build anything with it, got errors with old syntax, I've installed it with http://crystal-lang.org/docs/installation/on_debian_and_ubuntu.html this. But here is a lot of errors in sources during new changes(brackets in def, `arg : T = V` etc). However works good on my Mac, but doesn't work on Linux. Any ideas ?"},"comment":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/comments/202548988","html_url":"https://github.com/crystal-lang/crystal/issues/2379#issuecomment-202548988","issue_url":"https://api.github.com/repos/crystal-lang/crystal/issues/2379","id":202548988,"user":{"login":"luislavena","id":4182,"avatar_url":"https://avatars.githubusercontent.com/u/4182?v=3","gravatar_id":"","url":"https://api.github.com/users/luislavena","html_url":"https://github.com/luislavena","followers_url":"https://api.github.com/users/luislavena/followers","following_url":"https://api.github.com/users/luislavena/following{/other_user}","gists_url":"https://api.github.com/users/luislavena/gists{/gist_id}","starred_url":"https://api.github.com/users/luislavena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luislavena/subscriptions","organizations_url":"https://api.github.com/users/luislavena/orgs","repos_url":"https://api.github.com/users/luislavena/repos","events_url":"https://api.github.com/users/luislavena/events{/privacy}","received_events_url":"https://api.github.com/users/luislavena/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T19:35:58Z","updated_at":"2016-03-28T19:35:58Z","body":"@dsounded please join us on IRC (`#crystal-lang` room) for real time assistance.\r\n\r\nI have LLVM 3.6 installed (`apt-get install llvm-3.6`)\r\n\r\nI cannot find `/opt/crystal/src/io/string_io.cr` in my local installation of crystal:\r\n\r\n```\r\n$ dpkg -l | grep crystal\r\nii  crystal                                     0.14.2-1                                   amd64        The full stack of crystal\r\n\r\n$ crystal --version\r\nCrystal 0.14.2 [e1af3d5] (Wed Mar 23 00:13:58 UTC 2016)\r\n\r\n$ crystal env \r\nCRYSTAL_PATH=\"libs:/opt/crystal/bin/../src\"\r\nCRYSTAL_VERSION=\"0.14.2-0-ge1af3d5\"\r\n\r\n$ cat /opt/crystal/src/io/string_io.cr\r\ncat: /opt/crystal/src/io/string_io.cr: No such file or directory\r\n```\r\n\r\nLooking closely, `string_io.cr` was the old name of what now is known as MemoryIO (inside `memory_io.cr` which might validate my comment: seems `/opt/crystal` directory contains something that is not up-to-date with the newer package.\r\n\r\nI recommend nuking it (`rm -rf /opt/crystal`) after you've removed the package with apt.\r\n\r\nCheers."}}