Skip to content

Formula fails to download with concurrency enabled #21425

@SMillerDev

Description

@SMillerDev

brew doctor output

==> brew doctor

Verification

  • I ran brew update twice and am still able to reproduce my issue.
  • My "brew doctor output" above says Your system is ready to brew or a definitely unrelated Tier message.
  • This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

brew config output

==> brew config
HOMEBREW_VERSION: 5.0.10-65-ga36eea6
ORIGIN: https://github.com/Homebrew/brew
HEAD: a36eea6fe705eef966f0acd609e471c9b7541a6b
Last commit: 11 hours ago
Branch: main
Core tap HEAD: b0f1243ca3c85c75101842d5f7fbcda7a8f3d393
Core tap last commit: 86 minutes ago
Core tap JSON: 18 Jan 20:47 UTC
Core cask tap JSON: 18 Jan 20:47 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_COLOR: set
HOMEBREW_CURL_PATH: /usr/bin/curl
HOMEBREW_DEVELOPER: set
HOMEBREW_DOWNLOAD_CONCURRENCY: 12
HOMEBREW_FAIL_LOG_LINES: 150
HOMEBREW_GITHUB_API_TOKEN: set
HOMEBREW_GIT_EMAIL: [email protected]
HOMEBREW_GIT_NAME: BrewTestBot
HOMEBREW_GIT_PATH: /usr/bin/git
HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/logs
HOMEBREW_MAKE_JOBS: 6
HOMEBREW_NO_AUTO_UPDATE: set
HOMEBREW_NO_COLOR: set
HOMEBREW_NO_EMOJI: set
HOMEBREW_NO_ENV_HINTS: set
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set
HOMEBREW_NO_INSTALL_FROM_API: set
HOMEBREW_SORBET_RUNTIME: set
Homebrew Ruby: 3.4.8 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.8/bin/ruby
CPU: hexa-core 64-bit penryn
Clang: 17.0.0 build 1700
Git: 2.50.1 => /usr/bin/git
Curl: 8.7.1 => /usr/bin/curl
macOS: 26.2-x86_64
CLT: 26.2.0.0.1.1764812424
Xcode: 26.2

What were you trying to do (and why)?

Install docbook as part of Homebrew/homebrew-core#263408

What happened (include all command output)?

The download failed:

  ==> Fetching downloads for: docbook
  ✘ Formula docbook (5.2)
  Error: A `brew install --verbose --formula --build-bottle docbook` process has already locked /Users/brew/Library/Caches/Homebrew/downloads/6605b9548ee0cc64c64f63685f53396ccaf3c8b1c0f21f6abde7e27c492bebab--docbook-5.2.zip.incomplete.

What did you expect to happen?

A succesful download

Step-by-step reproduction instructions (by running brew commands)

cd $(brew --repo homebrew/core)
gh pr checkout -f 263408
brew install -s docbook

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWe want help addressing this

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions