0

brew install buck投掷

curl: (22) The requested URL returned error: 404 Not Found
Trying a mirror...
==> Downloading https://www-us.apache.org/dist/commons/bcel/binaries/bcel-6.3.1-bin.tar.gz*

最后给出一个错误

Error: An exception occurred within a child process:
  DownloadError: Failed to download resource "ant--bcel"
Download failed: https://www-us.apache.org/dist/commons/bcel/binaries/bcel-6.3.1-bin.tar.gz*

The version bcel-6.3.1-bin.tar.gz does not exist in the binary- https://www-us.apache.org/dist/commons/bcel/binaries/

我如何通过这个?

4

1 回答 1

1

更新:

该问题已在 homebrew-core 报告。并且修复 pr-44608正在等待合并。

# use the pull request temporarily
brew install https://github.com/Homebrew/homebrew-core/raw/7f6d84a68ce8898d5f8bb1add2ed6d624cbb9598/Formula/ant.rb

# install buck from facebook/homebrew-fb
brew install buck

Tap facebook/homebrew-fb降压公式取决于公式。并且依赖项的下载 URL在公式中被破坏。antbcelant

你没有做错什么。这是水龙头方面的问题。在homebrew/homebrew-core下打开一个问题并向他们报告这个问题。

class Ant < Formula
  desc "Java build tool"
  homepage "https://ant.apache.org/"

  # ...

  resource "bcel" do
    # this url is broken, causing the build of `ant` failed
    url "https://www.apache.org/dyn/closer.cgi?path=commons/bcel/binaries/bcel-6.3.1-bin.tar.gz"
    sha256 "ed1d281cb66dedb89611019168071fe22a50ff325253e2c453dc00423905cf9d"
  end

#...
于 2019-09-28T11:00:48.283 回答