-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
problem installing coqeal with opam #50
Comments
@thery The checksum seems correct here. Could you try an |
it works, thanks |
Nice, I'm closing this then. |
ok I've tried to reinstall
|
@thery can you post the contents (including hidden files) of $coqlib/user-contrib somewhere? |
@ejgallego Is a |
Yes, thanks @thery ; for some reason the ssr multinomials package is not enabling the native compiler so files [as you can see] are missing. I am not sure what the problem is, as there were may recent changes on the infrastructure to better support native. Does an opam update + reinstall of multinomials fix it by any chance? |
A possibility is that the coq-multinomials package was outdated on your system, that some dependency of such package is missing and thus not triggering the rebuild when coq-native is installed, or just some bug in the packaging. |
Hi @thery, I've just seen this issue and I think this is related to the fact multinomials is not yet released since it has been updated with coq-native support (math-comp/multinomials#45) opam pin add -n -y -k git coq-mathcomp-multinomials.1.5.4 "https://github.com/math-comp/multinomials.git#master"
# the 1.5.4 above is a dummy version string: this trick allows to use dev as if it were 1.5.4 (for reverse deps)
opam install -j 2 coq-native coq-mathcomp-multinomials |
Thanks @erikmd for the clarification; does this mean the non-compatible versions should conflict with That seems a bit heavy handed to be honest, but I dunno how to prevent that kind of situation. |
Hi @ejgallego, thanks for your comment! I see what you mean: sometimes having a "conflict" can be useful to detect at opam-pre-install-time that a package will be incompatible. However I don't think this would be needed (nor possible); to sum up:
So I believe that the handling of potential CI failures related to the coq-native package is not that heavy: But maybe it would be very nice if the constraint (iii) above was lifted… I mean, ensuring that with a new version of dune:
But I'm not really dune-savvy, so I don't know if this is easy to do currently? (you told me lately that Dune's architecture was about to evolve) − Anyway, beyond the suggestion above to make |
Dune's automatic detection will have to wait to 3.0 unfortunately, that likely means end of 2021 :/ But yes, this should hopefully happen automatically; note that dune internal changes for this to happen have been already been merged in Dune's I am not sure what Indeed, it is great we fix the packages, but what I mean is that for packages that have been not fixed, shouldn't we add a conflict? But I see your point, fixing the packages is the same amount of work than adding the conflict. |
That's the whole point of coq-native, this should default to what Note that, according to multinomial's author, we should get a release in the coming months : coq/platform#25 (comment) which, thanks to Erik's patch, should finally fix all that very painful mess that came after multinomial switched to dune. We should indeed also add conflict clauses in the opam pacakges, I should open a PR. |
Thanks Pierre.
What kind of conflit do you have in mind? as mentioned in my previous comment, I don't think these conflict clauses are useful in general for coq-native. |
The fact that current multinomials releases built with dune are incompatible with coq-native? |
Technically they are not, their dependencies are. |
Right. However, declaring all their dependencies as conflicting requires much more work, so maybe not worth the effort. |
I guess this is the other way around: no release of multinomial currently generates .coq-native/* files (because of dune) As a result, I believe that @proux01 was really right:
|
There seems to be a checksum problem with coqeal 1.0.5
The text was updated successfully, but these errors were encountered: