{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9667","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9667/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9667/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9667/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/9667","id":58210206,"number":9667,"title":"Bitcoin-core is failing","user":{"login":"christopherkeller","id":18491,"avatar_url":"https://avatars.githubusercontent.com/u/18491?v=3","gravatar_id":"","url":"https://api.github.com/users/christopherkeller","html_url":"https://github.com/christopherkeller","followers_url":"https://api.github.com/users/christopherkeller/followers","following_url":"https://api.github.com/users/christopherkeller/following{/other_user}","gists_url":"https://api.github.com/users/christopherkeller/gists{/gist_id}","starred_url":"https://api.github.com/users/christopherkeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christopherkeller/subscriptions","organizations_url":"https://api.github.com/users/christopherkeller/orgs","repos_url":"https://api.github.com/users/christopherkeller/repos","events_url":"https://api.github.com/users/christopherkeller/events{/privacy}","received_events_url":"https://api.github.com/users/christopherkeller/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-19T13:50:32Z","updated_at":"2015-02-21T00:30:46Z","closed_at":null,"body":"Installation fails before the package gets installed in the Caskroom directory, but opening it manually and dragging and dropping in /Applications seems to work just fine.\r\n<pre>\r\n$ brew cask install --debug bitcoin-core\r\n==> Creating directories\r\n==> Loading Cask definitions\r\n==> Translating 'bitcoin-core' into a valid Cask source\r\n==> Testing source class Hbc::Source::URI\r\n==> Testing source class Hbc::Source::PathSlashRequired\r\n==> Testing source class Hbc::Source::TappedQualified\r\n==> Testing source class Hbc::Source::UntappedQualified\r\n==> Testing source class Hbc::Source::Tapped\r\n==> Success! Using source class Hbc::Source::Tapped\r\n==> Resolved Cask URI or file source to '/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/bitcoin-core.rb'\r\n==> Cask instance dumps in YAML:\r\n==> Cask instance toplevel:\r\n--- !ruby/object:KlassPrefixBitcoinCore\r\nsourcefile_path: !ruby/object:Pathname\r\n  path: /usr/local/Library/Taps/caskroom/homebrew-cask/Casks/bitcoin-core.rb\r\ntoken: bitcoin-core\r\n==> Cask instance method 'name':\r\n---\r\n- Bitcoin\r\n- Bitcoin Core\r\n==> Cask instance method 'homepage':\r\n--- https://bitcoin.org/\r\n...\r\n==> Cask instance method 'url':\r\n--- !ruby/object:Hbc::URL\r\nuri: !ruby/object:URI::HTTPS\r\n  scheme: https\r\n  user:\r\n  password:\r\n  host: bitcoin.org\r\n  port: 443\r\n  path: /bin/0.10.0/bitcoin-0.10.0-osx.dmg\r\n  query:\r\n  opaque:\r\n  registry:\r\n  fragment:\r\n  parser:\r\nuser_agent:\r\ncookies:\r\nreferer:\r\nusing:\r\nrevision:\r\ntrust_cert:\r\ndata:\r\n==> Cask instance method 'appcast':\r\n---\r\n...\r\n==> Cask instance method 'version':\r\n--- 0.10.0\r\n...\r\n==> Cask instance method 'license':\r\n--- !ruby/object:Hbc::DSL::License\r\nvalue: :mit\r\n==> Cask instance method 'tags':\r\n---\r\n...\r\n==> Cask instance method 'sha256':\r\n--- ccb80a8476a8d6cee6378784efeb199357f7c34ae11a96c0f2af9a6c9a16d1a1\r\n...\r\n==> Cask instance method 'artifacts':\r\n---\r\n:app: !ruby/object:Set\r\n  hash:\r\n    ? - Bitcoin-Qt.app\r\n      - :target: Bitcoin Core.app\r\n    : true\r\n==> Cask instance method 'caveats':\r\n--- []\r\n==> Cask instance method 'depends_on':\r\n---\r\n...\r\n==> Cask instance method 'conflicts_with':\r\n---\r\n...\r\n==> Cask instance method 'container':\r\n---\r\n...\r\n==> Cask instance method 'gpg':\r\n---\r\n...\r\n==> Cask instance method 'accessibility_access':\r\n---\r\n...\r\n==> Hbc::Installer.install\r\n==> Printing caveats\r\n==> Downloading\r\n==> Downloading https://bitcoin.org/bin/0.10.0/bitcoin-0.10.0-osx.dmg\r\nAlready downloaded: /Library/Caches/Homebrew/bitcoin-core-0.10.0.dmg\r\n==> SHA256 checksums match\r\n==> Downloaded to -> /Library/Caches/Homebrew/bitcoin-core-0.10.0.dmg\r\n==> SHA256 checksums match\r\n==> Extracting primary container\r\n==> Determining which containers to use based on filetype\r\n==> Checking container class Hbc::Container::Pkg\r\n==> Checking container class Hbc::Container::Ttf\r\n==> Checking container class Hbc::Container::Otf\r\n==> Checking container class Hbc::Container::Air\r\n==> Checking container class Hbc::Container::Cab\r\n==> Executing: [\"/usr/bin/file\", \"-Izb\", \"--\", \"#<Pathname:/Library/Caches/Homebrew/bitcoin-core-0.10.0.dmg>\"]\r\n==> Checking container class Hbc::Container::Dmg\r\n==> Executing: [\"/usr/bin/hdiutil\", \"imageinfo\", \"#<Pathname:/Library/Caches/Homebrew/bitcoin-core-0.10.0.dmg>\"]\r\n==> Using container class Hbc::Container::Dmg for /Library/Caches/Homebrew/bitcoin-core-0.10.0.dmg\r\n==> Executing: [\"/usr/bin/hdiutil\", \"mount\", \"-plist\", \"-nobrowse\", \"-readonly\", \"-noidme\", \"-mountrandom\", \"/tmp\", \"#<Pathname:/Library/Caches/Homebrew/bitcoin-core-0.10.0.dmg>\"]\r\n==> Executing: [\"/usr/bin/ditto\", \"--\", \"/private/tmp/dmg.Q0VQgH\", \"#<Pathname:/opt/homebrew-cask/Caskroom/bitcoin-core/0.10.0>\"]\r\n==> Executing: [\"/usr/sbin/diskutil\", \"eject\", \"#<Pathname:/private/tmp/dmg.Q0VQgH>\"]\r\n==> Installing artifacts\r\n==> Determining which artifacts are present in Cask bitcoin-core\r\n==> Checking for artifact class Hbc::Artifact::PreflightBlock\r\n==> Checking for artifact class Hbc::Artifact::NestedContainer\r\n==> Checking for artifact class Hbc::Artifact::Installer\r\n==> Checking for artifact class Hbc::Artifact::App\r\n==> Checking for artifact class Hbc::Artifact::Suite\r\n==> Checking for artifact class Hbc::Artifact::Artifact\r\n==> Checking for artifact class Hbc::Artifact::Colorpicker\r\n==> Checking for artifact class Hbc::Artifact::Pkg\r\n==> Checking for artifact class Hbc::Artifact::Prefpane\r\n==> Checking for artifact class Hbc::Artifact::Qlplugin\r\n==> Checking for artifact class Hbc::Artifact::Font\r\n==> Checking for artifact class Hbc::Artifact::Service\r\n==> Checking for artifact class Hbc::Artifact::StageOnly\r\n==> Checking for artifact class Hbc::Artifact::Binary\r\n==> Checking for artifact class Hbc::Artifact::InputMethod\r\n==> Checking for artifact class Hbc::Artifact::InternetPlugin\r\n==> Checking for artifact class Hbc::Artifact::ScreenSaver\r\n==> Checking for artifact class Hbc::Artifact::Uninstall\r\n==> Checking for artifact class Hbc::Artifact::PostflightBlock\r\n==> Checking for artifact class Hbc::Artifact::Zap\r\n==> 1 artifact/s defined\r\nHbc::Artifact::App\r\n==> Installing artifact of class Hbc::Artifact::App\r\n==> Symlinking App 'Bitcoin-Qt.app' to '/Applications/Bitcoin Core.app'\r\n==> Executing: [\"/bin/ln\", \"-hfs\", \"--\", \"#<Pathname:/opt/homebrew-cask/Caskroom/bitcoin-core/0.10.0/Bitcoin-Qt.app>\", \"#<Pathname:/Applications/Bitcoin Core.app>\"]\r\n==> Adding com.apple.metadata:kMDItemAlternateNames metadata\r\n==> Executing: [\"/usr/bin/xattr\", \"-p\", \"com.apple.metadata:kMDItemAlternateNames\", \"#<Pathname:/Applications/Bitcoin Core.app>\"]\r\n==> Existing metadata is: ''\r\n==> Executing: [\"/usr/bin/xattr\", \"-w\", \"com.apple.metadata:kMDItemAlternateNames\", \"(\\\\\\\"Bitcoin Core.app\\\\\\\")\", \"#<Pathname:/Applications/Bitcoin Core.app>\"]\r\n==> Purging files for version 0.10.0 of Cask bitcoin-core\r\n==> Executing: [\"/usr/bin/chflags\", \"-R\", \"--\", \"000\", \"#<Pathname:/opt/homebrew-cask/Caskroom/bitcoin-core/0.10.0>\"]\r\n==> Executing: [\"/bin/chmod\", \"-R\", \"--\", \"u+rwx\", \"#<Pathname:/opt/homebrew-cask/Caskroom/bitcoin-core/0.10.0>\"]\r\n==> Executing: [\"/bin/chmod\", \"-R\", \"-N\", \"#<Pathname:/opt/homebrew-cask/Caskroom/bitcoin-core/0.10.0>\"]\r\nError: Command failed to execute!\r\n\r\n==> Failed command:\r\n[\"/usr/bin/xattr\", \"-w\", \"com.apple.metadata:kMDItemAlternateNames\", \"(\\\\\\\"Bitcoin Core.app\\\\\\\")\", \"#<Pathname:/Applications/Bitcoin Core.app>\"]\r\n\r\n==> Output of failed command:\r\n\r\n\r\n==> Exit status of failed command:\r\n#<Process::Status: pid 95000 exit 1>\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/system_command.rb:56:in `_assert_success'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/system_command.rb:33:in `run'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/system_command.rb:39:in `run!'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/artifact/symlinked.rb:30:in `add_altname_metadata'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/artifact/symlinked.rb:13:in `create_filesystem_link'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/artifact/symlinked.rb:64:in `link'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/artifact/symlinked.rb:87:in `block in install_phase'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/artifact/symlinked.rb:87:in `each'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/artifact/symlinked.rb:87:in `install_phase'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/installer.rb:119:in `block in install_artifacts'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/installer.rb:117:in `each'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/installer.rb:117:in `install_artifacts'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/installer.rb:66:in `install'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/cli/install.rb:20:in `block in install_casks'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/cli/install.rb:17:in `each'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/cli/install.rb:17:in `install_casks'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/cli/install.rb:6:in `run'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/cli.rb:79:in `run_command'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/hbc/cli.rb:119:in `process'\r\n/usr/local/Cellar/brew-cask/0.53.3/rubylib/brew-cask-cmd.rb:18:in `<main>'\r\n</pre>"},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/75344428","html_url":"https://github.com/caskroom/homebrew-cask/issues/9667#issuecomment-75344428","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/9667","id":75344428,"user":{"login":"rolandwalker","id":727482,"avatar_url":"https://avatars.githubusercontent.com/u/727482?v=3","gravatar_id":"","url":"https://api.github.com/users/rolandwalker","html_url":"https://github.com/rolandwalker","followers_url":"https://api.github.com/users/rolandwalker/followers","following_url":"https://api.github.com/users/rolandwalker/following{/other_user}","gists_url":"https://api.github.com/users/rolandwalker/gists{/gist_id}","starred_url":"https://api.github.com/users/rolandwalker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rolandwalker/subscriptions","organizations_url":"https://api.github.com/users/rolandwalker/orgs","repos_url":"https://api.github.com/users/rolandwalker/repos","events_url":"https://api.github.com/users/rolandwalker/events{/privacy}","received_events_url":"https://api.github.com/users/rolandwalker/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T00:30:46Z","updated_at":"2015-02-21T00:30:46Z","body":"Hi!  Thanks for the report!\r\n\r\nThis is similar to some other reports we have seen lately, and is likely an unintended downstream consequence of #8089.  I plan to look into this tomorrow."}}