« Up

of-ocaml 1.2.1 Error

(2020-06-25 03:38:52 UTC)

Context

# Packages matching: installed
# Name              # Installed # Synopsis
base-bigarray       base
base-num            base        Num library distributed with the OCaml compiler
base-threads        base
base-unix           base
camlp5              7.12        Preprocessor-pretty-printer of OCaml
conf-findutils      1           Virtual package relying on findutils
coq                 8.5.0       Formal proof management system.
num                 0           The Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0      Official 4.05.0 release
ocaml-config        1           OCaml Switch Configuration
# opam file:
opam-version: "2.0"
maintainer: "dev@clarus.me"
homepage: "https://github.com/clarus/coq-of-ocaml"
dev-repo: "git+https://github.com/clarus/coq-of-ocaml.git"
bug-reports: "https://github.com/clarus/coq-of-ocaml/issues"
authors: ["Guillaume Claret"]
license: "MIT"
build: [
  ["sh" "-c" "cd OCaml && ./configure.sh"]
  [make "-C" "OCaml" "-j%{jobs}%"]
  [make "-j%{jobs}%"]
]
install: [make "-C" "OCaml" "install"]
depends: [
  "conf-ruby" {build}
  "coq" {>= "8.5"}
  "ocaml" {>= "4.05.0" & < "4.06.0"}
  "smart-print"
  "yojson"
]
tags: [
  "date:2015-08-31"
  "keyword:compilation"
  "keyword:ocaml"
]
synopsis: "Compile OCaml to Coq"
extra-files: ["coq-of-ocaml.install" "md5=aaa1f52ec40bedefd2674f46a44cd578"]
url {
  src: "https://github.com/clarus/coq-of-ocaml/archive/1.2.1.tar.gz"
  checksum: "md5=e8cb5565b8ce622d2afa5bcc59873ad2"
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-of-ocaml.1.2.1 coq.8.5.0
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 2h opam install -y --deps-only coq-of-ocaml.1.2.1 coq.8.5.0
Return code
0
Duration
9 m 35 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y -v coq-of-ocaml.1.2.1 coq.8.5.0
Return code
7936
Duration
23 s
Output
# Packages matching: installed
# Name                   # Installed # Synopsis
base-bigarray            base
base-num                 base        Num library distributed with the OCaml compiler
base-threads             base
base-unix                base
biniou                   1.2.1       Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve
camlp5                   7.12        Preprocessor-pretty-printer of OCaml
conf-findutils           1           Virtual package relying on findutils
conf-m4                  1           Virtual package relying on m4
conf-ruby                1.0.0       Virtual package relying on Ruby
coq                      8.5.0       Formal proof management system.
cppo                     1.6.6       Code preprocessor like cpp for OCaml
dune                     2.6.0       Fast, portable, and opinionated build system
easy-format              1.3.2       High-level and functional interface to the Format module of the OCaml standard library
num                      0           The Num library for arbitrary-precision integer and rational arithmetic
ocaml                    4.05.0      The OCaml compiler (virtual package)
ocaml-base-compiler      4.05.0      Official 4.05.0 release
ocaml-config             1           OCaml Switch Configuration
ocaml-secondary-compiler 4.08.1-1    OCaml 4.08.1 Secondary Switch Compiler
ocamlfind                1.8.1       A library manager for OCaml
ocamlfind-secondary      1.8.1       ocamlfind support for ocaml-secondary-compiler
smart-print              0.3.0       A pretty-printing library in OCaml
yojson                   1.7.0       Yojson is an optimized parsing and printing library for the JSON format
[NOTE] Package coq is already installed (current version is 8.5.0).
The following actions will be performed:
  - install coq-of-ocaml 1.2.1
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-of-ocaml.1.2.1: http]
[coq-of-ocaml.1.2.1] downloaded from https://github.com/clarus/coq-of-ocaml/archive/1.2.1.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-of-ocaml: sh]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "sh" "-c" "cd OCaml && ./configure.sh" (CWD=/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-of-ocaml.1.2.1)
Processing  1/2: [coq-of-ocaml: make OCaml]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-C" "OCaml" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-of-ocaml.1.2.1)
- make: Entering directory '/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-of-ocaml.1.2.1/OCaml'
- "coqdep" -c -R "." OCaml "OCaml.v" > "OCaml.v.d" || ( RV=$?; rm -f "OCaml.v.d"; exit ${RV} )
- "coqdep" -c -R "." OCaml "List.v" > "List.v.d" || ( RV=$?; rm -f "List.v.d"; exit ${RV} )
- "coqdep" -c -R "." OCaml "Libraries.v" > "Libraries.v.d" || ( RV=$?; rm -f "Libraries.v.d"; exit ${RV} )
- "coqdep" -c -R "." OCaml "Effect.v" > "Effect.v.d" || ( RV=$?; rm -f "Effect.v.d"; exit ${RV} )
- "coqdep" -c -R "." OCaml "Basics.v" > "Basics.v.d" || ( RV=$?; rm -f "Basics.v.d"; exit ${RV} )
- "coqc"  -q  -R "." OCaml   Libraries
- "coqc"  -q  -R "." OCaml   Effect
- "coqc"  -q  -R "." OCaml   Basics
- "coqc"  -q  -R "." OCaml   List
- "coqc"  -q  -R "." OCaml   OCaml
- make: Leaving directory '/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-of-ocaml.1.2.1/OCaml'
Processing  1/2: [coq-of-ocaml: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" (CWD=/home/bench/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-of-ocaml.1.2.1)
- ocamlbuild src/coqOfOCaml.native -lflags -I,+compiler-libs,ocamlcommon.cmxa -use-ocamlfind -package smart_print,compiler-libs,yojson,str
- make: ocamlbuild: Command not found
- make: *** [Makefile:6: default] Error 127
[ERROR] The compilation of coq-of-ocaml failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-of-ocaml.1.2.1 =================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.05.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.05.0/.opam-switch/build/coq-of-ocaml.1.2.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-of-ocaml-30686-335865.env
# output-file          ~/.opam/log/coq-of-ocaml-30686-335865.out
### output ###
# ocamlbuild src/coqOfOCaml.native -lflags -I,+compiler-libs,ocamlcommon.cmxa -use-ocamlfind -package smart_print,compiler-libs,yojson,str
# make: ocamlbuild: Command not found
# make: *** [Makefile:6: default] Error 127
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-of-ocaml 1.2.1
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-of-ocaml.1.2.1 coq.8.5.0' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none