-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
ocaml-*: revbump JaneStreet ports for ocaml-sexplib0 update #24735
Conversation
Notifying maintainers: |
Upstream does not appear enthusiastic to address issues, unfortunately, but just in case: janestreet/sexplib0#14 |
Why can't we just leave 0.17.0 in place until a few months from now when OCaml 5 is declared stable? |
We can, but then need to revbump almost all of OCaml ports (not Dune or Opam, of course, but Janestreet ones). |
Why do we need to revbump everything? |
Because nothing works now, every dependent will fail to build with ”makes inconsistent assumptions about…”. This applies to ports which depend on sexplib0, others should be not affected. |
I'd like to see the actual error message. |
Sure, will post today once back to the machine. |
@pmetzger This is on Sonoma, everything default, I try to update
(All the same I was getting also on 10.6 ppc, of course.) |
Okay, so I take it that the interface changed since 1.6. Given that, yes, bump the ports that depend on it. Moving backwards isn't the way to deal with this. It's no different than someone updating any other port whose dependents need to be rebuilt because of a change in interface. |
@pmetzger Okay, will drop the revert and revbump dependents. |
1b3620e
to
d186478
Compare
@pmetzger Perhaps this is good to go. |
I can confirm that now building |
UPD. I have found the correct fix to use LegacySupport without silly earlier hacks which turned out to be fragile. |
Description
@pmetzger Could you review this please?
Not that I do this happily, but an alternative is to revbump a lot of OCaml packages: everything JaneStreet, potentially other as well.
Upstream did a weird thing: while
ocaml-sexplib0
0.17.0 is compatible with OCaml 4.14, all subsequent updates to 0.17.x require OCaml 5.x.I tried rebuilding
ocaml-base
,ocaml-ppxlib
and a few other dependents, and it works fine. But there are a lot of dependents, and determining sequentially which need a rebuild will be ridiculously time-consuming. We can just revbump everything that in some way depends indirectly onocaml-sexplib0
, but we will need to rebuild everything.I am fine with just revbump of everything, but not sure it is justified.
Leaving things as they are is not an option though, since nothing builds now, and I cannot update
stanc3
, for example.Type(s)
Tested on
macOS 10.6
Xcode 3.2
Verification
Have you
port lint --nitpick
?sudo port test
?sudo port -vst install
?