brew extract produces unusable target names from already-versioned names #7057
Labels
bug
Reproducible Homebrew/brew bug
help wanted
We want help addressing this
outdated
PR was locked due to age
Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
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)
Extract the defunct
python@2
formula into a new tap, as a test for my answer to a related question on Discourse.What happened (include command output)
I created a new tap, then extracted the
python@2
formula to it.Now,
python@2@2.7.17
is a rather bizarre formula name, and it turns out even Homebrew itself chokes on it.What's worse, the actual formula generated seems to be invalid.
What you expected to happen
I expected
brew extract
to create a valid formula file that's usable as eithergromgit/python2/python@2
orgromgit/python2/python@2.7.17
.Step-by-step reproduction instructions (by running
brew
commands)See What happened section above.
Output of
brew config
andbrew doctor
commandsThe text was updated successfully, but these errors were encountered: