ยซ Up

type-infer 0.1.0 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:
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
synopsis: "A formal verification of algorithm W"
maintainer: ["Masayuki Mizuno <mizuno@wantedly.com>"]
authors: ["Masayuki Mizuno <mizuno@wantedly.com>"]
license: "MIT"
homepage: "https://github.com/fetburner/type-infer"
bug-reports: "https://github.com/fetburner/type-infer/issues"
depends: [
  "dune" {>= "2.5"}
  "coq" {>= "8.8"}
  "coq-mathcomp-ssreflect" {>= "1.11"}
]
build: [
  ["dune" "subst"] {pinned}
  [
    "dune"
    "build"
    "-p"
    name
    "-j"
    jobs
    "@install"
    "@runtest" {with-test}
    "@doc" {with-doc}
  ]
]
dev-repo: "git+https://github.com/fetburner/type-infer.git"
url {
  src: "https://github.com/fetburner/type-infer/archive/0.1.0.tar.gz"
  checksum: "md5=c4d970724196eb181cc51ee7718de3c6"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-type-infer.0.1.0 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-type-infer.0.1.0 coq.8.8.1
Return code
7936
Duration
13 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:
  - downgrade ocamlfind                1.9.5 to 1.9.1
  - install   coq-mathcomp-ssreflect   1.11.0
  - install   ocaml-secondary-compiler 4.08.1-1
  - install   ocamlfind-secondary      1.9.1
  - install   dune                     3.4.1
===== 4 to install | 1 to downgrade =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-mathcomp-ssreflect.1.11.0] downloaded from https://github.com/math-comp/math-comp/archive/mathcomp-1.11.0.tar.gz
[dune.3.4.1] 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
[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 coq-mathcomp-ssreflect.1.11.0
[ERROR] The installation of ocaml-secondary-compiler failed at "make install".
#=== ERROR while installing 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 install make install
# exit-code            2
# env-file             ~/.opam/log/ocaml-secondary-compiler-5396-6ef1df.env
# output-file          ~/.opam/log/ocaml-secondary-compiler-5396-6ef1df.out
### output ###
# [...]
# /usr/bin/install: error writing '/home/bench/.opam/ocaml-base-compiler.4.07.1/share/ocaml-secondary-compiler/bin/ocamlmklib.opt': No space left on device
# /usr/bin/install: error writing '/home/bench/.opam/ocaml-base-compiler.4.07.1/share/ocaml-secondary-compiler/bin/ocamlmktop.opt': No space left on device
# /usr/bin/install: error writing '/home/bench/.opam/ocaml-base-compiler.4.07.1/share/ocaml-secondary-compiler/bin/ocamlobjinfo.opt': No space left on device
# if test -f read_cmt.opt; then \
#   /usr/bin/install -c -m u=rwx,g=rwx,o=rx read_cmt.opt "/home/bench/.opam/ocaml-base-compiler.4.07.1/share/ocaml-secondary-compiler/bin/ocamlcmt"; \
# else \
#   /usr/bin/install -c -m u=rwx,g=rwx,o=rx read_cmt "/home/bench/.opam/ocaml-base-compiler.4.07.1/share/ocaml-secondary-compiler/bin/ocamlcmt"; \
# fi
# /usr/bin/install: error writing '/home/bench/.opam/ocaml-base-compiler.4.07.1/share/ocaml-secondary-compiler/bin/ocamlcmt': No space left on device
# make[1]: *** [Makefile:286: install] Error 1
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/ocaml-secondary-compiler.4.08.1-1/tools'
# make: *** [Makefile:531: install] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - install 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   coq-mathcomp-ssreflect 1.11.0
+- 
<><> 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-20220915120122.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