Closed tiensonqin closed 7 years ago
I cannot reproduce your problem. Could you tell me your OS and opam
version?
# Ubuntu 17.04
$ opam --version
1.2.2
$ git clone https://github.com/camlspotter/ocamloscope.2
Cloning into 'ocamloscope.2'...
remote: Counting objects: 516, done.
remote: Total 516 (delta 0), reused 0 (delta 0), pack-reused 516
Receiving objects: 100% (516/516), 241.08 KiB | 0 bytes/s, done.
Resolving deltas: 100% (290/290), done.
$ cd ocamloscope.2/
$ opam pin add ocamloscope .
Package ocamloscope does not exist, create as a NEW package ? [Y/n]
y
ocamloscope is now path-pinned to /tmp/ocamloscope.2
[ocamloscope] /tmp/ocamloscope.2/ synchronized
[ocamloscope] Installing new package description from /tmp/ocamloscope.2
ocamloscope needs to be installed.
The following actions will be performed:
∗ install base-num base [required by num]
∗ install result 1.2 [required by cmdliner, conduit]
∗ install conf-m4 1 [required by ocamlfind]
∗ install conf-pkg-config 1.0 [required by conf-libpcre]
∗ install ocamlbuild 0.11.0 [required by cohttp, ocamlnet]
∗ install conf-which 1 [required by biniou]
∗ install num 0 [required by sexplib]
∗ install ocamlfind 1.7.3 [required by ocamloscope]
∗ install conf-libpcre 1 [required by pcre]
∗ install uchar 0.0.2 [required by fmt, js_of_ocaml]
∗ install camlp4 4.04+1 [required by js_of_ocaml]
∗ install topkg 0.9.0 [required by cmdliner]
∗ install ppx_tools 5.0 [required by ppx_import, tyxml-ppx]
∗ install omake 0.10.2 [required by ocamloscope]
∗ install menhir 20170712 [required by js_of_ocaml]
∗ install jbuilder 1.0+beta12 [required by ppx_typerep_conv]
∗ install base-bytes base [required by cohttp, ocamlnet]
∗ install cmdliner 1.0.2 [required by cohttp]
∗ install ppxx 1.4.0 [required by ocamloscope]
∗ install camlon 1.0.1 [required by ocamloscope]
∗ install sexplib v0.9.2 [required by cohttp]
∗ install ppx_traverse_builtins v0.9.0 [required by ppx_core, ppx_metaquot]
∗ install ocaml-migrate-parsetree 1.0.4 [required by ppx_typerep_conv]
∗ install ocaml-compiler-libs v0.9.0 [required by ppx_core]
∗ install magic-mime 1.1.0 [required by cohttp]
∗ install easy-format 1.3.0 [required by yojson]
∗ install stringext 1.5.0 [required by cohttp]
∗ install re 1.7.1 [required by cohttp]
∗ install pcre 7.2.3 [required by ocamloscope]
∗ install cppo 1.6.0 [required by ppx_import]
∗ install base64 2.2.0 [required by cohttp]
∗ install uutf 1.0.1 [required by tyxml]
∗ install fmt 0.8.4 [required by cohttp]
∗ install ppx_monadic 1.0.6 [required by ocamloscope]
∗ install base v0.9.3 [required by fieldslib, typerep]
∗ install ppx_ast v0.9.1 [required by ppx_core]
∗ install biniou 1.2.0 [required by yojson]
∗ install ppx_test 1.4.2 [required by levenshtein]
∗ install ocamlnet 4.1.2 [required by ocamloscope]
∗ install lwt 2.7.1 [required by ocamloscope]
∗ install cppo_ocamlbuild 1.6.0 [required by ppx_import]
∗ install typerep v0.9.0 [required by ocamloscope]
∗ install stdio v0.9.0 [required by ppx_core]
∗ install yojson 1.4.0 [required by js_of_ocaml]
∗ install spotlib 3.1.2 [required by ocamloscope]
∗ install levenshtein 1.1.2 [required by ocamloscope]
∗ install markup 0.7.5 [required by tyxml-ppx]
∗ install ppx_import 1.2 [required by ocamloscope]
∗ install ppx_deriving 4.1 [required by ocamloscope]
∗ install ppx_core v0.9.0 [required by ppx_typerep_conv]
∗ install ppx_orakuda 3.0.3 [required by ocamloscope]
∗ install tyxml 4.1.0 [required by ocamloscope]
∗ install ppx_meta_conv 2.6.0 [required by ocamloscope]
∗ install ppx_optcomp v0.9.0 [required by conduit]
∗ install tyxml-ppx 4.1.0 [required by ocamloscope]
∗ install js_of_ocaml 2.8.4 [required by ocamloscope]
∗ install opamfind 1.1.3 [required by ocamloscope]
∗ install ppx_driver v0.9.1 [required by ppx_typerep_conv]
∗ install logs 0.6.2 [required by cohttp]
∗ install ppx_metaquot v0.9.0 [required by ppx_typerep_conv]
∗ install fieldslib v0.9.0 [required by cohttp]
∗ install ppx_type_conv v0.9.0 [required by ppx_typerep_conv]
∗ install ppx_typerep_conv v0.9.0 [required by ocamloscope]
∗ install ppx_sexp_conv v0.9.0 [required by cohttp]
∗ install ppx_fields_conv v0.9.0 [required by cohttp]
∗ install unmagic 1.0.1 [required by ocamloscope]
∗ install uri 1.9.4 [required by cohttp]
∗ install ipaddr 2.8.0 [required by conduit]
∗ install conduit 0.15.4 [required by cohttp]
∗ install cohttp 0.22.0 [required by ocamloscope]
∗ install ocamloscope 2.0.0*
===== ∗ 71 =====
Do you want to continue ? [Y/n]
Thanks for your reply!
# Mac OS: 10.11.6.
$ opam --version
1.2.2
I'll setup a new switch later and post here.
@camlspotter A new switch works!
➜ ocamloscope.2 git:(b2.0.0) ✗ opam pin add ocamloscope .
Package ocamloscope does not exist, create as a NEW package ? [Y/n] y ocamloscope is now path-pinned to /Users/tienson/codes/source/ml/ocamloscope.2
[ocamloscope] /Users/tienson/codes/source/ml/ocamloscope.2/ synchronized [ocamloscope] Installing new package description from /Users/tienson/codes/source/ml/ocamloscope.2
ocamloscope needs to be installed. Your request can't be satisfied:
No solution found, exiting [NOTE] Pinning command successful, but your installed packages may be out of sync.