-
Notifications
You must be signed in to change notification settings - Fork 409
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
regression: coq-stdlib.8.17.0 #7747
Comments
The issue here is that ./configure is being run with dune exec and coq lang is enabled in the repo, even tho it is useless since coq generates its own rules. This means that somewhere Dune is querying coqc -config even when no coq stanzas are present. This coupled together with the fact that coq is being packaged in a split setup has caused some issues. I need to workout how to fix this. cc @ejgallego who I mentioned this issue to before. |
Duplicate of #7748 |
@ejgallego Are you sure this is the same issue? The other issue was about a value not being found in the config, which was a real bug with coq_config. Here there appears to be a call to coqc -config however this doesn't work without the stdlib. To fix this, we need to find where we are calling coqc -config and stop doing that. |
The fix for the other issue will not fix this one AFAIK. |
Yes, I am sure there are the same issue. I don't consider #7748 fixed by #7751 The code for parsing So while #7751 is a much needed fix, it is only a workaround for #7748 and not a real fix IMO. |
In terms of release management, #7747 is closed when coq-stdlib builds with dune main, and #7748 is closed when coq-serapi builds with dune main. These are the bugs that I consider blocking the release. I understand that whether the fix feels "right" is a bit more subjective - in that case feel free to open a new issue regarding the correct design (that might not be fixed by #7751). |
The culprit is this code: let* public_theories =
let+ coqpaths_of_coq = Coq_path.of_coq_install context
and+ coqpaths_of_env = Coq_path.of_env context.env in
let installed_theories =
Coq_lib.DB.create_from_coqpaths (coqpaths_of_env @ coqpaths_of_coq)
in
public_theories coq_stanzas
~find_db:(fun _ -> public_libs)
~installed_theories
in
We should fix this. It would be nice to patch Coq so indeed |
|
Hi,
coq-stdlib.8.17.0
does not build correctly withdune.3.8.0~alpha3
, while it did with3.7.1
.See this build.
I bisected that to 98de950 (#7047).
@Alizter can you have a look?
The text was updated successfully, but these errors were encountered: