New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
migrate tap bottles to a github release #189
Comments
pr #190 updates a majority of the formulae files within this repo to use the github release i published earlier today, and also the release houses the links for the bottles
|
As of 2021-08-05:12:44 CEST download of coin Big Sur bottle still returns 404 error: β freecad-build brew install --only-dependencies freecad --with-packaging-utils
==> Installing freecad from freecad/freecad
==> Downloading https://ghcr.io/v2/homebrew/core/zstd/manifests/1.5.0
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/zstd/blobs/sha256:eae17621cfc664d6e527a6d6aa6a000343eced0f60c81b4e2dd9a9aed7b79c3f
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:eae17621cfc664d6e527a6d6aa6a000343eced0f60c81b4e2dd9a9aed7b79c3f?se=2021-08
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ccache/manifests/4.3_1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ccache/blobs/sha256:083ebd7ddc08f386a9005df99d8c83f6f6b271068ae5b95fc548e4505ab5051b
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:083ebd7ddc08f386a9005df99d8c83f6f6b271068ae5b95fc548e4505ab5051b?se=2021-08
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/manifests/3.21.1-1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/blobs/sha256:4ffc49c18cfc6e55a1f61fd62657de2aed1c7debec7e676e5c0160849f391287
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:4ffc49c18cfc6e55a1f61fd62657de2aed1c7debec7e676e5c0160849f391287?se=2021-08
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pcre/manifests/8.45
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/pcre/blobs/sha256:fb2fefbe1232706a603a6b385fc37253e5aafaf3536cb68b828ad1940b95e601
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:fb2fefbe1232706a603a6b385fc37253e5aafaf3536cb68b828ad1940b95e601?se=2021-08
######################################################################## 100.0%
==> Downloading https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/swig%404.0.2-4.0.2.big_sur.bottle.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/18778796/296af0d4-d03f-4736-bb26-7d7879cf16c8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credenti
######################################################################## 100.0%
==> Downloading https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/icu4c%4067.1-67.1.big_sur.bottle.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/18778796/3d8b56c0-6198-4df2-b637-1a28ed4fa6b2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credenti
######################################################################## 100.0%
==> Downloading https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/boost%401.75.0-1.75.0.big_sur.bottle.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/18778796/c786d90b-04f9-4eb3-941e-2e3a7683f560?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credenti
######################################################################## 100.0%
==> Downloading https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/python3.9-3.9.0_5.big_sur.bottle.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/18778796/78fec6d7-0e2c-4ac6-8073-0393d9645ebf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credenti
######################################################################## 100.0%
==> Downloading https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/boost-python3%401.75.0-1.75.0.big_sur.bottle.tar.gz
==> Downloading from https://github-releases.githubusercontent.com/18778796/b70407f6-fd61-4ab8-80b2-896836f7bf2e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credenti
######################################################################## 100.0%
==> Downloading https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/coin%404.0.0-4.0.0_1.big_sur.bottle.tar.gz
curl: (22) The requested URL returned error: 404
Error: Failed to download resource "coin@4.0.0"
Download failed: https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/coin%404.0.0-4.0.0_1.big_sur.bottle.tar.gz
β freecad-build date
Do 5 Aug 2021 12:44:04 CEST |
same 404 error holds for tbb bottle ==> Downloading https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/tbb%402020_u3-2020_U3_1.big_sur.bottle.1.tar.gz
curl: (22) The requested URL returned error: 404
Error: Failed to download resource "tbb@2020_u3"
Download failed: https://github.com/freecad/homebrew-freecad/releases/download/07.28.2021/tbb%402020_u3-2020_U3_1.big_sur.bottle.1.tar.gz
β freecad-build date
Do 5 Aug 2021 13:08:14 CEST |
yup, i started working on this last evening, and will try and have all the bottle names updated accordingly. i posted a question about bottle naming here, but haven't gotten a reply yet. so i need to change stay tuned, i'm working on a |
just removed built a bottle for coin@4.0.0 for big sur. uploaded to the release i published, so doing
should download and install coin@4.0.0 from the bottle if one so chooses, and building from source should still work if that's something you desire. i'm building the bottle for still need to setup a catalina vm to build nglib, coin bottles for catalina. and i'll test, and make sure all formulae from the tap can be install via bottles if one so chooses. |
most if not all big sur bottle issues should be resolved now. onto catalina πΆ |
Downloading of bottles on Big Sur is fixed now. But at the end of the installation process, there is an β ~ date
Fr 6 Aug 2021 12:23:42 CEST
β ~ brew install --only-dependencies freecad --with-packaging-utils
==> Installing freecad from freecad/freecad
.
. # lots of downloads and installations
.
==> Pouring xerces-c--3.2.3.big_sur.bottle.2.tar.gz
πΊ /usr/local/Cellar/xerces-c/3.2.3: 1,684 files, 37MB
==> No outdated dependents to upgrade!
==> Checking for dependents of upgraded formulae...
==> Reinstalling 2 broken dependents from source:
freecad/freecad/med-file, freecad/freecad/vtk@8.2.0
==> Downloading http://files.salome-platform.org/Salome/other/med-4.0.0.tar.gz
==> Downloading from https://files.salome-platform.org/Salome/other/med-4.0.0.tar.gz
######################################################################## 100.0%
==> Reinstalling freecad/freecad/med-file
==> cmake . -DMEDFILE_BUILD_PYTHON=ON -DMEDFILE_BUILD_TESTS=OFF -DMEDFILE_INSTALL_DOC=OFF -DPYTHON_INCLUDE_DIR=/usr/local/opt/python3.9/Frameworks/Python.framew
==> make install
πΊ /usr/local/Cellar/med-file/4.0.0: 132 files, 11MB, built in 2 minutes 9 seconds
Warning: freecad/freecad/vtk@8.2.0 has been deprecated because it is a versioned formula!
==> Downloading https://gitlab.kitware.com/vtk/vtk/commit/ca3b5a50d945b6e65f0e764b3138cad17bd7eb8d.diff
==> Downloading from https://gitlab.kitware.com/vtk/vtk/-/commit/ca3b5a50d945b6e65f0e764b3138cad17bd7eb8d.diff
##O=# #
Error: SHA256 mismatch
Expected: 49574bb914e2564b21ab0fb23cadcccd7dd323ae7f0f26f64fd6346c3db14cd7
Actual: b9f7a3ebf3c29f3cad4327eb15844ac0ee849755b148b60fef006314de8e822e
File: /Users/dirkolbrich/Library/Caches/Homebrew/downloads/551eba2e15e57a4491b3819395b9556196df6b9f2550e2b6bc4f19a101ce9d2c--ca3b5a50d945b6e65f0e764b3138cad17bd7eb8d.diff
To retry an incomplete download, remove the file above.
β ~ Error probably in these lines: homebrew-freecad/Formula/vtk@8.2.0.rb Lines 32 to 36 in cf99d6c
Note: the brew cache was empty before initiation if the installation, cleared with |
i ran into that sha256 mismatch issue myself. i uninstalled vtk and then reinstalled without any issues. not sure it was a diff that was left around from a prior installation. and i double check right now to make sure that it downloads and installs as it should. but basically i did the below
followed by
... okay so those patches are specific to building vkt@8.2.0 from source. ie.
if installing vtk@8.2.0 from bottle then the sha256sum mismatches would output/(present themselves) during the install process, because the bottle URLs have been updated. either way, #195 should fix the sha256sum mismatches for vtk. almost done with migrating all these bottles, just need to upload the nglib and coin bottles for catalina, then i'll probably close this issue, and move on to the other open issues. π₯΅ |
the below commit should have all the fixes for getting bottles working on
if there any issues with the current batch of bottles please open a new issue. thanks ipatch. |
Thank you for your effort. It seems to work all now. A note: For the next iteration of updates maybe rename the download URL according to ISO-8601 date format YYYY-MM-DD. So instead of:
better to use:
|
The text was updated successfully, but these errors were encountered: