# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.7.1+1 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.06.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.06.1 Official 4.06.1 release ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.5 A library manager for OCaml # opam file: opam-version: "2.0" maintainer: "lord@crocodile.org" homepage: "https://github.com/vzaliva/coq-min-imports" dev-repo: "git+https://github.com/vzaliva/coq-min-imports.git" bug-reports: "https://github.com/vzaliva/coq-min-imports/issues" authors: ["Vadim Zaliva"] license: "MIT" build: [ ["omake"] ] install: [ ["install" "coq_min_imports" "%{bin}%"] ] depends: [ "ocaml" "coq" {>= "8.5"} "extlib" "batteries" "omake" ] tags: [ "category:Miscellaneous/Coq Extensions" "date:2017-01-04" ] synopsis: "This script will try to remove unnecessary module imports from Coq" description: """ sources. It examines modules listed in "Require Import" statements one by one and tries to recompile to see if their removal would cause compilation errors.""" url { src: "https://github.com/vzaliva/coq-min-imports/archive/v1.0.0.tar.gz" checksum: "md5=5d66474c9d71dbc46b44c786fb6fef00" }
true
Dry install with the current Coq version:
opam install -y --show-action coq-min-imports.1.0.0 coq.8.7.1+1
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-min-imports.1.0.0 coq.8.7.1+1
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-min-imports.1.0.0 coq.8.7.1+1
# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base batteries 3.6.0 A community-maintained standard library extension camlp-streams 5.0.1 The Stream and Genlex libraries for use with Camlp4 and Camlp5 camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.7.1+1 Formal proof management system cppo 1.6.9 Code preprocessor like cpp for OCaml dune 3.6.1 Fast, portable, and opinionated build system extlib 1.7.9 A complete yet small extension for OCaml standard library num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.06.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.06.1 Official 4.06.1 release ocaml-config 1 OCaml Switch Configuration ocaml-secondary-compiler 4.08.1-1 OCaml 4.08.1 Secondary Switch Compiler ocamlbuild 0.14.2 OCamlbuild is a build system with builtin rules to easily build most OCaml projects ocamlfind 1.9.1 A library manager for OCaml ocamlfind-secondary 1.9.1 Adds support for ocaml-secondary-compiler to ocamlfind omake 0.10.5 Build system designed for scalability and portability [NOTE] Package coq is already installed (current version is 8.7.1+1). The following actions will be performed: - install coq-min-imports 1.0.0 <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/1: [coq-min-imports.1.0.0: http] [coq-min-imports.1.0.0] downloaded from https://github.com/vzaliva/coq-min-imports/archive/v1.0.0.tar.gz Processing 1/1: <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/2: [coq-min-imports: omake] + /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "omake" (CWD=/home/bench/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-min-imports.1.0.0) - *** omake: reading OMakefiles - OMake warning: could not create and/or lock a cache file for - /home/bench/.opam/ocaml-base-compiler.4.06.1/lib/omake/Pervasives.om - OMake warning: could not create and/or lock a cache file for - /home/bench/.opam/ocaml-base-compiler.4.06.1/lib/omake/build/Common.om - OMake warning: could not create and/or lock a cache file for - /home/bench/.opam/ocaml-base-compiler.4.06.1/lib/omake/build/OCaml.om - OMake warning: could not create and/or lock a cache file for - /home/bench/.opam/ocaml-base-compiler.4.06.1/lib/omake/configure/Configure.om - --- Checking for ocamlfind... (found /home/bench/.opam/ocaml-base-compiler.4.06.1/bin/ocamlfind) - --- Checking for ocamlc.opt... (found /home/bench/.opam/ocaml-base-compiler.4.06.1/bin/ocamlc.opt) - --- Checking for ocamlopt.opt... (found /home/bench/.opam/ocaml-base-compiler.4.06.1/bin/ocamlopt.opt) - --- Checking for ocamldep.opt... (found /home/bench/.opam/ocaml-base-compiler.4.06.1/bin/ocamldep.opt) - --- Checking for ocamllex.opt... (found /home/bench/.opam/ocaml-base-compiler.4.06.1/bin/ocamllex.opt) - --- Checking whether ocamlc understands the "z" warnings... (yes) - --- Checking whether ocamlopt can create cmxs plugins... (yes) - *** omake: finished reading OMakefiles (0.22 sec) - --- Checking if ocamldep understands -modules... (yes) - - build . coq_min_imports.run - + ocamlfind ocamlc -package extlib,batteries -g -g -thread -I . -custom -o coq_min_imports.run dirtools.cmo coq_min_imports.cmo -linkpkg - File "_none_", line 1: - Error: Required module `Bigarray' is unavailable - *** omake: 17/20 targets are up to date - *** omake: failed (0.43 sec, 2/2 scans, 3/5 rules, 12/37 digests) - *** omake: targets were not rebuilt because of errors: - coq_min_imports.run [ERROR] The compilation of coq-min-imports failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build omake". #=== ERROR while compiling coq-min-imports.1.0.0 ==============================# # context 2.0.5 | linux/x86_64 | ocaml-base-compiler.4.06.1 | file:///home/bench/run/opam-coq-archive/released # path ~/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/coq-min-imports.1.0.0 # command ~/.opam/opam-init/hooks/sandbox.sh build omake # exit-code 2 # env-file ~/.opam/log/coq-min-imports-31872-865888.env # output-file ~/.opam/log/coq-min-imports-31872-865888.out ### output ### # [...] # --- Checking whether ocamlc understands the "z" warnings... (yes) # --- Checking whether ocamlopt can create cmxs plugins... (yes) # *** omake: finished reading OMakefiles (0.22 sec) # --- Checking if ocamldep understands -modules... (yes) # - build . coq_min_imports.run # + ocamlfind ocamlc -package extlib,batteries -g -g -thread -I . -custom -o coq_min_imports.run dirtools.cmo coq_min_imports.cmo -linkpkg # File "_none_", line 1: # Error: Required module `Bigarray' is unavailable # *** omake: 17/20 targets are up to date # *** omake: failed (0.43 sec, 2/2 scans, 3/5 rules, 12/37 digests) # *** omake: targets were not rebuilt because of errors: # coq_min_imports.run <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build coq-min-imports 1.0.0 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment 'opam install -y -v coq-min-imports.1.0.0 coq.8.7.1+1' failed.
No files were installed.
true