Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make command fails with Coq 8.12.1 #134

Open
vaishnavi08 opened this issue Sep 14, 2021 · 3 comments
Open

Make command fails with Coq 8.12.1 #134

vaishnavi08 opened this issue Sep 14, 2021 · 3 comments

Comments

@vaishnavi08
Copy link

vaishnavi08 commented Sep 14, 2021

Make fails when run with Coq 8.12.1. The output is as follows: $make

coq_makefile -f _CoqProject ./All.v ./SignatureMatch.v ./Compiler/CompilerSimpleProps.v ./Compiler/CompilerProps.v ./Compiler/CompilerDoubleWrites.v ./Compiler/Compiler.v ./Compiler/Test.v ./Compiler/CompilerSimpleSem.v ./Compiler/Rtl.v ./Compiler/UnverifiedIncompleteCompiler.v ./Compiler/CompilerSimple.v ./StateMonad.v ./Tutorial/SyntaxEx.v ./Tutorial/PhoasEx.v ./Tutorial/TacticsEx.v ./Tutorial/ExtractEx.v ./Tutorial/GallinaActionEx.v ./WfActionT.v ./LibStruct.v ./PProperties.v ./WfMod_Helper.v ./Passes.v ./AllNotations.v ./NotationsTest.v ./Rewrites/ReflectionPre.v ./Rewrites/ReflectionSoundTheorems1.v ./Rewrites/ReflectionOrig.v ./Rewrites/ReflectionSoundTopTheorems.v ./Rewrites/Notations_rewrites.v ./Rewrites/ReflectionImpl.v ./Rewrites/ReflectionSoundTheorems2.v ./PPlusProperties.v ./GallinaModules/Relations.v ./GallinaModules/AuxLemmas.v ./GallinaModules/AuxTactics.v ./Lib/HexNotation.v ./Lib/NatStr.v ./Lib/EclecticLib.v ./Lib/WordProperties.v ./Lib/HexNotationWord.v ./Lib/Word.v ./Lib/VectorFacts.v ./Lib/Fold.v ./Extraction.v ./AllDefn.v ./Guard.v ./Tactics.v ./Properties.v ./Utila.v ./Syntax.v ./Notations.v ./Simulator/NativeTest.v ./Simulator/CoqSim/Misc.v ./Simulator/CoqSim/Eval.v ./Simulator/CoqSim/TransparentProofs.v ./Simulator/CoqSim/RegisterFile.v ./Simulator/CoqSim/Simulator.v ./Simulator/CoqSim/HaskellTypes.v ./SyntaxDoubleWrites.v -o Makefile.coq.all
Warning: no common logical root
Warning: in such case INSTALLDEFAULTROOT must be defined
Warning: the install-doc target is going to install files
Warning: in orphan_Kami_RecordUpdate
make -f Makefile.coq.all
make[1]: Entering directory '/home/vaishnavi/Kami'
COQDEP VFILES
Fatal error: exception Sys_error("../coq-record-update/src: No such file or directory")
COQDEP VFILES
Fatal error: exception Sys_error("../coq-record-update/src: No such file or directory")
COQDEP VFILES
Fatal error: exception Sys_error("../coq-record-update/src: No such file or directory")
COQC All.v
While loading initial state:
Warning: Cannot open ../coq-record-update/src [cannot-open-path,filesystem]
File "./All.v", line 1, characters 15-32:
Error: Unable to locate library Kami.AllNotations.

Makefile.coq.all:658: recipe for target 'All.vo' failed
make[2]: *** [All.vo] Error 1
Makefile.coq.all:320: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/vaishnavi/Kami'
Makefile:6: recipe for target 'coq' failed
make: *** [coq] Error 2

@vaishnavi08 vaishnavi08 changed the title Make command fails with Coq 8.10.1 Make command fails with Coq 8.12.1 Sep 14, 2021
@nanoeng
Copy link

nanoeng commented Nov 9, 2021

I came across the same problem. My setup uses Coq proof assistant v8.11.0 and OCaml v4.08.1 and runs on a WSL Ubuntu 20.04

@JasonGross
Copy link
Contributor

I believe this repo assumes that it's dependencies live in the same parent folder. So you need to clone coq-record-update and any other dependencies. See https://github.com/mit-plv/bedrock2/tree/master/deps for an example of this in action.

@kendroe
Copy link
Contributor

kendroe commented Nov 9, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants