-
Notifications
You must be signed in to change notification settings - Fork 9
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
Adapt to https://github.com/coq/coq/pull/19530 #240
Conversation
Coq Tools should not require synchronized merges; the bug minimizer needs to work across multiple versions of Coq. What's the issue? |
Well, I guess we could have something backward compatible but here it's about backward compatibility with an old master thing that was never released, so probably not worth it. |
@@ -2247,7 +2247,10 @@ def make_make_coqc(coqc_prog, **kwargs): | |||
list(env[passing_prefix + "libnames"]) + [(coq_theories_path, "Coq")] | |||
) | |||
env[passing_prefix + "libnames"] = tuple( | |||
list(env[passing_prefix + "libnames"]) + [(coq_user_contrib_path, "Coq")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this change actually necessary at this point? It breaks minimization on old versions of Coq. Maybe you meant to replace Stdlib with Coq below?
Example 048 fails because the code is minimized to something including Example 055 is failing with "Error: Cannot find a physical path bound to logical path Prelude with prefix Stdlib." Any idea what's going wrong? |
I think we need to adjust coq-tools/coq_tools/find_bug.py Lines 2361 to 2364 in 6f29d5f
with a version check. Alternatively, we can move add_coqlib_prelude_import to be like coq-tools/coq_tools/coq_running_support.py Lines 26 to 60 in 6f29d5f
|
This can happen if you only depend on package rocq-core and not on coq-stdlib. Could that be the case?
If coq-stdlib is in scope, this should not be considered as a failure (unless coq-stdlib is now viewed as an external library which makes the test fail). |
example55 works locally so I guess Theo is right and this is a CI issue. This is probably waiting for the Docker image |
8274140
to
efa7e35
Compare
Right, this is just a regex that needs fixing, I've committed the fix |
FYI this looks like the same error we get in building after a bit of investigation and discussion with @proux01, it appears I tested an alternative version of this .opam file, to no avail:
so @proux01 should investigate further on this Monday |
Sorry for the delay, the opam/docker issue is now fixed and CI seems happy, can this be merged? |
Thanks for your patience! |
To be merged in sync with the upstream PR