ยซ Up

min-imports 1.0.2 Black list ๐Ÿดโ€โ˜ ๏ธ

Context

# 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                 8.13.2      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.07.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1      Official release 4.07.1
ocaml-config        1           OCaml Switch Configuration
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"
version: "1.0.2"
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: ["jbuilder" "build" "-j" jobs "@install"]
depends: [
  "ocaml"
  "coq" {>= "8.5"}
  "extlib"
  "batteries"
  "jbuilder" {build}
]
tags: [
  "category:Miscellaneous/Coq Extensions"
  "date:2018-04-22"
]
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.2.tar.gz"
  checksum: "md5=1df90607ac535f3e2ffe008e3561333b"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-min-imports.1.0.2 coq.8.13.2
Return code
0

Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:

Command
true
Return code
0

Install dependencies

Command
opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-min-imports.1.0.2 coq.8.13.2
Return code
7936
Duration
17 m 0 s
Output
# 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                 8.13.2      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.07.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1      Official release 4.07.1
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - downgrade ocamlfind                1.9.3 to 1.9.1
  - install   jbuilder                 1.0+beta20.2
  - install   ocamlbuild               0.14.1
  - install   ocaml-secondary-compiler 4.08.1-1
  - install   base-bytes               base
  - recompile zarith                   1.12           [uses ocamlfind]
  - install   batteries                3.5.1
  - install   ocamlfind-secondary      1.9.1
  - install   dune                     3.1.1
  - install   cppo                     1.6.8
  - install   extlib                   1.7.8
===== 9 to install | 1 to recompile | 1 to downgrade =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cppo.1.6.8] downloaded from cache at https://opam.ocaml.org/cache
[batteries.3.5.1] downloaded from cache at https://opam.ocaml.org/cache
[dune.3.1.1] downloaded from cache at https://opam.ocaml.org/cache
[extlib.1.7.8] downloaded from cache at https://opam.ocaml.org/cache
[jbuilder.1.0+beta20.2] downloaded from cache at https://opam.ocaml.org/cache
[ocaml-secondary-compiler.4.08.1-1] downloaded from cache at https://opam.ocaml.org/cache
[ocamlbuild.0.14.1] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind.1.9.1] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind-secondary.1.9.1] found in cache
[zarith.1.12] found in cache
[ocaml-secondary-compiler.4.08.1-1/alt-signal-stack.patch] downloaded from https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[WARNING] While removing zarith.1.12: not removing files that changed since:
            - lib/zarith/zarith_top.cma
            - lib/zarith/zarith.h
            - lib/zarith/zarith.cmxs
            - lib/zarith/zarith.cmxa
            - lib/zarith/zarith.cma
            - lib/zarith/zarith.a
            - lib/zarith/z.mli
            - lib/zarith/z.cmx
            - lib/zarith/z.cmti
            - lib/zarith/z.cmi
            - lib/zarith/q.mli
            - lib/zarith/q.cmx
            - lib/zarith/q.cmti
            - lib/zarith/q.cmi
            - lib/zarith/libzarith.a
            - lib/zarith/big_int_Z.mli
            - lib/zarith/big_int_Z.cmx
            - lib/zarith/big_int_Z.cmti
            - lib/zarith/big_int_Z.cmi
            - lib/zarith/META
            - lib/stublibs/dllzarith.so.owner
            - lib/stublibs/dllzarith.so
[NOTE] While removing zarith.1.12: not removing non-empty directories:
         - lib/zarith
