[MacPorts] #60477: stack @2.3.1_0: Undefined symbols: _utimensat
MacPorts
noreply at macports.org
Tue Sep 29 20:42:12 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):
stack downloads the info file for all the ghc and other software it might
want to install from here <https://raw.githubusercontent.com/fpco
/stackage-content/master/stack/stack-setup-2.yaml>, as specified in this
file:
{{{
stack-2.3.3/src/Stack/Setup.hs
}}}
So if we were going to override that to point towards our copies of ghc
and stack etc, we'd have to replace that with a file that pointed to our
software instead.
Not a trivial undertaking, but not overly hard either. At the moment, I
think this is all hardcoded into stack, so you'd need to build stack with
a patch that points to our yaml file instead. Perhaps there is some option
in the 10,000 options that ghc / stack / cabal seem to have that lets you
use a different URL without changing it in the stack build.
--
Ticket URL: <https://trac.macports.org/ticket/60477#comment:18>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list