Latest unison requires a newer ocaml-lablgtk2. I updated the port.
I also backported fixes to older unison releases to make them compile against the newer ocaml-lablgtk2.
I'd like to commit this in one single atomic commit.
Paths
| Differential D26924 Authored by madpilot on Oct 23 2020, 10:03 PM.
Details
Summary Latest unison requires a newer ocaml-lablgtk2. I updated the port. I also backported fixes to older unison releases to make them compile against the newer ocaml-lablgtk2. I'd like to commit this in one single atomic commit. Test Plan Build fine here in all supported realeses and run fine with unison.
Diff Detail
Event TimelineHerald added a subscriber: mat. · View Herald TranscriptOct 23 2020, 10:03 PM2020-10-23 22:03:21 (UTC+0) Harbormaster completed remote builds in B34344: Diff 78662.Oct 23 2020, 10:03 PM2020-10-23 22:03:23 (UTC+0) Comment Actions Ho-hum, generally this looks good but now my point is I can't get unison232 to function (run-time), it tries to read its ~/.unison/default.prf, closes it, then prints 15 bytes of garbage to stderr and then SIGSEGV and the kernel disposes of it. FreeBSD 12.1-amd64. No matter if I use current "latest" packages on 12.1, or if I rebuild lablgtk2 and unison232. unison232-text also crashes. I admit I haven't touched this code in years (minor edits to code in 2011 and 2013, and I no longer use it (or not 2.32 anyways). I made that port way back then because the new version had an incompatible net protocol. I don't know how to debug ML code... can't read it, don't know the tools. @madpilot would you have a look? Would you also be willing to maintain unison232? If so I'd be happy to transfer maintainership on this occasion. Comment Actions
Looking at the upstream repository I found a commit talking about fixes for ocaml 4.01. I'm posting it here for the record: https://github.com/bcpierce00/unison/commit/891c081690ae4605c9bf818ee89fbdf2416b3dd7 Could be helpful in this case. Comment Actions @madpilot for unison232, approved. Be sure to keep the changes from https://reviews.freebsd.org/rP553182 in your tree (i. e. update) before committing your patch. This revision is now accepted and ready to land.Oct 24 2020, 11:32 AM2020-10-24 11:32:05 (UTC+0) Comment Actions Going to update patch to cater for mandree changes and maybe import some improvements from mandree commit. Comment Actions Update diff to include refinements to the ports inspired by commit Add a self test in post-build Also bumpe PORTREVISION on unison ports, I'm not sure they can Harbormaster completed remote builds in B34353: Diff 78689.Oct 24 2020, 3:19 PM2020-10-24 15:19:08 (UTC+0) Comment Actions
For unison 2.32, not required, I checked that explicitly, but I don't mind if you still do it for consistency, so feel free to leave it as proposed. This revision is now accepted and ready to land.Oct 24 2020, 4:45 PM2020-10-24 16:45:08 (UTC+0) Closed by commit rP555474: - Update x11-toolkits/ocaml-lablgtk2 to 2.18.11 [1] (authored by madpilot). · Explain WhyNov 16 2020, 12:34 PM2020-11-16 12:34:10 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 78662 net/unison/Makefile
net/unison/distinfo
net/unison232/files/patch-uigtk2.ml
net/unison240/files/patch-uigtk2.ml
|