[MacPorts] #58852: unison @2.51.2_2: problem with ocaml @4.08.1 - build failure

MacPorts noreply at macports.org
Mon Aug 19 11:07:23 UTC 2019

#58852: unison @2.51.2_2: problem with ocaml @4.08.1 - build failure
 Reporter:  majoc-at-astro  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.5.4
 Keywords:                  |       Port:  unison
 Unison @2.51.2_2, which built OK last week, now fails when built using
 `ocaml @4.08.1`.  Full log enclosed, but here's the punchline:

 ocamlopt: system.ml ---> system.cmx
 ocamlopt -g -unsafe-string -I lwt -I ubase -I system -I fsmonitor -I
 fsmonitor/linux -I fsmonitor/windows -I system/generic -I lwt/generic
 -ccopt -mmacosx-version-min=10.12 -I /opt/local/lib/ocaml/site-
 lib/lablgtk2 -c
 line 1:
 Error: The implementation
        does not match the interface system.cmi:
        Values do not match:
          val link : ?follow:bool -> string -> string -> unit
        is not included in
          val link : fspath -> fspath -> unit
 line 70, characters 0-35:
          Expected declaration
 line 50, characters 4-8:
          Actual declaration
 make[1]: *** [system.cmx] Error 2

 macOS: 10.12 (Xcode 9.2), 10.13 (Xcode 9.4.1), 10.14 (Xcode 10.3).

 I don't pretend to understand ocaml, so I won't spoil the kill with
 uninformed speculation.  Please let me know if there's any further
 information that would help.  Thanks in advance.

Ticket URL: <https://trac.macports.org/ticket/58852>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list