-
Notifications
You must be signed in to change notification settings - Fork 358
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
Fix the opam-devel package + various fixes #4229
Conversation
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.
Thanks! A rebase, update changelog and it'll be perfect.
1471a27
to
e8e6a02
Compare
Rebased |
doc/man/dune
Outdated
@@ -1,7 +1,7 @@ | |||
(rule | |||
(targets opam.1) | |||
(deps opam-topics.inc opam-admin-topics.inc) | |||
(action (with-stdout-to %{targets} (run %{bin:opam} --help=groff)))) | |||
(action (with-stdout-to %{targets} (run ../../src/client/opamMain.exe --help=groff)))) |
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.
This change breaks the mingw builds - what's it fixing elsewhere?
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.
oh.. I thought dune would have dealt with that and replaced the path
Ah, looking at the description of the PR I see the answer to my question. |
d2b4ac3
to
f76ebdf
Compare
The problem I was trying to solve arise when I was trying to remove the dummy opam.opam package/file and fix the opam-devel package without reintroducing a custom Makefile rule. But I agree this change was optional and since it fails with mingw I removed it from the PR |
Hopefully the change in #4264 should make that error less weird if you hit it again in future, @kit-ty-kate! |
😱 ah I get it now... |
Thanks! |
Following the merge of #4178, the
opam-devel
package now doesn't install anything anymore (see the specialopam-devel.install
makefile rule). 1471a27 should fix that.Otherwise the rest is more of a collection of various fixes that can be taken independently:
opam-%.install
rule is still used in the makefile (see theinstalllib-%
rule for instance)opam
binary from the PATH (which, if it is not opam 2.1 already is going to hang up forever trying to getopam lock --help=groff
{build}
tag anymore (see [RFC] relax parsing of dune-package files dune#2147)