« Up

moment 1.1.0 Error

(2021-11-01 16:42:58 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                   8.14.0      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"
maintainer: "dev@clarus.me"
homepage: "https://github.com/clarus/coq-moment"
dev-repo: "git+https://github.com/clarus/coq-moment.git"
bug-reports: "https://github.com/clarus/coq-moment/issues"
authors: ["Guillaume Claret"]
license: "MIT"
build: [
  ["ruby" "pp.rb"]
  ["./configure.sh"]
  [make "-j%{jobs}%"]
]
install: [
  [make "install"]
]
depends: [
  "conf-ruby" {build}
  "coq" {>= "8.4pl4"}
  "coq-error-handlers"
  "coq-function-ninjas"
  "coq-list-string" {>= "2.0.0"}
  "ocaml"
]
tags: [
  "date:2019-11-28"
  "keyword:date"
  "keyword:time"
  "logpath:Moment"
]
synopsis: "Parse, manipulate and pretty-print times and dates in Coq"
url {
  src: "https://github.com/clarus/coq-moment/archive/1.1.0.tar.gz"
  checksum: "sha512=e3261756ccff4d0d18ea46ff98ca6202ef3d30157bb6c301df3351cb93b218ebb5d03e644b1c6653c090857029642a8e2aeea7e191dee9f54e1fe39cf314fc65"
}

Lint

Command
true
Return code
0

Dry install

Dry install with the current Coq version:

Command
opam install -y --show-action coq-moment.1.1.0 coq.8.14.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 4h opam install -y --deps-only coq-moment.1.1.0 coq.8.14.0
Return code
0
Duration
33 s

Install

Command
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-moment.1.1.0 coq.8.14.0
Return code
7936
Duration
11 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              3           Virtual package relying on a GMP lib system installation
conf-ruby             1.0.0       Virtual package relying on Ruby
coq                   8.14.0      Formal proof management system
coq-cunit             1.0.0       Convenience functions for unit testing in Coq
coq-error-handlers    1.2.0       Simple and robust error handling functions
coq-function-ninjas   1.0.0       Simple functional combinators
coq-list-plus         1.1.0       More functions on lists
coq-list-string       2.1.2       Strings implemented as lists
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
[NOTE] Package coq is already installed (current version is 8.14.0).
The following actions will be performed:
  - install coq-moment 1.1.0
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-moment.1.1.0: http]
[coq-moment.1.1.0] downloaded from https://github.com/clarus/coq-moment/archive/1.1.0.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-moment: ruby pp.rb]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "ruby" "pp.rb" (CWD=/home/bench/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-moment.1.1.0)
- pp.rb:5:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
[ERROR] The compilation of coq-moment failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build ruby pp.rb".
#=== ERROR while compiling coq-moment.1.1.0 ===================================#
# context              2.0.8 | linux/x86_64 | ocaml-base-compiler.4.12.0 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.12.0/.opam-switch/build/coq-moment.1.1.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build ruby pp.rb
# exit-code            1
# env-file             ~/.opam/log/coq-moment-20025-335865.env
# output-file          ~/.opam/log/coq-moment-20025-335865.out
### output ###
# pp.rb:5:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-moment 1.1.0
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-moment.1.1.0 coq.8.14.0' failed.

Installation size

No files were installed.

Uninstall

Command
true
Return code
0
Missing removes
none
Wrong removes
none