Skip to content

brew tap not working on macOS 12.2.1 #1421

@jodygarnett

Description

@jodygarnett

Please answers the following

I've...

  • I read
  • I checked the documentation and found no answer
  • I tried to install after following the suggestions
  • I am running the latest version (brew update twice?)
  • I checked to make sure that this issue has not already been filed
  • I uploaded logs: brew gist-logs formula

Describe the bug

Visiting readme.md instructions:

Just brew tap osgeo/osgeo4mac and then brew install <formula>. Easy, isn't it?

The first step brew tap osgeo/osgeo4mac fails with many invalid formula etc...

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'README.md'
  2. Follow instructions to brew tap osgeo/osgeo4mac
  3. See error
Resolving deltas: 100% (9469/9469), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/osgeo-vtk.rb
osgeo-vtk: Invalid bottle tag symbol
..
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/osgeo-postgis@2.4.rb
osgeo-postgis@2.4: undefined method `cellar' for #<BottleSpecification:0x00007ff5e89bc270>
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Formula/osgeo-marble.rb
osgeo-marble: Invalid bottle tag symbol
Error: Cannot tap osgeo/osgeo4mac: invalid syntax in tap!

Expected behavior

Expected to see osgeo added to list for brew tap.

Additional context

brew doctor output:

Your system is ready to brew.

brew config output:

HOMEBREW_VERSION: 3.4.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: ea0ddc3297739b7380887d4a7e6b6590c314dca9
Last commit: 11 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 16dd6d43d12cc3a77ae90cd4712b33e3d745fe39
Core tap last commit: 37 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_EDITOR: /usr/bin/pico
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit kabylake
Clang: 13.0.0 build 1300
Git: 2.35.1 => /usr/local/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.2.1-x86_64
CLT: 13.2.0.0.1.1638488800
Xcode: N/A

Logs

logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions