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 updateand can still reproduce the problem?brew doctor, fixed all issues and can still reproduce the problem?brew configandbrew doctorand included their output with your issue?What you were trying to do (and why)
Extract the defunct
python@2formula 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@2formula to it.Now,
python@2@2.7.17is 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 extractto create a valid formula file that's usable as eithergromgit/python2/python@2orgromgit/python2/python@2.7.17.Step-by-step reproduction instructions (by running
brewcommands)See What happened section above.
Output of
brew configandbrew doctorcommandsThe text was updated successfully, but these errors were encountered: