[MacPorts] #60477: stack @2.3.1_0: Undefined symbols: _utimensat

MacPorts noreply at macports.org
Sun Sep 27 02:28:59 UTC 2020


#60477: stack @2.3.1_0: Undefined symbols: _utimensat
-------------------------+-------------------------------------------------
  Reporter:  macdeport   |      Owner:  essandess
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:  sierra elcapitan yosemite mavericks
      Port:  stack       |  mountainlion lion snowleopard leopard tiger
-------------------------+-------------------------------------------------

Comment (by kencu):

 Got {{{stack}}} 2.3.3 sorted out. It needs {{{legacysupport}}} for the
 newer defines and symbols. Using an older {{{stack}}} and with the system
 {{{ghc}}} set to {{{ghc-8.6.5}}} which is presently the one it needs,
 editing the {{{stack.yaml}}} in {{{stack}}} works.

 Add this:
 {{{
 in the stack.yaml for stack itself, add this:

 ghc-options:
   "$locals": -fhide-source-paths
 +   "$targets": -isystem/opt/local/include/LegacySupport/
 /opt/local/lib/libMacportsLegacySupport.a

 }}}

 and {{{legacysupport}}} links in statically, and seems to work as it
 should.

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


More information about the macports-tickets mailing list