« Up

addition-chains 0.6 Black list 🏴‍☠️

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                 8.13.2      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.06.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1      Official 4.06.1 release
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.5       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "palmskog@gmail.com"
homepage: "https://github.com/coq-community/hydra-battles"
dev-repo: "git+https://github.com/coq-community/hydra-battles.git"
bug-reports: "https://github.com/coq-community/hydra-battles/issues"
license: "MIT"
synopsis: "Exponentiation algorithms following addition chains in Coq"
description: """
Addition chains are algorithms for computations of the p-th power of some x, 
with the least number of multiplications possible. This development provides
a few implementations of addition chains in Coq, including proofs of their
correctness."""
build: ["dune" "build" "-p" name "-j" jobs]
depends: [
  "dune" {>= "2.5"}
  "coq" {>= "8.13" & < "8.16~"}
  "coq-paramcoq" {>= "1.1.3"}
  "coq-mathcomp-ssreflect" {>= "1.12.0" & < "1.15~"}
  "coq-mathcomp-algebra"
]
tags: [
  "category:Mathematics/Combinatorics and Graph Theory"
  "keyword:addition chains"
  "keyword:exponentiation algorithms"
  "logpath:additions"
  "date:2022-02-17"
]
authors: [
  "Pierre Castéran"
  "Yves Bertot"
]
url {
  src: "https://github.com/coq-community/hydra-battles/archive/v0.6.tar.gz"
  checksum: "sha512=a7e5e16506ad4eb2b5968d6bffbc1dacb297a304c7e8bbbd2ec4d2488d2090573288bdcd0e17fa05b605925b71c3ece5e46e91134d98f47248ef173c92dc8ed7"
}

Lint

Command
true
Return code
0

Dry install 🏜️

Dry install with the current Coq version:

Command
opam install -y --show-action coq-addition-chains.0.6 coq.8.13.2
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-addition-chains.0.6 coq.8.13.2
Return code
7936
Duration
15 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                 8.13.2      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.06.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1      Official 4.06.1 release
ocaml-config        1           OCaml Switch Configuration
ocamlfind           1.9.5       A library manager for OCaml
zarith              1.12        Implements arithmetic and logical operations over arbitrary-precision integers
The following actions will be performed:
  - downgrade ocamlfind                1.9.5 to 1.9.1
  - install   ocaml-secondary-compiler 4.08.1-1
  - recompile zarith                   1.12           [uses ocamlfind]
  - install   ocamlfind-secondary      1.9.1
  - install   dune                     3.4.1
===== 3 to install | 1 to recompile | 1 to downgrade =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocamlfind.1.9.1] downloaded from cache at https://opam.ocaml.org/cache
[dune.3.4.1] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind-secondary.1.9.1] found in cache
[ocaml-secondary-compiler.4.08.1-1] downloaded from cache at https://opam.ocaml.org/cache
[zarith.1.12] found in cache
[ocaml-secondary-compiler.4.08.1-1/alt-signal-stack.patch] downloaded from https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[WARNING] While removing zarith.1.12: not removing files that changed since:
            - lib/zarith/zarith_top.cma
            - lib/zarith/zarith.h
            - lib/zarith/zarith.cmxs
            - lib/zarith/zarith.cmxa
            - lib/zarith/zarith.cma
            - lib/zarith/zarith.a
            - lib/zarith/z.mli
            - lib/zarith/z.cmx
            - lib/zarith/z.cmti
            - lib/zarith/z.cmi
            - lib/zarith/q.mli
            - lib/zarith/q.cmx
            - lib/zarith/q.cmti
            - lib/zarith/q.cmi
            - lib/zarith/libzarith.a
            - lib/zarith/big_int_Z.mli
            - lib/zarith/big_int_Z.cmx
            - lib/zarith/big_int_Z.cmti
            - lib/zarith/big_int_Z.cmi
            - lib/zarith/META
            - lib/stublibs/dllzarith.so.owner
            - lib/stublibs/dllzarith.so
[NOTE] While removing zarith.1.12: not removing non-empty directories:
         - lib/zarith
