homebrew-osgeo4mac icon indicating copy to clipboard operation
homebrew-osgeo4mac copied to clipboard

brew tap not working on macOS 12.2.1

Open jodygarnett opened this issue 2 years ago • 7 comments

Please answers the following

I've...

  • I read
  • [x] 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/[email protected]
[email protected]: 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

jodygarnett avatar Mar 07 '22 20:03 jodygarnett

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want to keep the issue open, please comment or update the info here. Thank you for your contributions.

stale[bot] avatar Apr 16 '22 08:04 stale[bot]

This ticket has not had a response from a developer; there is no reason for a stale bot to clean it up.

jodygarnett avatar Apr 16 '22 16:04 jodygarnett

@jodygarnett Facing the same issue, any update or workaround?

pramock4bs avatar Jun 09 '22 20:06 pramock4bs

No response so far, I think I was focused on troubleshooting a geosever configuration and had to switch over to a linux docker image.

jodygarnett avatar Jun 09 '22 21:06 jodygarnett

Looks to be related to https://github.com/OSGeo/homebrew-osgeo4mac/issues/1410

I expect brew changed something and these bottles need to be updated

jodygarnett avatar Jun 09 '22 21:06 jodygarnett

Looking up for other examples of the error message and I found https://github.com/Homebrew/discussions/discussions/2429

The syntax of the formula you're trying to install is too old to work with the installed version of brew. You can remove the bottle do block and see if you get any further.

So yeah this issue has been reported for a number of years with no action; I would consider this project inactive.

jodygarnett avatar Jun 09 '22 21:06 jodygarnett

Looking up for other examples of the error message and I found Homebrew/discussions#2429

The syntax of the formula you're trying to install is too old to work with the installed version of brew. You can remove the bottle do block and see if you get any further.

So yeah this issue has been reported for a number of years with no action; I would consider this project inactive.

Well that's disappointing....

bhjolly avatar Jun 15 '22 23:06 bhjolly