[MacPorts] #62695: jekyll @0.30a_4: Error: Invalid import of Location, compiled with -unsafe-string (was: jekyll @0.30a_4 rebuilding failure)

MacPorts noreply at macports.org
Tue Apr 13 21:41:54 UTC 2021


#62695: jekyll @0.30a_4: Error: Invalid import of Location, compiled with -unsafe-
string
-----------------------+--------------------
  Reporter:  ippoliti  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.6.4
Resolution:            |   Keywords:
      Port:  jekyll    |
-----------------------+--------------------
Changes (by ryandesign):

 * cc: pmetzger (added)


Comment:

 Ok so the error in the log is:
 {{{
 :info:build File "prettyutil.mli", line 1:
 :info:build Error: Invalid import of Location, compiled with -unsafe-
 string.
 :info:build        This compiler has been configured in strict safe-string
 mode (-force-safe-string)
 }}}
 I do recall seeing that in other ports as well.

 Requiring safe strings is the default in ocaml 4.06 and later.

 I don't know ocaml and don't know what's needed to fix this project to use
 safe strings. Upstream appears to be dead with the last sign of life in
 2006. Perry, since you maintain ocaml, maybe you know? Or maybe this
 software is so obsolete as to no longer be needed anymore? Emiliano, are
 you sure you need it?

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


More information about the macports-tickets mailing list