ยซ 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
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.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.8.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.8.1
Return code
7936
Duration
7 m 0 s
Output
# 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
-> installed batteries.3.5.1
[ERROR] The compilation of ocaml-secondary-compiler failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4 world.opt".
#=== 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-22944-aaa640.env
# output-file          ~/.opam/log/ocaml-secondary-compiler-22944-aaa640.out
### output ###
# [...]
# make[3]: *** [Makefile:362: floats_np.o] Error 1
# ints.c:847:1: fatal error: error writing to /tmp/ccuUXNfc.s: No space left on device
#   847 | }
#       | ^
# compilation terminated.
# make[3]: *** [Makefile:362: ints_np.o] Error 1
# make[3]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/ocaml-secondary-compiler.4.08.1-1/runtime'
# make[2]: *** [Makefile:945: makeruntimeopt] 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:395: 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
+- 
+- The following changes have been performed (the rest was aborted)
| - downgrade ocamlfind  1.9.5 to 1.9.1
| - install   batteries  3.5.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-20220914064811.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