# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-domains base base-nnp base Naked pointers prohibited in the OCaml heap base-threads base base-unix base conf-gmp 4 Virtual package relying on a GMP lib system installation coq dev The Coq Proof Assistant coq-core dev The Coq Proof Assistant -- Core Binaries and Tools coq-stdlib dev The Coq Proof Assistant -- Standard Library coqide-server dev The Coq Proof Assistant, XML protocol server dune 3.13.0 Fast, portable, and opinionated build system ocaml 5.1.1 The OCaml compiler (virtual package) ocaml-base-compiler 5.1.1 Official release 5.1.1 ocaml-config 3 OCaml Switch Configuration ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled ocamlfind 1.9.6 A library manager for OCaml zarith 1.13 Implements arithmetic and logical operations over arbitrary-precision integers # opam file: opam-version: "2.0" synopsis: "JSON in Coq" description: "From JSON to Coq, and vice versa." maintainer: "Yishuai Li <yishuai@cis.upenn.edu>" authors: "Yishuai Li <yishuai@cis.upenn.edu>" license: "BSD-3-Clause" tags: [ "category:Computer Science/Data Types and Data Structures" "keyword:serialization" "keyword:JSON" "date:2022-03-03" "logpath:JSON" ] homepage: "https://github.com/liyishuai/coq-json" bug-reports: "https://github.com/liyishuai/coq-json/issues" depends: [ "coq" {>= "8.12~"} "coq-parsec" {>= "0.1.1"} "menhir" {>= "20220210"} "coq-menhirlib" {>= "20220210"} ] build: [make "-j%{jobs}%"] run-test: [make "-j%{jobs}%" "test"] install: [make "install"] dev-repo: "git+https://github.com/liyishuai/coq-json.git" url { src: "https://github.com/liyishuai/coq-json/archive/v0.1.0.tar.gz" checksum: [ "md5=45f1e00c5e3f5d542bbcfd815b45dc51" "sha512=d7cf540cfea1fb80ab7796d208d767f288f1dfa00ab23d54e6bf6cae1fec919afde6c5eea45e13a569b2c7a9be0313e41e31f230144c4351d863f26db35c6413" ] }
true
Dry install with the current Coq version:
opam install -y --show-action coq-json.0.1.0 coq.dev
Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
true
opam list; echo; timeout 4h opam install -y --deps-only coq-json.0.1.0 coq.dev
opam list; echo; timeout 4h opam install -y -v coq-json.0.1.0 coq.dev
# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-domains base base-nnp base Naked pointers prohibited in the OCaml heap base-threads base base-unix base conf-gmp 4 Virtual package relying on a GMP lib system installation coq dev The Coq Proof Assistant coq-ceres dev Library for serialization via S-expressions coq-core dev The Coq Proof Assistant -- Core Binaries and Tools coq-ext-lib dev a library of Coq definitions, theorems, and tactics coq-menhirlib dev A support library for verified Coq parsers produced by Menhir coq-parsec 0.1.2 Monadic parser combinator library in Coq coq-stdlib dev The Coq Proof Assistant -- Standard Library coqide-server dev The Coq Proof Assistant, XML protocol server dune 3.13.0 Fast, portable, and opinionated build system menhir dev An LR(1) parser generator menhirLib dev Runtime support library for parsers generated by Menhir menhirSdk dev Compile-time library for auxiliary tools related to Menhir ocaml 5.1.1 The OCaml compiler (virtual package) ocaml-base-compiler 5.1.1 Official release 5.1.1 ocaml-config 3 OCaml Switch Configuration ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled ocamlfind 1.9.6 A library manager for OCaml zarith 1.13 Implements arithmetic and logical operations over arbitrary-precision integers [NOTE] Package coq is already installed (current version is dev). The following actions will be performed: - install coq-json 0.1.0 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/3: [coq-json.0.1.0: http] Processing 1/3: -> retrieved coq-json.0.1.0 (https://github.com/liyishuai/coq-json/archive/v0.1.0.tar.gz) Processing 2/3: [coq-json: make] + /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-json.0.1.0) - coq_makefile -f _CoqProject -o Makefile.coq - menhir --coq Parser.vy - COQDEP VFILES - COQC JSON.v - File "./JSON.v", line 60, characters 0-141: - Error: - The following term contains unresolved implicit arguments: - (fun (T : Type) (f : json -> option T) (j : json) => - if j is JSON__Array l then sequence (map f l) else None) - More precisely: - - ?Ap: Cannot infer the implicit parameter Ap of sequence whose type is - "Applicative.Applicative option" (no type class instance found) in - environment: - T : Type - f : json -> option T - j : json - l : list json - - make[1]: *** [Makefile.coq:848: JSON.vo] Error 1 - make[1]: *** [JSON.vo] Deleting file 'JSON.glob' - make: *** [Makefile.coq:417: all] Error 2 [ERROR] The compilation of coq-json.0.1.0 failed at "make -j4". #=== ERROR while compiling coq-json.0.1.0 =====================================# # context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.1.1 | file:///home/bench/run/opam-coq-archive/released # path ~/.opam/ocaml-base-compiler.5.1.1/.opam-switch/build/coq-json.0.1.0 # command ~/.opam/opam-init/hooks/sandbox.sh build make -j4 # exit-code 2 # env-file ~/.opam/log/coq-json-3853-618aeb.env # output-file ~/.opam/log/coq-json-3853-618aeb.out ### output ### # [...] # More precisely: # - ?Ap: Cannot infer the implicit parameter Ap of sequence whose type is # "Applicative.Applicative option" (no type class instance found) in # environment: # T : Type # f : json -> option T # j : json # l : list json # # make[1]: *** [Makefile.coq:848: JSON.vo] Error 1 # make[1]: *** [JSON.vo] Deleting file 'JSON.glob' # make: *** [Makefile.coq:417: all] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build coq-json 0.1.0 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment 'opam install -y -v coq-json.0.1.0 coq.dev' failed.
No files were installed.
true