« Up

tactician-stdlib dev Error

(2021-10-27 02:59:51 UTC)

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              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
dune                  2.9.1       Fast, portable, and opinionated build system
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlfind             1.9.1       A library manager for OCaml
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
name: "coq-tactician-stdlib"
synopsis: "Recompiles Coq's standard libary with Tactician's instrumentation loaded"
description: """
  *** WARNING *** This package will overwrite Coq's standard library files.
  This package recompiles Coq's standard library with Tactician's (`coq-tactician`)
  instrumentation loaded such that Tactician can learn from the library. When you
  install this package, the current `.vo` files of the standard library are backed
  in the folder `user-contrib/Tactician/stdlib-backup`. Then exactly the same `.vo`
  files are installed, except that they also contain Tactician's tactic databases.
  Upon removal of this package, the original files will be placed back.
"""
homepage: "https://coq-tactician.github.io"
dev-repo: "git+https://github.com/coq-tactician/coq-tactician-stdlib"
bug-reports: "https://github.com/coq-tactician/coq-tactician-stdlib/issues"
maintainer: "Lasse Blaauwbroek <lasse@blaauwbroek.eu>"
authors: "Lasse Blaauwbroek <lasse@blaauwbroek.eu"
messages: [
  "*** WARNING ***"
  "This package will overwrite Coq's standard library files."
  "A backup of the original files will be placed under Coq's"
  "library directory at user-contrib/tactician-stdlib-backup/"
  "and they will be restored when you remove this package"
]
post-messages: ["
--- The standard library was successfully recompiled ---
In order to finish the process, you should run
tactician recompile
" {success}]
depends: [
  "coq" {= "dev"}
  "coq-tactician"
]
build: [
  [make "-j%{jobs}%"]
]
install: [
  [make "install"]
]
remove: [
  [make "restore"]
]
url {
  src: "git+https://github.com/coq-tactician/coq-tactician-stdlib.git#coqdev"
}
tags: [
  "keyword:tactic-learning"
  "keyword:machine-learning"
  "keyword:automation"
  "keyword:proof-synthesis"
  "category:Miscellaneous/Coq Extensions"
  "logpath:Tactician"
]

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-tactician-stdlib.dev coq.dev
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-tactician-stdlib.dev coq.dev
Return code
0
Duration
4 m 58 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y coq-tactician-stdlib.dev coq.dev
Return code
7936
Duration
30 s
Output
# Packages matching: installed
# Name                # Installed # Synopsis
base-bigarray         base
base-bytes            base        Bytes library distributed with the OCaml compiler
base-threads          base
base-unix             base
cmdliner              1.0.4       Declarative definition of command line interfaces for OCaml
conf-findutils        1           Virtual package relying on findutils
conf-g++              1.0         Virtual package relying on the g++ compiler (for C++)
conf-gmp              3           Virtual package relying on a GMP lib system installation
coq                   dev         Formal proof management system
coq-tactician         dev         Tactician: A Seamless, Interactive Tactic Learner and Prover for Coq
coq-tactician-dummy   dev         A dummy implementation of Tactician
cppo                  1.6.8       Code preprocessor like cpp for OCaml
cudf                  0.9-1       CUDF library (part of the Mancoosi tools)
dose3                 5.0.1-1     Dose library (part of Mancoosi tools)
dune                  2.9.1       Fast, portable, and opinionated build system
extlib                1.7.7-1     A complete yet small extension for OCaml standard library (reduced, recommended)
mccs                  1.1+13      MCCS (which stands for Multi Criteria CUDF Solver) is a CUDF problem solver developed at UNS during the European MANCOOSI project
ocaml                 4.12.0      The OCaml compiler (virtual package)
ocaml-base-compiler   4.12.0      Official release 4.12.0
ocaml-config          2           OCaml Switch Configuration
ocaml-options-vanilla 1           Ensure that OCaml is compiled with no special options enabled
ocamlbuild            0.14.0      OCamlbuild is a build system with builtin rules to easily build most OCaml projects.
ocamlfind             1.9.1       A library manager for OCaml
ocamlgraph            2.0.0       A generic graph library for OCaml
opam-client           2.1.0       Client library for opam 2.1
opam-core             2.1.0       Core library for opam 2.1
opam-file-format      2.1.3       Parser and printer for the opam file syntax
opam-format           2.1.0       Format library for opam 2.1
opam-repository       2.1.0       Repository library for opam 2.1
opam-solver           2.1.0       Solver library for opam 2.1
opam-state            2.1.0       State library for opam 2.1
re                    1.10.3      RE is a regular expression library for OCaml
seq                   base        Compatibility package for OCaml's standard iterator type starting from 4.07.
stdlib-shims          0.3.0       Backport some of the new stdlib features to older compiler
zarith                1.12        Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
  - install coq-tactician-stdlib dev  *** WARNING ***
                                      This package will overwrite Coq's standard library files.
                                      A backup of the original files will be placed under Coq's
                                      library directory at user-contrib/tactician-stdlib-backup/
                                      and they will be restored when you remove this package
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-tactician-stdlib.dev] synchronised from git+https://github.com/coq-tactician/coq-tactician-stdlib.git#coqdev
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-tactician-stdlib failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
#=== ERROR while compiling coq-tactician-stdlib.dev ===========================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.0 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-tactician-stdlib.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-tactician-stdlib-24163-e4db2f.env
# output-file          ~/.opam/log/coq-tactician-stdlib-24163-e4db2f.out
### output ###
# [...]
# File not found on loadpath : ltac_plugin.cmxs
# Loadpath: /home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-tactician-stdlib.dev:/home/bench/.opam/ocaml-base-compiler.4.12.0/lib/coq/user-contrib/Tactician:/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-tactician-stdlib.dev/user-contrib/Tactician:/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-tactician-stdlib.dev/user-contrib/Ltac2.
# 
# make: *** [Makefile:61: theories/Init/Notations.vo] Error 1
# make: *** Waiting for unfinished jobs....
# Warning: Cannot open directory ./../coq-core/plugins
# [cannot-open-dir,filesystem]
# Error:
# File not found on loadpath : ltac_plugin.cmxs
# Loadpath: /home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-tactician-stdlib.dev:/home/bench/.opam/ocaml-base-compiler.4.12.0/lib/coq/user-contrib/Tactician:/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-tactician-stdlib.dev/user-contrib/Tactician:/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-tactician-stdlib.dev/user-contrib/Ltac2.
# 
# make: *** [Makefile:61: theories/Init/Ltac.vo] Error 1
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-tactician-stdlib dev
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none