# 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.8.1 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.5 A library manager for OCaml
# opam file:
opam-version: "2.0"
version: "1.0.1"
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.1.tar.gz"
checksum: "md5=3ffca724f7e8752ce4f1909b360914ab"
}
trueDry install with the current Coq version:
opam install -y --show-action coq-min-imports.1.0.1 coq.8.8.1Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
trueopam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-min-imports.1.0.1 coq.8.8.1# 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.8.1 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.5 A library manager for OCaml
The following actions will be performed:
- install jbuilder 1.0+beta20.2
- downgrade ocamlfind 1.9.5 to 1.9.1
- install ocamlbuild 0.14.1
- install ocaml-secondary-compiler 4.08.1-1
- install batteries 3.5.1
- install ocamlfind-secondary 1.9.1
- install dune 3.4.1
- install cppo 1.6.9
- install extlib 1.7.9
===== 8 to install | 1 to downgrade =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cppo.1.6.9] downloaded from cache at https://opam.ocaml.org/cache
[batteries.3.5.1] downloaded from cache at https://opam.ocaml.org/cache
[dune.3.4.1] downloaded from cache at https://opam.ocaml.org/cache
[extlib.1.7.9] 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
[ocaml-secondary-compiler.4.08.1-1/alt-signal-stack.patch] downloaded from https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[WARNING] While removing ocamlfind.1.9.5: 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.5: 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.5
-> installed ocamlfind.1.9.1
-> installed ocamlbuild.0.14.1
-> installed jbuilder.1.0+beta20.2
[ERROR] The installation of batteries failed at "make install".
[ERROR] The compilation of ocaml-secondary-compiler failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4 world.opt".
#=== ERROR while installing batteries.3.5.1 ===================================#
# context 2.0.6 | linux/x86_64 | ocaml-base-compiler.4.07.1 | https://opam.ocaml.org#c69e33f8
# path ~/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/batteries.3.5.1
# command ~/.opam/opam-init/hooks/sandbox.sh install make install
# exit-code 2
# env-file ~/.opam/log/batteries-10203-30b41c.env
# output-file ~/.opam/log/batteries-10203-30b41c.out
### output ###
# [...]
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batHashtbl.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batHashcons.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batGlobal.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batGenlex.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batGc.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batFormat.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batFloat.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batFingerTree.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batFilename.cmt
# Installed /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/batteries/batFile.cmt
# ocamlfind: No space left on device
# make: *** [Makefile:133: install] Error 2
#=== ERROR while compiling ocaml-secondary-compiler.4.08.1-1 ==================#
# context 2.0.6 | linux/x86_64 | ocaml-base-compiler.4.07.1 | https://opam.ocaml.org#c69e33f8
# path ~/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/ocaml-secondary-compiler.4.08.1-1
# command ~/.opam/opam-init/hooks/sandbox.sh build make -j4 world.opt
# exit-code 2
# env-file ~/.opam/log/ocaml-secondary-compiler-10203-aaa640.env
# output-file ~/.opam/log/ocaml-secondary-compiler-10203-aaa640.out
### output ###
# [...]
# make[4]: *** Waiting for unfinished jobs....
# File "/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/ocaml-secondary-compiler.4.08.1-1/typing/env.ml", line 1:
# Error: I/O error: No space left on device
# make[4]: *** [Makefile:1291: typing/env.cmo] Error 2
# make[4]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/ocaml-secondary-compiler.4.08.1-1'
# make[3]: *** [Makefile:333: coreall] Error 2
# make[3]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/ocaml-secondary-compiler.4.08.1-1'
# make[2]: *** [Makefile:340: core] Error 2
# make[2]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/ocaml-secondary-compiler.4.08.1-1'
# make[1]: *** [Makefile:393: opt.opt] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/ocaml-secondary-compiler.4.08.1-1'
# make: *** [Makefile:446: world.opt] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml-secondary-compiler 4.08.1-1
| - install batteries 3.5.1
+-
+- The following changes have been performed (the rest was aborted)
| - downgrade ocamlfind 1.9.5 to 1.9.1
| - install jbuilder 1.0+beta20.2
| - install ocamlbuild 0.14.1
+-
<><> ocaml-secondary-compiler.4.08.1-1 troubleshooting ><><><><><><><><><><><><>
=> A failure in the middle of the build may be caused by build parallelism
(enabled by default).
Please file a bug report at https://github.com/ocaml/opam-repository/issues
=> You can try installing again including --jobs=1
to force a sequential build instead.
# 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-20220914094412.export"
trueNo files were installed.
true