[MacPorts] #73754: pandoc @3.9.0.2_0: fails to build if gcc is installed
MacPorts
noreply at macports.org
Mon May 25 00:11:05 UTC 2026
#73754: pandoc @3.9.0.2_0: fails to build if gcc is installed
---------------------+--------------------
Reporter: mark4o | Owner: judaew
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.12.4
Resolution: fixed | Keywords:
Port: pandoc |
---------------------+--------------------
Comment (by essandess):
Replying to [comment:13 essandess]:
> Remarkably, a local {{{pandoc}}}
[https://trac.macports.org/attachment/ticket/73754/pandoc-3.9.0.2_1-main.log.gz
build log] for [https://github.com/macports/macports-ports/pull/32843
#32843] shows that this {{{cabal}}} option is never used:
> {{{
> ghc-options: -pgmc=/usr/bin/clang
> }}}
> So that may be another ghost setting in {{{cabal}}}'s {{{config}}} file,
and the only real way this ticket has been addressed is to simply
blacklist {{{gcc}}}.
And I see that this fix doesn't work for me: even with these lines in
{{{cabal}}} {{{config}}}, {{{cabal}} is still trying to build with
{{{gcc}}}:
{{{
program-locations
gcc-location: /usr/bin/clang
program-default-options
ghc-options: -pgmc=/usr/bin/clang
runghc-options: -pgmc=/usr/bin/clang
}}}
I'm going to add {{{--with-gcc=${configure.cc} }}}to the command line
options and cross my fingers.
--
Ticket URL: <https://trac.macports.org/ticket/73754#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list