The homebrew folks just blew me off. Said it was not their problem. So I more 
or less politely responded that it would be helpful if they could provide me 
with contact info for the entity that was responsible for the formula. This 
seems like a minimal information request.

Gerald C. Nelson
Professor Emeritus, UIUC
+1 217-390-7888 (cell)
+1 970-639-2079 (land line)
Skype: jerrynelson
http://bit.ly/1arho7d

From: Gerald Nelson <nelson.geral...@gmail.com>
Date: Wednesday, February 9, 2022 at 8:43 AM
To: Paul Harwood <rune...@gmail.com>
Cc: gdal-dev <gdal-dev@lists.osgeo.org>
Subject: Re: [gdal-dev] does GDAL require proj@7?

I posted a note in Homebrew/discussions. The problem seems to be in the json 
api link -  
/api/formula/gdal.json<https://formulae.brew.sh/api/formula/gdal.json>
Which includes proj@7 rather than just proj.

Hopefully whoever can change formulas will see this and fix it.

Gerald C. Nelson
Professor Emeritus, UIUC
+1 217-390-7888 (cell)
+1 970-639-2079 (land line)
Skype: jerrynelson
http://bit.ly/1arho7d

From: Paul Harwood <rune...@gmail.com>
Date: Wednesday, February 9, 2022 at 3:35 AM
To: Gerald Nelson <nelson.geral...@gmail.com>
Cc: gdal-dev <gdal-dev@lists.osgeo.org>
Subject: Re: [gdal-dev] does GDAL require proj@7?

Well - the Homebrew formula for GDAL 3.4.1 seems to mandate Proj 7 
https://formulae.brew.sh/formula/gdal

That is strange - since the Conda package works on Proj 8! I don't know who 
supports the Brew packaging - I don't think it is core team since Homebrew is 
not listed on the installation page.  https://gdal.org/download.html

I must admit that is why I use Conda on all platforms - it is "generally" more 
up to date and being an environment manager and not just a package manager it 
manages cases like this a lot more robust.

On Tue, 8 Feb 2022 at 16:32, Gerald Nelson 
<nelson.geral...@gmail.com<mailto:nelson.geral...@gmail.com>> wrote:
Follow up on the issue below. I did the following gdal is now available. But 
I’d still like to kill proj@7 so any suggestions still greatly appreciated!

gcn@MacBook-Pro-M1X homebrew-core % git restore Formula/p...@7.rb
gcn@MacBook-Pro-M1X homebrew-core % brew install gdal
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 2 formulae.

Warning: proj@7 has been deprecated because it is not supported upstream!
==> Downloading https://ghcr.io/v2/homebrew/core/proj/7/manifests/7.2.1
Already downloaded: 
/Users/gcn/Library/Caches/Homebrew/downloads/ea2e810b55db50e5431b28bbb758bbaaf088f1be1671b09889af262cae8f3a29--proj@7-7.2.1.bottle_manifest.json
==> Downloading 
https://ghcr.io/v2/homebrew/core/proj/7/blobs/sha256:29f65a3b916e6b967c157713b7a00daf1b91c01
Already downloaded: 
/Users/gcn/Library/Caches/Homebrew/downloads/1a72b0f45e8fcbf863d3c52697cee4139ce94d16ce87cd6107413eb3be91afdd--proj@7--7.2.1.arm64_monterey.bottle.tar.gz
==> Downloading https://ghcr.io/v2/homebrew/core/gdal/manifests/3.4.1_1
Already downloaded: 
/Users/gcn/Library/Caches/Homebrew/downloads/d34f5de12d8fd177fa8682a6311e5a4431f01cca9d2e8431842fa52794192486--gdal-3.4.1_1.bottle_manifest.json
==> Downloading 
https://ghcr.io/v2/homebrew/core/gdal/blobs/sha256:3e0605bfd13304fca41e3d2218abe035985194f1a
Already downloaded: 
/Users/gcn/Library/Caches/Homebrew/downloads/2318978fe3df634d8fe1682e41380687245f21099fd5c5e03bb84ae58d46cbf6--gdal--3.4.1_1.arm64_monterey.bottle.tar.gz
==> Installing dependencies for gdal: proj@7
==> Installing gdal dependency: proj@7
==> Pouring proj@7--7.2.1.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/proj@7/7.2.1: 59 files, 19.2MB
==> Installing gdal
==> Pouring gdal--3.4.1_1.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/gdal/3.4.1_1: 356 files, 61.2MB
==> Running `brew cleanup gdal`...


Gerald C. Nelson
Professor Emeritus, UIUC
+1 217-390-7888 (cell)
+1 970-639-2079 (land line)
Skype: jerrynelson
http://bit.ly/1arho7d

From: Gerald Nelson 
<nelson.geral...@gmail.com<mailto:nelson.geral...@gmail.com>>
Date: Tuesday, February 8, 2022 at 9:09 AM
To: gdal-dev <gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org>>
Subject: does GDAL require proj@7?

I indirectly make a lot of use of GDAL which makes a lot of use of proj. I do 
all this on a new Macbook pro with Apple Silicon. I manage these things with 
homebrew. It was a tiny bit complicated to get homebrew running to take 
advantage of the new silicon but I’ve been doing that successfully for a month 
or so.

At some point in the past I installed proj@7 from homebrew. That’s now 
deprecated but I can’t seem to kill it on my system. Lots of brew uninstall and 
install/upgrade commands. I used locate in a terminal and attempted to delete 
all the files with proj@7 in their names. I’m currently have this set of 
exchanges


gcn@MacBook-Pro-M1X Cellar % brew install gdal

Warning: No available formula with the name "proj@7" (dependency of gdal). Did 
you mean proj?

==> Searching for similarly named formulae...

This similarly named formula was found:

proj ✔

To install it, run:

  brew install proj ✔
gcn@MacBook-Pro-M1X Cellar % brew install proj
To restore the stashed changes to 
/opt/homebrew/Library/Taps/homebrew/homebrew-core, run:
  cd /opt/homebrew/Library/Taps/homebrew/homebrew-core && git stash pop
Running `brew update --preinstall`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Updated Formulae
Updated 1 formula.
==> Updated Casks
Updated 4 casks.

Warning: proj 8.2.1 is already installed and up-to-date.
To reinstall 8.2.1, run:
  brew reinstall proj
gcn@MacBook-Pro-M1X Cellar %   cd 
/opt/homebrew/Library/Taps/homebrew/homebrew-core && git stash pop
Removing Formula/p...@7.rb
On branch master
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
       deleted:    Formula/p...@7.rb

no changes added to commit (use "git add" and/or "git commit -a")
Dropped refs/stash@{0} (cf00995d0160fc9ed0889b664973b1c75a4a5925)

At this point I’m stuck on next steps. I suspect this is not a gdal problem per 
se but something in homebrew I’m not understanding.

Any advice greatly appreciated!
Jerry

Gerald C. Nelson
Professor Emeritus, UIUC
+1 217-390-7888 (cell)
+1 970-639-2079 (land line)
Skype: jerrynelson
http://bit.ly/1arho7d

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org<mailto:gdal-dev@lists.osgeo.org>
https://lists.osgeo.org/mailman/listinfo/gdal-dev
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to