hammerlab / ketrew

Keep Track of Experimental Workflows
http://www.hammerlab.org/docs/ketrew/master/index.html
Apache License 2.0
76 stars 10 forks source link

Unable to install #546

Open iskandr opened 6 years ago

iskandr commented 6 years ago

Attempted to follow install instructions from the README, switched to 4.0.3, tried to install Ketrew and got the following error:

$ opam install ketrew

=-=- Synchronising pinned packages =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ketrew] https://github.com/hammerlab/ketrew.git already up-to-date
The following dependencies couldn't be met:
  - ketrew -> js_of_ocaml-lwt >= 3.0
Your request can't be satisfied:
  - No package named js_of_ocaml-lwt found.

No solution found, exiting
smondet commented 6 years ago

You seem to be pinned to the master branch, did you opam update, opam upgrade?

 $ opam info js_of_ocaml-lwt
             package: js_of_ocaml-lwt
             version: 3.0
          repository: default
        upstream-url: https://github.com/ocsigen/js_of_ocaml/archive/3.0.0.tar.gz
       upstream-kind: http
   upstream-checksum: bba5e95158d0e421b3878db746e7a4ed
            homepage: http://ocsigen.org/js_of_ocaml
         bug-reports: https://github.com/ocsigen/js_of_ocaml/issues
            dev-repo: git+https://github.com/ocsigen/js_of_ocaml.git
              author: Ocsigen team
             depends: jbuilder >= 1.0+beta9 & lwt >= 2.4.4 & js_of_ocaml >= 3.0 & js_of_ocaml-ppx
             depopts: graphics
   installed-version: 
   available-version: 3.0
         description: Compiler from OCaml bytecode to Javascript
iskandr commented 6 years ago

opam update gives me a mysterious error:

[ERROR] Could not update repository smondet
iskandr commented 6 years ago

Despite that error, installing ketrew does now work. Did the need to update/upgrade come from the pinned repo?

smondet commented 6 years ago

My guess is that your opam environment was outdated, also the smondet repository must be very outdated (haven't used in years), you should opam repo remove smondet.