ยซ Up

bonsai 1.0.0 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                      dev         Formal proof management system
dune                     3.1.1       Fast, portable, and opinionated build system
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
ocaml-secondary-compiler 4.08.1-1    OCaml 4.08.1 Secondary Switch Compiler
ocamlfind                1.9.1       A library manager for OCaml
ocamlfind-secondary      1.9.1       Adds support for ocaml-secondary-compiler to ocamlfind
zarith                   1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "dev@clarus.me"
homepage: "https://github.com/foobar-land/coq-bonsai"
dev-repo: "git+https://github.com/foobar-land/coq-bonsai.git"
bug-reports: "https://github.com/foobar-land/coq-bonsai/issues"
authors: ["Guillaume Claret"]
license: "GPL-3.0-only"
build: [
  ["./configure.sh"]
  [make "-j%{jobs}%"]
  [make "-C" "extraction"]
]
depends: [
  "coq" {>= "8.13.0"}
  "coq-list-string"
  "coq-simple-io" {>= "1.1.0"}
  "ocaml"
  "ocamlbuild" {build}
]
tags: [
  "category:Miscellaneous/Logical Puzzles and Entertainment"
  "keyword:bonsai"
  "keyword:effects"
  "keyword:extraction"
  "date:2021-10-04"
]
synopsis: "Generate a fresh Bonsai on your terminal"
url {
  src: "https://github.com/foobar-land/coq-bonsai/archive/refs/tags/v1.0.0.tar.gz"
  checksum: "sha512=0760e15ee5627651ead63f1ee527f487f89b49cc2327e8b4bf2da261c215895cd1c5541a0e729bebc576d4e58dddbc8cae6b5666a56e5a94e849ab773208c5d1"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-bonsai.1.0.0 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-bonsai.1.0.0 coq.dev
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                      dev         Formal proof management system
dune                     3.1.1       Fast, portable, and opinionated build system
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
ocaml-secondary-compiler 4.08.1-1    OCaml 4.08.1 Secondary Switch Compiler
ocamlfind                1.9.1       A library manager for OCaml
ocamlfind-secondary      1.9.1       Adds support for ocaml-secondary-compiler to ocamlfind
zarith                   1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install coq-list-plus      1.1.0
  - install coq-cunit          1.0.0
  - install coq-error-handlers 1.2.0
  - install ocamlbuild         0.14.1
  - install cppo               1.6.8
  - install coq-ext-lib        dev
  - install coq-list-string    2.1.2
  - install coq-simple-io      dev
===== 8 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[coq-cunit.1.0.0] downloaded from https://github.com/clarus/coq-cunit/archive/1.0.0.tar.gz
[coq-error-handlers.1.2.0] downloaded from https://github.com/clarus/coq-error-handlers/archive/1.2.0.tar.gz
[coq-list-plus.1.1.0] downloaded from https://github.com/clarus/coq-list-plus/archive/1.1.0.tar.gz
[coq-list-string.2.1.2] downloaded from https://github.com/clarus/coq-list-string/archive/2.1.2.tar.gz
[cppo.1.6.8] downloaded from cache at https://opam.ocaml.org/cache
[ocamlbuild.0.14.1] downloaded from cache at https://opam.ocaml.org/cache
[coq-simple-io.dev] synchronised from git+https://github.com/Lysxia/coq-simple-io#master
[coq-ext-lib.dev] synchronised from git+https://github.com/coq-community/coq-ext-lib#master
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed coq-cunit.1.0.0
-> installed coq-error-handlers.1.2.0
-> installed coq-list-plus.1.1.0
-> installed cppo.1.6.8
-> installed coq-list-string.2.1.2
-> installed coq-ext-lib.dev
-> installed ocamlbuild.0.14.1
[ERROR] The compilation of coq-simple-io failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build dune build -p coq-simple-io -j 4 @install".
#=== ERROR while compiling coq-simple-io.dev ==================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.07.1 | file:///home/bench/run/opam-coq-archive/extra-dev
# path                 ~/.opam/ocaml-base-compiler.4.07.1/.opam-switch/build/coq-simple-io.dev
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p coq-simple-io -j 4 @install
# exit-code            1
# env-file             ~/.opam/log/coq-simple-io-18342-4943f7.env
# output-file          ~/.opam/log/coq-simple-io-18342-4943f7.out
### output ###
# [...]
# File "./src/IO_MonadFix.v", line 9, characters 0-68:
# Warning: The default value for instance locality is currently "local" in a
# section and "global" otherwise, but is scheduled to change in a future
# release. For the time being, adding instances outside of sections without
# specifying an explicit locality attribute is therefore deprecated. It is
# recommended to use "export" whenever possible. Use the attributes #[local],
# #[global] and #[export] depending on your choice. For example: "#[export]
# Instance Foo : Bar := baz." [deprecated-instance-without-locality,deprecated]
# (cd _build/default && /home/bench/.opam/ocaml-base-compiler.4.07.1/bin/coqc -q -I /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/coq-core/boot -I /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/coq-core/clib -I /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/coq-core/config -I /home/bench/.opam/ocaml-base-compiler.4.07.1/lib/coq-core/engine -I /home/bench/.opam/ocaml-base-compiler.4.07.1/[...]
# File "./src/IO_Stdlib.v", line 70, characters 0-33:
# Warning: Declaring a scope implicitly is deprecated; use in advance an
# explicit "Declare Scope int_scope.". [undeclared-scope,deprecated]
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-simple-io dev
+- 
+- The following changes have been performed
| - install coq-cunit          1.0.0
| - install coq-error-handlers 1.2.0
| - install coq-ext-lib        dev
| - install coq-list-plus      1.1.0
| - install coq-list-string    2.1.2
| - install cppo               1.6.8
| - 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.07.1/.opam-switch/backup/state-20220423073418.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