Skip to content

Bad checksum error on osh.0.1 #28278

@jmid

Description

@jmid

osh.0.1 is failing to download cleanly, causing a bad checksum error:
https://opam.ci.ocaml.org/github/ocaml/opam-repository/commit/1543bda091d998b92bcf85fe4dd4ec84534a224d/variant/compilers,4.14,dune-build-info.3.20.0~alpha1,revdeps,osh.0.1

#=== ERROR while fetching sources for osh.0.1 =================================#
OpamSolution.Fetch_fail("https://gitlab.ocamlpro.com/OCamlPro/osh/-/archive/0.1/osh-0.1.tar.bz2 (Bad checksum, expected sha256=c5c6509d36e50715bb0bb90d54375a2fc618a7010c8c79c4663d8ffd5b5fde22)")

(spotted on #28276 and the earlier #28267)

It turns out that wget https://gitlab.ocamlpro.com/OCamlPro/osh/-/archive/0.1/osh-0.1.tar.bz2 fetches an HTML page, asking to login to https://gitlab.ocamlpro.com: "You need to sign in or sign up before continuing."

To fix this

  • one option is to look for the package in one of the caches and add it to the opam-sources archive
  • another option is to hear if it is possible to roll back the login requirement, as this will continue to be an issue, e.g., for future osh releases

@zapashcanon as the author, what do you think and prefer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions