-
Notifications
You must be signed in to change notification settings - Fork 34
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
Problem with Pyside2 sha256 mismatch, building from sources on Apple Silicon Monterey #258
Comments
i don't have access to M1 machine, so it's difficult for to test issues specific to M1. since there are only bottles for amd64 / x86 processors at the moment. it might be that when you attempt to install freecad it's downloading the dependencies for freecad ie. |
I'm also seeing this issue. FWIW the "Actual" checksum seems to be different on every retry. Edit: Confirmed, for whatever reason the contents downloaded from https://codereview.qt-project.org/gitweb?p=pyside/pyside-setup.git;a=snapshot;h=c7f4942dda0cf72032e7d8c601b1b32b22c4d8f0;sf=tgz differ for every download, both in size and actual data. Edit2: The mtime (modification time) field in the tar header seems to be the blame, I'm guessing it will be set to the time when the download happens by the code review (Gerrit?) server. |
thats some good detective work there. 👍 i bet if you look at the upstream pyside@2 formula theyll have the correct path to the targz file that uses the same shasum. all that said, im presently afk for the next few hours but if you want to send a pr with an updated url i can def merge it in. thanks again for the detective work. 🙏 im still banging my head with app bundling issues, ...getting closer though |
did y'all attempt to install pyside2 from this tap again, after i merged the below PR? |
I'm new to homebrew and tap so ELI5: anything in particular I need to do to get the latest change? Simply running |
homebrew-core provide the pyside2 package as well. for the moment there are quite a few issues that need to be resolved in order to install freecad from using |
Understood. Let me know if there's anything specific you want me to try. |
this is what i'm seeing locally on my machine when running the below command
output of above command
omitted the rest of the output as it just goes through the cmake, make, make install process but it looks there isn't any issues with the sha256. also you may want to run a
and make sure your local clone of this git repo aka homebrew tap has 385 commits in it. the below commands assume you're using a POSIX based shell ie. bash, or zsh (the default macos)
the master branch on my local clone has 385 commits. and you'll have to build pyside2 from source as this homebrew tap does not presently provide bottles for "montgomery burns" and installing ie.
will supply the freecad dep of pyside2 but you'll have to configure (cmake) , make, make install from a fresh git clone in the meantime until i or someone else can resolve the issues with the freecad formula. |
FWIW IIUC the source url in the shiboken2.rb file still needs to be updated to something stable, correct? If so, it's not immediately clear to me why it's not using the same url as [email protected] - after all they both appear to refer to 5.15.2. That said, I should probably back away from this slowly now because I'm clearly in over my head. |
Because I'm notoriously bad at giving up on technical challenges I decided to update the url and checksum fields to the same ones used in Next up I'm running into the boost issue (#237). |
Hi @vidmik and @ipatch In Freecad.rb, changing "[email protected]" with "boost" will use the untouched and latest version from the core. |
this issue should be resolved at this point. please comment or reopen if issues arrises again. |
I have this problem when trying to build it against Apple Silicon on Monterey:
The main issue is I cannot find where that especific sh256 is in any formula inside homebrew-freecad.
Any way to solve this, please?
brew tap --HEAD Freecad/freecad
brew install Freecad/freecad --HEAD --build-from-source --verbose
==> Downloading https://codereview.qt-project.org/gitweb?p=pyside/pyside-setup.git;a=snapshot;h=c7f4942dda0cf72032e7d8c601b1b32b22c4d8f0;sf=tgz
/opt/homebrew/Library/Homebrew/shims/shared/curl --disable --cookie /dev/null --globoff --show-error --user-agent Homebrew/3.3.2-50-geca16a2\ (Macintosh;\ arm64\ Mac\ OS\ X\ 12.0.1)\ curl/7.77.0 --header Accept-Language:\ en --fail --retry 3 --location --remote-time --output /Users/luis/Library/Caches/Homebrew/downloads/6334d9b2233f86bb2d74403bc752db51aa5c934161844f434723d0682b83b0fc--pyside-setup-c7f4942.tar.gz.incomplete https://codereview.qt-project.org/gitweb\?p=pyside/pyside-setup.git\;a=snapshot\;h=c7f4942dda0cf72032e7d8c601b1b32b22c4d8f0\;sf=tgz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5079k 0 5079k 0 0 2859k 0 --:--:-- 0:00:01 --:--:-- 2871k
==> Verifying checksum for '6334d9b2233f86bb2d74403bc752db51aa5c934161844f434723d0682b83b0fc--pyside-setup-c7f4942.tar.gz'
Error: freecad: SHA256 mismatch
Expected: 61b7ffb05ef0c42a0ad6b48e9b5a926e9e016cabf0a6881396ebe53e3a505f61
Actual: ea19375d9f77accabc81d066cb4f745a2a8ed3fbbec7d46f39179f77c00f1b76
File: /Users/luis/Library/Caches/Homebrew/downloads/6334d9b2233f86bb2d74403bc752db51aa5c934161844f434723d0682b83b0fc--pyside-setup-c7f4942.tar.gz
To retry an incomplete download, remove the file above.
The text was updated successfully, but these errors were encountered: