ยซ Up

vst 2.10 Error ๐Ÿ”ฅ

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.0      Formal proof management system
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.08.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1      Official release 4.08.1
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"
synopsis: "Verified Software Toolchain"
description: "The software toolchain includes static analyzers to check assertions about your program; optimizing compilers to translate your program to machine language; operating systems and libraries to supply context for your program. The Verified Software Toolchain project assures with machine-checked proofs that the assertions claimed at the top of the toolchain really hold in the machine-language program, running in the operating-system context."
authors: [
  "Andrew W. Appel"
  "Lennart Beringer"
  "Josiah Dodds"
  "Qinxiang Cao"
  "Aquinas Hobor"
  "Gordon Stewart"
  "Qinshi Wang"
  "Sandrine Blazy"
  "Santiago Cuellar"
  "Robert Dockins"
  "Nick Giannarakis"
  "Samuel Gruetter"
  "Jean-Marie Madiot"
]
maintainer: "VST team"
homepage: "http://vst.cs.princeton.edu/"
dev-repo: "git+https://github.com/PrincetonUniversity/VST.git"
bug-reports: "https://github.com/PrincetonUniversity/VST/issues"
# ATTENTION: the source package also contains software with different license,
# but what this opam package installs is BSD-2-Clause. In case the opam build,
# test or install commands are changed, this needs to be reviewed!
license: "BSD-2-Clause"
build: [
  [make "-j%{jobs}%" "vst" "IGNORECOQVERSION=true" "BITSIZE=64"]
]
install: [
  [make "install" "IGNORECOQVERSION=true" "BITSIZE=64"]
]
run-test: [
  [make "-j%{jobs}%" "test" "IGNORECOQVERSION=true" "BITSIZE=64"]
]
depends: [
  "ocaml"
  "coq" {>= "8.12" & < "8.17~"}
  "coq-compcert" {= "3.11"}
  "coq-flocq" {>= "4.1.0"}
]
tags: [
  "category:Computer Science/Semantics and Compilation/Semantics"
  "keyword:C"
  "logpath:VST"
  "date:2022-07-08"
]
url {
  src: "https://github.com/PrincetonUniversity/VST/archive/refs/tags/v2.10.tar.gz"
  checksum: "sha512=6f00ae44d4ef7fb18eef25da7e7e5e4dd1bd67d9a59b618c6c075b056abb62e6e442093a76cb2f7d4d04ed5ee592cf1b744920c5cf0a7000dfe58269ad672376"
}

Lint

Command
true
Return code
0

Dry install ๐Ÿœ๏ธ

Dry install with the current Coq version:

Command
opam install -y --show-action coq-vst.2.10 coq.8.13.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-vst.2.10 coq.8.13.0
Return code
0
Duration
31 m 0 s

Install ๐Ÿš€

Command
opam list; echo; ulimit -Sv 16000000; timeout 20h opam install -y -v coq-vst.2.10 coq.8.13.0
Return code
7936
Duration
1 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-g++            1.0         Virtual package relying on the g++ compiler (for C++)
conf-gmp            4           Virtual package relying on a GMP lib system installation
coq                 8.13.0      Formal proof management system
coq-compcert        3.11        The CompCert C compiler (64 bit)
coq-flocq           4.1.0       A formalization of floating-point arithmetic for the Coq system
coq-menhirlib       20220210    A support library for verified Coq parsers produced by Menhir
dune                3.3.1       Fast, portable, and opinionated build system
menhir              20220210    An LR(1) parser generator
menhirLib           20220210    Runtime support library for parsers generated by Menhir
menhirSdk           20220210    Compile-time library for auxiliary tools related to Menhir
num                 1.4         The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml               4.08.1      The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1      Official release 4.08.1
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
[NOTE] Package coq is already installed (current version is 8.13.0).
The following actions will be performed:
  - install coq-vst 2.10
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/1: [coq-vst.2.10: http]
[coq-vst.2.10] downloaded from https://github.com/PrincetonUniversity/VST/archive/refs/tags/v2.10.tar.gz
Processing  1/1:
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/2: [coq-vst: make vst]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" "-j4" "vst" "IGNORECOQVERSION=true" "BITSIZE=64" (CWD=/home/bench/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-vst.2.10)
- ===== CONFIGURATION SUMMARY =====
- COMPCERT=platform
- COMPCERT_SRC_DIR=__NONE__
- COMPCERT_INST_DIR=/home/bench/.opam/ocaml-base-compiler.4.08.1/lib/coq/user-contrib/compcert
- BITSIZE=64
- ARCH=x86
- INSTALLDIR=/home/bench/.opam/ocaml-base-compiler.4.08.1/lib/coq/user-contrib/VST
- ===== DERIVED CONFIGURATION =====
- COMPCERT_INFO_PATH_REF=compcert
- COMPCERT_EXPLICIT_PATH=false
- COMPCERT_BUILD_FROM_SRC=false
- COMPCERT_NEW=false
- COQFLAGS=  -Q msl VST.msl   -Q sepcomp VST.sepcomp   -Q veric VST.veric   -Q zlist VST.zlist   -Q floyd VST.floyd   -Q progs64 VST.progs64   -Q concurrency VST.concurrency     -Q atomics VST.atomics   -Q wand_demo wand_demo   -Q sha sha   -Q hmacfcf hmacfcf   -Q tweetnacl20140427 tweetnacl20140427   -Q hmacdrbg hmacdrbg   -Q aes aes   -Q mailbox mailbox     
- COMPCERT_R_FLAGS=
- =================================
- coqdep ... >.depend
- # DEPENDENCIES DEFAULT
- coqdep -vos   -Q msl VST.msl   -Q sepcomp VST.sepcomp   -Q veric VST.veric   -Q zlist VST.zlist   -Q floyd VST.floyd   -Q progs64 VST.progs64   -Q concurrency VST.concurrency     -Q atomics VST.atomics   -Q wand_demo wand_demo   -Q sha sha   -Q hmacfcf hmacfcf   -Q tweetnacl20140427 tweetnacl20140427   -Q hmacdrbg hmacdrbg   -Q aes aes   -Q mailbox mailbox      2>&1 >.depend `find msl sepcomp veric zlist floyd progs64 concurrency atomics wand_demo sha hmacfcf tweetnacl20140427 hmacdrbg aes mailbox -name "*.v"` | grep -v 'Warning:.*found in the loadpath' || true
- wc .depend
-   2481  22987 625094 .depend
- ===== CONFIGURATION SUMMARY =====
- COMPCERT=platform
- COMPCERT_SRC_DIR=__NONE__
- COMPCERT_INST_DIR=/home/bench/.opam/ocaml-base-compiler.4.08.1/lib/coq/user-contrib/compcert
- BITSIZE=64
- ARCH=x86
- INSTALLDIR=/home/bench/.opam/ocaml-base-compiler.4.08.1/lib/coq/user-contrib/VST
- ===== DERIVED CONFIGURATION =====
- COMPCERT_INFO_PATH_REF=compcert
- COMPCERT_EXPLICIT_PATH=false
- COMPCERT_BUILD_FROM_SRC=false
- COMPCERT_NEW=false
- COQFLAGS=  -Q msl VST.msl   -Q sepcomp VST.sepcomp   -Q veric VST.veric   -Q zlist VST.zlist   -Q floyd VST.floyd   -Q progs64 VST.progs64   -Q concurrency VST.concurrency     -Q atomics VST.atomics   -Q wand_demo wand_demo   -Q sha sha   -Q hmacfcf hmacfcf   -Q tweetnacl20140427 tweetnacl20140427   -Q hmacdrbg hmacdrbg   -Q aes aes   -Q mailbox mailbox     
- COMPCERT_R_FLAGS=
- =================================
- echo   -Q msl VST.msl   -Q sepcomp VST.sepcomp   -Q veric VST.veric   -Q zlist VST.zlist   -Q floyd VST.floyd   -Q progs64 VST.progs64   -Q concurrency VST.concurrency     -Q atomics VST.atomics   -Q wand_demo wand_demo   -Q sha sha   -Q hmacfcf hmacfcf   -Q tweetnacl20140427 tweetnacl20140427   -Q hmacdrbg hmacdrbg   -Q aes aes   -Q mailbox mailbox      > _CoqProject
- util/coqflags > _CoqProject-export
- COQC msl/Axioms.v
- COQC msl/simple_CCC.v
- COQC veric/lift.v
- COQC sepcomp/extspec.v
- COQC zlist/sublist.v
- sh util/make_version 64 3.11
- COQC floyd/find_nth_tactic.v
- COQC floyd/computable_theorems.v
- File "./zlist/sublist.v", line 62, characters 0-52:
- Error: export attribute not supported here
- 
- make: *** [Makefile:660: zlist/sublist.vo] Error 1
- make: *** Waiting for unfinished jobs....
[ERROR] The compilation of coq-vst failed at "/home/bench/.opam/opam-init/hooks/sandbox.sh build make -j4 vst IGNORECOQVERSION=true BITSIZE=64".
#=== ERROR while compiling coq-vst.2.10 =======================================#
# context              2.0.5 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///home/bench/run/opam-coq-archive/released
# path                 ~/.opam/ocaml-base-compiler.4.08.1/.opam-switch/build/coq-vst.2.10
# command              ~/.opam/opam-init/hooks/sandbox.sh build make -j4 vst IGNORECOQVERSION=true BITSIZE=64
# exit-code            2
# env-file             ~/.opam/log/coq-vst-5594-335865.env
# output-file          ~/.opam/log/coq-vst-5594-335865.out
### output ###
# [...]
# COQC msl/simple_CCC.v
# COQC veric/lift.v
# COQC sepcomp/extspec.v
# COQC zlist/sublist.v
# sh util/make_version 64 3.11
# COQC floyd/find_nth_tactic.v
# COQC floyd/computable_theorems.v
# File "./zlist/sublist.v", line 62, characters 0-52:
# Error: export attribute not supported here
# 
# make: *** [Makefile:660: zlist/sublist.vo] Error 1
# make: *** Waiting for unfinished jobs....
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-vst 2.10
+- 
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-vst.2.10 coq.8.13.0' failed.

Installation size

No files were installed.

Uninstall ๐Ÿงน

Command
true
Return code
0
Missing removes
none
Wrong removes
none