{"action":"created","issue":{"url":"https://api.github.com/repos/BurntSushi/xsv/issues/126","repository_url":"https://api.github.com/repos/BurntSushi/xsv","labels_url":"https://api.github.com/repos/BurntSushi/xsv/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/xsv/issues/126/comments","events_url":"https://api.github.com/repos/BurntSushi/xsv/issues/126/events","html_url":"https://github.com/BurntSushi/xsv/issues/126","id":336236582,"node_id":"MDU6SXNzdWUzMzYyMzY1ODI=","number":126,"title":"Workaround for rust 1.27.0 not compiling on macOS 10.10","user":{"login":"STA-WSYNC","id":20489137,"node_id":"MDQ6VXNlcjIwNDg5MTM3","avatar_url":"https://avatars0.githubusercontent.com/u/20489137?v=4","gravatar_id":"","url":"https://api.github.com/users/STA-WSYNC","html_url":"https://github.com/STA-WSYNC","followers_url":"https://api.github.com/users/STA-WSYNC/followers","following_url":"https://api.github.com/users/STA-WSYNC/following{/other_user}","gists_url":"https://api.github.com/users/STA-WSYNC/gists{/gist_id}","starred_url":"https://api.github.com/users/STA-WSYNC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STA-WSYNC/subscriptions","organizations_url":"https://api.github.com/users/STA-WSYNC/orgs","repos_url":"https://api.github.com/users/STA-WSYNC/repos","events_url":"https://api.github.com/users/STA-WSYNC/events{/privacy}","received_events_url":"https://api.github.com/users/STA-WSYNC/received_events","type":"User","site_admin":false},"labels":[{"id":126128252,"node_id":"MDU6TGFiZWwxMjYxMjgyNTI=","url":"https://api.github.com/repos/BurntSushi/xsv/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-06-27T13:44:08Z","updated_at":"2018-06-27T18:34:40Z","closed_at":"2018-06-27T15:50:42Z","author_association":"NONE","body":"xsv 0.13.0 depends on Rust and requires the latest version (1.27.0 as of now). I've found that on my machine Rust fails to compile, probably because I'm running 10.10 Yosemite because my mac is ancient\r\n\r\nhttps://github.com/rust-lang/rust/issues/51838\r\n\r\nLuckily there is a workaround for this. \r\n\r\nIn the general case where you want to install package X, package X depends on the latest version of package Y and for some reason (poverty, laziness) you can't use the latest version of package Y on your machine. Just do a /usr/local/Cellar/Y and sym link the last known good version to the latest version. This was inspired by https://stackoverflow.com/questions/19664535/how-can-i-prevent-homebrew-from-upgrading-vtk-dependency-for-pcl/19665408#19665408 \r\n\r\nIn this specific case\r\n\r\ncd /usr/local/Cellar/rust\r\nln -s 1.24.1 1.27.0\r\n\r\nThis tricks homebrew into thinking it already has 1.27.0 and thus won't download it, fail to compile and end up all fubar.\r\n"},"comment":{"url":"https://api.github.com/repos/BurntSushi/xsv/issues/comments/400786167","html_url":"https://github.com/BurntSushi/xsv/issues/126#issuecomment-400786167","issue_url":"https://api.github.com/repos/BurntSushi/xsv/issues/126","id":400786167,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDc4NjE2Nw==","user":{"login":"STA-WSYNC","id":20489137,"node_id":"MDQ6VXNlcjIwNDg5MTM3","avatar_url":"https://avatars0.githubusercontent.com/u/20489137?v=4","gravatar_id":"","url":"https://api.github.com/users/STA-WSYNC","html_url":"https://github.com/STA-WSYNC","followers_url":"https://api.github.com/users/STA-WSYNC/followers","following_url":"https://api.github.com/users/STA-WSYNC/following{/other_user}","gists_url":"https://api.github.com/users/STA-WSYNC/gists{/gist_id}","starred_url":"https://api.github.com/users/STA-WSYNC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/STA-WSYNC/subscriptions","organizations_url":"https://api.github.com/users/STA-WSYNC/orgs","repos_url":"https://api.github.com/users/STA-WSYNC/repos","events_url":"https://api.github.com/users/STA-WSYNC/events{/privacy}","received_events_url":"https://api.github.com/users/STA-WSYNC/received_events","type":"User","site_admin":false},"created_at":"2018-06-27T18:34:40Z","updated_at":"2018-06-27T18:34:40Z","author_association":"NONE","body":"Right, did the OS upgrade and now I can use the bottled version of Rust which obviously installs fine\r\n\r\n```\r\n$ brew upgrade rust\r\n==> Upgrading 1 outdated package, with result:\r\nrust 1.24.1 -> 1.27.0\r\n==> Upgrading rust \r\n==> Downloading https://homebrew.bintray.com/bottles/rust-1.27.0.sierra.bottle.tar.gz\r\n==> Downloading from https://akamai.bintray.com/9d/9d91681309cce40845d8c20d97ed2fa9ab0f4ecc7d015c33907abab7d5fa8643?__gda__=exp=1530124\r\n######################################################################## 100.0%\r\n==> Pouring rust-1.27.0.sierra.bottle.tar.gz\r\n🍺  /usr/local/Cellar/rust/1.27.0: 42,749 files, 763.6MB\r\n```\r\n"}}
{"actor":{"display_login":"STA-WSYNC"}}