ยซ Up

io-hello-world 1.2.0 Error with dependencies ๐Ÿš’

๐Ÿ“… (2022-05-24 01:37:32 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            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.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       A library manager for OCaml
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/clarus/coq-hello-world"
dev-repo: "git+https://github.com/clarus/coq-hello-world.git"
bug-reports: "https://github.com/clarus/coq-hello-world/issues"
authors: ["Guillaume Claret"]
license: "MIT"
build: [
  ["./configure.sh"]
  [make "-j%{jobs}%"]
  [make "-C" "extraction"]
]
install: [
  ["install" "-T" "extraction/main.native" "%{bin}%/helloWorld"]
]
depends: [
  "coq" {build}
  "coq-io" {>= "4.0.0" & build}
  "coq-io-system" {build}
  "coq-io-system-ocaml" {>= "2.3.0"}
]
tags: [
  "date:2019-07-30"
  "keyword:effects"
  "keyword:extraction"
]
synopsis: "A Hello World program in Coq"
url {
  src: "https://github.com/coq-io/hello-world/archive/1.2.0.tar.gz"
  checksum: "sha512=00f1beee8dbb62b6b619d9942f6701ef557ce3de3568f324103c1073968a3f07b7d5fa797e9ca955ec7d7ac36db5e039ef29c5666bfa4a5fe755b03615dface1"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-io-hello-world.1.2.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-io-hello-world.1.2.0 coq.dev
Return code
7936
Duration
5 m 17 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.10.2      The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.2      Official release 4.10.2
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.3       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - install seq                 base
  - install coq-error-handlers  1.2.0
  - install cppo                1.6.8
  - install csexp               1.5.1
  - install bigarray-compat     1.1.0
  - install coq-list-plus       1.1.0
  - install coq-io              4.0.0
  - install coq-cunit           1.0.0
  - install result              1.5
  - install base-bytes          base
  - install coq-function-ninjas 1.0.0
  - install num                 1.4
  - install ocamlbuild          0.14.1
  - install dune-configurator   3.1.1
  - install mmap                1.2.0
  - install coq-list-string     2.1.2
  - install ocplib-endian       1.2
  - install lwt                 4.5.0
  - install coq-io-system-ocaml 2.3.1
  - install coq-io-system       2.4.1
===== 20 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[bigarray-compat.1.1.0] downloaded from cache at https://opam.ocaml.org/cache
[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-function-ninjas.1.0.0] downloaded from https://github.com/clarus/coq-function-ninjas/archive/1.0.0.tar.gz
[coq-io.4.0.0] downloaded from https://github.com/coq-io/io/archive/4.0.0.tar.gz
[coq-io-system.2.4.1] downloaded from https://github.com/coq-io/system/archive/2.4.1.tar.gz
[coq-io-system-ocaml.2.3.1] downloaded from https://github.com/coq-io/system-ocaml/archive/2.3.1.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
[dune-configurator.3.1.1] found in cache
[cppo.1.6.8] downloaded from cache at https://opam.ocaml.org/cache
[csexp.1.5.1] downloaded from cache at https://opam.ocaml.org/cache
[lwt.4.5.0] downloaded from cache at https://opam.ocaml.org/cache
[mmap.1.2.0] downloaded from cache at https://opam.ocaml.org/cache
[num.1.4] downloaded from cache at https://opam.ocaml.org/cache
[ocamlbuild.0.14.1] downloaded from cache at https://opam.ocaml.org/cache
[ocplib-endian.1.2] downloaded from cache at https://opam.ocaml.org/cache
[result.1.5] downloaded from cache at https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of coq-io failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4".
-> installed base-bytes.base
-> installed bigarray-compat.1.1.0
-> installed coq-cunit.1.0.0
-> installed coq-error-handlers.1.2.0
-> installed coq-function-ninjas.1.0.0
-> installed coq-list-plus.1.1.0
-> installed cppo.1.6.8
-> installed csexp.1.5.1
-> installed mmap.1.2.0
-> installed num.1.4
-> installed ocamlbuild.0.14.1
-> installed ocplib-endian.1.2
-> installed result.1.5
-> installed seq.base
-> installed coq-list-string.2.1.2
-> installed dune-configurator.3.1.1
-> installed lwt.4.5.0
-> installed coq-io-system-ocaml.2.3.1
#=== ERROR while compiling coq-io.4.0.0 =======================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.10.2 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.10.2/.opam-switch/build/coq-io.4.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4
# exit-code            2
# env-file             ~/.opam/log/coq-io-26815-b1238c.env
# output-file          ~/.opam/log/coq-io-26815-b1238c.out
### output ###
# [...]
# COQC src/C.v
# COQC src/Run.v
# COQC src/Evaluate.v
# COQC src/List.v
# COQC src/Trace.v
# COQC src/UseCase.v
# File "./src/List.v", line 42, characters 9-10:
# Error: Syntax error: [identref] expected after 'let!' (in [binder_constr]).
# 
# make[1]: *** [Makefile:790: src/List.vo] Error 1
# make[1]: *** Waiting for unfinished jobs....
# make: *** [Makefile:408: all] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-io 4.0.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install base-bytes          base
| - install bigarray-compat     1.1.0
| - install coq-cunit           1.0.0
| - install coq-error-handlers  1.2.0
| - install coq-function-ninjas 1.0.0
| - install coq-io-system-ocaml 2.3.1
| - install coq-list-plus       1.1.0
| - install coq-list-string     2.1.2
| - install cppo                1.6.8
| - install csexp               1.5.1
| - install dune-configurator   3.1.1
| - install lwt                 4.5.0
| - install mmap                1.2.0
| - install num                 1.4
| - install ocamlbuild          0.14.1
| - install ocplib-endian       1.2
| - install result              1.5
| - install seq                 base
+- 
<><> lwt.4.5.0 installed successfully <><><><><><><><><><><><><><><><><><><><><>
=> Lwt 5.0.0 will make some breaking changes in December 2019. See
     https://github.com/ocsigen/lwt/issues/584
# 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.10.2/.opam-switch/backup/state-20220518234239.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