[MacPorts] #62572: unison @2.51.2: ocamlopt: OCaml has been configured with -force-safe-string: -unsafe-string is not available.

MacPorts noreply at macports.org
Wed Jun 2 15:12:59 UTC 2021


#62572: unison @2.51.2: ocamlopt: OCaml has been configured with -force-safe-
string: -unsafe-string is not available.
------------------------+------------------------
  Reporter:  trebitzki  |      Owner:  ryandesign
      Type:  defect     |     Status:  accepted
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.6.4
Resolution:             |   Keywords:
      Port:  unison     |
------------------------+------------------------

Comment (by tehcog):

 Similar issue here with Mavericks and no Homebrew:

 Port Upgrade:
 {{{
 -> sudo port upgrade unison
 Password:
 --->  Computing dependencies for unison
 --->  Fetching archive for unison
 --->  Attempting to fetch unison-2.51.2_4+gtk.darwin_13.x86_64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/unison
 --->  Attempting to fetch unison-2.51.2_4+gtk.darwin_13.x86_64.tbz2 from
 https://mse.uk.packages.macports.org/unison
 --->  Attempting to fetch unison-2.51.2_4+gtk.darwin_13.x86_64.tbz2 from
 https://cph.dk.packages.macports.org/unison
 --->  Fetching distfiles for unison
 --->  Verifying checksums for unison
 --->  Extracting unison
 --->  Applying patches to unison
 --->  Configuring unison
 --->  Building unison
 Error: Failed to build unison: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_unison/unison/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}


 Log:
 {{{
 :info:build ocamlopt: ubase/rx.mli ---> ubase/rx.cmi
 :info:build 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.9 -I /opt/local/lib/ocaml/site-
 lib/lablgtk2 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_unison/unison/work/bcpierce00-unison-0176188/src/ubase/rx.mli
 :info:build ocamlopt: OCaml has been configured with -force-safe-string:
 -unsafe-string is not available.
 :info:build Usage: ocamlopt <options> <files>
 }}}

 ocaml:
 {{{
 The following ports are currently installed:
   ocaml @4.12.0_1 (active)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62572#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list