Closed bfontaine closed 4 years ago
Homebrew shouldn’t have complained about this non-existent recursive dependency.
This is still a recursive dependency because, despite the hack that is Formula#full_name
, both ffmpeg
and homebrew-ffmpeg/ffmpeg/ffmpeg
would be installed into the same Keg
.
brew update
and can still reproduce the problem?brew doctor
, fixed all issues and can still reproduce the problem?brew config
andbrew doctor
and included their output with your issue?What you were trying to do (and why)
Install a formula from an external tap that depends on a core formula which itself depends on a core formula with the same name as the first formula:
homebrew-ffmpeg/ffmpeg/ffmpeg
depends onchromaprint
which depends onffmpeg
.This is the issue, but you can reproduce it with any formula (see below): https://github.com/homebrew-ffmpeg/homebrew-ffmpeg/issues/13
What happened (include command output)
Command output
Notice the error message is wrong:
chromaprint
depends on the coreffmpeg
, nothomebrew-ffmpeg/ffmpeg/ffmpeg
.What you expected to happen
Homebrew shouldn’t have complained about this non-existent recursive dependency.
Step-by-step reproduction instructions (by running
brew
commands)Create a dummy
testa.rb
formula in the core tap:Create another dummy formula,
testb.rb
, that depends on the first one:Now, in another tap, create a
testa.rb
formula that depends ontestb
:Try to install this last formula:
Here too notice the error message is wrong:
testb
depends on the coretesta
, not onbfontaine/utils/testa
.Output of
brew config
andbrew doctor
commands