janestreet / opam-repository

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

Can't currently build incr_dom #7

Closed yminsky closed 6 years ago

yminsky commented 7 years ago

It fails on async_js and github:

~ $ opam install incr_dom
The following actions will be performed:
  ↗  upgrade   js_of_ocaml     2.8.4 to 3.0.0  [required by incr_dom]
  ↻  recompile ptime           0.8.3           [uses js_of_ocaml]
  ↻  recompile mtime           0.8.4           [uses js_of_ocaml]
  ↻  recompile logs            0.6.2           [uses js_of_ocaml]
  ↻  recompile js_of_ocaml-ppx 3.0.0           [uses js_of_ocaml]
  ↻  recompile tls             0.8.0           [uses ptime]
  ∗  install   async_js        v0.9.114.41+37  [required by incr_dom]
  ↻  recompile conduit         0.15.0          [uses logs]
  ∗  install   virtual_dom     v0.9.114.41+37  [required by incr_dom]
  ∗  install   incr_select     v0.9.114.41+37  [required by incr_dom]
  ↻  recompile cohttp          0.22.0          [uses js_of_ocaml]
  ∗  install   incr_dom        v0.9.114.41+37
  ↻  recompile github          2.3.0           [uses js_of_ocaml]
===== ∗  4   ↻  8   ↗  1 =====
Do you want to continue ? [Y/n] y

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
[cohttp] Archive in cache
[conduit] Archive in cache
[github] Archive in cache
[incr_select] Archive in cache
[js-bleeding] https://ocaml.janestreet.com/opam-repository/archives/async_js.v0.9.114.41+37+opam.tar.gz downloaded
[js-bleeding] https://ocaml.janestreet.com/opam-repository/archives/incr_dom.v0.9.114.41+37+opam.tar.gz downloaded
[logs] Archive in cache
[mtime] Archive in cache
[ptime] Archive in cache
[js_of_ocaml-ppx] git://github.com/ocsigen/js_of_ocaml.git#master already up-to-date
[js-bleeding] https://ocaml.janestreet.com/opam-repository/archives/virtual_dom.v0.9.114.41+37+opam.tar.gz downloaded
[default] https://opam.ocaml.org/archives/tls.0.8.0+opam.tar.gz downloaded
[js_of_ocaml] git://github.com/ocsigen/js_of_ocaml.git#master updated

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
⊘  removed   js_of_ocaml-ppx.3.0.0
⊘  removed   mtime.0.8.4
⊘  removed   github.2.3.0
⊘  removed   cohttp.0.22.0
⊘  removed   conduit.0.15.0
⊘  removed   logs.0.6.2
⊘  removed   tls.0.8.0
⊘  removed   ptime.0.8.3
⊘  removed   js_of_ocaml.2.8.4
∗  installed js_of_ocaml.3.0.0
∗  installed js_of_ocaml-ppx.3.0.0
∗  installed ptime.0.8.3
[ERROR] The compilation of async_js failed at "jbuilder build --only-packages async_js --root . -j 6 @install".
∗  installed mtime.0.8.4
∗  installed logs.0.6.2
∗  installed tls.0.8.0
∗  installed conduit.0.15.0
∗  installed cohttp.0.22.0
[ERROR] The compilation of github failed at "ocaml setup.ml -build".
Processing 22/22: [github: ocamlfind remove]
#=== ERROR while installing async_js.v0.9.114.41+37 ===========================#
# opam-version 1.2.2
# os           darwin
# command      jbuilder build --only-packages async_js --root . -j 6 @install
# path         /Users/yminsky/.opam/4.04.0/build/async_js.v0.9.114.41+37
# compiler     4.04.0
# exit-code    1
# env-file     /Users/yminsky/.opam/4.04.0/build/async_js.v0.9.114.41+37/async_js-54375-541445.env
# stdout-file  /Users/yminsky/.opam/4.04.0/build/async_js.v0.9.114.41+37/async_js-54375-541445.out
# stderr-file  /Users/yminsky/.opam/4.04.0/build/async_js.v0.9.114.41+37/async_js-54375-541445.err
### stderr ###
#     ocamldep ppx/ppx_js_driver.depends.ocamldep-output
#       ocamlc src/async_js__.{cmi,cmo,cmt}
#       ocamlc ppx/ppx_js_driver.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /Users/yminsky/.opam/4.04.0/bin/ocamlc.opt -w -40 -g -bin-annot -I /Users/yminsky/.opam/4.04.0/lib/base -I /Users/yminsky/.opam/4.04.0/lib/base/caml -I /Users/yminsky/.opam/4.04.0/lib/base/shadow_stdlib -I /Users/yminsky/.opam/4.04.0/lib/js_of_ocaml-ppx -I /Users/yminsky/.opam/4.04.0/lib/ocaml -I /Users/yminsky/.opam/4.04.0/lib/ocaml-compiler-libs/common -I /Users/yminsky/.opam/4.04.0/lib/ocaml-compiler-libs/shadow -I /Users/yminsky/.opam/4.04.0/lib/ocaml-migrate-parsetree -I /Users/yminsky/.opam/4.04.0/lib/ocaml/compiler-libs -I /Users/yminsky/.opam/4.04.0/lib/ppx_ast -I /Users/yminsky/.opam/4.04.0/lib/ppx_core -I /Users/yminsky/.opam/4.04.0/lib/ppx_driver -I /Users/yminsky/.opam/4.04.0/lib/ppx_driver/print_diff -I /Users/yminsky/.opam/4.04.0/lib/ppx_optcomp -I /Users/yminsky/.opam/4.04.0/lib/ppx_tools_versioned -I /Users/yminsky/.opam/4.04.0/lib/ppx_traverse_builtins -I /Users/yminsky/.opam/4.04.0/lib/sexplib -I /Users/yminsky/.opam/4.04.0/lib/stdio -no-alias-deps -I ppx -o ppx/ppx_js_driver.cmo -c -impl ppx/ppx_js_driver.ml)
# File "ppx/ppx_js_driver.ml", line 2, characters 18-34:
# Error: Unbound value Ppx_js.js_mapper
# Hint: Did you mean mapper?

