OSGeo / homebrew-osgeo4mac

Mac homebrew tap for maintaining a stable work environment for the OSGeo.org geospatial toolset
https://git.io/fhh3X
BSD 3-Clause "New" or "Revised" License
364 stars 112 forks source link

brew tap not working on macOS 12.2.1 #1421

Open jodygarnett opened 2 years ago

jodygarnett commented 2 years ago

Please answers the following

I've...

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

stale[bot] commented 2 years ago

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.

jodygarnett commented 2 years ago

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

pramock4bs commented 2 years ago

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

jodygarnett commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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.

bhjolly commented 2 years ago

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....