[Haskell-cafe] GHC / macports / Big Sur

Sean Matthews seanmatthews1 at gmail.com
Sat Jan 9 11:02:46 UTC 2021

It may be that someone has already asked this question, but I am having a
problem (= it does not work) installing GHC using macports.
Pure vanilla Mac/macports, with a few standard installed packages, but
deliberately as few manual interventions as possible.

Does the group have any advice?


Sean Matthews

PS this is what macports says:


--->  Attempting to fetch stack-2.5.1_0.darwin_20.x86_64.tbz2 from

--->  Building stack

Error: Failed to build stack: command execution failed

Error: See
for details.

Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Error: Processing of port ghc failed

--->  Some of the ports you installed have notes:

  pinentry-mac has the following notes:

    If you previously didn't have pinentry or gpg-agent installed  and

    pinentry-mac has been installed as a dependency of gpg-agent,  you don't

    need to do anything to use pinentry-mac.

    If you want to switch to the GTK2, ncurses or Qt4 based pinentry

    please install pinentry with the correct use flags and  follow the

    instructions below substituting the pinentry-mac program  path with


    If you previously had pinentry and gpg-agent installed and would  like

    switch to pinentry-mac, you will have to set  it as your pinentry
program in


    Add the following line to the mentioned file:



    Be sure to comment previous "pinentry-program" lines, for example:

    pinentry-program SAMPLE


    #pinentry-program SAMPLE

    Afterwards, run

    killall -HUP gpg-agent

    or simply log out and back in again.

Sean Matthews
seanmatthews1 at gmail.com / +49 163 803 1396
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20210109/c65fa396/attachment.html>

More information about the Haskell-Cafe mailing list