Closed kevinstadler closed 4 years ago
Hi @kevinstadler, at this moment, osgeo-qgis
formula is broken and it will fail to install. The suggested way to use QGIS in macOS currently is the cask version brew cask install qgis
https://github.com/OSGeo/homebrew-osgeo4mac/issues/1362#issuecomment-596455760
@alazarolop Is the formula currently still broken? I am unable to install QGIS after a lot of tries.
$ brew tap osgeo/osgeo4mac
$ brew install osgeo-qgis
Error: No available formula with the name "osgeo-qgis"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
@flowrean the formula is no longer available in the tap. Instead, the all-in-one formula "cask" is the recommended way:
brew cask install qgis
A new packaging method with GDAL 3 and PROJ >6 is under development: https://github.com/qgis/QGIS-Mac-Packager
@alazarolop Thanks, using cask
worked!
Just to understand things better, could you elaborate on the relation between osgeo4mac, the cask and QGIS-Mac-Packager? Would the new packager eventually be used in the cask, or replace it in Homebrew? Is there any difference between the cask app and the app installed through a DMG from download.qgis.org?
Good!
QGIS-Mac-Packager is the repo to create the DMG that you can downloaded either from the webpage or using the cask functionality. The new package system will eventually replace the current version which is based on osgeo4mac. This one, Osgeo4mac, is an independent Homebrew tap maintained by the community and it's also under revision.
Please answers the following
I've...
brew update
twice?)brew gist-logs formula
Describe the bug
After all other dependencies have already been upgraded,
brew upgrade osgeo-qgis-res
fails:404
: checking the bottle download location under https://bottle.download.osgeo.org there is only aosgeo-qgis-res-3.8.0.high_sierra.bottle.1.tar.gz
(note the.1
part), not theosgeo-qgis-res-3.8.0.high_sierra.bottle.tar.gz
that the Formula is trying to downloadblosc
resource (full log below)I even tried manually downloading the
osgeo-qgis-res-3.8.0.high_sierra.bottle.1.tar.gz
bottle and putting it in the appropriate download cache path atbrew --cache --force-bottle osgeo-qgis-res
, but an installation attempt from there also fails because of the SHA sum mismatch:In the end I was able to install from the bottle file by changing the SHA sum in the Formula file. The only broken dependency when trying to start up QGIS was:
which I fixed using
To Reproduce
brew upgrade osgeo-qgis-res
Expected behavior
osgeo-qgis-res
should be installed from the 3.8.0 bottle.Additional context
Running High Sierra
10.13.6
on a 2012 Macbook Air, I previously hadosgeo-qgis-res
3.6.3_1
installed.brew doctor
output:Note that the unlinked libraries above are the default homebrew ones, which are exactly unlinked because the
osgeo-
prefixed ones are linked in their place.Logs
https://gist.github.com/645551da0077623a134b94dc015b4815
Complete log of the failed
brew upgrade osgeo-qgis-res
: