# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-gmp 4 Virtual package relying on a GMP lib system installation coq dev Formal proof management system dune 3.1.1 Fast, portable, and opinionated build system ocaml 4.12.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.12.1 Official release 4.12.1 ocaml-config 2 OCaml Switch Configuration ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled ocamlfind 1.9.3 A library manager for OCaml zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers # opam file: opam-version: "2.0" maintainer: "Yishuai Li <yishuai@cis.upenn.edu>" homepage: "https://github.com/liyishuai/coq-http" dev-repo: "git+https://github.com/liyishuai/coq-http.git" bug-reports: "https://github.com/liyishuai/coq-http/issues" license: "MPL-2.0" synopsis: "HTTP in Coq" description: """ HTTP specification in Coq, testable and verifiable""" build: [make "-j%{jobs}%"] run-test: [make "-j%{jobs}%" "test"] install: [make "install" "INSTALLDIR=%{bin}%"] depends: [ "coq" { >= "8.12~" } "ocamlbuild" { >= "0.14.0" } "coq-itree-io" { >= "0.1.0" } "coq-parsec" { >= "0.1.0" } ] tags: [ "category:Computer Science/Concurrent Systems and Protocols/Correctness of specific protocols" "category:Miscellaneous/Extracted Programs/Decision procedures" "keyword:co-induction" "keyword:extraction" "keyword:reactive systems" "date:2021-01-14" "logpath:HTTP" ] authors: [ "Yishuai Li <yishuai@cis.upenn.edu>" "Li-yao Xia <xialiyao@cis.upenn.edu>" "Yao Li <liyao@cis.upenn.edu>" "Azzam Althagafi <aazzam@cis.upenn.edu>" "Benjamin C. Pierce <bcpierce@cis.upenn.edu>" ] url { http: "https://github.com/liyishuai/coq-http/archive/v0.1.0.tar.gz" checksum: "sha512=7ccaf4cb1e64cf02a1a0dbee03d0bfce9a5f8c04e554d0272f06e942c281dfb52bcc0f109c469d635d2900c1e10ee4b1519aec096a9b7ef47566a4f9b24edf31" }
true
Dry install with the current Coq version:
opam install -y --show-action coq-http.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; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-http.0.1.0 coq.dev
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-http.0.1.0 coq.dev
# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-gmp 4 Virtual package relying on a GMP lib system installation coq dev Formal proof management system coq-ceres dev Library for serialization via S-expressions coq-ext-lib dev a library of Coq definitions, theorems, and tactics coq-itree dev A Library for Representing Recursive and Impure Programs in Coq coq-itree-io dev Run interaction trees in IO coq-paco dev Coq library implementing parameterized coinduction coq-parsec dev Monadic parser combinator library in Coq coq-simple-io dev IO monad for Coq cppo 1.6.8 Code preprocessor like cpp for OCaml dune 3.1.1 Fast, portable, and opinionated build system ocaml 4.12.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.12.1 Official release 4.12.1 ocaml-config 2 OCaml Switch Configuration ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled ocamlbuild 0.14.1 OCamlbuild is a build system with builtin rules to easily build most OCaml projects ocamlfind 1.9.3 A library manager for OCaml zarith 1.12 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-http 0.1.0 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/1: [coq-http.0.1.0: http] [coq-http.0.1.0] downloaded from https://github.com/liyishuai/coq-http/archive/v0.1.0.tar.gz Processing 1/1: <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/2: [coq-http: make] + /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-http.0.1.0) - coq_makefile -f _CoqProject -o Makefile.coq - make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-http.0.1.0' - COQDEP VFILES - COQC theories/Common.v - COQC theories/Message.v - File "./theories/Common.v", line 18, characters 0-108: - Warning: The default value for instance locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding instances outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] - File "./theories/Common.v", line 28, characters 0-136: - Warning: The default value for instance locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding instances outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] - File "./theories/Common.v", line 32, characters 0-314: - Warning: The default value for instance locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding instances outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] - COQC theories/Printer.v - File "./theories/Common.v", line 55, characters 0-4: - Error: - Recursive definition of eqb is ill-formed. - In environment - Decidable_eq_list_obligation_3_subproof : false = true -> False - A : Type - H : forall x y : A, Decidable (x = y) - x : list A - y : list A - eqb : list A -> list A -> bool - x0 : list A - y0 : list A - program_branch_0 := fun (_ : [] = x0) (_ : [] = y0) => true : - [] = x0 -> [] = y0 -> bool - program_branch_2 := - fun (wildcard' wildcard'0 : list A) - (_ : (forall (a : A) (x' : list A) (b : A) (y' : list A), - ~ (a :: x' = wildcard' /\ b :: y' = wildcard'0)) /\ - ~ ([] = wildcard' /\ [] = wildcard'0)) (_ : wildcard' = x0) - (_ : wildcard'0 = y0) => false : - forall wildcard' wildcard'0 : list A, - (forall (a : A) (x' : list A) (b : A) (y' : list A), - ~ (a :: x' = wildcard' /\ b :: y' = wildcard'0)) /\ - ~ ([] = wildcard' /\ [] = wildcard'0) -> - wildcard' = x0 -> wildcard'0 = y0 -> bool - a : A - l : list A - x1 := x0 : list A - y1 := y0 : list A - y2 := a : A - l0 := l : list A - wildcard' := [] : list A - y3 := y2 : A - l1 := l0 : list A - wildcard'0 := y3 :: l1 : list A - H0 : [] = [] /\ [] = y3 :: l1 - H1 : [] = [] - H2 : [] = y3 :: l1 - Recursive call to eqb has principal argument equal to - "x" instead of a subterm of the following variables: - "x0" "x1". - Recursive definition is: - "fun x0 y0 : list A => - let program_branch_0 := fun (_ : [] = x0) (_ : [] = y0) => true in - let program_branch_1 := - fun (a : A) (x' : list A) (b : A) (y' : list A) - (_ : a :: x' = x0) (_ : b :: y' = y0) => (a = b ?) &&& eqb x' y' in - let program_branch_2 := - fun (wildcard' wildcard'0 : list A) - (_ : (forall (a : A) (x' : list A) (b : A) (y' : list A), - ~ (a :: x' = wildcard' /\ b :: y' = wildcard'0)) /\ - ~ ([] = wildcard' /\ [] = wildcard'0)) (_ : wildcard' = x0) - (_ : wildcard'0 = y0) => false in - match x0 as y' return (y' = x0 -> y0 = y0 -> bool) with - | [] => - match y0 as x' return ([] = x0 -> x' = y0 -> bool) with - | [] => program_branch_0 - | a :: l => - program_branch_2 [] (a :: l) - ((fun (A : Type) (_ : forall x y : A, Decidable (x = y)) - (x1 _ : list A) (eqb : list A -> list A -> bool) - (_ _ : list A) (y2 : A) (l0 : list A) => - Decidable_eq_list_obligation_1 A x1 eqb y2 l0) A H x y eqb x0 y0 - a l) - end - | a :: x' => - match y0 as x'0 return (a :: x' = x0 -> x'0 = y0 -> bool) with - | [] => - program_branch_2 (a :: x') [] - ((fun (A : Type) (_ : forall x y : A, Decidable (x = y)) - (x1 _ : list A) (eqb : list A -> list A -> bool) - (_ _ : list A) (y2 : A) (l : list A) => - Decidable_eq_list_obligation_2 A x1 eqb y2 l) A H x y eqb x0 y0 - a x') - | b :: y' => program_branch_1 a x' b y' - end - end eq_refl eq_refl". - - make[2]: *** [Makefile.coq:791: theories/Common.vo] Error 1 - make[2]: *** Waiting for unfinished jobs.... - File "./theories/Printer.v", line 58, characters 0-86: - Warning: The default value for instance locality is currently "local" in a - section and "global" otherwise, but is scheduled to change in a future - release. For the time being, adding instances outside of sections without - specifying an explicit locality attribute is therefore deprecated. It is - recommended to use "export" whenever possible. Use the attributes #[local], - #[global] and #[export] depending on your choice. For example: "#[export] - Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] - make[1]: *** [Makefile.coq:408: all] Error 2 - make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-http.0.1.0' - make: *** [Makefile:6: all] Error 2 [ERROR] The compilation of coq-http failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4". #=== ERROR while compiling coq-http.0.1.0 =====================================# # context 2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///home/bench/run/opam-coq-archive/released # path ~/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-http.0.1.0 # command ~/.opam/opam-init/hooks/sandbox.sh build make -j4 # exit-code 2 # env-file ~/.opam/log/coq-http-18390-335865.env # output-file ~/.opam/log/coq-http-18390-335865.out ### output ### # [...] # make[2]: *** Waiting for unfinished jobs.... # File "./theories/Printer.v", line 58, characters 0-86: # Warning: The default value for instance locality is currently "local" in a # section and "global" otherwise, but is scheduled to change in a future # release. For the time being, adding instances outside of sections without # specifying an explicit locality attribute is therefore deprecated. It is # recommended to use "export" whenever possible. Use the attributes #[local], # #[global] and #[export] depending on your choice. For example: "#[export] # Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated] # make[1]: *** [Makefile.coq:408: all] Error 2 # make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.12.1/.opam-switch/build/coq-http.0.1.0' # make: *** [Makefile:6: all] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build coq-http 0.1.0 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment 'opam install -y -v coq-http.0.1.0 coq.dev' failed.
No files were installed.
true