-> removed   zarith.1.12
[WARNING] While removing ocamlfind.1.9.5: not removing files that changed since:
            - man/man5/site-lib.5
            - man/man5/findlib.conf.5
            - man/man5/META.5
            - man/man1/ocamlfind.1
            - lib/unix/META
            - lib/toplevel/topfind
            - lib/threads/META
            - lib/str/META
            - lib/stdlib/META
            - lib/raw_spacetime/META
            - lib/ocamldoc/META
            - lib/ocaml/topfind
            - lib/graphics/META
            - lib/findlib/topfind.mli
            - lib/findlib/topfind.cmi
            - lib/findlib/ocaml_args.cmi
            - lib/findlib/fl_topo.cmi
            - lib/findlib/fl_split.cmi
            - lib/findlib/fl_package_base.mli
            - lib/findlib/fl_package_base.cmi
            - lib/findlib/fl_metatoken.cmi
            - lib/findlib/fl_metascanner.mli
            - lib/findlib/fl_metascanner.cmi
            - lib/findlib/fl_meta.cmi
            - lib/findlib/fl_lint.cmi
            - lib/findlib/fl_dynload.mli
            - lib/findlib/fl_dynload.cmi
            - lib/findlib/fl_args.cmi
            - lib/findlib/findlib_top.cmxs
            - lib/findlib/findlib_top.cmxa
            - lib/findlib/findlib_top.cma
            - lib/findlib/findlib_top.a
            - lib/findlib/findlib_dynload.cmxs
            - lib/findlib/findlib_dynload.cmxa
            - lib/findlib/findlib_dynload.cma
            - lib/findlib/findlib_dynload.a
            - lib/findlib/findlib_config.ml
            - lib/findlib/findlib_config.cmi
            - lib/findlib/findlib.mli
            - lib/findlib/findlib.cmxs
            - lib/findlib/findlib.cmxa
            - lib/findlib/findlib.cmi
            - lib/findlib/findlib.cma
            - lib/findlib/findlib.a
            - lib/findlib/Makefile.packages
            - lib/findlib/Makefile.config
            - lib/findlib/META
            - lib/findlib.conf
            - lib/dynlink/META
            - lib/compiler-libs/META
            - lib/bytes/META
            - lib/bigarray/META
[NOTE] While removing ocamlfind.1.9.5: not removing non-empty directories:
         - lib/unix
         - lib/threads
         - lib/str
         - lib/stdlib
         - lib/raw_spacetime
         - lib/ocamldoc
         - lib/graphics
         - lib/findlib
         - lib/dynlink
         - lib/compiler-libs
         - lib/bytes
         - lib/bigarray
-> removed   ocamlfind.1.9.5
-> installed ocamlfind.1.9.1
[ERROR] The installation of zarith failed at "make install".
-> installed ocaml-secondary-compiler.4.08.1-1
-> installed ocamlfind-secondary.1.9.1
-> installed dune.3.4.1
#=== ERROR while installing zarith.1.12 =======================================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.06.1 | https://opam.ocaml.org#fa4c225a
# path                 ~/.opam/ocaml-base-compiler.4.06.1/.opam-switch/build/zarith.1.12
# command              ~/.opam/opam-init/hooks/sandbox.sh install make install
# exit-code            2
# env-file             ~/.opam/log/zarith-24998-ca91c7.env
# output-file          ~/.opam/log/zarith-24998-ca91c7.out
### output ###
# ocamlfind install -destdir "/home/bench/.opam/ocaml-base-compiler.4.06.1/lib" zarith META zarith.cma libzarith.a z.cmi q.cmi big_int_Z.cmi zarith_top.cma z.mli zarith.cmxa z.cmx q.cmx big_int_Z.cmx zarith.cmxs zarith.h q.mli big_int_Z.mli zarith.a z.cmti q.cmti big_int_Z.cmti -optional dllzarith.so
# ocamlfind: Package zarith is already installed
#  - (file /home/bench/.opam/ocaml-base-compiler.4.06.1/lib/zarith/META already exists)
# make: *** [project.mak:115: install] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - install zarith 1.12
+- 
+- The following changes have been performed
| - remove    zarith                   1.12
| - downgrade ocamlfind                1.9.5 to 1.9.1
| - install   dune                     3.4.1
| - install   ocaml-secondary-compiler 4.08.1-1
| - install   ocamlfind-secondary      1.9.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.06.1/.opam-switch/backup/state-20221003043131.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