-
Notifications
You must be signed in to change notification settings - Fork 43
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
Could not build Tezos node which depends on ocaml-migrate-parsetree #87
Comments
I also have this error. Looking at the metadata for release 1.4.0 in the opam-repository it looks like the release is from July 2019 but the v1.4.0 tag was made very recently by @diml . Maybe the tag was moved by mistake? As a workaround I was able to install 1.3.1 using:
which was sufficient for me to install the package I wanted. |
it is somewhat curious that a large number of packages in Opam seem to have broken checksums. A typical reason is that a file hosted by GitHub is re-compressed, which changes the checksum. Many of the affected packages are not hosted on GitHub, though. The current issue here is different: the source code actually changed. |
You can also force install 1.4.0 using |
Omp 1.4.0 has been fixed later yesterday (ocaml/opam-repository#15281). I recommend not to use —no-checkums, in this case the tarball was changed by mistake and you would have installed a different library version than expected. In general it is safer to revert to the previous version with correct checksum as suggested by @rmn30 |
So in the end what happened is that I messed up and accidentally replaced the 1.4.0 tarball in place on github (cf ocaml/opam-repository#15280 (comment)). The original tarball has now been restored on ocaml-ppx/ocaml-migrate-parsetree as well as the original checksum in the opam-repository. So all is good now. |
[ERROR] The sources of the following couldn't be obtained, aborting:
- ocaml-migrate-parsetree.1.4.0: Bad checksum
The text was updated successfully, but these errors were encountered: