-
Notifications
You must be signed in to change notification settings - Fork 469
Can't find Coq plugin cmxs on loadpath error #7893
Copy link
Copy link
Closed
ocaml/opam-repository
#23942Labels
Description
Expected Behavior
When I create a dune-project and dune file for a Coq project with Dune 3.8 and depend on a Coq plugin installed via coq_makefile like Equations, it should suffice to add (theories Equations) into (coq.theory ...) to enable compilation of the project.
Actual Behavior
When I run dune build, I get the following error:
Error: Can't find file equations_plugin.cmxs on loadpath.
Reproduction
- Create a
dune-projectfile like the following:
(lang dune 3.8)
(using coq 0.8)
(name TestEquations)
- Create a
dunefile like the following:
(coq.theory
(name TestEquations)
(synopsis "Test Equations")
(theories Equations)
;(plugins coq-equations)
)
- Create
Eqn.vor other.vfile like the following:
From Equations Require Import Equations.- Run
dune build, get the following error:
File "./Eqn.v", line 1, characters 0-40:
Error: Can't find file equations_plugin.cmxs on loadpath.
Note that the error disappears if ;(plugins coq-equations) in dune is uncommented.
Specifications
- Version of
dune(output ofdune --version): 3.8.0 - Version of
ocaml(output ofocamlc --version): 4.14.1 - Operating system (distribution and version): Ubuntu LTS 22.04
Additional information
This bug report was submitted at the suggestion of @ejgallego.
- Coq version: 8.16.0
- Equations version: 1.3+8.16
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done