Skip to content

[Coq] Dune crashes on version 3.8 #7846

@LasseBlaauwbroek

Description

@LasseBlaauwbroek

Reproduction

  1. Make sure you are on Dune 3.8.
  2. git clone git@github.com:coq-tactician/coq-tactician.git
  3. opam install . --deps-only
  4. dune build

Crashes with:

Error: exception Dune_rules__coq_config.Vars.E(_)
Raised at file "src/dune_rules/coq/coq_config.ml", line 37, characters 21-49
Called from file "src/dune_rules/coq/coq_config.ml", line 194, characters
  10-53
Called from file "otherlibs/fiber/src/core.ml", line 250, characters 36-41
Called from file "otherlibs/fiber/src/scheduler.ml", line 73, characters 8-11
-> required by ("<unnamed>", ())
-> required by ("<unnamed>", ())
-> required by ("<unnamed>", ())
-> required by ("<unnamed>", ())
-> required by ("gen-rules", In_build_dir "default/tests")
-> required by ("load-dir", In_build_dir "default/tests")
-> required by ("<unnamed>", ())
-> required by
   ("build-alias", { dir = In_build_dir "default"; name = "default" })
-> required by ("top-level", ())

I must not crash.  Uncertainty is the mind-killer. Exceptions are the
little-death that brings total obliteration.  I will fully express my cases. 
Execution will pass over me and through me.  And when it has gone past, I
will unwind the stack along its path.  Where the cases are handled there will
be nothing.  Only I will remain.

CC @ejgallego @Alizter

Specifications

  • Version of dune (output of dune --version): 3.8.0
  • Version of ocaml (output of ocamlc --version): 4.09.1
  • Operating system (distribution and version): Arch linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions