{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/brew/issues/969","repository_url":"https://api.github.com/repos/Homebrew/brew","labels_url":"https://api.github.com/repos/Homebrew/brew/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/brew/issues/969/comments","events_url":"https://api.github.com/repos/Homebrew/brew/issues/969/events","html_url":"https://github.com/Homebrew/brew/issues/969","id":177127395,"number":969,"title":"\"Empty archive\" error when install formulas with tar.xz archives, after upgrading to Xcode 8","user":{"login":"zhouyan","id":538601,"avatar_url":"https://avatars.githubusercontent.com/u/538601?v=3","gravatar_id":"","url":"https://api.github.com/users/zhouyan","html_url":"https://github.com/zhouyan","followers_url":"https://api.github.com/users/zhouyan/followers","following_url":"https://api.github.com/users/zhouyan/following{/other_user}","gists_url":"https://api.github.com/users/zhouyan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhouyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhouyan/subscriptions","organizations_url":"https://api.github.com/users/zhouyan/orgs","repos_url":"https://api.github.com/users/zhouyan/repos","events_url":"https://api.github.com/users/zhouyan/events{/privacy}","received_events_url":"https://api.github.com/users/zhouyan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-09-15T09:17:41Z","updated_at":"2016-09-17T18:11:43Z","closed_at":"2016-09-17T18:11:43Z","body":"I have just upgraded to Xcode 8 and run `xcode-select --install` after the upgrading. I tried to reinstall all formulas I had. And I encountered errors as the following, for example, when installing `git`,\r\n```\r\n$ brew install git --verbose\r\n==> Using the sandbox\r\n/usr/bin/sandbox-exec -f /tmp/homebrew20160915-13630-1k3cym9.sb nice /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -W0 -I /usr/local/Library/Homebrew -- /usr/local/Library/Homebrew/build.rb /usr/local/Library/Taps/homebrew/homebrew-core/Formula/git.rb --verbose\r\n==> Downloading https://www.kernel.org/pub/software/scm/git/git-2.10.0.tar.xz\r\nAlready downloaded: /Users/Zhou/Library/Caches/Homebrew/git-2.10.0.tar.xz\r\n==> Verifying git-2.10.0.tar.xz checksum\r\nError: Empty archive\r\n```\r\nThis error only happens with formulas using a source packed as `tar.xz` instead of `gz` or `bz2`. I tried to manually uncompress the package via `tar xf` and it works fine."},"comment":{"url":"https://api.github.com/repos/Homebrew/brew/issues/comments/247794793","html_url":"https://github.com/Homebrew/brew/issues/969#issuecomment-247794793","issue_url":"https://api.github.com/repos/Homebrew/brew/issues/969","id":247794793,"user":{"login":"zmwangx","id":4149852,"avatar_url":"https://avatars.githubusercontent.com/u/4149852?v=3","gravatar_id":"","url":"https://api.github.com/users/zmwangx","html_url":"https://github.com/zmwangx","followers_url":"https://api.github.com/users/zmwangx/followers","following_url":"https://api.github.com/users/zmwangx/following{/other_user}","gists_url":"https://api.github.com/users/zmwangx/gists{/gist_id}","starred_url":"https://api.github.com/users/zmwangx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zmwangx/subscriptions","organizations_url":"https://api.github.com/users/zmwangx/orgs","repos_url":"https://api.github.com/users/zmwangx/repos","events_url":"https://api.github.com/users/zmwangx/events{/privacy}","received_events_url":"https://api.github.com/users/zmwangx/received_events","type":"User","site_admin":false},"created_at":"2016-09-17T18:11:43Z","updated_at":"2016-09-17T18:11:43Z","body":"Closing due to inactivity."}}
{"actor":{"display_login":"zmwangx"}}