ยซ Up

compcert-32 3.10 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.07.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1      Official release 4.07.1
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"
authors: "Xavier Leroy <xavier.leroy@inria.fr>"
maintainer: "Jacques-Henri Jourdan <jacques-Henri.jourdan@normalesup.org>"
homepage: "http://compcert.inria.fr/"
dev-repo: "git+https://github.com/AbsInt/CompCert.git"
bug-reports: "https://github.com/AbsInt/CompCert/issues"
license: "INRIA Non-Commercial License Agreement"
available: os != "macos"
build: [
  ["./configure"
  "ia32-linux" {os = "linux"}
  "ia32-cygwin" {os = "cygwin"}
  # This is for building a MinGW CompCert with cygwin host and cygwin target
  "ia32-cygwin" {os = "win32" & os-distribution = "cygwinports"}
  # This is for building a 32 bit CompCert on 64 bit MinGW with cygwin build host
  "-toolprefix"     {os = "win32" & os-distribution = "cygwinports" & arch = "x86_64"}
  "i686-pc-cygwin-" {os = "win32" & os-distribution = "cygwinports" & arch = "x86_64"}
  # The 32 bit CompCert is a variant which is installed in a non standard folder
  "-prefix" "%{prefix}%/variants/compcert32"
  "-install-coqdev"
  "-clightgen"
  "-use-external-Flocq"
  "-use-external-MenhirLib"
  "-coqdevdir" "%{lib}%/coq-variant/compcert32/compcert"
  "-ignore-coq-version"]
  [make "-j%{jobs}%" {ocaml:version >= "4.06"}]
]
install: [
  [make "install"]
]
depends: [
  "coq" {>= "8.9.0" & < "8.16~"}
  "menhir" {>= "20190626" }
  "ocaml" {>= "4.05.0"}
  "coq-flocq" {>= "3.1.0" & < "4~"}
  "coq-menhirlib" {>= "20190626"}
]
synopsis: "The CompCert C compiler (32 bit)"
description: "This package installs the 32 bit version of CompCert.
For coexistence with the 64 bit version, the files are installed in:
%{prefix}%/variants/compcert32/bin  (ccomp and clightgen binaries)
%{prefix}%/variants/compcert32/lib/compcert  (C library)
%{lib}%/coq-variant/compcert32/compcert (Coq library)
Please note that the coq module path is compcert and not compcert32,
so the files cannot be directly Required as compcert32.
Instead -Q or -R options must be used to bind the compcert32 folder
to the module path compcert. This is more convenient if one development
supports both 32 and 64 bit versions. Otherwise all files would have to
be duplicated with module paths compcert and compcert32.
Please also note that the binary folder is usually not in the path."
tags: [
  "category:Computer Science/Semantics and Compilation/Compilation"
  "category:Computer Science/Semantics and Compilation/Semantics"
  "keyword:C"
  "keyword:compiler"
  "logpath:compcert32"
  "date:2021-11-19"
]
url {
  src: "https://github.com/AbsInt/CompCert/archive/v3.10.tar.gz"
  checksum: "sha512=93687fb36cdfb247d47404c8d41d84ba96d006dd3a535646337a477fd5517c7487ff1d66e83bccceb47ba2d18b187c1bbdc55b2eff00373a8a120edfc80ef11a"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-compcert-32.3.10 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-compcert-32.3.10 coq.8.13.2
Return code
7936
Duration
18 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.07.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.07.1      Official release 4.07.1
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:
  - downgrade ocamlfind                1.9.3 to 1.9.1
  - install   conf-g++                 1.0
  - install   ocaml-secondary-compiler 4.08.1-1
  - recompile zarith                   1.12           [uses ocamlfind]
  - install   ocamlfind-secondary      1.9.1
  - install   dune                     3.1.1
  - install   menhirSdk                20220210
  - install   menhirLib                20220210
  - install   menhir                   20220210
===== 7 to install | 1 to recompile | 1 to downgrade =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.1.1] downloaded from cache at https://opam.ocaml.org/cache
[menhir.20220210] downloaded from cache at https://opam.ocaml.org/cache
[menhirSdk.20220210] found in cache
[menhirLib.20220210] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind.1.9.1] downloaded from cache at https://opam.ocaml.org/cache
[zarith.1.12] found in cache
[ocaml-secondary-compiler.4.08.1-1] downloaded from cache at https://opam.ocaml.org/cache
[ocamlfind-secondary.1.9.1] downloaded from cache at https://opam.ocaml.org/cache
[ocaml-secondary-compiler.4.08.1-1/alt-signal-stack.patch] downloaded from https://opam.ocaml.org/cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-g++.1.0
[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.3: 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.3: 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.3
-> 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.1.1
-> installed menhirSdk.20220210
-> installed menhirLib.20220210
-> installed menhir.20220210
#=== ERROR while installing zarith.1.12 =======================================#
# context              2.0.6 | linux/x86_64 | ocaml-base-compiler.4.07.1 | https://opam.ocaml.org#7ebba7f0
# path                 ~/.opam/ocaml-base-compiler.4.07.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-32349-e01822.env
# output-file          ~/.opam/log/zarith-32349-e01822.out
### output ###
# ocamlfind install -destdir "/home/bench/.opam/ocaml-base-compiler.4.07.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.07.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.3 to 1.9.1
| - install   conf-g++                 1.0
| - install   dune                     3.1.1
| - install   menhir                   20220210
| - install   menhirLib                20220210
| - install   menhirSdk                20220210
| - 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.07.1/.opam-switch/backup/state-20220516092616.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