Skip to content

Commit

Permalink
formula_installer: don't ignore deps when fetching and pouring bottles.
Browse files Browse the repository at this point in the history
Otherwise, we can try to pour bottles that haven't been downloaded yet.

Possible fix for #15957.
  • Loading branch information
MikeMcQuaid committed Sep 5, 2023
1 parent 66eb266 commit b0985da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Library/Homebrew/formula_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,8 @@ def fetch_dependency(dep)
# When fetching we don't need to recurse the dependency tree as it's already
# been done for us in `compute_dependencies` and there's no requirement to
# fetch in a particular order.
ignore_deps: true,
# Note, this tree can vary when pouring bottles so we need ot check it then.
ignore_deps: !pour_bottle?,
installed_as_dependency: true,
include_test_formulae: @include_test_formulae,
build_from_source_formulae: @build_from_source_formulae,
Expand Down

0 comments on commit b0985da

Please sign in to comment.