[MacPorts] #74031: ghc @9.14.1_2 build fails
MacPorts
noreply at macports.org
Sun May 24 19:32:32 UTC 2026
#74031: ghc @9.14.1_2 build fails
-----------------------+--------------------
Reporter: essandess | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: ghc
-----------------------+--------------------
The ticket is a followup of https://trac.macports.org/ticket/73754
{{{ghc}}} fails to build because the symbol changes made to {{{ghc-
prebuilt}}} in https://github.com/macports/macports-
ports/commit/7704d783cdeb79174e270b0712d94a64f64c8d0d are incompatible
with the existing {{{hadrian}}} setting
{{{
stage0.*.ghc.link.opts += -L${configure.sdkroot}/usr/lib
}}}
which specifies that the stage 0 compiler link against the SDK
{{{libiconv}}} symbols used in the unmodified {{{ghc-prebuilt}}} compiler.
Setting
{{{
stage0.*.ghc.link.opts += -L${prefix}/lib
}}}
fixes this issue, in addition to keeping the potentially useful symbol
changes in {{{ghc-prebuilt}}} to MacPorts {{{libiconv}}} that may address
future {{{ghc}} compiling issues.
I will post a PR.
--
Ticket URL: <https://trac.macports.org/ticket/74031>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list