zegervdv / homebrew-zathura

Homebrew formulae to build Zathura on Mac OS X
538 stars 41 forks source link

Error: zathura: SHA256 mismatch #105

Closed tim0120 closed 1 year ago

tim0120 commented 1 year ago

Trying to install zathura with brew install zathura, and I keep getting the error in the title (i.e., "Error: zathura: SHA256 mismatch").

As suggested, I delete the suggested tar file associated with girara and run the command again, but I still get the same SHA256 error. Any suggestions how to resolve this? Thanks!

tim0120 commented 1 year ago

I can also share more information if that is useful in resolving this!

zegervdv commented 1 year ago

Github changed the tarball compression which modified all checksums. They've reverted it for now, so it should work again.

tim0120 commented 1 year ago

Problem seems to be that I am using a silicon Mac and trying install zathura. My apologies.

zegervdv commented 1 year ago

It should also work on an M1 (so probably M2 too). The SHA checksum is done over the source code tar archive we download before compiling zathura for your machine.

If you remove the downloaded archive one last time and try to install it, you should at least get past the checksum error. If you see any other issues, let me know.

Normally it will print a location to a log file if something fails, you can attach (the error part of) that file to help figure out what the issue is.

tim0120 commented 1 year ago

That does work now, thanks for the update on the Github changes. Was not aware of that.