janestreet / opam-repository

Opam repository for the development version of Jane Street packages
101 stars 10 forks source link

checksum error with accessor v0.16~preview.128.20+135 #25

Closed mbarbin closed 1 year ago

mbarbin commented 1 year ago

I'm experimenting with a new workflow locally using opam monorepo and pulling from jane-bleeding, and I'm hitting the following error message during a opam monorepo pull:

opam-monorepo: [ERROR] Failed to pull https://github.com/janestreet/accessor/archive/677e016df61732f358eba3904747b275938d8f46.tar.gz
(Bad checksum, expected sha256=e9245e17d15ef95f3d5b36241e4bbce60e05e57381b8546e26544641a91e051b)

I don't have experience yet using opam and this janestreet repo that way, so I currently don't understand the issue. Note that several jane-bleeding packages of this version seem to update just fine, so I don't know why accessor would be special.

Do you know how checksum are computed locally by opam for verification, and how I could trouble shoot ?

Thanks!

Enoumy commented 1 year ago

Hmm, not a solution to the failing checksums, but I also came across this issue when running opam install bonsai.

I got around this by sending in --no-checksums to opam install. I am unsure if opam monorepo pull has a similar argument

dkalinichenko-js commented 1 year ago

We are investigating the problem, seems like something broke in our export pipeline. The latest push also has broken checksums.

dkalinichenko-js commented 1 year ago

For now, please use --no-checksums in opam install. The actual contents of tarballs are unaffected.

dkalinichenko-js commented 1 year ago

The issue has been fixed, thanks for the report! Please run opam update to ensure you have the newest commit.