<div>Dear Sean,<br></div><div><br></div><div>The mentioned log file (<span style="font-variant-ligatures:no-common-ligatures">/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_stack/stack/main.log) may contain useful information in debugging the problem, I imagine.</span><br></div><div><br></div><div>Cheers,<br></div><div>Tom<br></div><div class="protonmail_signature_block protonmail_signature_block-empty"><div class="protonmail_signature_block-user protonmail_signature_block-empty"><div><br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Saturday, January 9, 2021 12:02 PM, Sean Matthews <seanmatthews1@gmail.com> wrote:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><div dir="ltr"><div dir="ltr"><div>It may be that someone has already asked this question, but I am having a problem (= it does not work) installing GHC using macports.<br></div><div>Pure vanilla Mac/macports, with a few standard installed packages, but deliberately as few manual interventions as possible.<br></div><div><br></div><div>Does the group have any advice?<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Sean Matthews<br></div><div><br></div><div>PS this is what macports says:<br></div><div><br></div><div><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures"><a href="http://r.packages.macports.org/stack">r.packages.macports.org/stack</a></span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">--->  Attempting to fetch stack-2.5.1_0.darwin_20.x86_64.tbz2 from <a href="https://cph.dk.packages.macports.org/stack">https://cph.dk.packages.macports.org/stack</a></span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">--->  Building stack</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">Error: Failed to build stack: command execution failed</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_stack/stack/main.log for details.</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">Error: Follow <a href="https://guide.macports.org/#project.tickets">https://guide.macports.org/#project.tickets</a> to report a bug.</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">Error: Processing of port ghc failed</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">--->  Some of the ports you installed have notes:</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">  pinentry-mac has the following notes:</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    If you previously didn't have pinentry or gpg-agent installed  and</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    pinentry-mac has been installed as a dependency of gpg-agent,  you don't</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    need to do anything to use pinentry-mac.</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    If you want to switch to the GTK2, ncurses or Qt4 based pinentry  program,</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    please install pinentry with the correct use flags and  follow the</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    instructions below substituting the pinentry-mac program  path with</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    /opt/local/bin/pinentry.</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    If you previously had pinentry and gpg-agent installed and would  like to</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    switch to pinentry-mac, you will have to set  it as your pinentry program in</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    $HOME/.gnupg/gpg-agent.conf.</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    Add the following line to the mentioned file:</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    pinentry-program</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    /Applications/MacPorts/pinentry-mac.app/Contents/MacOS/pinentry-mac</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    Be sure to comment previous "pinentry-program" lines, for example:</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    pinentry-program SAMPLE</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    becomes</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    #pinentry-program SAMPLE</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    Afterwards, run</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    killall -HUP gpg-agent</span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 16px;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    </span></span></span></span><br></p><p style="margin: 0px; font-stretch: normal; line-height: normal;"><span style="color:rgb(0, 0, 0)"><span style="font-family:Monaco"><span style="font-size:12px"><span style="font-variant-ligatures:no-common-ligatures">    or simply log out and back in again.</span></span></span></span><br></p><div><div><br></div><div>-- <br></div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Sean Matthews<br></div><div><a href="mailto:seanmatthews1@gmail.com" target="_blank">seanmatthews1@gmail.com</a> / +49 163 803 1396<br></div></div></div></div></div></div></div></div></div></div></div></blockquote><div><br></div>