#=== ERROR while installing github.2.3.0 ======================================#
# opam-version 1.2.2
# os           darwin
# command      ocaml setup.ml -build
# path         /Users/yminsky/.opam/4.04.0/build/github.2.3.0
# compiler     4.04.0
# exit-code    1
# env-file     /Users/yminsky/.opam/4.04.0/build/github.2.3.0/github-54375-db450a.env
# stdout-file  /Users/yminsky/.opam/4.04.0/build/github.2.3.0/github-54375-db450a.out
# stderr-file  /Users/yminsky/.opam/4.04.0/build/github.2.3.0/github-54375-db450a.err
### stdout ###
# [...]
# /Users/yminsky/.opam/4.04.0/bin/ocamlfind ocamlopt -a -I unix unix/github.cmx unix/github_cookie_jar.cmx -o unix/github_unix.cmxa
# /Users/yminsky/.opam/4.04.0/bin/ocamlfind ocamlopt -shared -I unix unix/github_unix.cmxa unix/github.cmx unix/github_cookie_jar.cmx -o unix/github_unix.cmxs
# /Users/yminsky/.opam/4.04.0/bin/ocamlfind ocamldep -package atdgen -package cohttp -package cohttp.js -package cohttp.lwt-core -package js_of_ocaml -package js_of_ocaml.ppx -package lwt -package uri -package yojson -modules js/github_js.mli > js/github_js.mli.depends
# /Users/yminsky/.opam/4.04.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -principal -strict-sequence -I lib -package atdgen -package cohttp -package cohttp.js -package cohttp.lwt-core -package js_of_ocaml -package js_of_ocaml.ppx -package lwt -package uri -package yojson -w @5@8@10@11@12@14@23@24@26@29 -I js -I lib -o js/github_js.cmi js/github_js.mli
# /Users/yminsky/.opam/4.04.0/bin/ocamlfind ocamldep -package atdgen -package cohttp -package cohttp.js -package cohttp.lwt-core -package js_of_ocaml -package js_of_ocaml.ppx -package lwt -package uri -package yojson -modules js/github_js.ml > js/github_js.ml.depends
# /Users/yminsky/.opam/4.04.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -principal -strict-sequence -I lib -package atdgen -package cohttp -package cohttp.js -package cohttp.lwt-core -package js_of_ocaml -package js_of_ocaml.ppx -package lwt -package uri -package yojson -w @5@8@10@11@12@14@23@24@26@29 -I js -I lib -o js/github_js.cmo js/github_js.ml
# + /Users/yminsky/.opam/4.04.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -principal -strict-sequence -I lib -package atdgen -package cohttp -package cohttp.js -package cohttp.lwt-core -package js_of_ocaml -package js_of_ocaml.ppx -package lwt -package uri -package yojson -w @5@8@10@11@12@14@23@24@26@29 -I js -I lib -o js/github_js.cmo js/github_js.ml
# File "js/github_js.ml", line 20, characters 14-26:
# Error: Unbound module Lwt_js
# Command exited with code 2.
### stderr ###
# W: Cannot find source file matching module 'Github_j' in library github_core.
# W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
# W: Cannot find source file matching module 'Github_t' in library github_core.
# W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
# W: Cannot find source file matching module 'Github_j' in library github_core.
# W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
# W: Cannot find source file matching module 'Github_t' in library github_core.
# W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
# E: Failure("Command ''/Users/yminsky/.opam/4.04.0/bin/ocamlbuild' lib/github_core.cma lib/github_core.cmxa lib/github_core.a lib/github_core.cmxs unix/github_unix.cma unix/github_unix.cmxa unix/github_unix.a unix/github_unix.cmxs js/github_js.cma js/github_js.cmxa js/github_js.a js/github_js.cmxs jar/jar.native jar/create_release.native jar/sync_releases.native jar/upload_release.native jar/list_releases.native jar/list_events.native jar/list_issues.native jar/search.native jar/listen_events.native gist/gist.native -tag debug' terminated with error code 10")

=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  🐫
The following actions were aborted
  ∗  install incr_dom    v0.9.114.41+37
  ∗  install incr_select v0.9.114.41+37
  ∗  install virtual_dom v0.9.114.41+37
The following actions failed
  ∗  install async_js v0.9.114.41+37
  ∗  install github   2.3.0
The following changes have been performed
  ⊘  remove  github      2.3.0
  ↗  upgrade js_of_ocaml 2.8.4 to 3.0.0

The former state can be restored with:
    opam switch import "~/.opam/4.04.0/backup/state-20170321114015.export"
hhugo commented 7 years ago

This should be solved with the next push to github

hhugo commented 6 years ago

I believe this is fixed.