# 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-05-31"
"logpath:JSON"
]
homepage: "https://github.com/liyishuai/coq-json"
bug-reports: "https://github.com/liyishuai/coq-json/issues"
depends: [
"coq" {>= "8.14~"}
"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.2.tar.gz"
checksum: [
"md5=131dbb384207231c709789a47d4474ba"
"sha512=e3cc8f9c06e5b5080e8d1c9c4af916b85bf805b059d431f8033116388e4ae260269aee8b7a281b6f89769c0e47b4043e67cea8323e643b445582464a085c4971"
]
}
trueDry install with the current Coq version:
opam install -y --show-action coq-json.0.1.2 coq.devDry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
trueopam list; echo; timeout 4h opam install -y --deps-only coq-json.0.1.2 coq.devopam list; echo; timeout 4h opam install -y -v coq-json.0.1.2 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.2 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/3: [coq-json.0.1.2: http] Processing 1/3: -> retrieved coq-json.0.1.2 (https://github.com/liyishuai/coq-json/archive/v0.1.2.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.2) - 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.2 failed at "make -j4". #=== ERROR while compiling coq-json.0.1.2 =====================================# # 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.2 # command ~/.opam/opam-init/hooks/sandbox.sh build make -j4 # exit-code 2 # env-file ~/.opam/log/coq-json-11762-d5a414.env # output-file ~/.opam/log/coq-json-11762-d5a414.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.2 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment 'opam install -y -v coq-json.0.1.2 coq.dev' failed.
No files were installed.
true