ยซ Up

min-imports 1.0.2 Error with dependencies ๐Ÿš’

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.1      Formal proof management system
num                   1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.5       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.1
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.1
Return code
7936
Duration
4 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.1      Formal proof management system
num                   1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml                 4.14.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.14.0      Official release 4.14.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.5       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install jbuilder   1.0+beta20.2
  - install dune       3.4.1
  - install ocamlbuild 0.14.1
  - install cppo       1.6.9
  - install batteries  3.5.1
  - install extlib     1.7.9
===== 6 to install =====
<><> 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
[ocamlbuild.0.14.1] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlbuild.0.14.1
-> installed jbuilder.1.0+beta20.2
[ERROR] The compilation of batteries failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make all".
-> installed dune.3.4.1
-> installed cppo.1.6.9
-> installed extlib.1.7.9
#=== ERROR while compiling batteries.3.5.1 ====================================#
# context              2.0.10 | linux/x86_64 | ocaml-base-compiler.4.14.0 | https://opam.ocaml.org#0ccb63ef
# path                 ~/.opam/ocaml-base-compiler.4.14.0/.opam-switch/build/batteries.3.5.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make all
# exit-code            2
# env-file             ~/.opam/log/batteries-459-910341.env
# output-file          ~/.opam/log/batteries-459-910341.out
### output ###
# [...]
# ocamlfind ocamldep -package bigarray,num,str -package bytes -modules src/batHeap.mli > src/batHeap.mli.depends
# ocamlfind ocamlc -c -g -bin-annot -safe-string -no-alias-deps -strict-sequence -w -3 -package bigarray,num,str -warn-error -50 -package bytes -I src -I toplevel -I qtest -I testsuite -I benchsuite -I build -I benchsuite/lib -o src/batHeap.cmi src/batHeap.mli
# ocamlfind ocamldep -package bigarray,num,str -package bytes -modules src/batHeap.ml > src/batHeap.ml.depends
# ocamlfind ocamldep -package bigarray,num,str -package bytes -modules src/batIO.ml > src/batIO.ml.depends
# build/prefilter.byte src/batUnix.mliv > src/batUnix.mli
# ocamlfind ocamldep -package bigarray,num,str -package bytes -modules src/batUnix.mli > src/batUnix.mli.depends
# ocamlfind ocamlc -c -g -bin-annot -safe-string -no-alias-deps -strict-sequence -w -3 -package bigarray,num,str -warn-error -50 -package bytes -I src -I toplevel -I qtest -I testsuite -I benchsuite -I build -I benchsuite/lib -o src/batUnix.cmi src/batUnix.mli
# + ocamlfind ocamlc -c -g -bin-annot -safe-string -no-alias-deps -strict-sequence -w -3 -package bigarray,num,str -warn-error -50 -package bytes -I src -I toplevel -I qtest -I testsuite -I benchsuite -I build -I benchsuite/lib -o src/batUnix.cmi src/batUnix.mli
# File "src/batUnix.mli", line 1:
# Error: I/O error: No space left on device
# Command exited with code 2.
# make: *** [Makefile:107: all] Error 10
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build batteries 3.5.1
+- 
+- The following changes have been performed
| - install cppo       1.6.9
| - install dune       3.4.1
| - install extlib     1.7.9
| - install jbuilder   1.0+beta20.2
| - install ocamlbuild 0.14.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.14.0/.opam-switch/backup/state-20220915014302.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