-> removed   zarith.1.12
[WARNING] While removing ocamlfind.1.9.3: not removing files that changed since:
            - man/man5/site-lib.5
            - man/man5/findlib.conf.5
            - man/man5/META.5
            - man/man1/ocamlfind.1
            - lib/unix/META
            - lib/toplevel/topfind
            - lib/threads/META
            - lib/str/META
            - lib/stdlib/META
            - lib/raw_spacetime/META
            - lib/ocamldoc/META
            - lib/ocaml/topfind
            - lib/graphics/META
            - lib/findlib/topfind.mli
            - lib/findlib/topfind.cmi
            - lib/findlib/ocaml_args.cmi
            - lib/findlib/fl_topo.cmi
            - lib/findlib/fl_split.cmi
            - lib/findlib/fl_package_base.mli
            - lib/findlib/fl_package_base.cmi
            - lib/findlib/fl_metatoken.cmi
            - lib/findlib/fl_metascanner.mli
            - lib/findlib/fl_metascanner.cmi
            - lib/findlib/fl_meta.cmi
            - lib/findlib/fl_lint.cmi
            - lib/findlib/fl_dynload.mli
            - lib/findlib/fl_dynload.cmi
            - lib/findlib/fl_args.cmi
            - lib/findlib/findlib_top.cmxs
            - lib/findlib/findlib_top.cmxa
            - lib/findlib/findlib_top.cma
            - lib/findlib/findlib_top.a
            - lib/findlib/findlib_dynload.cmxs
            - lib/findlib/findlib_dynload.cmxa
            - lib/findlib/findlib_dynload.cma
            - lib/findlib/findlib_dynload.a
            - lib/findlib/findlib_config.ml
            - lib/findlib/findlib_config.cmi
            - lib/findlib/findlib.mli
            - lib/findlib/findlib.cmxs
            - lib/findlib/findlib.cmxa
            - lib/findlib/findlib.cmi
            - lib/findlib/findlib.cma
            - lib/findlib/findlib.a
            - lib/findlib/Makefile.packages
            - lib/findlib/Makefile.config
            - lib/findlib/META
            - lib/findlib.conf
            - lib/dynlink/META
            - lib/compiler-libs/META
            - lib/bytes/META
            - lib/bigarray/META
[NOTE] While removing ocamlfind.1.9.3: not removing non-empty directories:
         - lib/unix
         - lib/threads
         - lib/str
         - lib/stdlib
         - lib/raw_spacetime
         - lib/ocamldoc
         - lib/graphics
         - lib/findlib
         - lib/dynlink
         - lib/compiler-libs
         - lib/bytes
         - lib/bigarray
-> removed   ocamlfind.1.9.3
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.1
[ERROR] The installation of zarith failed at "make install".
-> installed jbuilder.1.0+beta20.2
-> installed batteries.3.5.1
-> installed ocaml-secondary-compiler.4.08.1-1
-> installed ocamlfind-secondary.1.9.1
-> installed dune.3.1.1
-> installed cppo.1.6.8
-> installed extlib.1.7.8
#=== ERROR while installing zarith.1.12 =======================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.07.1 | https://opam.ocaml.org#7ebba7f0
# path                 ~/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/zarith.1.12
# command              ~/.opam/opam-init/hooks/sandbox.sh install make install
# exit-code            2
# env-file             ~/.opam/log/zarith-7571-e77081.env
# output-file          ~/.opam/log/zarith-7571-e77081.out
### output ###
# ocamlfind install -destdir "/home/bench/.opam/ocaml-base-compiler.4.07.1/lib" zarith META zarith.cma libzarith.a z.cmi q.cmi big_int_Z.cmi zarith_top.cma z.mli zarith.cmxa z.cmx q.cmx big_int_Z.cmx zarith.cmxs zarith.h q.mli big_int_Z.mli zarith.a z.cmti q.cmti big_int_Z.cmti -optional dllzarith.so
# ocamlfind: Package zarith is already installed
#  - (file /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/zarith/META already exists)
# make: *** [project.mak:115: install] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - install zarith 1.12
+- 
+- The following changes have been performed
| - remove    zarith                   1.12
| - downgrade ocamlfind                1.9.3 to 1.9.1
| - install   base-bytes               base
| - install   batteries                3.5.1
| - install   cppo                     1.6.8
| - install   dune                     3.1.1
| - install   extlib                   1.7.8
| - install   jbuilder                 1.0+beta20.2
| - install   ocaml-secondary-compiler 4.08.1-1
| - install   ocamlbuild               0.14.1
| - install   ocamlfind-secondary      1.9.1
+- 
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
    opam switch import "/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/backup/state-20220515105628.export"

Install ๐Ÿš€

Command
true
Return code
0
Duration
0 s

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none