Skip to content
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

Closed
dimaa6 opened this issue Nov 14, 2019 · 5 comments
Closed

Could not build Tezos node which depends on ocaml-migrate-parsetree #87

dimaa6 opened this issue Nov 14, 2019 · 5 comments

Comments

@dimaa6
Copy link

dimaa6 commented Nov 14, 2019

[ERROR] The sources of the following couldn't be obtained, aborting:
- ocaml-migrate-parsetree.1.4.0: Bad checksum

@rmn30
Copy link

rmn30 commented Nov 15, 2019

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:

opam pin ocaml-migrate-parsetree 1.3.1

which was sufficient for me to install the package I wanted.

@lindig
Copy link

lindig commented Nov 15, 2019

it is somewhat curious that a large number of packages in Opam seem to have broken checksums.

ocaml/opam-repository#15298

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.

@P3tronius
Copy link

You can also force install 1.4.0 using opam install ocaml-migrate-parsetree --no-checksums and the resume tezos's make build-deps

@mseri
Copy link

mseri commented Nov 17, 2019

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

@ghost
Copy link

ghost commented Nov 19, 2019

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.

@ghost ghost closed this as completed Nov 19, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants