<div dir="ltr"><div dir="ltr">It may be that someone has already asked this question, but I am having a problem (= it does not work) installing GHC using macports.<div>Pure vanilla Mac/macports, with a few standard installed packages, but deliberately as few manual interventions as possible.</div><div><br></div><div>Does the group have any advice?</div><div><br></div><div>Thanks,</div><div><br></div><div>Sean Matthews</div><div><br></div><div>PS this is what macports says:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><a href="http://r.packages.macports.org/stack">r.packages.macports.org/stack</a></span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><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></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">--->  Building stack</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Error: Failed to build stack: command execution failed</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><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></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><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></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">Error: Processing of port ghc failed</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">--->  Some of the ports you installed have notes:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">  pinentry-mac has the following notes:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    If you previously didn't have pinentry or gpg-agent installed  and</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    pinentry-mac has been installed as a dependency of gpg-agent,  you don't</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    need to do anything to use pinentry-mac.</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    If you want to switch to the GTK2, ncurses or Qt4 based pinentry  program,</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    please install pinentry with the correct use flags and  follow the</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    instructions below substituting the pinentry-mac program  path with</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    /opt/local/bin/pinentry.</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    If you previously had pinentry and gpg-agent installed and would  like to</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    switch to pinentry-mac, you will have to set  it as your pinentry program in</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    $HOME/.gnupg/gpg-agent.conf.</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    Add the following line to the mentioned file:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    pinentry-program</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    /Applications/MacPorts/pinentry-mac.app/Contents/MacOS/pinentry-mac</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    Be sure to comment previous "pinentry-program" lines, for example:</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    pinentry-program SAMPLE</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    becomes</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    #pinentry-program SAMPLE</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    Afterwards, run</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    killall -HUP gpg-agent</span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0);min-height:16px"><span style="font-variant-ligatures:no-common-ligatures">    </span></p>
<p style="margin:0px;font-stretch:normal;font-size:12px;line-height:normal;font-family:Monaco;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">    or simply log out and back in again.</span></p><div><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Sean Matthews<br><a href="mailto:seanmatthews1@gmail.com" target="_blank">seanmatthews1@gmail.com</a> / +49 163 803 1396</div></div></div></div></div></div></div></div></div></div>