-
Notifications
You must be signed in to change notification settings - Fork 165
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
Add dev packages for Coq Platform packages which don't have one as yet #2080
Conversation
@MSoegtropIMC what's the reasoning behind having coq-dpdgraph depend on |
The released packages have automake/autoconf already run. If you build from git you need to run automake. |
That is the release opam packages don't have and don't need the |
But possibly I messed it up - what is the right conf package for |
I don't personally understand the difference between |
|
I don't personally understand the difference between |
@silene : thanks for sharing these details! I guess it is safe to switch to autoconf then. @palmskog : I had a lot of trouble with packages committing to git automake output but not updating this always, so that autoconf usually works, but not always. I spent sufficient time debugging this (debugging m4 is a lot fo fun) that at some point I decided that it simplifies my life to always use |
Btw.: what does the dev criterion mean in |
As a rule of thumb, yes. I think there are actually three different cases:
|
I see the following for
Is there a missing dependency on Bison? |
It does have |
Co-authored-by: Karl Palmskog <palmskog@gmail.com>
OK, it looks like you will have to add the system packages for |
Why is that? CI doesn't have depext support? |
I generally try to stay out of the CI setup, but no, it doesn't have depext support. You'll have to add the packages here in the |
Are there known difficulties with depext? With opam 2.1 it should be quite easy to do (at least if you have permissions to install system packages without password). |
Co-authored-by: Karl Palmskog <palmskog@gmail.com>
There is no depext support because we never added it. I think it is the right thing to do, your are welcome to hack the scripts: The quick fix is to install bison and the other deps upfront. |
As far as I know in opam 2.1 it is built in. So is CI on opam 2.0 or did you some tricks to disable it? |
Not really a trick: https://github.com/coq/opam-coq-archive/blob/1f0f0ec84c738d88a8ee550494917e9387975ebb/.gitlab-ci.yml#L16 Maybe it's time to switch to 2.1 (it is not beta anymore, right?) |
No, it is released. It 2.1.2 now (https://opam.ocaml.org/blog/opam-2-1-2/). |
@palmskog : can we merge this now? I don't think we need to wait for CI for the commit of your changes - except for the gappa depext issues it did run through before and you anyway suggested to do this PR without CI and that "extra-dev is Wild-West". Or do you want me to fix the bison/flex dependencies? I would rather enable depext but do this after the Coq Platform release. I can also keep the dev packages in the Coq Platform local opam repo. |
Btw.: we can also remove the gappa.dev package from here. Please note that the release package lives in the main opam repo, but since they don't have the concept of a dev repo I put the dev package here. But I can also keep it local to Coq platform (or remove it entirely and always use gappa releases). |
Fine by me to have the |
@palmskog : I need this to be merged before 1 PM German time or I will keep the packages in the Coq Platform patch repo in the release. I don't think it is worth it to delay the Coq Platform release just for the opam cleanup. |
Thanks! I do the final Coq Platform PR right away. |
@@ -0,0 +1,43 @@ | |||
opam-version: "2.0" | |||
maintainer: "Ralf Jung <jung@mpi-sws.org>" |
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.
I would appreciate if this package would be removed. We deliberately did not put a coq-stdpp.dev (or coq-iris.dev) package into this repository. The 'dev' version is meant for local pinning only. This is not just cosmetic; I noticed these packages because they lead to strange behavior of our CI.
I am surprised that the people maintaining this software (and supposedly even maintaining this package!) did not get pinged...
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.
Note that this is not the first time this happened, there were "rogue" coq-iris.dev packages already in 2017 and they have been removed again (#191 -- though those versions really made no sense, this time at least the dev packages are actually properly tracking git).
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.
#2256 proposes to remove these packages again.
This PR adds .dev packages for those packages in Coq Platform which don't have one as yet.
The packages are all derived from and/or checked against the latest released packages and adjusted.